Cannot boot into OS after installing grub

You are in the livecd OS.
You can only do this at the installed OS.

If you cannot boot up to manjaro installed OS, use this to boot into it. Remember to start in correct bios-legacy/uefi mode. (I think it is bios-legacy).
Then do

sudo grub-install /dev/sda
sudo update-grub

again checking if internal primary drive is sda or sdb or..

If you still have problem, provide the info asked at that link.

1 Like

Thanks for your quick reponse!

With the help of

grub> search.file /etc/manjaro-release  root
grub> configfile /boot/grub/grub.cfg

I can boot into my origin manjaro(installed in sda) successfully.

But when trying to grub-install:

$ sudo grub-install /dev/sda
Installing for i386-pc platform. 
grub-install: warning: Attempting to install GRUB to a disk with multiple partition labels. This is not supported yet..
grub: warning Embedding is not possible. GrUB can only be installed in this setup by using blocklists. However, bocklists are UNRLIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists.

Should --force be added?

Let's check on it.
Provide infor from that link and we can be clear.

$ sudo grub-install --force /dev/sda
grub-install: warning: Attempting to install GRUB to a disk with multiple partition labels. This is not supported yet..
grub: warning Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, bocklists are UNRLIABLE and their use is discouraged..
Installation finished. No error reported.
$ sudo update-grub
Generating grub configuration file ...
Found theme: ......
Found linux image: /boot/vmlinuz-4.19-x86-64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
Found initrd fallback image: /boot/initramfs-4.19-x86_64-fallback.img
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

It seems sudo update-grub looks for GRUB drive from sdb1, whereas my manjaro was installed in sda

which one? (link from google?)

This is not about your installation. It's about other multi-booted systems.
Maybe BIOS Legacy boot on GPT disk?

From the linked tutorial.

  • In /etc/default/grub, I haveGRUB_TIMEOUT_STYLE=menu and GRUB_TIMEOUT=5

then following

The top 3 commands seem to execute successfully without output, while the forth one still got the same error with sudo grub-install /dev/sda as above:

$ sudo grub-install /dev/sda
Installing for i386-pc platform. 
grub-install: warning: Attempting to install GRUB to a disk with multiple partition labels. This is not supported yet..
grub: warning Embedding is not possible. GrUB can only be installed in this setup by using blocklists. However, bocklists are UNRLIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists.

with --force being added:

$ sudo update-grub
Generating grub configuration file ...
Found theme: ......
Found linux image: /boot/vmlinuz-4.19-x86-64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
Found initrd fallback image: /boot/initramfs-4.19-x86_64-fallback.img
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

the error message come back.

这些。

efibootmgr -v
sudo parted -l
sudo blkid
findmnt -s
findmnt /boot/efi
1 Like
$ efibootmgr -v
EFI variables are not supported on this system.

do the next one.
继续做下一个。

Model: ATA TOSHIBA Q300. (scsi)
Disk /dev/sda: 480GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End    Size   Type     File system  Flags
 1      1049kB  480GB  480GB  primary  ext4


Model: SanDisk Cruzer Edge (scsi)
Disk /dev/sdb: 8003MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
 2      1841MB  1845MB  4194kB  primary               esp
/dev/sda1: UUID="a0360bc6-6023-4141-bcdf-6f89911f40c0" TYPE="ext4" PARTUUID="895b7185-01"
/dev/sdb1: UUID="2019-03-23-12-33-23-00" LABEL="MJRO1804" TYPE="iso9660"
/dev/sdb2: SEC_TYPE="msdos" LABEL_FATBOOT="MISO_EFI" LABEL="MISO_EFI" UUID="5495-6A58" TYPE="vfat"

And the next.

/usr/local >>> findmnt -s                                                                  [130]
TARGET SOURCE                                    FSTYPE OPTIONS
/      UUID=a0360bc6-6023-4141-bcdf-6f89911f40c0 ext4   defaults,noatime,discard
/tmp   tmpfs                                     tmpfs  defaults,noatime,mode=1777
$ findmnt /boot/efi

(nothing output)

Good to see Chinese characters. Haha! (sorry for my poor English :rofl:)

Now do at the installed OS terminal

sudo parted /dev/sda set 1 boot on
sudo grub-install --target=i386-pc --recheck --debug /dev/sda
sudo update-grub

Do again.
再做一次。

Tell us the output, error message or no message.

Your english is good.
只有你盲 ! :joy::rofl:

Sorry for the late reply! I'll post the error message tomorrow(notebook is not at hand now)!

BTW, what's the meaning of 只有你盲 !?

Ok, thanks.

Just a joke. Don't worry about it.

~ >>> sudo parted /dev/sda set 1 boot on                                                   [130]
Information: You may need to update /etc/fstab.
~ >>> sudo grub-install --target=i386-pc --recheck --debug /dev/sda
grub-install: warning: Attempting to install GRUB to a disk with multiple partition labels.  This is not supported yet..
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.
~ >>> sudo update-grub                                                                     [130]
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-4.19-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
Found initrd fallback image: /boot/initramfs-4.19-x86_64-fallback.img
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

Okay, pull out your install media after booting up to Manjaro.
Now I assume you have no other disk other than 1 internal drive.
Then do again the commands

sudo grub-install --target=i386-pc --recheck --debug /dev/sda
sudo update-grub

Please print out again output.

1 Like

Now I assume you have no other disk other than 1 internal drive.

That‘s true


~ >>> sudo grub-install --target=i386-pc --recheck --debug /dev/sda
grub-install: warning: Attempting to install GRUB to a disk with multiple partition labels.  This is not supported yet..
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.

~ >>> sudo update-grub                                                                       [1]
[sudo] password for akii:
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-4.19-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
Found initrd fallback image: /boot/initramfs-4.19-x86_64-fallback.img
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

Now grub-install still has error, while grub update successes

[EDIT] - Now try using 'force' (--force)
If grub-install now proceed with message "Installation finished. No error reported." even with warning " Embedding is not possible. GRUB can only be installed in this setup by using blocklists. "
You should be able to boot up normally without that usb now.

If we do not need your install media, please clear up this install usb media.
Use gparted and do the 'create partition table' so you can use it like a normal usb.
You have a usb that was previously a iso9660 type usb.
If you cannot fix it through gparted, then do not use this usb.


I have an unusual usb too (not manjaro), but it says 'mac'; not gpt or msdos. Here's mine.

Warning: The driver descriptor says the physical block size is 2048 bytes, but
Linux says it is 512 bytes.
Ignore/Cancel? i                                                          
Model: Imation Atom USB Device (scsi)
Disk /dev/sdd: 16.0GB
Sector size (logical/physical): 2048B/512B
Partition Table: mac
Disk Flags: 

Number  Start  End     Size    File system  Name   Flags
 1      2048B  6143B   4096B                Apple
 2      334kB  2726kB  2392kB               EFI

It says 16 GB. But I know it is only 4 GB. When I do os-prober or update-grub with this usb attached, it gives same error. but proceeded with all other OS's in other drives.

grub-probe: error: cannot find a GRUB drive for /dev/sdd1.  Check your device.map.

Ultimately, if all else fail, I suggest you use another usb to make a new install media and and boot to manjaro and proceed to repeat the process.

But let us know, ya.

3 Likes