Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Slackware Linux Help
Reload this Page How do I edit fstab so I can access my HDD?
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Slackware Linux Help For help and Discussion about Slackware linux

Reply
 
Thread Tools Display Modes
Old 04-11-2008   #1 (permalink)
pfeigl
Just Joined!
 
Join Date: Apr 2008
Location: Ontario
Posts: 76
Exclamation How do I edit fstab so I can access my HDD?

Here is my fstab:

/dev/sda1 / ext3 noauto, user 0 0
/dev/cdrom /mnt/cdrom auto noauto,user ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
~

I edited it to look like the CDROM entry and the CDROM works. The HDD doesn't.
pfeigl is offline   Reply With Quote
Old 04-11-2008   #2 (permalink)
wowbag1
Linux Newbie
 
Join Date: Jan 2008
Location: UK
Posts: 169
This should give some ideas: this is my fstab.......

LABEL=/ / ext3 defaults 1 1
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/sda2 swap swap defaults 0 0
wowbag1 is offline   Reply With Quote
Old 04-12-2008   #3 (permalink)
Freston
Linux User
 
Freston's Avatar
 
Join Date: Mar 2007
Posts: 449
On a Vector machine (uncustomized):


cat /etc/fstab
# /etc/fstab: static file system information.
#
# The following is an example. Please see fstab(5) for further details.
# Please refer to mount(1) for a complete description of mount options.
#
# Format:
# <file system> <mount point> <type> <options> <dump> <pass>
#
# dump(8) uses the <dump> field to determine which file systems need
# to be dumped. fsck(8) uses the <pass> column to determine which file
# systems need to be checked--the root file system should have a 1 in
# this field, other file systems a 2, and any file systems that should
# not be checked (such as MS-initrd/mnt or NFS file systems) a 0.

# The Linux partitions
/dev/sda1 / reiserfs noatime 0 1
/dev/sda3 /home reiserfs noatime 0 2

# Shared Windows/Linux partition
#/dev/hda1 /mnt/dos msdos umask=0 0 0
#/dev/hda1 /mnt/win vfat fmask=111,dmask=0,quiet,shortname=mixed,user 0 0
#/dev/hda1 /mnt/win ntfs umask=0 0 0

# Floppy disks
# The 'noauto' option indicates that the file system should not be mounted
# with 'mount -a' 'user' indicates that normal users are allowed to mount
# the file system.
#/dev/fd0 /mnt/floppy auto defaults,noauto,user 0 0
#/dev/fd1 /mnt/floppy auto defaults,noauto,user 0 0

# If you have a ls-120 floppy drive, it could be on /dev/hda b c d etc.
#/dev/hdd /mnt/ls120 auto defaults,noauto,user 0 0

# CDROM, CDWRITER, DVD
/dev/cdrom /mnt/cdrom iso9660 defaults,noauto,ro,user 0 0
#/dev/cdwriter /mnt/cdwriter iso9660 defaults,noauto,rw,user 0 0
#/dev/dvd /mnt/dvd auto defaults,noauto,ro,user 0 0

# NFS file systems:
#linux01.gwdg.de:/suse/6.3/i386.de /mnt/nfs nfs defaults 0 0

# proc file system:
proc /proc proc defaults 0 0

# Unix98 devpts filesystem:
none /dev/pts devpts gid=5,mode=666 0 0

# Shared memory filesystem:
tmpfs /dev/shm tmpfs defaults 0 0

# Basic USB filesystem
sysfs /sys sysfs defaults 0 0
usbfs /proc/bus/usb usbfs rw,devmode=0666 0 0

# example of a VFAT USB pendrive
#/dev/sda1 /mnt/pendrive vfat fmask=111,dmask=0,noauto,user,quiet,shortname=mixe d 0 0


# Swap partitions
# The 'sw' option means auto activating with 'swapon -a'.
__________________
Can't tell an OS by it's GUI
Freston is offline   Reply With Quote
Old 04-12-2008   #4 (permalink)
pfeigl
Just Joined!
 
Join Date: Apr 2008
Location: Ontario
Posts: 76
Lightbulb Hmmmm.

I think the second line may be the problem. I'm also going to check fstab on my Debian box because it works. I can see the filesystem in the GUI.

Peter
pfeigl is offline   Reply With Quote
Old 04-21-2008   #5 (permalink)
darkrose0510
Linux User
 
darkrose0510's Avatar
 
Join Date: Jan 2006
Location: Queensland, the cyclone/flood/drought capital of Australia
Posts: 256
try this:

/dev/sda1 / ext3 defaults 1 1
/dev/cdrom /mnt/cdrom auto noauto,user ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
__________________
Desktop - Gentoo
Toy Box - Syllable
Laptops - Damn Small 4
Servers - Debian Etch
Registered Linux user #407228 -- A computer without a Microsoft operating system is like a dog without bricks tied to its head.
darkrose0510 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 10:39 AM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0