[lug] Grub menu item to go back to BIOS?

Will will.sterling at gmail.com
Wed May 25 14:43:11 MDT 2011


Once BIOS has loaded and transfered execution to GRUB I don't think there is
anything left of BIOS running that you could go back to.

On Wed, May 25, 2011 at 1:47 PM, <scott.herod at comcast.net> wrote:

> Hello,
>
> I've got a small tool that unpacks a bootable ISO onto a USB drive and
> installs GRUB for booting.  (Often the partition on the USB drive has an
> NTFS file system so I cannot use isolinux directly.)  A customer has asked
> if I can add a grub menu item which essentially says, "Tell the BIOS that
> this is not a bootable device and fall-through to the next device".  Does
> anyone know a way to do that?
>
> More details:  I'm using grub4dos rather than GNU GRUB since my installer
> needs to run in Windows.  Grub4dos is very close to GRUB 1 in its command
> set.  I can do a "find" to see whether I can discover either /ntldr or
> /bootmgr and boot that from GRUB but that would potentially bypass a
> bootable CD that a user might have inserted.  I could also switch the root
> device to (hd1) and use the "chainloader +1" command but again that would
> probably bypass a bootable CD and I'm not sure that I can guarantee that
> (hd1) would be the next drive in the BIOS boot sequence or that it was
> bootable.
>
> It would be best if there were a way to tell the BIOS that the USB device
> wasn't bootable and that the BIOS should move on to the next device in its
> list.
>
> Thanks
>
> Scott
>
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20110525/99873664/attachment.html>


More information about the LUG mailing list