PDA

View Full Version : Mounting ext3 in Ubuntu???


thilina
25-08-2006, 08:25 PM
There are 3 OS's in my pc.Fedora core 4,Ubuntu 5,Win xp.Today I used "sudo umount /media/hda6" command in Ubuntu to unmount hda6.Now hda6 (the Fedora core 4 partition) is not appearing in my desktop in ubuntu.How can I mount it back??
Plz tell me as quickly as possible

mehulved
25-08-2006, 10:06 PM
same way
sudo mount /dev/hda6
or if this doesn't help

sudo mkdir /media/ubuntu
sudo nano /etc/fstab

then add the line

/dev/hda6 /media/ubuntu ext3 auto,umask=000 0 0

Now again give the very first command.

thilina
26-08-2006, 06:22 PM
4 the first command it gives this message

"wrong fs type, bad option, bad superblock on /dev/hda6,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so"


Ill try the second one ,thx 4 helping

thilina
27-08-2006, 10:10 PM
I solved the prob.thanx for support

mehulved
27-08-2006, 10:23 PM
So what was the solution?

JGuru
27-08-2006, 11:54 PM
@Tech_your_future, the syntax for 'mount' is :
mount <device> <directory>
So it becomes, in this context:
$ sudo mount /dev/hda6 /media/ubuntu

mehulved
27-08-2006, 11:56 PM
Oops that was an oversight. The first command should work, if your fstab has been set up right. Or else, yes, it will give an error message.

thilina
29-08-2006, 09:41 PM
So what was the solution?

I just formatted the it as Vfat & i made some adjustments to the fstab file

GNUrag
31-08-2006, 02:46 PM
VFAT?
Why use VFAT?
there are better filesystems available.

mehulved
31-08-2006, 05:17 PM
there are better filesystems available.
Yeah like NTFS :p

QwertyManiac
31-08-2006, 05:32 PM
You formatted your Fedora partition ? Great... :\