LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-30-2004, 12:39 PM   #1
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Keeping /home partition with new installation


I am going to install Mandrake 10.1 Official later on today. It's possible for me to keep my /home partition, correct? I just need to make a new / and a swap partition, correct?

Basically I just want to install the new Mandrake 10.1 and keep my /home partition since it has pictures and documents I have. Don't worry, I backed it all up just in case. I would like to avoid copying everything back, though.
 
Old 10-30-2004, 01:02 PM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Yep just don't create a new /home directory and make sure you choose the proper partitions. I don't know if it'll manage automatically but you might have to edit /etc/fstab after the install to include your /home partition, it's not hard though.
 
Old 10-30-2004, 01:04 PM   #3
cetialphav
Member
 
Registered: Sep 2003
Location: Raleigh, NC, USA
Distribution: Fedora
Posts: 88

Rep: Reputation: 16
That shouldn't be a problem. One problem you could have is with file permissions. If the user you use in Mandrake does not have the same UID as the user on the previous distribution, then it will look like you don't own the files on the home directory. I would make sure when I create the new user in Mandrake, the same UID and GID would be used.

I probably would not tell Mandrake about the older /home when it installed. I'd let it create a /home on the / and then after the install, changed the /etc/fstab file to mount the older /home. You may have to move some files around because some packages like samba and ftpd may have created directories in /home.
 
Old 10-30-2004, 01:51 PM   #4
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
Thanks for the help, people! Looks simple enough and I will install and let you know how the transfer goes.
 
Old 10-30-2004, 02:58 PM   #5
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by darkleaf
Yep just don't create a new /home directory and make sure you choose the proper partitions. I don't know if it'll manage automatically but you might have to edit /etc/fstab after the install to include your /home partition, it's not hard though.
The installation went successful, but it didn't recognize my /home partition. So I went into my old fstab and copied and pasted the partition that /home is in (hdb6). Now when I boot up Mandrake 10.1, it says there is an error because it cannot write to $/home, or something like that. So how do I get myself access?

Below is the sections that I copied out and pasted into the new fstab

/dev/hdb7 /back2 ext3 defaults 1 2
none /dev/pts devpts mode=0620 0 0

/dev/hdb6 /home ext3 defaults 1 2 none

Last edited by Micro420; 10-30-2004 at 03:04 PM.
 
Old 10-30-2004, 04:32 PM   #6
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
I decided to forget it and just wipe out my /home partition clean. The whole installation went smooth, but when I click on the HOME icon on my desktop, nothing happens. I can't open konqueror manually either! I am disappointed in Mandrake 10.1. Other than that, everything seems to be working.
 
Old 10-31-2004, 03:50 AM   #7
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Don't give up that soon. Errors can be solved.
 
  


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
Keeping \home NNP Linux - General 3 06-28-2005 10:06 PM
chroot or keeping users to /home techrolla Linux - Security 9 06-22-2004 05:18 AM
post installation creation of /home partition problem timsch75 Linux - Newbie 2 03-13-2004 09:07 AM
Installation Question involving /home partition bolinux Linux - General 3 11-26-2003 01:38 PM
RH recovery -- keeping /home from previous drive bock Linux - General 3 01-20-2003 10:21 PM


All times are GMT -5. The time now is 11:02 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration