Menu
Grub 2, the Ubuntu and Linux Mint’s default bootloader typically gets overridden when you install Windows as a dual-boot OS. To make Ubuntu and its derivatives boot again, you need to reinstall (repair/restore) Grub using a bootable Ubuntu/LinuxMint CD or USB.
Typically you’ll get the following error boot screen:
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. Does this mean that my system won't boot again? /sbin/grub-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition. This is a BAD idea. /sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists.
Tutorial Objectives:
- Reinstall Grub 2 when Ubuntu or Linux Mint won’t boot
- Enjoy!
To get started, insert your Ubuntu USB into computer and boot up. When you’re in, follow the steps below to reinstall grub 2:
1. Open Gparted Partition Editor from Unity Dash to check out which partition your Ubuntu/Linux Mint system installed. It is usually a EXT4 Partition.
In my case, there’re 3 Ext4 partitions. We can check the user names on each partition after step 2 by command
cd /mnt/ && ls home/
gparted partition editor
2. Press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command below to mount the partition:
3. Now reinstall Grub2 via command below:
If the installation is successful, you will get the similar output:
4. Finally update grub boot loader and done!
thanks a lot for quick answer
I have not posted anything else because of the following reason:
1) as I said this is virtual machine, so I cannot simply COPY& PASTE text. Therefore I provided a link to the screenshot
2) actually what I posted is the only ERROR I saw. The rest were WARNINGS. Here I provide more details:
1) as I said this is virtual machine, so I cannot simply COPY& PASTE text. Therefore I provided a link to the screenshot
2) actually what I posted is the only ERROR I saw. The rest were WARNINGS. Here I provide more details:
I hope I copied it 1:1 (thats a challenge while manual copy is done)
what I did now is : I started again from scratch, but this time I used fdisk instead of gdisk.
I did basically what is described here
http://tldp.org/HOWTO/Partition/fdisk_partitioning.html
I did basically what is described here
http://tldp.org/HOWTO/Partition/fdisk_partitioning.html
It worked wonderful. I was able install GRUB without issues, but that's all I could accomplish so far :-(
Now - when I select entry in GRUB system does not start saying 'no such device' followed by UUID
Changing entry (command 'e' in GRUB) from UUID to something like /dev/sda1 does not help.
My steps in installation process were quite simple:
1) define partitions
2) pacstrap /mnt base
3) genfstab -p /mnt >> /mnt/etc/fstab
1) define partitions
2) pacstrap /mnt base
3) genfstab -p /mnt >> /mnt/etc/fstab
later CHROOT and installation of GRUB
have I missed something?
Why GRUB does not recognize hard disk device?
Why GRUB does not recognize hard disk device?