PDA

View Full Version : [all variants] Two installations, how to access home folder on the other partion?



musta78
November 22nd, 2008, 01:50 PM
Hi
I've got one Xubuntu 8.04.1 that I'm running my currently setup.
I've installed ubuntu server 8.04.1 on another partion. I do not have a desktop on this, so I'm only able to use console.

Before I do the complete switch I want to do a complete test. I'm using XBMC and have some issues with cpu running very high in idle on a hd3200 screencard.

On this server edition I've got some very promising results where idle is down to only 2% ( in the other it is around 90 to 100%).

But I can't figure out how to access the home folder on the other partion!

theApokalypsis
November 22nd, 2008, 01:56 PM
So I understand you want to access the home folder on the Server edition from you Xubuntu desktop edition?

If you mount any partition it should show up in /media folder of your file system as whatever named folder your partition was named.

like ex /media/disk/home

am i off? lol

musta78
November 22nd, 2008, 02:21 PM
Vice versa.

So how do you mount a partion in console?

lswb
November 22nd, 2008, 02:42 PM
I suggest something like this: While running the server system, make a mountpoint:

sudo mkdir /xfce

Run the command "sudo fdisk -l" and/or "sudo blkid" From the output you should be able to identify which partition your desktop system is using. Lets day it is /dev/sda3 and uses the ext3 filesystem

Then you can mount it:

sudo mount -t ext3 /dev/sda3 /xfce

Now you can access all files on the xubuntu partition through /xfce. If this is what you want, put an appropriate entry in /etc/fstab of the server system so it is automatically mounted at boot. You can search for other threads on how to do that and see the man pages for mount and fstab.

musta78
November 22nd, 2008, 07:07 PM
Thanks for pointing the way! I will give this a shot tommorow!

musta78
November 23rd, 2008, 06:30 PM
This was what I did to make it work!

sudo fdisk -l
sudo mkdir /media/hardy
sudo mount /dev/[partition hardy is installed on] /media/hardy