grub problems
Andy Boersma
andy at boersma.ca
Wed Sep 16 02:11:55 UTC 2009
Don't do anything to SDA3 until booting is fixed.
I normally create a 100mb /boot partition and use that on all my installs,
you should keep that in mind for the next time.
You are now booting on sda3 using the sda3/boot directory
We need to change this to point to sda6/boot.
Use a partition manager check the flags, you will see that the boot/active
flag points to sda3.
Be careful here, remove the flags from sda3, and then apply them to sda6
Check this carefully, if you are sure, apply and reboot and you now boot
from sda6.
Andy
_____
From: ubuntu-ca-bounces at lists.ubuntu.com
[mailto:ubuntu-ca-bounces at lists.ubuntu.com] On Behalf Of Doug Stewart
Sent: September-15-09 6:32 PM
To: The Canadian Ubuntu Users Community
Subject: Re: grub problems
Close
I had windows on asd1 &2
then I put Ubunto64 on sda3 and swap on sda5
Then I found that some things didn't have 64 bit software so I installed
Ubuntu32 on sda6 and swap on sda7
I then had trouble with Ubuntu 32 so I experimented by installing a 2nd
version of Ubuntu32 where the 64bit ubuntu was sda3
I found the problem (the video driver) and then applied the fix to my main
Ubuntu32 on sda6
But now the default boot is to sda3 using the menu.list from sda3. right
now if I was to format sda3 and use it for some other purpose I am sure that
I would not be able to boot!!!!
So again I want the boot sequence to look at sda6 not sda3.
the last 3 kernnal update have updated the menu.list on sda3 so when I get
it to boot to sda6 It will boot to an older kernnel but hat can be fixed
latter.
Doug
On Tue, Sep 15, 2009 at 5:19 PM, Andy Boersma <andy at boersma.ca> wrote:
Let me try to figure out what you did.
So you have windows on SDA1 & 2
Then installed Ubuntu was on sda3? With /boot on sda3
Then you added SDA4 and put ubuntu on SDA6 with a new /boot on sda6, with
Swap on 5 &7?
Correct??
Andy
_____
From: ubuntu-ca-bounces at lists.ubuntu.com
[mailto:ubuntu-ca-bounces at lists.ubuntu.com] On Behalf Of Doug Stewart
Sent: September-15-09 10:41 AM
To: The Canadian Ubuntu Users Community
Subject: Re: grub problems
Hi every body.
I have not made any changes yet because some thing aren't clear yet.
I have
/dev/sda1 ntfs 48gb boot
/dev/sda2 ntfs 98gb
/dev/sda3 ext3 20gb
/dev/sda4 extended
/dev/sda6 ext3 120gb /
/dev/sda7 linux-swap 5gb
/dev/sda5 linux-swap 5gb
So when i boot the system the MBR on sda1 looks on sda3 for the grub
menu.list
I want it so that when I boot the system the MBR on sda1 looks on sda6 for
the grub menu.list.
I have rub gparted and and startupmanager, but they do not seem to have the
ability to make this change.
Any ideas as to how to do this?
Doug
On Mon, Sep 7, 2009 at 11:41 PM, Andy Boersma <andy at boersma.ca> wrote:
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
--
ubuntu-ca mailing list
ubuntu-ca at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-ca
--
ubuntu-ca mailing list
ubuntu-ca at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-ca/attachments/20090915/d36f0a36/attachment.html>
More information about the ubuntu-ca
mailing list