LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-04-2006, 12:56 AM   #1
Pau Gasol
Member
 
Registered: Jan 2006
Distribution: Debian Lenny, Slackware 12
Posts: 33

Rep: Reputation: 15
Sharing /home and GRUB problems


Hi everybody, I'm from Spain. First post and first stupid question

I've got XP and Ubuntu 5.10 installed in my desktop. My /dev/hda is partitioned this way:

/dev/hda1 Windows XP
/dev/hda2 Swap
/dev/hda3 /
/dev/hda5 /home
/dev/hda6 free

I tried to install Frugalware 0.3 (DVD) in /dev/hda6 last night. I intended to install / on /dev/hda6 and use /dev/hda5 as home too. The installation went allright except one of the spanish additional lang-packages, it made my installation stop. So I deselect that package and went on. I installed grub on /dev/hda (overwriting Ubuntu's GRUB, my first error). When I rebooted the machine, I only had this error message:

GRUB GRUB GRUB GRUB

So i boot the PC with a Live CD (Kanotix) and tried to restore my grub from there. I mount frugalware and chrooted to frugalware and tried

grub-install /dev/hda

but an error message appeared, telling me there were no such device. So I mounted Ubuntu instead, chrooted and everything went fine.

I rebooted my machine and Grub was Ok, but when I get to the login screen, my /home was broken. So, I must have made a mistake somewhere along the way.

Here are my two questions

1.) Is it possible to share /home? I mean, mount /home for two different distros in the same place. I can live without doing this, anyway.

2.) What have I have to do to get GRUB right?

Thanks in advance and apologises for my poor english.

Last edited by Pau Gasol; 02-04-2006 at 02:13 AM.
 
Old 02-04-2006, 01:49 AM   #2
esje
Member
 
Registered: Mar 2004
Location: Holland
Distribution: Debian Etch, Gentoo 2005.1/SUSE 10
Posts: 52

Rep: Reputation: 15
To begin with, my humblest apologies for not being from Spain. :P

The home-question: you don't want that.. Perhaps it's useful for some of the config-files to be shared by the two distros, but on the whole you're only inviting your distribution to mess with your configuration files, and you wouldn't want ubuntu to overwrite that .vimrc you worked on for an entire night, would you? A reasonable solution is to auto-mount a partition with documents or multimedia (or both) in a subdirectory of your home directory. That way you won't be able to use e.g. thunderbird with both distros but at least you're not taking the risk of deleting all your mail with an upgrade.

As for the grub-thing: you have got that right, haven't you? The only thing you may need to do is add an entry for Frugalware in your menu.lst.
 
Old 02-04-2006, 02:12 AM   #3
Pau Gasol
Member
 
Registered: Jan 2006
Distribution: Debian Lenny, Slackware 12
Posts: 33

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by esje
To begin with, my humblest apologies for not being from Spain. :P
ooops, I edited my message, now it looks better

Thanks for your advice on /home. I haven't found too much documentation about this kind of options/choices.
 
Old 02-04-2006, 02:22 AM   #4
esje
Member
 
Registered: Mar 2004
Location: Holland
Distribution: Debian Etch, Gentoo 2005.1/SUSE 10
Posts: 52

Rep: Reputation: 15
I know, I was wondering the same question a week ago and couldn't find an easy answer either How about your grub-problem?
 
Old 02-04-2006, 02:34 AM   #5
Pau Gasol
Member
 
Registered: Jan 2006
Distribution: Debian Lenny, Slackware 12
Posts: 33

Original Poster
Rep: Reputation: 15
My main problem with grub, now that's restored, is what to write in the conf file, but I'll copy/paste the ubuntu entry I already have and change it to fit frugalware setup (dev and kernel). Don't know if it'll work, though, I'm really clumsy.
 
Old 02-04-2006, 08:25 AM   #6
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Mides 2+ metros y juegas al baloncesto, o eres un fan muy fan?

If your /home partition isn't working in ubuntu either (after the frugalware install) you may have (accidentally) formatted the partition during the frugalware install.

Sharing /home between installations will ony work faultlessly if you use different usernames. Otherwise you'll run into problems with specific program configurations specified in the hidden files in your /home/<username> directory.

The reason why Grub didn't install properly in frugalware may be that althought the grub bootloader was installed to the MBR but the grub.conf file it points to wasn't created.
 
Old 02-05-2006, 12:35 AM   #7
Pau Gasol
Member
 
Registered: Jan 2006
Distribution: Debian Lenny, Slackware 12
Posts: 33

Original Poster
Rep: Reputation: 15
Thank you, it's more or less fixed! Now I've got no sound in Frugalware, but that's a different story!

And no, I'm not a big fan of the basketball player (I just like him), but I was looking at his stats in nba.com when I opened my account in linuxquestion and that's the first nickname that came to my mind.
 
  


Reply



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
sharing /home partition? greythorne Mandriva 5 04-05-2005 04:22 AM
sharing /home LancerNZ Linux - Networking 3 03-01-2005 12:39 PM
Sharing home boombastic Fedora - Installation 1 10-16-2004 02:25 AM
Problems when sharing /home? BroX Slackware 4 08-15-2004 03:47 PM
Sharing folders not in your home FrozenShadow23 Linux - Newbie 2 09-28-2003 01:34 AM

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

All times are GMT -5. The time now is 03:21 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
Open Source Consulting | Domain Registration