LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-29-2011, 07:48 PM   #1
n5kzw
LQ Newbie
 
Registered: Nov 2007
Location: Lake Travis, TX
Distribution: Ubuntu 7.04
Posts: 16

Rep: Reputation: 1
Can't move /home in 11.10.


I did a clean install Ubuntu of 11.10 over Kubuntu 11.04. Somehow, it did not pick up my /home partition. I have tried adding the /home partition to /etc/fstab using both UUID and /dev/sda6. After rebooting, my /home directory is still the one in the /root partition. Is Oneric different?
 
Old 10-29-2011, 08:13 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853
Please post the content of your fstab file and the output of
Code:
mount
 
Old 10-30-2011, 10:35 AM   #3
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 291Reputation: 291Reputation: 291
Quote:
Originally Posted by n5kzw View Post
I did a clean install Ubuntu of 11.10 over Kubuntu 11.04. Somehow, it did not pick up my /home partition. ...
How did you install Ubuntu 11.10? In order to do a clean install of Ubuntu and to have it use your current /home partition you must choose manual partitioning. You then select your current root partition to be the root partition of your new install. And you select to format this root partition for the new install.
You then select your current /home partition as mount point /home. And most importantly, you select
do not format for the /home partition. This will preserve all the data on /home, and instruct the new version of Ubuntu to use your current /home partition as the new /home partition on your new install.

Last edited by tommcd; 10-30-2011 at 10:36 AM.
 
Old 10-30-2011, 07:40 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 16,001

Rep: Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219
The OP presumably still has the old /home (with data) else s/he wouldn't be trying to mount it.

Oneiric handles a separate /home just fine - and has since I first installed it as an early beta. I would suggest you check dmesg (just) after a re-boot to see why the fstab entry was rejected. I use two "system" partitions to flip-flop releases, and currently either Maverick or Oneiric can be booted with the common /home without issue (I skipped Natty on this machine).
 
Old 11-02-2011, 10:48 AM   #5
n5kzw
LQ Newbie
 
Registered: Nov 2007
Location: Lake Travis, TX
Distribution: Ubuntu 7.04
Posts: 16

Original Poster
Rep: Reputation: 1
Solved -- BUT:

Quote:
Originally Posted by TobiSGD View Post
Please post the content of your fstab file and the output of
Code:
mount
I don't know why, but I was able to move the /home partition with this fstab:

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda2 during installation
UUID=4bc95f16-d095-4b06-b1c8-e86913b7bff2 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=d79c49c0-f963-4022-8cb1-a2121053ffd9 none swap sw 0 0
# swap was on /dev/sda7 during installation
UUID=1bad7c3c-1877-4376-86eb-f046b7b28775 none swap sw 0 0
UUID=f369a1c7-8eaa-4956-8df7-e661c12601e8 /home ext4 nodev,nosuid 0 2

Unfortunately, when I reboot using my old 11.04 /home partition, I get a white screen with a File, Edit, View... menu bar, no launcher, and no meta key. For the moment, I think I'll just manually access my old home partition when I want it.
 
Old 11-02-2011, 10:53 AM   #6
n5kzw
LQ Newbie
 
Registered: Nov 2007
Location: Lake Travis, TX
Distribution: Ubuntu 7.04
Posts: 16

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by tommcd View Post
How did you install Ubuntu 11.10? In order to do a clean install of Ubuntu and to have it use your current /home partition you must choose manual partitioning. You then select your current root partition to be the root partition of your new install. And you select to format this root partition for the new install.
You then select your current /home partition as mount point /home. And most importantly, you select
do not format for the /home partition. This will preserve all the data on /home, and instruct the new version of Ubuntu to use your current /home partition as the new /home partition on your new install.
I didn't really give all of the details, this was my 3rd or 4th reinstall of 11.10. I did use the method you describe on the first install of 11.10, but subsequent reinstalls only offer the the options: "Update 11.10 to 11.10", "Erase 11.10 and install 11.10", and "Install 11.10 using the entire disk".
 
  


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
Can I move /home ? MikeyDIUP Linux - Newbie 3 09-11-2005 02:36 AM
How do I move /home to a new partition? glenn69 Linux - Newbie 2 01-05-2005 11:15 PM
Move home directory iain.ross Linux - Newbie 6 01-01-2005 05:37 PM
I want to move home fannymites Linux - General 1 12-04-2004 06:45 AM
move home to new drive gSalsero Linux - Software 1 06-11-2004 05:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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