LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   running linux from USB HD (https://www.linuxquestions.org/questions/linux-hardware-18/running-linux-from-usb-hd-506374/)

katesfb 11-30-2006 08:35 PM

running linux from USB HD
 
Hi,
This is just a general question really. I have a laptop and wish to run linux as well as windows but i want to run linux from a USB hard drive. IS this possible or would it be better to do a convnetional dual boot setup? Any help would be much appreciated.

Cheers.

king111 11-30-2006 09:20 PM

Your BIOS must have the option to boot from USB.

If you already have Windows installed, you could install Linux on a USB drive and save your Windows partition. Otherwise, you'll have to back up your Windows partition and reformat the drive.

jim-j 12-01-2006 05:49 AM

Quote:

Originally Posted by king111
Your BIOS must have the option to boot from USB.

If you already have Windows installed, you could install Linux on a USB drive and save your Windows partition. Otherwise, you'll have to back up your Windows partition and reformat the drive.

If you want to install on the same hard drive as Windows there is an easier way. Download the "System Rescue CD" (http://www.sysresccd.org/Download.en.php), boot from it and use gparted to resize your Windows partition. Although it's a console based live distro, you can still run gparted in graphical mode by entering the command "run_gparted". Then you can install Linux in the space you freed up. Of course, before resizing your partition you should backup your data. Actually, you should always have your data backed up anyway, but there's nothing like loosing all of your data once to teach you that lesson. :)

erklaerbaer 12-01-2006 06:43 AM

you could fo course also use a live cd ,err live usb stick. damn small linux comes to mind but there are others

guedellas 12-01-2006 06:54 AM

Hi!!

I'm on my way of doing the same as you for a standard debian/etch, but've encountered some problems (due to my ignorance, I see...)

AFAIK, what we need to accomplish this task is to make a initial ram disk (initrd) with usb support, that loads all the needed drivers at startup, wait until they are correctly active and then mounts the usbHD partition.

When you accomplish this, you have only to tweak your boot loader configuration and add some new lines to boot this new partition (this second one is the easy part).

I'm trying to make the initrd but have little time and experience, should be easy with a baby step guide :). The man page of initrd is Chinese to me...

Let me know your advances, please. I'll keep you informed if I get something.

PS: I leave you some links that help me realizing what the tasks were:
http://www-128.ibm.com/developerwork...-fireboot.html
http://www.linuxquestions.org/questi...d.php?t=471848
http://www.simonf.com/usb/
http://www.linuxquestions.org/questi...d.php?t=470883
http://www.linuxquestions.org/questi...d.php?t=492589

linux01 12-02-2006 10:42 AM

Poppy
 
I am not partial to any distro yet, but, I have prepared some bootable linux USB "sticks" with Puppy Linux. They have a good tutorial at their site, and the software comes with an installer that does the installation to USB.
Just my 2 cents, or maybe 1 1/2.

katesfb 12-04-2006 02:54 AM

Hi,
thanks guys for all the help, its much appreciated.

Cheers.


All times are GMT -5. The time now is 05:40 AM.