LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-09-2010, 03:20 AM   #1
Nightwolf411
LQ Newbie
 
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
Need help installing Ubuntu onto hard drive (currently on USB. Windows on HDD)


Well hello everyone, I am a first time linux user, and I am in desperate need of help. Currently, I have linux installed on a USB drive, and I am running the OS from there. That is fine and dandy, but I REALLY wanted in on the HDD. I am using a laptop, and I thought I had to be running linux to install linux on a HDD. Well... I'm clueless as to how to get it on the HDD now. I do NOT have any CDs, so I need to install from the Hard drive. By what means can I do this? My computer is so,so, slow running the OS from the USB drive, so please, anyone, help me figure out how to run linux from my HDD.


Thank you!
 
Old 03-09-2010, 03:33 AM   #2
woodmaster
Member
 
Registered: Jan 2010
Location: PA
Distribution: Karmic Koala
Posts: 49

Rep: Reputation: 15
looks like, from your tags, you're running Ubuntu, right? Download an iso file and burn it to a CD. Then boot that and install.
 
Old 03-09-2010, 03:47 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,628

Rep: Reputation: Disabled
Well if you are running it from USB drive in live mode, then you can install it and when it asks you for the partition, you can specify the internal disk.
If you have already installed it on the usb disk and need on the internal drive, you will need to again install it.
If you do not have a cd, then I suppose you have at least an iso image or something that you can use to install or borrow it from someone.
And you could give more information about your machine. How is the partitioning and if ubuntu in external drive is live or installed?
 
Old 03-09-2010, 03:11 PM   #4
FireRaven
Member
 
Registered: Apr 2006
Location: Australia
Distribution: Debian Squeeze
Posts: 135

Rep: Reputation: 18
The way I would do it is copy the partition information over from the USB to the HDD.

To do this open terminal and assuming sda is your HDD (destination) and sdb is your USB (with ubuntu) then type this...

WARNING THIS WILL DESTROY ALL DATA ON YOUR HARDDRIVE!

Code:
#umount /dev/sda1 (might not be needed, check '#mount | grep sda' on its own to see if anything is mounted)

#dd if=/dev/sdb of=/dev/sda

... wait 10 minutes or so.

#reboot
I highly recommend booting from a live CD or another USB and do this so none of the drives are in use. If this is the case make sure your ubuntu USB is not mounted either just to be safe.

I do this all the time from different size harddrives and it works, I assume it works the same for USB drives though.
 
  


Reply

Tags
drive, hard, hdd, install, trouble, usb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
USB hard drive as an HDD boot drive jonp Linux - Newbie 5 03-07-2010 02:28 PM
Installing UBUNTU on to a seperate USB Hard drive spnoe Ubuntu 1 12-06-2006 06:36 AM
Installing UBUNTU on to a seperate USB Hard drive spnoe Ubuntu 1 12-04-2006 06:03 PM
ubuntu partitioning tool does not see external usb hard drive when installing ubuntu fakie_flip Linux - Software 2 07-30-2006 01:44 AM


All times are GMT -5. The time now is 09:39 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration