On Fri, 30 Apr 2004 P at draigBrady.com wrote:
> The fact is that for grub the MBR is disk agnostic.
Is it? AIUI, the grub MBR has the location on disk of the stage-1.5
fs loader hard coded into it (just as the lilo second stage
(chain.b?) in the bootblock had the location of the kernel image hard
coded into it).
> Personally I build up a disk image in a file which can be copied
> onto IDE/SCSI/CF disks.
Including MBR, right? The location of the 1.5 stage to the MBR is
constant, however, the C/H/S could vary between disks surely? Perhaps
grub is cleverer about translating its offset-to-stage-1.5 to C/H/S
than lilo¹ is, but I'm reasonably certain changing C/H/S would break
lilo boots. (cant remember for sure though. It _definitely_ breaks
the Windows NT second stage bootloader though).
1. LILO usually stores C/H/S, unless linear is specified iirc. Which
obviously would break if geometry changes.
regards,
--
Paul Jakma paul at clubi.iepaul at jakma.org Key ID: 64A2FF6A
warning: do not ever send email to spam at dishone.st
Fortune:
"... the Mayo Clinic, named after its founder, Dr. Ted Clinic ..."
-- Dave Barry
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!