You are not logged in.

#1 2009-04-06 01:43:25

Starclopsofish
Member
Registered: 2009-04-06
Posts: 2

fstab Woes

I've just recently installed Arch on my desktop and I love it, for reasons that should be self-explainitory to everyone here. However, I've been poking and prodding my /etc/fstab file for HOURS and I can't get get my two internal hard disks to mount... I've looked at several tutorials and tried their methods, but I'm still no joy... This is my first time trying to edit fstab directly, go easy on me!

Here's what my fstab looks like now

#
# /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,unhide   0      0
#/dev/dvd               /media/dvd  auto    ro,user,unhide   0      0
#/dev/fd0               /media/fl   auto    user             0      0
#/dev/sdb               /media/disk0 auto rw,user,unhide 0 0
#/dev/sdc               /media/disk1 auto rw,user,unhide 0 0

UUID=4f06ad86-ae4d-4b98-a352-a3d9b98051be / ext4 defaults 0 1
UUID=554790bc-4f2d-41be-b694-a4af8f4dccdc /home ext4 defaults 0 1
UUID=9685ba42-14c6-4be4-9bbb-5c4c8e63ddda swap swap defaults 0 0

Thanks in advance.

Offline

#2 2009-04-06 01:55:15

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: fstab Woes

Are those the sdb and sdc lines? You do know you have them commented out, right?

Also, it's likely that you want to mount a partition of the disks, not the actual whole disks. "fdisk -l" should tell you what the right names are.

Offline

#3 2009-04-06 02:16:30

Starclopsofish
Member
Registered: 2009-04-06
Posts: 2

Re: fstab Woes

Well I wasn't sure till now... lol. It seems like a while back when I was using Ubuntu a file I needed to edit had to have entries in comments that were checked for validity then utilised if everything was ok, I dunno. I've been trying EVERYTHING though, heh. My optical drives are also commented out... (not my doing, fstab was like this from the start), should I uncomment those as well?

I'll try targeting the partitions instead and report back in a bit. Thanks for the quick response!

EDIT: Well I uncommented sdb and sdc and added a one to them (there's only one partition on each) but still no luck....

Last edited by Starclopsofish (2009-04-06 02:23:28)

Offline

#4 2009-04-17 19:54:38

Synss
Member
From: Germany
Registered: 2009-04-14
Posts: 15

Re: fstab Woes

Do not try editing fstab at first, but try to mount the partition from the command line. Because it is interactive, you then have the chance to read error messages. And yes, error messages are a chance since they will tell you what is wrong.

So I suggest the following, in a shell and as root, and you may report the results,

Do the mount point exist?

 # ls /media/disk0
 # ls /media/disk1

You may prefer another, meaningful name, but I'll go on with these ones. If they do not exist, create them

 # mkdir /media/disk0
 # mkdir /media/disk1

then try mounting

 # mount /dev/sdb1 /media/disk0
 # mount /dev/sdc1 /media/disk1

What do you get after that?

Offline

Board footer

Powered by FluxBB