LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Boot from USB (https://www.linuxquestions.org/questions/linux-newbie-8/boot-from-usb-859202/)

Niraj Kulkarni 01-28-2011 05:32 AM

Boot from USB
 
Hi,
Please tell me how to boot Linux from USB where in :
1. USB should be ext2 formatted.
2. Obviously USB should be bootable.

Using universal usb installer I could boot Slax Linux ( 6.1.2 ) along with bzImage + ramdisk.img.gz.

Now ramdisk doesnot allow me to store data in pen drive OR the Filesystem is read only. At every boot , the default ramdisk only will be booting.

Can we make the pen drive ext2 formatted + bootable , where I can copy my rootfs (busybox) to it and boot the system.

I am working on Intel EP80579.
Regards
Niraj

ComputeWorldwide 01-28-2011 09:00 AM

Have a look at the System Rescue CD tools maybe...
 
Dear Niraj:

Here http://www.sysresccd.org/Sysresccd-m...n_an_USB-stick is the instruction page on creating a bootable USB stick based on an ISO image. Of course it is from the perspective of the System Rescue CD but maybe the same idea would work for any live ISO.

HTH
....MontyMan.

jefro 01-28-2011 03:58 PM

Yes you can. See pendrivelinux.com for how opensuse does it or other opensuse doc's. Most flash installs tend to use fat and then use a persistence file to make it seem real. Some distro's simply will not work like that and have to be as a real install. Some of the newer distros offer install to usb as a feature and well documented.

Some cases the usb may have problems on the real installs to ext2. I'd tend to suggest you keep using live cd's based on bootable cd's. Some offer live usb images to that one can simply dd to a flash drive.

Fred Caro 01-28-2011 04:20 PM

making a pendrive installation
 
Firstly there is nothing simple about dd operation, it can easily result in null. The easiest to use creator of pendrive hosted o/s's that I have found is on Knoppix where you have to have enough space on the drive and explicitly create a 'home' partition but it walks you through that.

Fred.


All times are GMT -5. The time now is 05:19 PM.