Find the answer to your Linux question:
Results 1 to 6 of 6
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2010
    Location
    NF10
    Posts
    8

    [SOLVED] edited fstab partially works


    After editing fstab I've come to a point where the last incarnation, adding the 6th new partition, doesn't mount the 6th partition. The previous 5 versions of fstab worked well.
    When I added /dev/sda10 ... to the fstab, rebooted, I found that .../sda10 was NOT mounted.
    Where should I look, any .log files, in order to discover the error?
    Below is a copy of my latest fstab:
    /dev/disk/by-id/ata-Hitachi_HDT721010SLA360_STF604MR275MWP-part2 swap swap defaults 0 0
    /dev/disk/by-id/ata-Hitachi_HDT721010SLA360_STF604MR275MWP-part1 / ext3 defaults 1 1
    proc /proc proc defaults 0 0
    sysfs /sys sysfs noauto 0 0
    debugfs /sys/kernel/debug debugfs noauto 0 0
    usbfs /proc/bus/usb usbfs noauto 0 0
    devpts /dev/pts devpts mode=0620,gid=5 0 0
    /dev/sda5 /mnt/lfs ext3 defaults 1 1
    /dev/sda6 /mnt/lfs/home ext3 defaults 1 1
    /dev/sda7 /mnt/lfs/usr ext3 defaults 1 1
    /dev/sda8 /mnt/lfs/tmp ext3 defaults 1 1
    /dev/sda9 /mnt/lfs/opt ext3 defaults 1 1
    /dev/sda10 /mnt/lfs/source ext3 defaults 1 1

  2. #2
    Linux Newbie hans51's Avatar
    Join Date
    May 2011
    Posts
    136
    look at
    dmesg
    and monitor logs:
    tail -f /var/log/warn
    tail -f /var/log/messages

    make sure your fstab contains no wrong characters or wrong lifefeeds when preparing your lines offline or with other editors rather than system tools or vi (editor)

  3. #3
    i would start by just trying to mount it by hand, e.g. (as root or sudo, etc.):
    Code:
    mount -v -t ext3 /dev/sda10 /mnt/lfs/source
    does that even work?

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Sep 2010
    Location
    NF10
    Posts
    8
    Thanks atreyu.
    Yes, manual mounting works.

  6. #5
    Just Joined!
    Join Date
    Sep 2010
    Location
    NF10
    Posts
    8
    Thanks hans51.
    You answered my question just as if you had read it.
    So many people try to help without really reading the question.
    You really helped my learning.

  7. #6
    Just Joined!
    Join Date
    Sep 2010
    Location
    NF10
    Posts
    8

    Smile edited fstab partially works

    Thanks to all who answered.
    Problem solved.

Posting Permissions

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