LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-05-2007, 05:46 PM   #1
osc~
Member
 
Registered: Apr 2007
Location: brazil
Distribution: Arch Linux
Posts: 70

Rep: Reputation: 15
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?

Last edited by osc~; 07-05-2007 at 05:48 PM.
 
Old 07-05-2007, 06:15 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
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
 
Old 07-05-2007, 07:35 PM   #3
osc~
Member
 
Registered: Apr 2007
Location: brazil
Distribution: Arch Linux
Posts: 70

Original Poster
Rep: Reputation: 15
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
 
Old 07-05-2007, 10:53 PM   #4
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
depends on usually remove everything in /tmp

what does df -h show?
 
Old 07-05-2007, 11:59 PM   #5
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
@ 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.
 
Old 07-06-2007, 11:28 AM   #6
osc~
Member
 
Registered: Apr 2007
Location: brazil
Distribution: Arch Linux
Posts: 70

Original Poster
Rep: Reputation: 15
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.
 
Old 07-06-2007, 04:12 PM   #7
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Run this command ' df ' and post the output.

Brian
 
Old 07-06-2007, 04:41 PM   #8
osc~
Member
 
Registered: Apr 2007
Location: brazil
Distribution: Arch Linux
Posts: 70

Original Poster
Rep: Reputation: 15
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

Last edited by osc~; 07-06-2007 at 04:43 PM.
 
  


Reply



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
Suse won't boot after fstab changes - fstab not editable baking-a-77 Linux - Newbie 10 06-02-2007 10:51 AM
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
fstab file is empty pzanis Linux - General 6 07-10-2006 07:54 AM
Gentoo VNC, empty dialog box !! "Question" window is empty ! TheHushedCaskeT Linux - Software 0 02-01-2005 10:14 PM

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

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

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
Open Source Consulting | Domain Registration