* Re: [linux-lvm] Grub 1 vs 2
@ 2010-07-30 3:46 Brian McCullough
2010-07-30 15:26 ` Stuart D. Gathman
0 siblings, 1 reply; 3+ messages in thread
From: Brian McCullough @ 2010-07-30 3:46 UTC (permalink / raw)
To: LVM general discussion and development
On Wed, Jul 28, 2010 at 02:10:15PM -0400, Stuart D Gathman wrote:
>
> Use a large /boot partition. The last time I used Ubuntu, it did not
> easily support having a separate /boot filesystem (instead making the
> root fs bootable), so that could be a problem, unless Ubuntu also
> supports grub 2 (with LVM support).
Stuart,
Slightly hijacking this thread, but forking. Yes, Ubuntu 10.04 does seem to support Grub 2. In fact, that's where my problem arises.
I guess I didn't understand the implications of switching to Grub 2, because I let Ubuntu 10.04 do so when I was trying to dual boot a Grub 1 machine that I had. Once it was finished, I could not find the old system at all, and the menu.lst ( or grub.conf or whatever ) in /boot/grub seems to have no effect on anything. At least changes that I make seem to do nothing.
Certainly I can mount the LVs that comprised the old system, so I know that the install did not overwrite the LVs that I did not tell it to use, but I can not seem to boot the old system.
Any sage advice?
Thanks,
Brian
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] Grub 1 vs 2
2010-07-30 3:46 [linux-lvm] Grub 1 vs 2 Brian McCullough
@ 2010-07-30 15:26 ` Stuart D. Gathman
2010-07-30 17:54 ` Oscar Dijkhoff
0 siblings, 1 reply; 3+ messages in thread
From: Stuart D. Gathman @ 2010-07-30 15:26 UTC (permalink / raw)
To: LVM general discussion and development
On Thu, 29 Jul 2010, Brian McCullough wrote:
> I guess I didn't understand the implications of switching to Grub 2, because
> I let Ubuntu 10.04 do so when I was trying to dual boot a Grub 1 machine that
> I had. Once it was finished, I could not find the old system at all, and the
> menu.lst ( or grub.conf or whatever ) in /boot/grub seems to have no effect
> on anything. At least changes that I make seem to do nothing.
>
> Certainly I can mount the LVs that comprised the old system, so I know that
> the install did not overwrite the LVs that I did not tell it to use, but I
> can not seem to boot the old system.
Ubuntu installed a new grub, with config files in a new location, probably
in the Ubuntu root filesystem. Those are the only config files (that
instance of) grub will use. I've not used grub 2 yet. Unlikely, but perhaps
they renamed the config? Check man pages.
Possible approaches:
1) You could mount that Ubuntu filesystem in other oses to modify its menu.lst.
2) You could add a Chain entry to the Ubuntu grub to load the old grub1
in /boot/grub. This will require reinstalling grub1 to the partition
boot sector instead of the master boot sector.
3) Reinstall grub2 to a partition boot sector, reinstall grub1 to the
master boot sector, and add a chain entry to grub1 to boot grub2.
4) Reinstall grub2 to reside in the /boot/grub filesystem, overwriting
grub1. Mount that filesystem in Ubuntu and create symlinks as
necessary so that Ubuntu updates work properly.
In all cases, before playing with all that, go burn yourself a copy of
Super Grub on CD. Very handy when your system is unbootable...
Distro LiveCDs are also handy, but Super Grub is much faster when you
just want to boot grub.
--
Stuart D. Gathman <stuart@bmsi.com>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] Grub 1 vs 2
2010-07-30 15:26 ` Stuart D. Gathman
@ 2010-07-30 17:54 ` Oscar Dijkhoff
0 siblings, 0 replies; 3+ messages in thread
From: Oscar Dijkhoff @ 2010-07-30 17:54 UTC (permalink / raw)
To: LVM general discussion and development
On vr, 2010-07-30 at 11:26 -0400, Stuart D. Gathman wrote:
> On Thu, 29 Jul 2010, Brian McCullough wrote:
>
> > I guess I didn't understand the implications of switching to Grub 2, because
> > I let Ubuntu 10.04 do so when I was trying to dual boot a Grub 1 machine that
> > I had. Once it was finished, I could not find the old system at all, and the
> > menu.lst ( or grub.conf or whatever ) in /boot/grub seems to have no effect
> > on anything. At least changes that I make seem to do nothing.
> >
> > Certainly I can mount the LVs that comprised the old system, so I know that
> > the install did not overwrite the LVs that I did not tell it to use, but I
> > can not seem to boot the old system.
>
> Ubuntu installed a new grub, with config files in a new location, probably
> in the Ubuntu root filesystem. Those are the only config files (that
> instance of) grub will use. I've not used grub 2 yet. Unlikely, but perhaps
> they renamed the config? Check man pages.
>
> Possible approaches:
>
> 1) You could mount that Ubuntu filesystem in other oses to modify its menu.lst.
>
> 2) You could add a Chain entry to the Ubuntu grub to load the old grub1
> in /boot/grub. This will require reinstalling grub1 to the partition
> boot sector instead of the master boot sector.
>
> 3) Reinstall grub2 to a partition boot sector, reinstall grub1 to the
> master boot sector, and add a chain entry to grub1 to boot grub2.
>
> 4) Reinstall grub2 to reside in the /boot/grub filesystem, overwriting
> grub1. Mount that filesystem in Ubuntu and create symlinks as
> necessary so that Ubuntu updates work properly.
>
> In all cases, before playing with all that, go burn yourself a copy of
> Super Grub on CD. Very handy when your system is unbootable...
>
> Distro LiveCDs are also handy, but Super Grub is much faster when you
> just want to boot grub.
>
The configuration system for GRUB 2 is completely different than what it
was in GRUB. The menu.lst file now gets created automatically based on
other config files. Look at /etc/default/grub. Search the web for GRUB 2
configuration if you need more info.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-07-30 17:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-30 3:46 [linux-lvm] Grub 1 vs 2 Brian McCullough
2010-07-30 15:26 ` Stuart D. Gathman
2010-07-30 17:54 ` Oscar Dijkhoff
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.