Cannot boot into OS after installing grub

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

OMG, OMG, IT WORKS PERFECTLY!

both grub-install and grub-update without warning and error!

Now my manjaro boot successfully!

1 Like

How about abig thank you for @gohlip saving your bacon.

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by Bytemark