LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-08-2006, 11:31 AM   #1
Oh Cisco
Member
 
Registered: Jul 2004
Location: Phoenix
Distribution: debian etch
Posts: 95

Rep: Reputation: 15
Unusual fstab!


I did a HD install of the Symphony OS and it created a fstab that I don't understand. The partitions that are suppose to be shown are,

hda1 ntfs
hda2 fat32
hda3 ext3
hda5 swap
cdrom
floppy
usbstick

the actual file looks like this,

/dev/hda3 / auto defaults 1 1
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,noatime,errors=remount-ro 0 1
/dev/hda2 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 vfat rw,user,noauto 0 0
/dev/sda1 /mnt/usbstick vfat user,noauto,umask=0 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0 # Auto-Update
/dev/hdc /mnt/hdc iso9660 noauto,users,exec 0 0 # Auto-Update
/dev/hda1 /mnt/hda1 ntfs auto,users,suid,dev,exec 0 0 # Auto-Update
/dev/hda2 /mnt/hda2 vfat auto,users,suid,dev,exec 0 0 # Auto-Update
/dev/hda5 /mnt/hda5 swap auto,users,suid,dev,exec 0 0 # Auto-Update
/dev/hda5 swap swap defaults 0 0 # Auto-Update
/dev/fd0 /mnt/floppy vfat,msdos noauto,users,suid,dev,exec 0 0 # Auto-Update
/dev/sda1 /mnt/usbstick vfat auto,users,suid,dev,exec 0 0 # Auto-Update

can someone explain why everything was duplicated and why the second set says Auto-Update?
 
Old 06-08-2006, 12:17 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Don't really know..looks like the first portion was added first, like some static file, and the rest appended afterwards like through some update. Or then it was just Obi Wan Kenobi playing with a fugu fish and a lightsaber. But that's crap anyway, I'd say keep everything else but remove the lines between proc and devpts lines..proc, devpts and the latter dev-lines seem to be ok and should work. Oh, and you can safely remove the "# Auto-Update" -texts from the end of the lines if you wish, I think, but if you consider them important, just let them be.
 
Old 06-09-2006, 03:00 AM   #3
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
It seems like the installation had a problem.
Your fstab is very messy!!

Considering this:
hda1 ntfs
hda2 fat32
hda3 ext3
hda5 swap
cdrom
floppy
usbstick

I would correct manually the /etc/fstab like this(you have a copy on LQ anyway) and then reboot:

Code:
/dev/hda1 /mnt/hda1 ntfs    ro,auto,umask=000,utf8 0 0
/dev/hda2 /mnt/hda2 vfat    users,auto,umask=000                                    0       0
/dev/hda3 /         ext3    defaults,errors=remount-ro                      1       1
/dev/hda5 swap      swap    defaults                                                0       0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy vfat noauto,users,suid,dev,exec 0 0  
/dev/sda1 /media/usbstick vfat user,noauto,umask=000 0 0

proc            /proc           proc    defaults                                                0       0
devpts /dev/pts devpts gid=5,mode=620 0 0 
The ones in italic I think they are optionnal, handled by udev.
Also gid=5 is even more optionnal.

Very strange fstab...

Hope it helps. As its a bit critical for the OP, if somebody sees an error, don't hesitate to correct it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
Maybe an unusual question... harken Programming 5 02-01-2005 06:33 AM
(version 5.1 chapter 08 fstab) vs (man fstab) rgiggs Linux From Scratch 2 06-03-2004 05:55 PM
unusual question Kenster Linux - General 2 12-09-2003 05:47 AM
Unusual question RLee Linux - Newbie 14 05-05-2002 10:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration