PDA

View Full Version : etc/fstab: what should be in it?



digiSal
12-16-2003, 02:03 AM
I strongly believe that my problems in this thread
http://www.knoppix.net/forum/viewtopic.php?t=6722

are due to the fact that my fstab is empty.

what should go in there

if my root is hda1 and my swap is hda2, and one fat32 partitiion on hda3? i have one dvd-drive, and one floppy drive

something like?

/dev/hda1 /root ext3 noauto,users,exec 0 0
/dev/hda2 none swap defaults 0 0
/dev/hda3 /mnt/hda3 vfat noauto,users,exec, 0 0
/dev/fd0 /dev/fd0 defaults 0 0
/dev/cdrom /dev/cdrom defaults 0 0

i dont know, what do you think?

rickenbacherus
12-16-2003, 02:42 AM
Dude- you have pioneered some new ground here. I have never heard of an empty fstab before. /etc/fstab and lilo.conf are quite unrelated. I would strongly suggest reinstalling. My fstab looks like so:


# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/hda1 none swap sw 0 0
#/dev/hda2 /? ext3 auto,users,exec 0 0
/dev/hda3 / ext3 defaults,errors=remount-ro 0 1
#dev/hda4 is the extended partition
#/dev/hda5 /? ext3 auto,users,exec 0 0
/dev/hda6 /home ext3 auto,users,exec 0 0
/dev/hda7 /tmp ext3 auto,users,exec 0 0
/dev/hda8 /var ext3 auto,users,exec 0 0
#/dev/hda9 /? ext3 auto,users,exec 0 0
/dev/hda10 /media ext3 auto,users,exec 0 0
#/dev/hda11 /? auto noauto,users,exec 0 0
#/dev/hda12 /? ext3 auto,users,exec 0 0
/dev/hda13 /remaster ext3 auto,users,exec 0 0
/dev/hda14 /usr ext3 auto,users,exec 0 0

You won't have as many listings but I think you get the idea. Knoppix installs everything to one partition /root. Your other drives will also have entries. If you need any help at all reinstalling just post or better yet- get on irc and
/j #knoppix

digiSal
12-16-2003, 03:13 AM
Pioneering huh? thats cool, least i am learning a thing or two...

thanks for posting your fstab!

i am wondering if i should just use the fstab that the knoppix cd creates in RAM,

which looks like soL


proc /proc proc defaults 0 0
pts /dev/pts devpts mode=0622 0 0
/dev/fd0 /mnt/auto/floppy auto user,noauto,exec,umask=000 0 0
/dev/cdrom /mnt/auto/cdrom auto user,noauto,exec,ro 0 0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda2 none swap defaults 0 0
# Added by KNOPPIX
/dev/hda3 /mnt/hda3 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0 0

although, i think i should change hda1 to home or root?

i'll give it a whirl later, doing laundry now...haha...

digiSal
12-19-2003, 04:41 PM
just an update:

I used knoppix-installer to do this install and well, my posts talk about the problems.

So for the hell of it, i tried knx-hdinstall, and it worked like a charm.

It is up and running now.

thanks for the help!


--Sal-