Complicated chain loading

C M Reinehr cmr
Sat Mar 17 14:00:36 PDT 2007


Tony,

On Saturday 17 March 2007 14:58, Tony Alfrey wrote:
> Not for the faint of heart; I need a LILO/GRUB expert.
>
> Three drives:  sda, sdb, hda (two SATA, one IDE).
> sda is the first boot drive.
> LILO is on the MBR of sda1 (SuSE).  I have it set up to chain load SuSE
> on sda1,  The Evil OS on hda, or FC-6 on sdb2.
> GRUB is in the boot sector of sdb2;  I let FC-6 set it up 'cause I don't
> know GRUB.
>
> The Evil OS requires re-mapping drive geometry to make it think that hda
> is the first drive.  This is easy in LILO.  Of course, SuSE in sda1 also
> boots.
>
> But, I get a GRUB Geometry Error when trying to boot sdb2.  Do I need to
> do the same geometry mapping for GRUB as I need to for The Evil OS?
>
> Thanks!

Quite likely. If grub is not installed into the mbr of the first drive then it 
will need to be chainloaded, and that probably will require drive mapping. 
While you're running SuSE, mount the FC-6 partition and look in the 
directory /boot/grub for a file called device.map. The documentation 
describes the format of this file & how to edit it, but unfortunately doesn't 
explain how to determine the "correct" drive mapping.

Once you've corrected/verified the device mapping, you may have to reinstall 
grub stage 1 to the boot sector of the FC-6 partition. The best way to do 
this is to create grub boot floppy, although you also could do it from within 
SuSE (/usr/sbin/grub).

If you don't have the grub documentation installed in your SuSE system, look 
at http://www.gnu.org/software/grub/manual/

HTH

cmr


-- 
Debian 'Etch' - Registered Linux User #241964
--------
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC



More information about the Linux-users mailing list