[syslinux] standalone bootable usb-stick

Kent Robotti dwilson24 at nyc.rr.com
Tue Sep 20 13:48:31 PDT 2005


>This is probably all you need in linuxrc.
>
>        # - load vfat, fat, dos, usb-modules
>        /sbin/insmod modules
>	# mount the usb stick
>        /bin/mount -n /dev/sda1 /mnt/sda1
>        /sbin/losetup /dev/loop0 /mnt/sda1/LoopFile

Correction.

        # - load vfat, fat, dos, usb-modules
        /sbin/insmod modules
	/bin/sleep 6 # time for usb to register
	# mount the usb stick
        /bin/mount -n /dev/sda1 /mnt/sda1
        /sbin/losetup /dev/loop0 /mnt/sda1/LoopFile




More information about the Syslinux mailing list