LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices


Reply
  Search this Thread
Old 01-02-2010, 12:02 PM   #1
dadrunamok
Member
 
Registered: Dec 2009
Location: Maryland, USA
Distribution: Ubuntu 11.04, that alternative OS from Washington State
Posts: 33

Rep: Reputation: 16
Talking Complete Hard Drive Restructure -- No OS reinstall!


Due to lack of knowledge/planning, my main hard drive ended up with six partitions. Not very useful or efficient.

This morning, after having created a Parted Magic boot CD, I set about fixing the problem. It took me most of the morning to:
  • Use fsarchiver to create backups of / and /home.
  • Use gparted to change the partitioning of the hard drive.
  • Restore /home to the newly-expanded data partition.
  • Change up /etc/fstab to point to the new data partition.
After I was done, I went to boot up Ubuntu. Umm...FAIL!!!

The poor operating system could not find the UUID that I had told it to look for to mount /home. It did at least get me to a command line. So, I fired up my favorite text editor, edited /etc/fstab and rebooted the system. SUCCESS!!!

Before I started, I had a 250 GB hard drive chopped up into six partitions (plus a swap space). The / folder was 30 GB in size, which was entirely too large.
Now in addition to the swap space, I've got a smaller (10 gig) / partition, a second 10 gig partition to add another distro and a very, very large data partition that both OSes can use. Ahh, efficiency!

I'm very pleased that I was able to get my Ubuntu desktop back up and running without having to bring my laptop in to research the problem. The fix that made it so that Ubuntu could find the /home folder location took five minutes to work around and then correct. All is well.

The best part, I believe, is not that my hard drive is laid out more efficiently; the best part is I now have a few new things in my toolbox to keep it running well.

I think I'm becoming less of an Ubuntu user and more of a Linux user...
 
Old 01-03-2010, 09:09 PM   #2
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally Posted by dadrunamok View Post
I think I'm becoming less of an Ubuntu user and more of a Linux user...
Well congrats and keep it going . Mine's 250G too and I made 10 partitions to it. 2 are 20G for gentoo and slack, 2 or 4G swap, 40G for *NIX related files and the others.. well, you know .

I made the geometry of my HD sector (head?) oriented (cylinders * 63) so it doesn't seem to depend much on cylinders anymore. I configured it last 2006 with hdparm. That was rather dangerous... and exciting.

Last edited by konsolebox; 01-03-2010 at 09:13 PM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to know the best method to put a complete linux on usb hard drive madbull737 Linux - Newbie 3 08-13-2009 04:11 AM
Help: Moved ide hard drive to different computer and now it won't complete boot rbonafied Mandriva 1 09-25-2008 08:03 AM
Hard drive failure + Kernel reinstall = panics and odd behavior Storm16 Linux - Kernel 4 07-16-2006 06:51 AM
So i formated my linux hard drive and tried to reinstall slackware but i get an error gbdavidx Linux - General 10 11-09-2004 04:29 PM
To transfer the complete hard drive to a brand new drive satimis Linux - Hardware 2 09-02-2004 09:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories

All times are GMT -5. The time now is 04:49 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