Hello everybody.
I am installing Mint 16 64bit. I am using a live DVD
The installation is successfull except for the installation.
I had gotten an error message that Bootloader Failed to install.
I did go online and followed the instructions to the 'T'.
Linux will not boot without the bootloader. This is the last part that I have to do to cross over. I also want to state that option 2 about running a program 'boot-repair' is not possible for me from the live disk. It is not on there nor the live disk is allowing me to add a repository nor is it found in the repository that came with the live DVD.
(I want to try and solve this issue through the CLI).
Other forums said to the following outlined:
- mount /dev/sda to /mnt
- Perform 'sudo grub-install --root-directory=/mnt/ /dev/sda'
- Then perform ' sudo chroot /mnt'
- Next 'sudo update-grub'
This seems to work on normal scenarios but I am pretty sure that others share the same frustration and road block as me.
I feel like I am going around in circles with the solutions. So allow me to show you the output step by step.
So here is the layout of my partition if relavent.
Code:
mint@mint ~ $ sudo fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 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: 0x000d0348
Device Boot Start End Blocks Id System
/dev/sda1 2048 147916799 73957376 83 Linux
/dev/sda2 147918846 156301311 4191233 5 Extended
/dev/sda5 147918848 156301311 4191232 82 Linux swap / Solaris
Here is the first out put.
Code:
mint@mint ~ $ sudo mount /dev/sda1 /mnt
mint@mint ~ $ sudo grub-install --root-directory=/mnt /dev/sda
grub-probe: error: failed to get canonical path of /cow.
Installation finished. No error reported.
So how dose 'grub-probe' fail to get the cononical path of '/cow' when clearly it is here?
Code:
mint@mint ~ $ mount
/cow on / type overlayfs (rw)
.........
.........
Now another post says to just do a 'update-grub', here is what I get(still):
Code:
mint@mint ~ $ sudo update-grub
/usr/sbin/grub-probe: error: failed to get canonical path of /cow.
I get the same thing even when i chroot to '/mnt', just to be thorough
(There is 2 of the same command, one w/sudo and one w/o sudo):
Code:
mint@mint ~ $ sudo chroot /mnt
mint / # sudo grub-install --root-directory=/mnt /dev/sda
sudo: unable to resolve host mint
grub-probe: error: cannot find a device for /boot (is /dev mounted?).
Path `/mnt/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting.
mint / # grub-install --root-directory=/mnt /dev/sda
grub-probe: error: cannot find a device for /boot (is /dev mounted?).
Path `/mnt/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting.
mint / # update-grub
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
I looked in '/boot/grub', I only saw this and I was wondering if this is ok provided that there is no 'menu.lst'.
Code:
mint@mint ~ $ ls -F /boot/grub
fonts/ gfxblacklist.txt grubenv i386-pc/ locale/
I am making note that I do not have a seperate boot partition of course.
Now the question is, is there some type of file that I can configure while running the live DVD that will allow grub-probe to see the 'canonical path of /cow' and to see that there is in fact a device for / which is the 'cononical path of /cow'? I see that nobody online is really thouroughly addressing the real issue here. Is there something arbitrary that I am missing here or that has yet to be addressed?
~Thanks