LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   fstab empty?!?! (https://www.linuxquestions.org/questions/slackware-14/fstab-empty-566954/)

osc~ 07-05-2007 05:46 PM

fstab empty?!?!
 
hello

for some reason fstab is empty.

check out the thread runlevel wont work!!!???

actually after installing gnome from slacky.eu a whole lot of problems started happening.
the first was the inittab was erased, after i fixed that the fstab is erased.

could anybody send me theirs.
PS

is this problem due to my ignorance or is the gnome-slacky release crappy?

Brian1 07-05-2007 06:15 PM

Was other files deleted from the /etc directory?
More than likely no one elses fstab will work for you because of partitioning and disk types. One can try to get some of it working with info from the command ' /sbin/fdisk -l '. It will list available partitions and the filesystem type.

An example of my fstab on one of my machines.
Code:

/dev/sda9              /                      ext3    defaults        1 1
/dev/sda3              /boot                  ext3    defaults        1 2
/dev/sda11              /cdrw                  ext3    defaults        1 2
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
tmpfs                  /dev/shm                tmpfs  defaults        0 0
/dev/sda7              /dvdrw                  ext3    defaults        1 2
/dev/sda8              /home                  ext3    defaults        1 2
proc                    /proc                  proc    defaults        0 0
/dev/sda5              /storage1              ext3    defaults        1 2
/dev/sda13              /storage2              ext3    defaults        1 2
sysfs                  /sys                    sysfs  defaults        0 0
/dev/sda6              /usr                    ext3    defaults        1 2
/dev/sda10              /var                    ext3    defaults        1 2
/dev/sda12              swap                    swap    defaults        0 0
/dev/sda2              /winxp                  ntfs-3g        umask=000,users,auto,owner,rw 0 0
# /dev/hda                /mnt/cdrom              auto    noatime,noauto,owner,rw 0 0
# /dev/scd0                /mnt/cdrom1            auto    noauto,noatime,users,rw 0 0
# /dev/scd1                /mnt/cdrom2            auto    noauto,noatime,users,rw 0 0
# /dev/fd0                /mnt/floppy            auto    noauto,owner 0 0
# SD Block Mounts on local USB, Firewire, and Scsi using sync which is slow
# /dev/sda1              /mnt/sda1              auto    umask=000,users,noauto,owner,rw,sync,dirsync  0 0
# SD Block Mounts on local USB, Firewire, and Scsi
# /dev/sda1              /mnt/sd_block/sda1              auto    umask=000,users,noauto,owner,rw,dirsync  0 0
/dev/sdb1              /mnt/sd_block/sdb1              auto    umask=000,users,noauto,owner,rw,dirsync  0 0
/dev/sdc1              /mnt/sd_block/sdc1              auto    umask=000,users,noauto,owner,rw,dirsync  0 0
/dev/sdd1              /mnt/sd_block/sdd1              auto    umask=000,users,noauto,owner,rw,dirsync  0 0
/dev/sde1              /mnt/sd_block/sde1              auto    umask=000,users,noauto,owner,rw,dirsync  0 0
/dev/sdf1              /mnt/sd_block/sdf1              auto    umask=000,users,noauto,owner,rw,dirsync  0 0
/dev/sdg1              /mnt/sd_block/sdg1              auto    umask=000,users,noauto,owner,rw,dirsync  0 0
/dev/sdh1              /mnt/sd_block/sdh1              auto    umask=000,users,noauto,owner,rw,dirsync  0 0
/dev/sdi1              /mnt/sd_block/sdi1              auto    umask=000,users,noauto,owner,rw,dirsync  0 0
/dev/sdj1              /mnt/sd_block/sdj1              auto    umask=000,users,noauto,owner,rw,dirsync  0 0
/dev/sdk1              /mnt/sd_block/sdk1              auto    umask=000,users,noauto,owner,rw,dirsync  0 0
/dev/sdl1              /mnt/sd_block/sdl1              auto    umask=000,users,noauto,owner,rw,dirsync  0 0
/dev/sdm1              /mnt/sd_block/sdm1              auto    umask=000,users,noauto,owner,rw,dirsync  0 0
# NFS Share Mounts on lcomp18
192.168.1.18:/storage1  /mnt/lcomp18_nfs/lcomp18_nfs_storage1  nfs    users,noauto,owner,rw,dirsync  0 0
192.168.1.18:/storage2  /mnt/lcomp18_nfs/lcomp18_nfs_storage2  nfs    users,noauto,owner,rw,dirsync  0 0
192.168.1.18:/storage3  /mnt/lcomp18_nfs/lcomp18_nfs_storage3  nfs    users,noauto,owner,rw,dirsync  0 0
192.168.1.18:/storage4  /mnt/lcomp18_nfs/lcomp18_nfs_storage4  nfs    users,noauto,owner,rw,dirsync  0 0
192.168.1.18:/storage5  /mnt/lcomp18_nfs/lcomp18_nfs_storage5  nfs    users,noauto,owner,rw,dirsync  0 0
192.168.1.18:/var/cache/apt/archives  /mnt/lcomp18_nfs/lcomp18_nfs_apt  nfs    users,noauto,owner,rw,sync,dirsync  0 0
192.168.1.18:/home/crusher18/nfs  /mnt/lcomp18_nfs/lcomp18_nfs_crusher18_nfs  nfs    users,noauto,owner,rw,dirsync  0 0
# 192.168.1.18:/mnt/dvdrw    /mnt/lcomp18_nfs/lcomp18_nfs_dvdrw    nfs    users,noauto,owner,rw,dirsync  0 0
# 192.168.1.18:/mnt/dvdrw1    /mnt/lcomp18_nfs/lcomp18_nfs_dvdrw1  nfs    users,noauto,owner,rw,dirsync  0 0
# 192.168.1.18:/mnt/dvdram    /mnt/lcomp18_nfs/lcomp18_nfs_dvdram  nfs    users,noauto,owner,rw,dirsync  0 0
192.168.1.18:/mnt/floppy    /mnt/lcomp18_nfs/lcomp18_nfs_floppy  nfs    users,noauto,owner,rw,dirsync  0 0
192.168.1.18:/mnt/sdg1      /mnt/lcomp18_nfs/lcomp18_nfs_compact_flash  nfs    users,noauto,owner,rw,dirsync  0 0
192.168.1.18:/mnt/sdh1      /mnt/lcomp18_nfs/lcomp18_nfs_smart_media    nfs    users,noauto,owner,rw,dirsync  0 0
192.168.1.18:/mnt/sdi1      /mnt/lcomp18_nfs/lcomp18_nfs_sonystick      nfs    users,noauto,owner,rw,dirsync  0 0
192.168.1.18:/mnt/sdj1      /mnt/lcomp18_nfs/lcomp18_nfs_sd_card        nfs    users,noauto,owner,rw,dirsync  0 0
192.168.1.18:/mnt/sdk1      /mnt/lcomp18_nfs/lcomp18_nfs_sdk1  nfs    users,noauto,owner,rw,dirsync  0 0
192.168.1.18:/mnt/sdl1      /mnt/lcomp18_nfs/lcomp18_nfs_sdl1  nfs    users,noauto,owner,rw,dirsync  0 0
192.168.1.18:/mnt/sdm1      /mnt/lcomp18_nfs/lcomp18_nfs_sdm1  nfs    users,noauto,owner,rw,dirsync  0 0
192.168.1.18:/mnt/sdn1      /mnt/lcomp18_nfs/lcomp18_nfs_sdn1  nfs    users,noauto,owner,rw,dirsync  0 0 
192.168.1.18:/mnt/sdo1      /mnt/lcomp18_nfs/lcomp18_nfs_sdo1  nfs    users,noauto,owner,rw,dirsync  0 0
192.168.1.18:/mnt/sdp1      /mnt/lcomp18_nfs/lcomp18_nfs_sdp1  nfs    users,noauto,owner,rw,dirsync  0 0
# NFS Share Mounts on lcomp158
192.168.1.158:/storage1  /mnt/lcomp58_nfs/lcomp58_nfs_storage1  nfs    users,noauto,owner,rw,dirsync  0 0
192.168.1.158:/storage2  /mnt/lcomp58_nfs/lcomp58_nfs_storage2  nfs    users,noauto,owner,rw,dirsync  0 0
# 192.168.1.158:/dvdrw    /mnt/lcomp58_nfs/lcomp58_nfs_dvdrw      nfs    users,noauto,owner,rw,dirsync  0 0
# NFS Share Mounts on lcomp58
192.168.1.58:/storage1  /mnt/lcomp58_nfs/lcomp58_nfs_storage1  nfs    users,noauto,owner,rw,dirsync  0 0
192.168.1.58:/storage2  /mnt/lcomp58_nfs/lcomp58_nfs_storage2  nfs    users,noauto,owner,rw,dirsync  0 0
# 192.168.1.58:/dvdrw    /mnt/lcomp58_nfs/lcomp58_nfs_dvdrw      nfs    users,noauto,owner,rw,dirsync  0 0
# Samba Share Mounts on lcomp18
//192.168.1.18/storage1  /mnt/lcomp18_smbfs/lcomp18_smbfs_storage1    smbfs  umask=000,users,noauto,credentials=/home/crusher58/credentials/lcomp18credentials 0 0
//192.168.1.18/storage2  /mnt/lcomp18_smbfs/lcomp18_smbfs_storage2    smbfs  umask=000,users,noauto,credentials=/home/crusher58/credentials/lcomp18credentials 0 0
//192.168.1.18/storage3  /mnt/lcomp18_smbfs/lcomp18_smbfs_storage3    smbfs  umask=000,users,noauto,credentials=/home/crusher58/credentials/lcomp18credentials 0 0
//192.168.1.18/storage4  /mnt/lcomp18_smbfs/lcomp18_smbfs_storage4    smbfs  umask=000,users,noauto,credentials=/home/crusher58/credentials/lcomp18credentials 0 0
//192.168.1.18/storage5  /mnt/lcomp18_smbfs/lcomp18_smbfs_storage5    smbfs  umask=000,users,noauto,credentials=/home/crusher58/credentials/lcomp18credentials 0 0
//192.168.1.18/crusher18  /mnt/lcomp18_smbfs/lcomp18_smbfs_home_crusher18    smbfs  umask=000,users,noauto,credentials=/home/crusher58/credentials/lcomp18credentials 0 0
//192.168.1.18/crusher58  /mnt/lcomp18_smbfs/lcomp18_smbfs_home_crusher58    smbfs  umask=000,users,noauto,credentials=/home/crusher58/credentials/lcomp18_crusher58_credentials 0 0
# Samba Share Mounts on lcomp15
//192.168.1.15/DDRIVE  /mnt/lcomp15_smbfs/lcomp15_smbfs_ddrive              smbfs  umask=000,users,noauto,credentials=/home/crusher58/credentials/win2000credentials 0 0

Brian

osc~ 07-05-2007 07:35 PM

i managed to retrieve the back-up of fstab:

Quote:

/dev/sda2 /mnt/winxp ntfs defaults 0 0
/dev/sda3 swap swap defaults 0 0
/dev/sda4 / ext3 defaults 1 1
/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
/dev/sdb2 /mnt/usb auto noauto,user 0 0
/dev/sdb1 /mnt/memory auto noauto,user 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
none /tmp tmpfs defaults 0 0
using nano and under sudo i wrote this in the fstab file.
the following message appears:
Quote:

[ Error writing /mnt/lin/etc/fstab: No space left on device ]
how do i solve this?????

thanks

bioe007 07-05-2007 10:53 PM

depends on usually remove everything in /tmp

what does df -h show?

rworkman 07-05-2007 11:59 PM

@ osc~
Error writing /mnt/lin/etc/fstab: No space left on device

That error means exactly what it says. Chances are, your addition of gnome filled up the filesystem. When that happens, strange things occur. Fix it.

osc~ 07-06-2007 11:28 AM

Quote:

depends on usually remove everything in /tmp
i tried to remove everything from /tmp but it says that it is write protected.

i have 60GB it is impossible that the disk got full.

Brian1 07-06-2007 04:12 PM

Run this command ' df ' and post the output.

Brian

osc~ 07-06-2007 04:41 PM

hi
i started a new thread since it is a different topic. please check it out.

i will post the df there

thanks alot

cheers


All times are GMT -5. The time now is 09:50 AM.