With the exception of oscarsamples/swraid1-scsi.disk, none of the
oscarsamples/*.disk files use the "bootable" option to mark one of the
generated partitions as bootable. This affects both 4.2 and the trunk.

With older BIOSes, this is not a problem. At the stage in the boot
sequence where the BIOS is going to attempt to boot from a hard drive,
it will read in the MBR, do some sanity checking, and transfer control
to the MBR code. With GRUB and LILO, the MBR code does not rely on the
presence of a "bootable" flag to decide which partition to boot from;
it has other sources of information. Thus, as long as control is given
to the MBR code, the boot will proceed even if no partition is flagged.

However, with some recent BIOSes (for example, the one that comes with the
Intel 945GNTLKR motherboard), the "sanity check" includes looking to see
whether some partition has its "bootable" flag set. If there is no such
partition, control is _not_ passed to the MBR code. Instead, the BIOS
moves on to the next boot device in sequence, typically a network boot.

The fix is simply to add the "bootable" option to the /boot line in each
*.disk file (except swraid1-scsi.disk, which already has it); e.g.:

--- ide.disk    2006-06-06 17:17:49.000000000 -0700
+++ ide-new.disk        2006-07-04 13:39:23.000000000 -0700
@@ -1,4 +1,4 @@
-/dev/hda1        24   ext3  /boot      defaults
+/dev/hda1        24   ext3  /boot      defaults bootable
 /dev/hda5        512  swap
 /dev/hda6        *    ext3  /          defaults
 nfs_oscar:/home  -    nfs   /home      rw


-- 
Ted Powell <[EMAIL PROTECTED]>   http://psg.com/~ted/
"If you don't look, you don't know."
    Dr. Sam Ting, Nobel laureate experimental physicist.

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to