Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    can't boot after installation

    Quote Originally Posted by JosePF View Post
    could you try to enter this commands when you are in the emergency terminal as root:
    1) cat /etc/fstab
    2) blkid
    and post results?

    Im having the same problem, here is what I have:
    ubuntu@ubuntu:~$ sudo mount /dev/sda1 /mnt
    ubuntu@ubuntu:~$ sudo grub-install --root-directory=/mnt /devsda
    /usr/sbin/grub-probe: error: cannot stat `/devsda'.
    ubuntu@ubuntu:~$ root@ubuntu
    root@ubuntu: command not found
    ubuntu@ubuntu:~$ sudo su
    root@ubuntu:/home/ubuntu# cat /etc/fstab
    overlayfs / overlayfs rw 0 0
    tmpfs /tmp tmpfs nosuid,nodev 0 0
    /dev/sda5 swap swap defaults 0 0
    root@ubuntu:/home/ubuntu# blkid
    /dev/loop0: TYPE="squashfs"
    /dev/loop1: UUID="e4e28aa2-4a40-40e9-8f24-c4d11fceb6c7" TYPE="ext3"
    /dev/sda1: UUID="b8b0bcd1-3c9f-4873-84e0-80ee8f61c3bf" TYPE="ext4"
    /dev/sda5: UUID="dc23d375-ab5f-4f2c-9c84-6461ac805601" TYPE="swap"
    /dev/sdb1: UUID="D894-EAD1" TYPE="vfat"

  2. #2

    command error

    Your command is incorrect. It is:
    sudo grub-install /dev/sda

    There are people trying to avoid mistakes and another that tries to target.

Posting Permissions

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