grub loading grub
Hello?
What I'd like to do is load the second distro's boot loader from the first distro's boot loader instead of just booting the second distro. For instance, if I have distroA's GRUB residing in the MBR and when I load distroB, I'd like to see distroB's GRUB in action including its own graphical menu/splash screen while maintaining distroA's GRUB setting when it's booting. Basically, I'd like to know what to add in distroA's menu.lst file when distroB's bootloaser, let's say, resides in the following locations: 1. MBR (/dev/hdd) of the drive where distroB (/dev/hdd2) resides. 2. The first boot sector of BOOT partition in distroB's drive. 3. The first boot sector of ROOT partition in distroB's drive. Thanks. |
hi.
i dont think that this is a possible thing. the aim of a boot loader is to load and set up an operating system, and this could be done by a list of operations common to any O.S. (sequence of bootstrap) like load the partition table, check the file system and mount the root partition. for these reasons i dont think that you can tell to a boot loader to load ANOTHER boot loader. this is what i think! bye Matteo |
Hi mrosati,
Thanks for your comments. I encountered some comments regarding this issue in the past that this is doable through some combination of "chainloader +1" GRUB commands. After all, Windows is another, sort of, boot loader that is invoked through some GRUB commands combination with "chainloader +1" when it coexists in a system with Linux distros and is invoked from this other distro. This was basically the essential idea from the past comment, so I was just curious if anybody has managed to work out this issue. Regards, |
rootnoverify (hdx,x)
chainloader +1 it will only work if the bootloader is installed to the distros / partition i've done that a few times but i usually just edit grub to boot the second distro and not chainload |
Hi Boow,
That's it! Thanks for your confirmation. It appears that your suggestion would take care of the case 3 in the starting thread. So then, there's no way to accomplish cases 1 and 2? How about GRUB loading LILO and vice versa? Regards, |
All times are GMT -5. The time now is 04:47 AM. |