LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-30-2006, 08:35 PM   #1
katesfb
Member
 
Registered: Nov 2006
Posts: 58

Rep: Reputation: 15
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.
 
Old 11-30-2006, 09:20 PM   #2
king111
Member
 
Registered: Jul 2005
Distribution: Debian, Ubuntu
Posts: 85

Rep: Reputation: 15
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.
 
Old 12-01-2006, 05:49 AM   #3
jim-j
LQ Newbie
 
Registered: Nov 2003
Location: Sioux Falls SD USA
Distribution: CentOS 7
Posts: 27

Rep: Reputation: 15
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.
 
Old 12-01-2006, 06:43 AM   #4
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
you could fo course also use a live cd ,err live usb stick. damn small linux comes to mind but there are others
 
Old 12-01-2006, 06:54 AM   #5
guedellas
Member
 
Registered: Dec 2005
Location: Espaņa
Distribution: Fedora Core 8 + Debian 4.0 + Vista
Posts: 61

Rep: Reputation: 15
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
 
Old 12-02-2006, 10:42 AM   #6
linux01
LQ Newbie
 
Registered: Aug 2005
Posts: 20

Rep: Reputation: 2
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.
 
Old 12-04-2006, 02:54 AM   #7
katesfb
Member
 
Registered: Nov 2006
Posts: 58

Original Poster
Rep: Reputation: 15
Hi,
thanks guys for all the help, its much appreciated.

Cheers.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
running linux off usb hdd linuxmandrake Linux - General 5 10-11-2006 08:37 PM
Running two USB webcams/Linux compatible IR sensitive webcams doctorelectron Linux - Hardware 1 06-07-2006 08:30 AM
USB 2.0 DVD Drive running at usb 1.1 speed.. redsmoke Linux - Hardware 1 01-17-2005 04:19 AM
Why does linux reboot at Random when running my USB communication program Nightbird Linux - Software 3 09-02-2004 07:38 PM
Problem running linux from usb hard drive ard9 Linux - Laptop and Netbook 1 06-18-2004 07:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration