After messing around with extlinux a while, I finally put it all together with info gathered here and there on this forum and have got a bootable USB formatted with ext2 using extlinux.drunkjedi wrote:Hi corvus,
For ext file systems you have to use extlinux.
Syslinux for fat.
Isolinux for cd or dvd.
I haven't used it. But command syntax for using syslinux and extlinux is same I think.
Please see it's wiki first.
http://www.syslinux.org/wiki/index.php?title=EXTLINUX
Here are the steps I used:
1. On your blank USB "sdb", Create an ext2 Partition using GParted. It will be named sdb1. Before exiting GParted, and set the "boot" flag on sdb1.
2. The installation of Bootloader on the drive
First we need to Mount the drive
Install the MBR on the drive (make sure the drive letter is right!)
# cd /usr/lib/syslinux
# dd if=mbr.bin of=/dev/sdb (Note that this command uses sdb and not sdb1)
3. Then EXTLINUX
# cd /sbin
# extlinux --install /mnt/sdb1 (make sure the drive letter is right!)
4. We need to create an extlinux.conf file which will contain our bootloader instructions :
# leafpad /mnt/sdb1/extlinux.conf
Copy the below config for a HDD-frugal-install:
Code: Select all
default puppy
display boot.msg
prompt 1
timeout 50
F1 boot.msg
F2 help.msg
F3 help2.msg
label puppy
kernel vmlinuz
append initrd=initrd.gz pmedia=cd
Code: Select all
default puppy
display boot.msg
prompt 1
timeout 50
F1 boot.msg
F2 help.msg
F3 help2.msg
label puppy
kernel vmlinuz
append initrd=initrd.gz pmedia=usbflash pfix=copy
6. Unmount everything and reboot off the flash drive.
Hope this helps...
festus