Accessing Xubuntu from Ubuntu

Alan Mckinnon alan at linuxholdings.co.za
Tue Aug 22 13:57:39 UTC 2006


> 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#

Your Xubuntu is not on /dev/hda3, it's on /dev/hda4 as shown below

> /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

Everything OK here, but you'll need to add an entry for hda4

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

Not at all, it simply means that the installer didn;t add a line. You
should just add it yourself

> /dev/hda4 / ext3 defaults,errors=remount-ro 0 1
This line tells me that Xubuntu is on /dev/hda4, not 3
> /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

/dev/hda3 is a 16G partition, but it's empty. 

df below says that /dv/sda4 is a 2.15G partition mounted by Xubuntu at /

> 
> 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


alan






More information about the ubuntu-users mailing list