Results 1 to 5 of 5

Thread: can't open /etc/fstab :-(

  1. #1
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    298

    can't open /etc/fstab :-(

    I just booted my Knoppix system and it tells me:
    <boot text>
    INIT: version 2.78-knoppix booting
    warning: can't open /etc/fstab: Invalid argument
    warning: can't open /etc/mtab: Invalid argument
    mount: can't find /proc in /etc/fstab or /etc/mtab
    Loading /usr/share/keymaps/i386/qwerty/us.kmap.gz
    after which it hangs

    fsck told me that it removed 3 nodes or something, must be the problem... Can anybody give me hint what to do now?

    I'll boot my Knoppix CD, in an hour or so, I'll take my dinner first.

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    298
    Hehe, I think I should have told I used the hdinstalled Knoppix

    but anyways, I hope I have fixed it now. I used -more or less- the commands described in FaqResque:
    sudo -s
    mount -o remount,dev /mnt/hda9
    cd /mnt/hda9/etc/
    kedit ./fstab
    It pointed out that both of my CD-ROM players were 'magicaly' added (probably by K3B), and both were mounted at /cdrom. They certainly weren't there the first days booted Knoppix. Since back then I was fiddeling with /etc/fstab and should have noticed that.

    I'll reboot now, and keep you updated

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    298
    Didn't work. Same errors...

    Must be something in the bootscripts then? Anybody?

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    According to the error message in your first post it's missing the proc file system. Has it been changed in fstab? Has k3b removed it even? It wouldn't surprise me at all. I very much dislike the K3b setup- it wrecked my fstab too, that was the first time I tried to use it, the second time it freaked out trying to copy a cd-I've seen alot of other posts about K3b not working correctly. It has too many bugs for me to use.

  5. #5
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    298
    Well, actually I don't think it's K3b after all. It's been some time since I ran it, and I've booted succesfully many times since.

    As you can see, everything seems allright:
    # /etc/fstab: filesystem table.
    #
    # filesystem mountpoint type options dump pass
    /dev/hda9 / ext3 defaults,errors=remount-ro 0 1
    /dev/hda10 none swap sw 0 0
    proc /proc proc 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/scd0 /cdrom1 auto defaults,ro,user,noexec,noauto 0 0
    #/dev/scd1 /cdrom2 auto defaults,ro,user,noexec,noauto 0 0
    # partitions found by Knoppix
    /dev/hda1 /mnt/hda1 vfat auto,users,exec,umask=000,uid=knoppix,gid=knoppix 0 0
    /dev/hda5 /mnt/hda5 vfat auto,users,exec,umask=000,uid=knoppix,gid=knoppix 0 0
    /dev/hda6 /mnt/hda6 vfat auto,users,exec,umask=000,uid=knoppix,gid=knoppix 0 0
    /dev/hda7 /mnt/hda7 vfat auto,users,exec,umask=000,uid=knoppix,gid=knoppix 0 0
    /dev/hda8 /mnt/hda8 vfat auto,users,exec,umask=000,uid=knoppix,gid=knoppix 0 0
    #/dev/hda9 /mnt/hda9 ext3 noauto,users,exec 0 0
    I just changed my two cdrom drives to point to /cdrom1 and /cdrom2. And since it still didn't boot I commented them out again.

    btw, should I try changing
    proc /proc proc defaults 0 0
    to
    /proc /proc proc defaults 0 0
    [edit]I've searched a bit, and it seems to be correct like it already is...[/edit]

Similar Threads

  1. Problem when moving New Fstab to the Old Fstab to fix Suse
    By cheetahman in forum General Support
    Replies: 19
    Last Post: 03-21-2005, 11:58 AM
  2. /etc/fstab ???
    By ibrewale in forum General Support
    Replies: 1
    Last Post: 11-26-2004, 07:02 AM
  3. help me fix my fstab
    By DimGR in forum Hardware & Booting
    Replies: 8
    Last Post: 05-29-2004, 04:48 AM
  4. Fstab mounted device, users cant view/open (resolved)
    By Cuddles in forum General Support
    Replies: 7
    Last Post: 02-02-2004, 04:00 AM
  5. etc/fstab: what should be in it?
    By digiSal in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 12-19-2003, 04:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro picture

Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro

$334.99



Lenovo Thinkpad E15 Gen 2 8GB RAM 256GB SSD Intel Core i5-1135G7@2.40GHz Laptop picture

Lenovo Thinkpad E15 Gen 2 8GB RAM 256GB SSD Intel Core [email protected] Laptop

$220.36



Lenovo ThinkPad L15 Gen 3 15.6

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black

$241.50



Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11 picture

Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11

$374.99



Lenovo Legion 5 Gaming 15.1

Lenovo Legion 5 Gaming 15.1" WQXGA OLED 165Hz Core i9-14900HX 16GB 1TB RTX 5070

$1469.00



Lenovo ThinkPad T14 Gen 1 14

Lenovo ThinkPad T14 Gen 1 14" AMD Ryzen 5 16GB 256GB SSD

$219.99



Lenovo ThinkPad T14 G2 14-Inch AMD Ryzen R5 5650U 16GB, 512GB SSD Win 11 Pro picture

Lenovo ThinkPad T14 G2 14-Inch AMD Ryzen R5 5650U 16GB, 512GB SSD Win 11 Pro

$398.99



Lenovo Thinkpad T14 Gen 2 14

Lenovo Thinkpad T14 Gen 2 14" 16GB, Thunder Black

$387.46



Lenovo ThinkPad X13 Gen 3 13.3” FHD Laptop Intel i5 16GB RAM 256GB SSD Win 11 picture

Lenovo ThinkPad X13 Gen 3 13.3” FHD Laptop Intel i5 16GB RAM 256GB SSD Win 11

$299.85



Lenovo ThinkPad L15 Gen 3 15.6

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black

$241.50