LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 04-05-2007, 04:23 PM   #1
Jorophose
Member
 
Registered: Oct 2006
Location: Ontario, Canada
Distribution: Xubuntu 6.06!! =D
Posts: 137

Rep: Reputation: 15
Merging partitions?


Hi, I made an idiot's mistake; I left only 2GiB for my /home partition, and there's like 6.7GiB left in /.

Is there any way to merge the two partitions together?
 
Old 04-05-2007, 05:13 PM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
I did this not too long ago when I changed my data partition from FAT32 to NTFS, because I had unlimited file size in the shared data partition, I did not need the separate shared /home partition for all my Linux systems.
I kind of followed the tutorial in the link below, made a directory called "/newhome" and used the command suggested in the tutorial to move all files and links from the old /home to the newhome in the / partition. Then remove the line in /etc/fstab for the /home partition and remove directory /home. Re-boot and re-name /newhome to /home after verifying my user settings are good, you can also log in as root and delete the old user if it is no good and create a new user. You can then use a partition utility to delete the home partition and expand your / partition to take up the space.

http://ubuntu.wordpress.com/2006/01/...own-partition/

Last edited by Junior Hacker; 04-05-2007 at 05:17 PM.
 
Old 04-05-2007, 05:21 PM   #3
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Actually,
I think you have to remove the old /home directory and re-name /newhome to /home before the re-boot. Spend some time thinking!
 
Old 04-05-2007, 06:23 PM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Here you go:

http://www.gentoo.org/doc/en/article...tyle=printable

Worked fine for me.
 
  


Reply


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
Merging Harddrive Partitions josegata Linux - Software 2 05-12-2006 06:30 PM
Removing two Windows partitions under SuSE 9.2 and merging them with Linx partition. crozewski Linux - General 4 04-16-2005 10:57 AM
Merging Unalocated Partitions lramos85 Linux - Newbie 6 07-22-2004 02:29 PM
merging partitions question (RH9) LooseCanon Linux - General 2 10-02-2003 02:45 PM
Merging partitions Chrissi Linux - General 7 06-08-2003 08:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:10 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration