Announcement

Collapse
No announcement yet.

[SOLVED]Grub Fail to Install

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED]Grub Fail to Install

    Hi, I installed 11.04 yesterday on my notebook and everything worked (except the keyboard configuration as Pragrammer Dvorak), but today I tried to install on my desktop using the same usb drive and I got an error saying that grub could not be installed.

    I use a SSD as / and two disks in "asus superspeed"(Raid 0 for dummies) as my /home
    May this be the cause?

    I believe grub is the last step of installation process, can I use 10.10 to install grub as if I was recovering it?

    #2
    Re: Grub Fail to Install

    great, it is working now!

    just in case someone have the same problem, this is how I solved it

    booted the same media as livecd
    verified which disk was the boot disk

    fdisk -l

    in my case it was /dev/sdb
    and my / was /dev/sdb5
    then I mounted the disk in mnt

    sudo su
    mount /dev/sdb5 /mnt
    mount -t proc /proc /mnt/proc
    mount -t sysfs /sys /mnt/sys
    mount -o bind /dev /mnt/dev

    then I swiched to /mnt and instaled grub

    chroot /mnt
    update-grub2
    grub-install /dev/sdb


    everything worked as expected

    Comment


      #3
      Re: [SOLVED]Grub Fail to Install

      PERFECT -- very nice job, Rodrigo! Here we have in two simple posts, the description of the problem, and a perfect guide to using chroot to fix it by installing grub-pc to the mbr of the affected drive.

      Nice job!

      Comment

      Working...
      X