[syslinux] standalone bootable usb-stick

Kent Robotti dwilson24 at nyc.rr.com
Mon Sep 26 21:33:19 PDT 2005


>hi ya kent

>On Tue, 20 Sep 2005, Kent Robotti wrote:

> >- 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

>i think you're missing a couple points:

>a)  the same /linuxrc ( /dev/ram0 ) and RootFS ( /dev/loop ) works
>   when booting with lilo and grub

That's the way I did it and it worked, but maybe you're trying
to do something else.

ftp://ftp.tux.org/pub/people/kent-robotti/looplinux/loop-root-fs.txt

>        - ie ... /linuxrc does not need to be changed
>        or does it because it doesnt work with syslinux

I don't think it's a syslinux problem.

I'm not subscribed, Cc me it you can.
 




More information about the Syslinux mailing list