You are not logged in.

#1 2017-09-12 08:35:55

abb4s
Member
Registered: 2017-09-11
Posts: 1

grub-install error:GRUB can only be installed by using blocklists

hey every body , i just installed ubuntu alongside of arch and that make arch boot partition be removed( i think by my bad installation) . so now i want to get back my arch . i formated the boot partition (on /dev/sda1) and with a bootable arch in usb-flash i did :

mksfs.ext4 /dev/sda1
mount /dev/sda3 /mnt
arch-chroot /mnt
mount /dev/sda1 /boot
grub-install /dev/sda1

but it give this error :
`
warning  : file system ext2 dosnot support embeding
warning : grub can only be installed in this setup by using block lists.
error : will not proceed with blocklist
`
my partiions :
`
number   start     end size type file system flags
1              1049kB 368MB  primary ext4    boot
2              368MB  4562MB primary linux-swap
3              4562     74.6G     primary ext4
4              ...
5               ....
6              ....
`
where is the problem , i just installed arch by this partitioning before , why now it give this error   ??

Offline

#2 2017-09-12 09:02:50

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 7,156
Website

Re: grub-install error:GRUB can only be installed by using blocklists

I don't use grub, but I'm pretty sure you should point grub-install at a disk, not a partition. The wiki suggests as much.

Mod note: not an installation issue, moving to NC.


Sakura:-
Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate SATAII 5x 1TB Samsung SATAII, 2x 120GB Corsair SSD

Making lemonade from lemons since 2015.

Offline

#3 2017-09-12 20:44:36

McQueen
Member
From: Arizona
Registered: 2006-03-20
Posts: 383

Re: grub-install error:GRUB can only be installed by using blocklists

I always get that error message if trying to install GRUB to an individual partition.

Using /dev/sda as the target should work


/path/to/Truth

Offline

#4 2017-09-13 14:06:28

Blasphemist
Member
From: Colorado
Registered: 2013-01-17
Posts: 133

Re: grub-install error:GRUB can only be installed by using blocklists

Are you sure this isn't a UEFI system, not a BIOS system? The wiki shows how to determine if you are booted in UEFI mode. It sounds like you formatted the ESP. It needs to be FAT32, not one of the ext partition types. If you are in UEFI mode, grub installs to the ESP, not an MBR region on a disk.


Simple and Open

Offline

Board footer

Powered by FluxBB