On Tue, Dec 1, 2009 at 10:18 AM, Peter Jones <span dir="ltr"><<a href="mailto:pjones@redhat.com">pjones@redhat.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 12/01/2009 10:42 AM, Sir Gallantmon wrote:<br>
<br>
> I found another tool that claims to be able to search and boot a USB device,<br>
> from a floppy disk no less! The tool is called PLoP[1], and it is a custom<br>
> boot manager that can boot USB, CD, and hard disks.<br>
><br>
> Maybe that will help some people figure out how it is done.<br>
><br>
> [1]: <a href="http://www.plop.at/en/bootmanager.html" target="_blank">http://www.plop.at/en/bootmanager.html</a><br>
<br>
</div>That's pretty neat, but probably not much help to us.  What this is is a<br>
custom (proprietary, closed source, it seems) bootloader which basically<br>
does this:<br>
<br>
1) installs what amounts to a DOS TSR driver for each of:<br>
  a) IDE (of some unspecified variety)<br>
  b) [EOU]HCI<br>
  c) ATAPI and similar (i.e. SCSI MMC/SBC command sets along with<br>
     encapsulation for CDROM and USB-storage)<br>
  d) notably not any SATA/AHCI/etc<br>
2) acts as a chainloading boot loader for whatever bootloader is on<br>
   media that it finds.<br>
<br>
Which is also just a fancy way of saying it /replaces/ some of your BIOS's<br>
int 13h routines with what are plausibly slightly smarter (but also<br>
plausibly slightly dumber) ones.<br>
<br>
If somebody wants to implement an open source version of this, it could be<br>
helpful, I guess. But it's a lot of fairly difficult work, and the only<br>
real advantage it has over the other scheme I've discussed is that the CD<br>
(or whatever) you're booting from doesn't have to match the OS being<br>
booted.<br>
<br>
Anyway, if somebody's looking for a truly complex and isolating project to<br>
work on, go right ahead, but I'm not going to ;)<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">        Peter<br>
<br>
The Shuttle is now going five times the sound of speed.<br>
                -- Dan Rather, first landing of Columbia<br>
<br></div></div></blockquote><div><br></div><div>Couldn't something like that be implemented into GRUB/GRUB2? Unlike PLoP, GRUB doesn't really have a size restriction, so maybe smarter methods of detection could be implemented.</div>
<div><br></div><div> </div></div>