grub problems

Andy Boersma andy at boersma.ca
Tue Sep 8 03:41:33 UTC 2009


No, don't do that.

You need to keep the partition and menu.lst matching.
Copying like you propose is more for experience people that totally 
understand how grub works.
I have been burned by it when I started playing with grub, and then its, 
a get the install CD run from the CD and fix the mess.

If you want to boot from your original, printout your new menu.lst, know 
what 4 lines boot the new OS.

Then use partition manager and get it to boot from your old Partition.
When you can boot from your Old Partition use gedit to type the section 
from your printed menu.lst that does the boot for that.

sudo gedit /boot/grub/menu.lst
copy the piece that boots the original part, to the second position and 
then edit the new entry to match your new partition boot, as per printed 
menu.lst

This is the safest way if you do not totally understand grub.

Andy


Doug Stewart wrote:
> I can copy the newist one to the old partition.
>
> SO:
>
> 1  Make a backup of the menu.list
> 2 copy the latest menu.list to the original partition
> 3 use gparted  to  set the partition boot flag to the original partition.
> 4 use StartUpManager  to make any changes to the order of booting
>
> Does this look OK?
>
> Doug
>
>
> On Mon, Sep 7, 2009 at 10:57 PM, Andy Boersma <andy at boersma.ca 
> <mailto:andy at boersma.ca>> wrote:
>
>     looks like your new install installed a new boot and set the partition
>     to be the boot section.
>
>     You can try gparted and set the partition boot flag to the original
>     partition.
>     Then manually edit the old menu.lst on that /boot to add the new
>     partition
>
>     the easiest is to just edit your new part menu.lst and add the old
>     install part to the menu.
>
>     here is what I have. Ubuntu as main and Mint on another part
>
>     Andy
>
>
>     title        Linux Ubuntu x64, kernel 2.6.28-15-generic
>     root        (hd1,0)
>     kernel        /vmlinuz-2.6.28-15-generic root=/dev/sdb2 ro quiet
>     splash
>     initrd        /initrd.img-2.6.28-15-generic
>     quiet
>
>     title        Linux Mint 7 Gloria x64, kernel 2.6.28-15-generic
>     root        (hd1,0)
>     kernel        /vmlinuz-2.6.28-15-generic root=/dev/sdb5 ro quiet
>     splash
>     initrd        /initrd.img-2.6.28-15-generic
>     quiet
>
>     t
>
>
>
>     Doug Stewart wrote:
>     > Yes I have startupmanager and have run it. It shows me the out
>     of date
>     > menu.list.
>     >
>     > The one that is up to date is on the other partition.
>     >
>     > Doug
>     >
>     >
>     > On Mon, Sep 7, 2009 at 8:32 PM, Mr. C c <c_dive at hotmail.com
>     <mailto:c_dive at hotmail.com>
>     > <mailto:c_dive at hotmail.com <mailto:c_dive at hotmail.com>>> wrote:
>     >
>     >     Have you tried "StartUp-Manager"
>     >     System, Administration.
>     >     Boot Options, Default Operating System, Drop Down arrow.
>     >     You may have to download it.
>     >     Chris.
>     >
>     >    
>     ------------------------------------------------------------------------
>     >     Date: Mon, 7 Sep 2009 12:02:08 -0400
>     >     Subject: grub problems
>     >     From: doug.dastew at gmail.com <mailto:doug.dastew at gmail.com>
>     <mailto:doug.dastew at gmail.com <mailto:doug.dastew at gmail.com>>
>     >     To: ubuntu-ca at lists.ubuntu.com
>     <mailto:ubuntu-ca at lists.ubuntu.com>
>     <mailto:ubuntu-ca at lists.ubuntu.com
>     <mailto:ubuntu-ca at lists.ubuntu.com>>
>     >
>     >
>     >     I have a hard drive with 5 partitions
>     >     I have
>     >
>     >     XP
>     >     ubuntu 9.04 54 Gb
>     >     ubuntu 9.04  21 Gb.
>     >     and 2 swap partitions.
>     >
>     >     My Main Ubuntu is 9.04 54 Gb
>     >
>     >     I was using the 21 Gb for experimenting ( trying to solve A
>     problem.)
>     >
>     >     The problem I have now is the the boot sequence now looks on the
>     >     21 Gb partition for the menu.list file,
>     >     but I want it to look at the menu.list file that is in my main
>     >     Ubuntu partition.
>     >
>     >     Since I installed Ubuntu in the experimental partition last that
>     >     is the menu.list file that it goes to.
>     >
>     >     How can I change it to boot using only my main Ubuntu
>     menu.list file?
>     >
>     >     Doug
>     >
>     >
>     >
>     >    
>     ------------------------------------------------------------------------
>     >     Faster Hotmail access now on the new MSN homepage.
>     >     <http://go.microsoft.com/?linkid=9677399>
>     >
>     >     --
>     >     ubuntu-ca mailing list
>     >     ubuntu-ca at lists.ubuntu.com
>     <mailto:ubuntu-ca at lists.ubuntu.com>
>     <mailto:ubuntu-ca at lists.ubuntu.com
>     <mailto:ubuntu-ca at lists.ubuntu.com>>
>     >     https://lists.ubuntu.com/mailman/listinfo/ubuntu-ca
>     >
>     >
>
>     --
>     Andy Boersma
>     andy at boersma.ca <mailto:andy at boersma.ca>
>     (647) 244-2460
>
>
>     --
>     ubuntu-ca mailing list
>     ubuntu-ca at lists.ubuntu.com <mailto:ubuntu-ca at lists.ubuntu.com>
>     https://lists.ubuntu.com/mailman/listinfo/ubuntu-ca
>
>

-- 
Andy Boersma
andy at boersma.ca
(647) 244-2460





More information about the ubuntu-ca mailing list