Results 1 to 3 of 3

Thread: accidentally mounted sdb1 on /dev

  1. #1
    Join Date
    Sep 2008
    Location
    England
    Beans
    Hidden!
    Distro
    Ubuntu

    accidentally mounted sdb1 on /dev

    I messed up I just assumed it would mount as /dev/sdb or something, I changed fstab and did mount -a! I can't do anything now. Any commands that require root, error, so I can't open fstab back up to change it.

  2. #2
    Join Date
    Oct 2011
    Location
    ZZ9 Plural Z Alpha
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: accidentally mounted sdb1 on /dev

    Ouch.
    Someone more knowledgeable than me may suggest something to fix it, but I would just boot from a live CD, copy your data off the computer HDD onto an external HDD, and reinstall.

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

    Re: accidentally mounted sdb1 on /dev

    If you boot from a Live CD you can edit the fstab file of your broken system back to what it was before you changed it.
    Cheesemill

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
  •