Results 1 to 4 of 4

Thread: Fstab change caused inability to login xubuntu

  1. #1
    Join Date
    May 2009
    Beans
    13

    Fstab change caused inability to login xubuntu

    Hello

    I've made a mess by changing my fstab; I was trying to move my home partition to sda7. However the change failed and on restarting my machine I get to the login screen and it can't mount home, in fact all it does is refresh the login screen when I try to login.

    I'm unable to edit fstab from vi in recovery mode.

    Any help that avoids reinstalling would be greatly appreciated.

  2. #2
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: Fstab change caused inability to login xubuntu

    Quote Originally Posted by Thanduel View Post
    I'm unable to edit fstab from vi in recovery mode.
    What error are you getting?

    You may need to first set the root filesystem to RW mode by doing:
    Code:
    mount -o rw,remount /
    Cheesemill

  3. #3
    Join Date
    Nov 2008
    Location
    Lleida, Spain
    Beans
    1,157
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Fstab change caused inability to login xubuntu

    Quote Originally Posted by Thanduel View Post
    Hello

    I've made a mess by changing my fstab; I was trying to move my home partition to sda7. However the change failed and on restarting my machine I get to the login screen and it can't mount home, in fact all it does is refresh the login screen when I try to login.

    I'm unable to edit fstab from vi in recovery mode.

    Any help that avoids reinstalling would be greatly appreciated.
    In the recovery menu, you've an option to remount in rw mode.
    try selecting it and then use vim again.

  4. #4
    Join Date
    May 2009
    Beans
    13

    Re: Fstab change caused inability to login xubuntu

    Thank you for your responses, I've fixed it and found a decent guide to moving my home partition.
    Last edited by Thanduel; October 15th, 2012 at 01:16 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
  •