Results 1 to 3 of 3

Thread: /etc/fstab I made a mess ;-(

  1. #1
    Member
    Join Date
    May 2001
    Location
    Paradise, Ca
    Posts
    177

    /etc/fstab I made a mess ;-(

    I was attempting to follow the PET and a post here as to cdrom and cdrom1 in fstab.

    In doing so I messed up /mnt/floppy

    I was able to mount the floppy (although it got a line 7 & line 8 error), but now it won't umount

    Here's the results of /bin/mount -a
    Code:
    [root@localhost etc]# kedit fstab
    [root@localhost etc]# /bin/mount -a
    [mntent]: line 7 in /etc/fstab is bad
    [mntent]: line 8 in /etc/fstab is bad
    mount: fs type kudzu not supported by kernel
    Here's the fstab
    Code:
    LABEL=/                 /               ext3    defaults        1 1
    LABEL=/boot        /boot                   ext3    defaults        1 2
    none                    /dev/pts                devpts  gid=5,mode=620  0 0
    none                    /proc                     proc    defaults        0 0
    none                    /dev/shm               tmpfs   defaults        0 0
    /dev/hda5            swap                 swap    defaults        0 0
    /dev/cdrom          /mnt/cdrom         iso9660 noauto,owner,kudzu,unhide, ro 0 0
    /dev/cdrom1         /mnt/cdrom1      iso9660 noauto,owner,kudzu,unhide, ro 0 0
    /dev/fd0                /mnt/floppy             auto,owner,kudzu 0 0
    Can't mount cdrom1 either get this error:
    Code:
    Could not mount device.  The reported error was:
    [mntent]: line7 in /etc/fstab is bad
    [mntent]: line8 in /etc/fstab is bad
    mount can't find /mnt/cdrom1 in /etc/fstab or /etc/mtab
    And yet it worked great until just now.

    Can anyone get me back on track? [RH7.2, i686]

    TIA,

    Ken

  2. #2
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811

    Re:/etc/fstab I made a mess ;-(

    here is your flaw:
    Code:
    /dev/fd0                /mnt/floppy            auto,owner,kudzu 0 0
    this should have been
    Code:
    /dev/fd0                /mnt/floppy       vfat     auto,owner,kudzu 0 0
    And in your cdrom and cdrom1 you have a trailing space from unhide, to ro, that should be removed.

  3. #3
    Member
    Join Date
    May 2001
    Location
    Paradise, Ca
    Posts
    177

    Re:/etc/fstab I made a mess ;-(

    Bingo ! Thanks!!! that fixed both of the problems

    hmmmmm vfat, on a floppy, when I don't have/use vfat or vfat32 anywhere on the system, who woullda thunk that ;-)

    Another reason this service is invaluable! thanks again

    Ken

Similar Threads

  1. vgrename on xen image mess up with host volume group
    By shrike in forum Linux - General Topics
    Replies: 1
    Last Post: 11-24-2008, 07:09 AM
  2. Formatting Mess
    By bpellinger in forum Windows - General Topics
    Replies: 0
    Last Post: 09-07-2005, 02:54 PM
  3. help with fstab
    By Dswissmiss in forum Linux - General Topics
    Replies: 3
    Last Post: 04-15-2004, 09:05 PM
  4. Don't mess with me!
    By in forum General Chat
    Replies: 8
    Last Post: 04-26-2002, 07:03 PM
  5. IBM to pay $100,000-plus in Linux ad mess
    By cloverm in forum General Chat
    Replies: 4
    Last Post: 11-28-2001, 05:41 PM

Bookmarks

Posting Permissions

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