iPXE discussion forum

Full Version: Map usb disk
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello. How can I map usb disk in iPXE shell? I wan't to boot iso using the ramdisk but no download via http, tftp, etc. but only partition on pendrive some like this:

/dev/sdd3 and /dev/sdd4 for ipxe loaded by dd
/dev/sdd1 ntfs partition on iso and ramdisk

Sample chain:

Code:
:s6
initrd /iso/mhdd.iso
chain /memdisk iso raw || goto local
As has been explained several times on this forum... iPXE is a NBP, it is not made to boot local disks, even if it to some extents can be done, iPXE is simply the wrong solution for this usecase.

And the next things with the use of memdisk - which has also been explained several times over in this forum why it is a bad idea. (many tries it, some say it works without issues ... but then most of those that say it works comes back and asks why it doesn't work for Y when it did work for X, and the answer is that it is a hack that should not be used other than in very specific cases) - this is explained in the FAQ thread which is sticky in the forum.

But again iPXE is made for network boot, not disk boots.
Reference URL's