You are not logged in.
Hi!
I have a tripartition in my hard disc, one for swap, two for linux. There in the first (sda1) is arch, in the second one (sda2) is Ubuntu. I'm making slow progress in Arch, because I'm relatively new in this linux stuff and I'm learning. It is still in the command line stage. I want to copy the output file texts of my commands to sda2, because ubuntu doesn't recognize sda1 so I can't do it from there. So I modified my /etc/fstab like this(ejem, I could paste this due to a live-cd help u_u) :
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
#/dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
#/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
#/dev/fd0 /media/fl auto user,noauto 0 0
/dev/sda3 swap swap defaults 0 0
UUID=e595a072-5f29-45f2-95ab-582cb42931d8 / ext3 defaults 0 1
UUID=5794e719-5b95-406b-bcc7-37628f727719 /dev/sda2 ext3 defaults 0 0
but when I try
# mount /dev/sda2
it gives me this:
mount: special device UUID=5794e719-5b95-406b-bcc7-37628f727719 does not exist
In a previous edit of fstab I set up sda2 with the number 2 in pass. Obviously it gives me an error when the system mounted it for checking, saying that an system was already mounted and running. So I wonder why It mounted that time and not now
What do you think?
Last edited by Moran (2009-06-22 06:37:58)
Offline
Firstly, /dev/sda2 is a device - in /etc/fstab, you have it as a mountpoint.
Secondly, if the system says that UUID does not exist, you should double check that you have entered it correctly. The blkid command will help you there.
Offline
You need to adjust the last line in fstab. The second entry on that line '/dev/sda2' should be a directory in your system that you want to use as the mountpoint. (FYI, the headers at the top of the file help guide you.)
I am going to assume you don't have a mountpoint yet (if you do you can ignore this) so create one, for this example lets call it /mnt/ubuntu. Now set up fstab so that it mounts the filesystem/device to that directory. Again, as tomk said, check your UUID first.
UUID=5794e719-5b95-406b-bcc7-37628f727719 /mnt/ubuntu ext3 defaults 0 0
Offline