Results 1 to 10 of 12

Thread: Grub Issues - ( Path `/boot/grub' is not rea | error: failed to get canonica )

Threaded View

  1. #1
    Join Date
    Sep 2009
    Beans
    15

    Grub Issues - ( Path `/boot/grub' is not rea | error: failed to get canonica )

    Hello, I am having problems with grub, I will dump as much info as possible here, if someone could point me in the correct direction it would be great, because I really am running out of ideas :/

    I put this in "Installation and Upgrades" because even though this is not a new install, I would guess grub issues most commonly fall into new installs


    Thanks in advance.



    Code:
    xbmc@XBMC-PC:~$ uname -a
    Linux XBMC-PC 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:51:59 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
    xbmc@XBMC-PC:~$
    Code:
    xbmc@XBMC-PC:~$ sudo update-grub
    /usr/sbin/grub-probe: error: failed to get canonical path of /dev/disk/by-uuid/a6d540c2-1fff-4e92-a181-87a071d7e209.
    xbmc@XBMC-PC:~$
    Code:
    xbmc@XBMC-PC:~$ sudo apt-get purge grub grub-pc grub-common
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package 'grub' is not installed, so not removed
    The following packages will be REMOVED
      grub-common* grub-emu* grub-gfxpayload-lists* grub-pc* grub-pc-bin* grub2-common*
    0 upgraded, 0 newly installed, 6 to remove and 5 not upgraded.
    After this operation, 23.5 MB disk space will be freed.
    Do you want to continue [Y/n]? y
    (Reading database ... 134186 files and directories currently installed.)
    Removing grub-emu ...
    Removing grub-gfxpayload-lists ...
    Removing grub-pc ...
    Purging configuration files for grub-pc ...
    Removing grub2-common ...
    Removing grub-pc-bin ...
    Removing grub-common ...
    Purging configuration files for grub-common ...
    Processing triggers for man-db ...
    Processing triggers for install-info ...
    Processing triggers for ureadahead ...
    xbmc@XBMC-PC:~$
    Code:
    xbmc@XBMC-PC:~$ sudo apt-get install grub-common grub-pc
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following extra packages will be installed:
      grub-gfxpayload-lists grub-pc-bin grub2-common os-prober
    Suggested packages:
      multiboot-doc grub-emu xorriso desktop-base
    The following NEW packages will be installed
      grub-common grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common os-prober
    0 upgraded, 6 newly installed, 0 to remove and 5 not upgraded.
    Need to get 18.9 kB/2,387 kB of archives.
    After this operation, 9,420 kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Get:1 http://gb.archive.ubuntu.com/ubuntu/ quantal/main os-prober amd64 1.56ubuntu1 [18.9 kB]
    Fetched 18.9 kB in 0s (69.0 kB/s)
    Preconfiguring packages ...
    Selecting previously unselected package grub-common.
    (Reading database ... 133625 files and directories currently installed.)
    Unpacking grub-common (from .../grub-common_2.00-7ubuntu11_amd64.deb) ...
    Selecting previously unselected package grub2-common.
    Unpacking grub2-common (from .../grub2-common_2.00-7ubuntu11_amd64.deb) ...
    Selecting previously unselected package grub-pc-bin.
    Unpacking grub-pc-bin (from .../grub-pc-bin_2.00-7ubuntu11_amd64.deb) ...
    Selecting previously unselected package grub-pc.
    Unpacking grub-pc (from .../grub-pc_2.00-7ubuntu11_amd64.deb) ...
    Selecting previously unselected package grub-gfxpayload-lists.
    Unpacking grub-gfxpayload-lists (from .../grub-gfxpayload-lists_0.6_amd64.deb) ...
    Selecting previously unselected package os-prober.
    Unpacking os-prober (from .../os-prober_1.56ubuntu1_amd64.deb) ...
    Processing triggers for man-db ...
    Processing triggers for ureadahead ...
    Processing triggers for install-info ...
    install-info: warning: no info dir entry in `/usr/share/info/mysql.info.gz'
    Setting up grub-common (2.00-7ubuntu11) ...
    Setting up os-prober (1.56ubuntu1) ...
    Processing triggers for ureadahead ...
    Setting up grub2-common (2.00-7ubuntu11) ...
    Setting up grub-pc-bin (2.00-7ubuntu11) ...
    Setting up grub-gfxpayload-lists (0.6) ...
    Setting up grub-pc (2.00-7ubuntu11) ...
    
    
    Creating config file /etc/default/grub with new version
    grub-probe: error: failed to get canonical path of /dev/disk/by-uuid/a6d540c2-1fff-4e92-a181-87a071d7e209.
    grub-probe: error: failed to get canonical path of /dev/disk/by-uuid/a6d540c2-1fff-4e92-a181-87a071d7e209.
    grub-probe: error: failed to get canonical path of /dev/disk/by-uuid/a6d540c2-1fff-4e92-a181-87a071d7e209.
    Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting.
    xbmc@XBMC-PC:~$
    Code:
    xbmc@XBMC-PC:~$ sudo blkid
    /dev/sda1: UUID="a6d540c2-1fff-4e92-a181-87a071d7e209" TYPE="ext4"
    /dev/sda5: UUID="875363bd-347a-4c94-9af6-ed40e3c9459e" TYPE="swap"
    /dev/sdb1: UUID="d344fe72-9c51-49b7-8280-b803b767ab30" TYPE="ext4"
    /dev/sdc1: UUID="cb529aea-1449-4a4f-be86-3af66314bcc6" TYPE="ext4"
    xbmc@XBMC-PC:~$
    Code:
    xbmc@XBMC-PC:~$ sudo fdisk -l
    [sudo] password for xbmc:
    
    
    Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
    255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00023408
    
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *        2048  1914451967   957224960   83  Linux
    /dev/sda2      1914454014  1953523711    19534849    5  Extended
    /dev/sda5      1914454016  1953523711    19534848   82  Linux swap / Solaris
    
    
    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x2b7e7ae6
    
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1              63   976768064   488384001    1  FAT12
    
    
    Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
    255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x0001becd
    
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdc1            2048  3907028991  1953513472   83  Linux
    xbmc@XBMC-PC:~$
    Last edited by vixsandlee; March 2nd, 2013 at 02:10 PM. Reason: Added fdisk -l

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
  •