lnx-bbc pen drive HOWTO

Marco d'Itri <[email protected]>
Newsgroups gmane.linux.bbc.devel
Message-ID <[email protected]>
[Please Cc: me, I'm not subscribed to this mailing list.]

Mount the .iso image and copy its content to the USB drive.
Mount lnx.img somewhere and copy its content to the pen drive root.
You can unmount lnx.img and even delete it from the drive if you want.

Now, you will have to modify /linuxrc in the initrd image.
To do this, uncompress root.bin with zcat and mount it.

Look in linuxrc for these lines and uncomment them:
# if test -f usb-uhci.o; then insmod usb-uhci.o; fi
# if test -f usb-ohci.o; then insmod usb-ohci.o; fi

Then add:
if test -f usb-storage.o; then insmod usb-storage.o; fi
sleep 3

Unmount the initrd image and compress it again with gzip.

Unmount the USB drive and make it bootable with syslinux. You may also
need to install a working MBR like the one in the mbr debian package.


I suppose that there is a reason if this was not enabled by default.
If loading these modules is not always safe, maybe in the next release
this could be controlled by a kernel boot parameter.

-- 
ciao, |
Marco | [3079 raLUhTBUXwU/I]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.