Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I haven't but it's been done. Of course the BIOS has to support booting from such a device first. Due to size limitations, you might need to use a 2.4 kernel. One interesting experiment to try would be to create an old floppy styled rescue disk, the old way, containing the 2.4 kernel (self booting) and the ramdisk file and see if that would work. Try this on a smaller cheep pendrive. Such as a 128MB drive you can find at the grocery store for around $20! I can't guarantee that doing this (writing an image file over the device starting at byte 0 with the dd command) would not damage the device.
Thanks for your attention. I had w98 (DOS)running on my Compact Flash .I use for utilty such as Cloning HDD. I've benn planning the same method for LINUX.
Moderator said that DAMNsmallLINUX can be used, but he doesn't say it's working or not.
You can use the dd command to do the same thing as the clonehdd program.
You will probably want to use a kernel with the minimal number of kernel modules enabled.
/lib/modules might take up 60 MB.
A distro may have a "install to directory" option. Using this you could install to the pendrive normally, if the distro is lightweight enough.
Then install the bootloader to the mbr of the pendrive device.
A distro such as OpenSUSE would require about 1 GB for the minimal installation.
I have a minimal Slackware installed on a 128mb cf card (but I'm using cf->ide converter, not usb). I've also installed onto a usb drive in the past but had to use a grub floppy to boot, as my BIOS didn't support booting from usb. Provided the kernel has scsi/usb-storage, and the BIOS can boot from usb, there should be no problem.
Feather Linux can do this with little or no extra work (You may need to edit the device's partition table to make it bootable, and set the BIOS to boot from a USB device, but that's pretty much it. There is a package specifically for USB boot as well as a CD image. I have installed it on my 256MB pendrive, works great and still leaves room for my schoolwork ). Damn Small Linux can be booted from USB with a little more work, and I think you can in fact buy a USB pendrive with DSL pre-installed from the DSL site.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.