sharing /home between FC4 and Ubuntu
I am dual booting with Fedora Core 4 and Ubuntu. I'm trying to share /boot, /home and swap between 2 OSs. My hard drive is partitoned something like this :
| /boot | / FC4 | /home | / Ubuntu | SWAP |
I'm sharing swap and /boot with no problems. I had some problems with sharing boot at first but some manual grub.conf editing took care of that and allowed me to boot to both OSs. Anyway, I had FC4 installed first so /home was obviously created with that install. When I first booted to Ubuntu, it came up to a graphical login, when I entered my login info I got some error messages that are related to permissions and it would take me right back to the graphical login prompt - I am able to log into a terminal session though. I've done some research and pieced together some useful information but nothing definitive for this problem. After checking out the Ubuntu forums
(http://ubuntuforums.org/showthread.php?t=87999) and a little tinkering with permissions from the Ubuntu side - namely setting permissions like this: (syntax may be wrong but you get the idea)
sudo chmod -R /home/<user>
sudo chown -R /home/<user>
then I was able to log into gnome under Ubuntu and everything seems to work OK.
When I booted back into FC4, I now had similar problems with files under /home/<user> - just as I expected. I found an old post on fedoraforum.org
(http://forums.fedoraforum.org/forum/...ad.php?t=29254 )that says to modify the /etc/passwd and /etc/group to fix the issue with mismatched UID/GID between the two OS's. which is what I sort of suspected the problem being but I don't know enough about doing this... can anyone provide some more details?