Assign Home partition to existing home on seperate disk

Questions about Grub, the liveCD and the installer
Forum rules
Before you post please read this

Assign Home partition to existing home on seperate disk

Postby Fornhamfred on Sun Dec 04, 2011 8:05 am

I have found several posts relating to this thread but no answer.

I am installing LMDE on a machine which has Mint 9 on a seperate disk. I would like to assign the LMDE home to the Mint 9 home partition but cannot find out if it is posssible to do it or whether it is adviseable.

The LMDE home partition at present is on disk sda and the Mint 9 home is on sdb.
Fornhamfred
Level 6
Level 6
 
Posts: 1134
Joined: Wed Oct 31, 2007 3:38 pm
Location: Suffolk UK

Linux Mint is funded by ads and donations.
 

Re: Assign Home partition to existing home on seperate disk

Postby miffojon on Sun Dec 04, 2011 9:15 am

Hello!
It's possible, but I would suggest that you bind your LM9 home folders to your LMDE home.
Have a look at this nice how-to by altair4:

http://forums.linuxmint.com/viewtopic.php?f=42&t=74321&p=431358&hilit=how+to+bind+mount#p431358

Hope it gets you sorted out...
User avatar
miffojon
Level 1
Level 1
 
Posts: 11
Joined: Wed Jan 19, 2011 2:25 pm
Location: 69°N

Re: Assign Home partition to existing home on seperate disk

Postby Roken on Sun Dec 04, 2011 12:44 pm

If you want to completely reassign /home you can do by by editing /etc/fstab on the new system to change the source of the partition to be mounted as /home. There's plenty of documentation around covering fstab to help you along. By way of an example, my fstab entry for /home is:

Code: Select all
UUID=1b0bdeb4-5ccc-4975-a9f9-b259e3123d37   /home   ext4   defaults,user_xattr   0   2


which mounts the entire partition at /home on boot. You will, of course, need to change the UUID to match your system and change ext4 appropriately if your partition is not ext4.

You can learn the correct uuid by running
Code: Select all
sudo blkid


in a terminal.
Kernel Linux Tex 3.2.2-1 (64 bit) xfce , burg
Arch
ATI Radeon HD 4670, 1GB
OSS4
AMD Phenom II X4 (965BE) @ 3.6 Ghz (Overclocked)
8Gb RAM
Image
User avatar
Roken
Level 5
Level 5
 
Posts: 747
Joined: Fri Nov 19, 2010 4:55 pm
Location: Oldham, UK

Re: Assign Home partition to existing home on seperate disk

Postby Fornhamfred on Wed Dec 07, 2011 2:33 pm

Thanks for your replies.

Roken I will have a try with your suggestion when I get the machine back. It seems as though LMDE may have somehow corrupted the boot loader on the Windows XP partition so I have more work to do.
Fornhamfred
Level 6
Level 6
 
Posts: 1134
Joined: Wed Oct 31, 2007 3:38 pm
Location: Suffolk UK

Re: Assign Home partition to existing home on seperate disk

Postby Fornhamfred on Tue Dec 13, 2011 3:23 pm

OK. I have succeeded in using the Mint 9 home with LMDE using Rokens suggestion. The only problems I have encountered is the size if the icons in Mint Menu - had to enlarge to see in LMDE and now very large in Mint 9 and also had to delete any shortcuts on Mint 9 desktop as they are not valid in LMDE ( newer versions).

Not a perfect solution but workable.
Fornhamfred
Level 6
Level 6
 
Posts: 1134
Joined: Wed Oct 31, 2007 3:38 pm
Location: Suffolk UK


Return to Installation & Boot

Who is online

Users browsing this forum: Bing [Bot] and 7 guests