Restore the GRUB Bootloader
So me dummy didn’t think it would be so hard. Somehow I noticed in Gparted. That all my Netrunner rolling was installed on one partition. Even tho I usually separate / and /home. So there I had all on sda6 so copied all of sda6 to sda5 which had the grub so overwritten.
So lo and behold broken. and sda6 is deleted free now.
Following the link above ran into issues. Trying to generate a new grub2 and install on sda5. As have a standard windows boot on mbr and use EasyBCD to dual boot. Like the double boot menus for safety. Like in this case typing from my Win7 side presently.
So followed the instructions and ran into issues right away. I started with 2. List your partitions. And had a sudo su terminal open.
What was confusing is if I needed to?
- Mount your Manjaro system partition. No problem
- Change to the root directory of your mounted partitions. - No problem
[code]mount -t proc proc /mnt/proc
mount -t sysfs sys /mnt/sys
mount -o bind /dev /mnt/dev
mount -t devpts pts /mnt/dev/pts/
pacman -S mtools os-prober
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.
Don’t need those? As os-prober was installed but not mtools. Also in LiveCD didn’t know how to install with Octopi as asked for a password?
Continued anyways with
[root@netrunner /]# grub-install /dev/sda5
Installing for i386-pc platform.
grub-install: warning: File system `ext2’ doesn’t support embedding.
grub-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged…
grub-install: error: will not proceed with blocklists.
Blocklist? on my / partition? Confused at this point and can’t boot into netrunner. As left at a grub rescue> prompt and don’t know what to do to boot up to my partition then use my grub-customizer to fix?
So go back and do 1 Chroot first? Install it with yaourt -S mhwd-chroot?
Why are not mtools , os-prober & mhwd-chroot installed on LiveCD? What if a person didn’t have Wifi or Internet in the LiveCD.
So any insights or pointers would be appreciated as using a white cane here in the dark! :s