Need help installing Ubuntu onto hard drive (currently on USB. Windows on HDD)
Linux - NewbieThis 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
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.