[syslinux] standalone bootable usb-stick

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


>- i suspect i'm missing a line in /linuxrc that is required by syslinux
>        http://linux-boot.net/Bootable/InitRD.LinuxRC/ \
>                LinuxRC-2005/linuxrc.cfusb

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

--- syslinux.cfg ---

        kernel vmlinuz
        append initrd=initrd.gz ramdisk_size=8192 root=/dev/loop0 ro

>another odd thing is syslinux-3.11 ( the way i've built the usb-stick )
>does not like the hierachy ( it can't find linux, even if i'm using
>vmlinuz )
>
>        /boot/vmlinuz
>        /boot/syslinux/syslinux.cf

It should be like this.

        /initrd.gz
        /vmlinuz
        /syslinux.cfg




More information about the Syslinux mailing list