LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-21-2017, 06:56 AM   #1
shams
Member
 
Registered: Jan 2004
Posts: 537

Rep: Reputation: 30
grub-install: error: will not proceed with blocklists.


I installed the ubuntu 17.04 on /dev/sda6 and the option for grub2 installation was as well /dev/sda6, because i boot to the ubuntu with EasyBCD from windows 10, which is installed in the same hard disk, every thing was woking with ubuntu 16.10 and EasyBCD boot the ubuntu.
But in the ubuntu 17.04 the EasyBCD boot the /dev/sda6 and there is only a black screen with the blinking hyphen (-).
I boot the ubuntu 17.04 from another grub2 which is installed in the external hard disk and run the command to reinstall the grub to the /dev/sda6 but got this error:
Code:
# grub-install /dev/sda6
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.
While making partition /dev/sda6 i left 10mb free space before it.
 
Old 04-21-2017, 07:15 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,542

Rep: Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496
I'm not sure why you would re-install Grub to the Ubuntu partition when you already did that during the installation. Your problem could be that you are not getting to the Ubuntu Grub because you have installed a new system with new files/kernels and if you are using the windows software EasyBCD, have you changed the entry in the EasyBCD menu to reflect that? I haven't used EasyBCD for years so I'm not sure how it works but if it is a simple chainload, it should have worked. Might need more details.

Also, the command you posted for installing Grub to sda6 is incorrect. See the link below under Section 2.2.2

https://help.ubuntu.com/community/Grub2/Installing

It would also be helpful if you indicated which windows you are using and whether this is an MBR or UEFI machine. If you can't resolve the problem try getting and running the boot repair software from the link below.

https://help.ubuntu.com/community/Boot-Repair
 
Old 04-21-2017, 07:34 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,141

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
It used to be (and probably still is) that you could over-ride the blocklist warning with "--force". I have, and it worked - some time ago though.

I too have not used EasyBCD in a while. Win7 and certainly not in UEFI in my case.
 
Old 04-22-2017, 11:38 AM   #4
shams
Member
 
Registered: Jan 2004
Posts: 537

Original Poster
Rep: Reputation: 30
Thanks for replies, EasyBCD is configured correctly, EacyBCD boot the /dev/sda6 and leaving the rest of work to the grub2 to start the ubuntu, EacyBCD doing this, but grub2 can't load in /dev/sda6 boot sectore. I run the grub-install with --force command but the same above problem now it get a very loud noisy beep.
Code:
# grub-install --force /dev/sda6
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..
Installation finished. No error reported.
 
Old 06-14-2017, 08:50 PM   #5
tofino_surfer
Member
 
Registered: Aug 2007
Posts: 483

Rep: Reputation: 153Reputation: 153
If you need to install to a partition syslinux works much better than grub2 with legacy MBR partitions. Syslinux always installs its second stage to a partition's Volume Boot Record and doesn't complain about embedding. Since you are using an extn filesystem you would use extlinux from the syslinux family.

There are two ways to use syslinux in your case. You could use it to directly load your kernel and initrd instead of grub2 or you could chainload grub2 if it is installed on the same partition. The second approach would be slower but would allow you to use the same grub.cfg files which are updated by grub2-mkconfig when a new kernel is added. You can do both by having two targets in your syslinux conf file.

The Arch Wiki has a fairly good guide for syslinux.

https://wiki.archlinux.org/index.php/syslinux

To install:
Code:
# mkdir /boot/syslinux
# cp /usr/lib/syslinux/bios/*.c32 /boot/syslinux/ 
  ## copy ALL the *.c32 files from /usr/lib/syslinux/bios/, DO NOT SYMLINK
# extlinux --install /boot/syslinux/
To boot:
Code:
/boot/syslinux/syslinux.cfg
...
LABEL arch
         MENU LABEL Arch Linux
         LINUX ../vmlinuz-linux
         APPEND root=/dev/sda2 rw
         INITRD ../initramfs-linux.img
...
To chainload Grub2:
Code:
/boot/syslinux/syslinux.cfg
...
 LABEL grub2lnx
        MENU LABEL Grub2 (lnxboot)
        LINUX ../grub/i386-pc/lnxboot.img
        INITRD ../grub/i386-pc/core.img
...
This problem you are having only occurs with legacy MBR partitioning. With legacy BIOS and newer GPT partitions a separate 1 MiB BIOS Boot Partition is used which contains the grub2 core.img so there is no need for embedding.

Last edited by tofino_surfer; 06-23-2017 at 03:09 PM.
 
1 members found this post helpful.
Old 10-26-2017, 01:33 AM   #6
Sparkz71au
LQ Newbie
 
Registered: Oct 2017
Posts: 1

Rep: Reputation: Disabled
I had a similar problem. Now I can multi boot - Windows 7/10 or Ubuntu/Debian.
Code:
/dev/sda1 - Windows 7/10 boot/recovery partition. Primary
/dev/sda2 - Windows 7. Primary
/dev/sda3 - Windows 10. Primary
/dev/sda5 - Ubuntu. Logical (assigned root partition during installation via USB)
/dev/sda6 - Debian. Logical (assigned root partition during installation via USB)
/dev/sda7 - swap.
Grub2 was installed on (sda5 & sda6) during Ubuntu & Debian installation respectively.

Initially, I used EasyBCD & selected Type -> Grub2 -> Drive -> Partition 4 (sda5). I rebooted & got a (grub4dos?) Grub prompt.
I changed EasyBCD to use Type->SysLinux for booting sda5 & sda6.

I rebooted into Ubuntu & it suggested I run e2fschk -p & then e2fschk -b xxxxxxx.
The same thing with Debian.
Maybe my HDD is the problem?
Either way, I refreshed EasyBCD to boot Ubuntu & Debian with Syslinux & it works!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing blocklists into iptables fruitwerks Linux - Software 19 04-15-2009 05:20 PM
grub / suse 10.1 possibly damaged - how to proceed!? ungua SUSE / openSUSE 1 01-12-2007 10:12 AM
configure: error: We need a working libXext to proceed latinjazz Linux - Software 1 04-23-2005 02:45 AM
Post-Install ... How Do I proceed? svarreby Slackware 3 01-10-2004 11:33 AM
Frustrated! How should i proceed with Install? PiMoGo Linux - Software 11 11-04-2002 05:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration