Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Unable to mount /home partition

  1. #1
    Join Date
    Nov 2009
    Beans
    46

    Smile Unable to mount /home partition

    Hi all,

    I have a problem with my karmic koala ubuntu 9.10, and I hope you can help me solve it:

    It all started with a periodic disk scan while booting.
    I was in a hurry so I pressed Escape to skip the scan, and i quickly got to my Desktop
    After that, I needed to restart the computer, and while booting I got an error message:
    "One or more of the mounts listed in /etc/fstab cannot yet be mounted:
    /home: waiting for UUID=eccb7cbf-618a-4e03-aafe-634b4ca0a918
    Press ESC to enter a recovery shell"



    My /etc/fstab looks like this:
    # / was on /dev/sda1 during installation
    UUID=82c68f35-e68a-4cd1-af3e-cb503b1cf7e5 / ext4 errors=remount -ro 0 1

    # /home was on /dev/sda6 during installation
    UUID=eccb7cbf-618a-4e03-aafe-634b4ca0a918 /home ext4 defaults 0 2

    #swap was on /dev/sda5 during installation
    UUID=7bba7a29-e1da-461d-8fcd-414610f910db none swap sw 0 0

    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0


    I must also tell you that I selected to have an encrypted home directory, and i still have the passphrase that was generated just after install.

    Any idea on what to do to fix it?

    Thanks.

  2. #2
    Join Date
    Apr 2006
    Beans
    348
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Unable to mount /home partition

    Wouldn't have a clue but I'm sure you could just boot into recovery mode and drop out into a root prompt. then run a.......... fsck /dev/sda6 to run a file system check on the home partition.

  3. #3
    Join Date
    Nov 2009
    Beans
    46

    Re: Unable to mount /home partition

    Thank you for the reply!


    I did as you told.
    And after running:
    # sudo fsck /dev/sda6

    I got:

    /dev/sda6: clean, 7064/7290880 files, 1771617/29149934 blocks


    So.. it seems that /home partition is ok. Any idea what to do next?

  4. #4
    Join Date
    Nov 2006
    Location
    Germany
    Beans
    852
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: Unable to mount /home partition

    I got:

    /dev/sda6: clean, 7064/7290880 files, 1771617/29149934 blocks


    So.. it seems that /home partition is ok. Any idea what to do next?
    If this did'nt work, then you have to enforce fsck to do a system check
    Boot into the recovery console and do:
    Code:
    fsck.ext4 -f /dev/sda6
    watch out where the huskies go
    and don't you eat that yellow snow (Zappa)

    http://www.youtube.com/watch?v=YGZ5isu23ow
    http://www.youtube.com/watch?v=xPsnLUaXyxE

  5. #5
    Join Date
    Dec 2007
    Location
    The last place I look
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Unable to mount /home partition

    well, if the fschk is done, try rebooting and try again

  6. #6
    Join Date
    Nov 2009
    Beans
    46

    Re: Unable to mount /home partition

    I tried :
    # sudo fsck.ext4 -f /dev/sda6

    and the output:

    Pass 1: Checking inodes, blocks, and sizes
    Pass 2: Checking directory structure
    Pass 3: Checking directory connectivity
    Pass 4: Checking reference counts
    Pass 5: Checking group summary information
    /dev/sda6: 7064/7290880 files (8.3% non-contiguous), 1771617/29149934 blocks


    I also tried:
    # sudo mount -a

    and the output:

    mount: special device UUID=eccb7cbf-618a-4e03-aafe-634b4ca0a918 does not exist

    I tried rebooting it, but it still stops at the same message.

  7. #7
    Join Date
    Dec 2007
    Location
    The last place I look
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Unable to mount /home partition

    recheck your UUID.
    Code:
    ls /dev/disk/by-uuid
    and make sure it still matches the one in your fstab

    also what does fdisk -l look like now?

  8. #8
    Join Date
    Nov 2009
    Beans
    46

    Re: Unable to mount /home partition

    # ls /dev/disk/by-uid/

    7bba7a29-e1da-461d-8fcd-414610f910db
    82c68f35-e68a-4cd1-af3e-cb503b1cf7e5

    #fdisk -l

    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x95f3457a

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 4868 39102178+ 83 Linux
    /dev/sda2 4869 19457 117186142+ 5 Extended
    /dev/sda5 4869 4941 586341 82 Linux swap/Solaris
    /dev/sda6 4942 19457 116599738+ 83 Linux

  9. #9
    Join Date
    Feb 2009
    Beans
    143

    Re: Unable to mount /home partition

    Can you output
    Code:
    ls -l /dev/disk/by-uuid
    Instead that will actually tell us what device the UUID actually corresponds to.

    Also you say that you have an encrypted home partition, do you know if that uses LUKS? I use LUKS and do have an encrypted home partition but I did that myself. If you're encryption works the same then I may be able to help you. Did you specify a password when you encrypted your home directory.

    Can you run
    Code:
    cat /etc/crypttab
    This will show a list of devices that are supposed to be encrypted that need to be mounted at boot.

    Just to note I also get the message "One or more of the mounts listed in /etc/fstab cannot yet be mounted:.." at boot, I wait for a few seconds and then I get prompted for my LUKS password.
    Last edited by delcypher; November 13th, 2009 at 11:19 PM.

  10. #10
    Join Date
    Nov 2009
    Beans
    46

    Re: Unable to mount /home partition

    Thank you all for trying to help me!

    # ls -l /dev/disk/by-uuid/
    total 0
    lrwxrwxrwx 1 root root 10 Nov 13 23:42 7bba7a29-e1da-461d-8fcd-414610f910db -> ../../sda5
    lrwxrwxrwx 1 root root 10 Nov 13 23:42 82c68f35-e68a-4cd1-af3e-cb503b1cf7e5 -> ../../sda1


    # cat /etc/crypttab
    # <target name> <source device> <key file> <options>


    I do not know if the encryption uses LUCS.
    It uses whatever the Ubuntu 9.10 is using when you select the login option with password and home directory encryption (at install time)
    The other two options were : direct login, with no password check and password login.

    I did wait a few seconds, minutes maybe, but it is not moving or displaying something else.

Page 1 of 3 123 LastLast

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
  •