Triple boot - Ubuntu Feisty (7.04) Dapper (6.06) and Windows XP (P4)

Eric Dunbar eric.dunbar at gmail.com
Mon Mar 26 18:58:28 UTC 2007


On 26/03/07, Derek Broughton <news at pointerstop.ca> wrote:
> Eric Dunbar wrote:
>
> > On 25/03/07, Eric Dunbar <eric.dunbar at gmail.com> wrote:
> >> On 24/03/07, ac <"aec$news"@candt.waitrose.com> wrote:
> >> > Eric Dunbar wrote:
> >> > > Hello all:
> >> > >
> >> > > I've "lost" my "main" Ubuntu 6.06 (Dapper) install from the Grub boot
> >> > > menu. I have two HDs, one for Windows XP and one for Ubuntu.
> >> > >
> >> > > My Ubuntu 6.06 was set up with a /boot partition. My Ubuntu 7.04 was
> >> > > not (just /).
> >> > >
> >> > If I understand correctly, your original grub boot information is
> >> > still basically in the (now unused) original /boot partition for
> >> > dapper 6.06.
> >> >
> >> > So in theory, if you can copy it out and use the relevant items in
> >> > your new grub file, (menu.1st) which I expect is in the /boot/grub  of
> >> > 7.04 partition, then you will be hopefully on your way.
>
> Yes - just one disclaimer: put it outside the "automagic" section, or it
> will get lost when you install a new kernel image (or run update-grub).

Done that.

> >> Question for everyone:
> >>
> >> Where does Ubuntu's installer (Feisty (7.04) and Dapper (6.06 LTS)
> >> place the grub binary by default?
>
> In /boot, under the --root-directory specified to grub-install (your
> current / by default).

Hmm. I'm wondering if I need to do something different since one my
installs (the 606 that I can't access the grub for directly) actually
has its own /boot partition (and, I'm redirecting to that partition).
See below for my comment re: "chain loading"

> > Is it possible (I presume it is but I haven't managed to get the right
> > syntax yet and it's bed time ;-) to...
> >
> > have the first grub "chain load" the second grub or the second grub's
> > menu.lst?
>
> Definitely, just the same way you chain load to a windows install.

What I've done is used "configfile" to have the first grub simply load
the menu.lst file from the Ubuntu 606 /boot partition. So, I can use
the "chain loader" to activate the Ubuntu 606 chain loader? Hmm. I
wonder how I can tell the grub binary to load from the /boot partition
using the first grub that loads (I understand that installing grub
into the mbr is a two step process -- into the mbr is installed the
first part (400 bytes) of the boot loader which in turn loads the rest
of grub from the relevant partition).

Eric.




More information about the ubuntu-users mailing list