Accessing Xubuntu from Ubuntu

squareyes squareyes at internode.on.net
Tue Aug 22 02:38:33 UTC 2006


Alan Mckinnon wrote:
> On Mon, 2006-08-21 at 22:58 +0930, squareyes wrote:
>   
>> Hi all,
>> I have both Ubuntu 6.60 and Xubuntu on the same drive.
>> Is there any way I can access Xubuntu from Ubuntu?
>> Ubuntu on hda1,  Xubuntu on hda3. An icon shows on desktop for hda3, but 
>> can only
>> access "Lost+Found"
>>
>> squareyes at here:~$ mount /media/hda3/
>> mount: according to mtab, /dev/hda3 is already mounted on /media/hda3
>> mount failed
>> so it's mounted OK
>>
>>
>>     
>
> Hi Winton
>
> That is your setup from Ubuntu and you can already access the Xubuntu
> files - they are in /media/hda3. If you look in that directory you'll
> see everything there. You might run into some issues regarding user
> account IDs where you can't read some files, but root at least will
> always see them.
>
> For example, if user winton on ubuntu is user ID 1000, and user winton
> on Xubuntu is user ID 1001, then you won't easily be able to see your
> Xubuntu home dir files from Ubuntu - you'll get permission denied
> errors.
>
> Similarly, you'll need to ensure that in Xubuntu there is a line
> in /etc/fstab making the contents of the Ubuntu disk available:
>
> /dev/hda1       /media/hda1     ext3    defaults        0       2
>   

Hi Alan,
have added line above to Xubuntu /etc/fstab,
Am not getting any errors, can mount hda3 , but can only see "lost and 
Found"

root at here:~# cd /media/hda3/
root at here:/media/hda3# ls
lost+found
root at here:/media/hda3#

/etc/fstab on Ubuntu 6.60 as generated by Ubuntu

/etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda1       /               ext3    defaults,errors=remount-ro 0       1
/dev/hda3       /media/hda3     ext3    defaults        0       2
/dev/hda5       none            swap    sw              0       0
/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0



Seems strange that /etc/fstab on Xubuntu doesn't show the hda3 partition

/dev/hda4 / ext3 defaults,errors=remount-ro 0 1
/dev/hda7 swap
/dev/hdc /media cdrom udf , iso9660 user , no auto 0 0

/dev/hdd /media cdrom udf , iso9660 user , no auto 0 0
/dev/fd0 floppy
/dev/hda1 /media/hda1 ext3 defaults 0 2
-------------------------------------------------------------------------------------------------------------------------------

 From Ubuntu
squareyes at here:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 19228276 7977368 10274160 44% /
varrun 128124 80 128044 1% /var/run
varlock 128124 4 128120 1% /var/lock
udev 128124 112 128012 1% /dev
devshm 128124 0 128124 0% /dev/shm
lrm 128124 18856 109268 15% /lib/modules/2.6.15-23-386/volatile
/dev/hda3 16412212 131260 15447180 1% /media/hda3


df from Ubuntu shows the full hda3 partition, but from Xubuntu

 From Xubuntu
squareyes at here:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda4 2142252 1268936 764776 63% /
varrun 128124 72 128052 1% /var/run
varlock 128124 4 128120 1% /var/lock
udev 128124 112 128012 1% /dev
devshm 128124 0 128124 0% /dev/shm
lrm 128124 18856 109268 15% /lib/modules/2.6.15-23-386/volatile



I did have problems with partitioner when I installed Xubuntu, wouldn't 
let me go forward until I resized partition I made for Xubuntu. hda4 is 
only freespace (resulting from partition re-size).
Am I correct in assuming that somehow was installed on this small partition

I am making up a CD to hand out with Ubuntu/Xubuntu info in the form of 
a website to hopefully show
possible new users what they look like, and how they can be used, and 
only need some screen captures of Xubuntu to go on it,
so need to have back and forward access to both systems.
Take Care
Winton
Thanks again for you help










More information about the ubuntu-users mailing list