LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack Search this Thread
Old 08-21-2009, 04:22 PM   #1
Jeff91
Bodhi Developer
 
Registered: Jan 2009
Location: Alsip, IL
Distribution: Bodhi and Maemo
Posts: 297

Rep: Reputation: 33
Question about multi-boot


Right now I have Ubuntu 9.04 running on my laptop. The hard drive is partitioned as follows:

/boot - 100 megs
swap - 4gigs
/ - 15 gigs
/home - rest of the disc

My question is if I wanted to install a second distro and I have both of them use the same /home partition? If so do I just create a new / partition for the second distro? Also will this cause issues for application I have installed between the two distros? I want to give OpenSUSE a try but I also don't want to break my Ubuntu in the process.

Thanks,
~Jeff
 
Old 08-21-2009, 04:36 PM   #2
and235100
LQ Newbie
 
Registered: Feb 2007
Distribution: SuSE 11.1/11.0, Fedora, RHEL
Posts: 24

Rep: Reputation: 16
I would personally advise you to resize your existing /home , and create a separate /home for your OpenSuSE setup. If you wanted both distros to share the same /home, then the user id would have to be set the same so both distros can access it.
During the OpenSuSE setup, I would advise not to create/select your /home - do it after OpenSuSE is set up. There is a better chance of your data not being overwritten - you have more control over the distro once setup has completed.

Also - backup /home using cp -a before making any changes.
 
Old 08-21-2009, 04:42 PM   #3
Jeff91
Bodhi Developer
 
Registered: Jan 2009
Location: Alsip, IL
Distribution: Bodhi and Maemo
Posts: 297

Original Poster
Rep: Reputation: 33
Alrighty I also actually just found a small guide online for doing what I want (with different distros) - http://www.go2linux.org/dual-boot-tw...n-and-mandriva

Any idea how I would go about setting up my OpenSUSE uid so it matchs my Ubuntu one?

Thanks,
~Jeff
 
Old 08-21-2009, 04:52 PM   #4
and235100
LQ Newbie
 
Registered: Feb 2007
Distribution: SuSE 11.1/11.0, Fedora, RHEL
Posts: 24

Rep: Reputation: 16
Easy enough to do this in YaST, User and Group Administration.
Once OpenSuSE is set up - create a new user in YaST, and on the Details tab, set the User ID. Otherwise - use usermod -u UID username from a terminal window, such as Konsole.

You should be able to use id -u to see your current user id in your current distro.

Last edited by and235100; 08-21-2009 at 04:59 PM.
 
Old 08-21-2009, 05:46 PM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,029

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Just for the record, you shouldn't have a problem sharing the home directory between many distros, as long as you use a different user directory on each one. If you don't, then expect issues, unless the versions of every single program is exactly the same on both of them (luck tracking updates to make them match). And even then, there's no guarantee that there won't be issues, because different distros might add different patches every now and then.
 
Old 08-21-2009, 06:34 PM   #6
Jeff91
Bodhi Developer
 
Registered: Jan 2009
Location: Alsip, IL
Distribution: Bodhi and Maemo
Posts: 297

Original Poster
Rep: Reputation: 33
Alrighty that makes sense, a few people over on the OpenSUSE forums had said the same - but I should be safe using the same home folder just with different users though right?

~Jeff
 
Old 08-21-2009, 07:17 PM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,029

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Quote:
Originally Posted by Jeff91 View Post
Alrighty that makes sense, a few people over on the OpenSUSE forums had said the same - but I should be safe using the same home folder just with different users though right?

~Jeff
Yes. You really should unless your distro is buggy in some regard. I remember a very odd situation where Sabayon had problems sharing the same home partition for users on different distros. I don't even remember the severity of the problem or the concrete details, but Sabayon assumed that it had the right to take complete control over whatever was inside /home/, which is a nonsense for all purposes (the distro and the package manager shouldn't ever touch anything in your home folder).

I am not a suse user, but it would really surprise me if suse does such a thing. No distro that I know of would do such thing. So, as long as the users live in separate folders, you should be perfectly fine.
 
Old 08-21-2009, 07:54 PM   #8
Gular
LQ Newbie
 
Registered: Aug 2009
Location: Yaroslavl, Russia
Posts: 2

Rep: Reputation: 0
There will be some errors. I recommand to make a separates partiotions and for /home too.
 
Old 08-21-2009, 08:09 PM   #9
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,029

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Quote:
Originally Posted by Gular View Post
There will be some errors. I recommand to make a separates partiotions and for /home too.
For /home is all we are talking. There will not be any other shared partition as far as I can understand from the conversation.

And for /home, I respectfully disagree that there will be problems. Care to explain the details behind your asseveration? As long as there aren't shared directories there shouldn't be a problem at all. Even if the UID is the same there will not be a problem, because each user has his/her home directory, and the rest of directories under /home are out of the question. Only the directory indicated in /etc/passwd for that user will be his/her home, with the advantage that if the UID is the same, you will be able to save files to either home, convenient when both users are the same. Programs will write files to the correct place, and there shouldn't be any issues.
 
  


Reply

Tags
multiboot, opensuse, ubuntu


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
serious multi boot problem/question cradleoflove Linux - Newbie 3 09-29-2007 05:36 PM
Multi-boot Question Red Barchetta Linux - General 12 05-11-2007 10:15 AM
Multi Boot question SilverMermaid General 5 01-30-2007 09:04 AM
Installation question - multi-boot satimis Ubuntu 2 06-18-2006 06:17 PM
Multi-OS Boot Question meeshka *BSD 3 07-29-2003 01:15 PM


All times are GMT -5. The time now is 01:41 PM.

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