Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub2-install: error: will not proceed with ... [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1112
Location: Tri-Cities, WA USA

PostPosted: Thu Aug 06, 2015 3:18 pm    Post subject: grub2-install: error: will not proceed with ... [solved] Reply with quote

my boot partion is ext2 . Legacy system.

here is my error after:
#mount -o rw,remount /dev/sda1

Code:

grub2-install /dev/sda1
Installing for i386-pc platform.
grub2-install: warning: File system `ext2' doesn't support embedding.
grub2-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..
grub2-install: error: will not proceed with blocklists.

Please help.

partition info

sysresccd boot # fdisk -l

Disk /dev/loop0: 294.7 MiB, 309030912 bytes, 603576 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 63 1953525167 1953525105 931.5G 83 Linux

Disk /dev/sdc: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0003a2dc

Device Boot Start End Sectors Size Id Type
/dev/sdc1 * 63 1953525167 1953525105 931.5G 83 Linux

Disk /dev/sda: 298.1 GiB, 320072933376 bytes, 625142448 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00097df5

Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 1026047 1024000 500M 83 Linux
/dev/sda2 1026048 17803263 16777216 8G 82 Linux swap / Solaris
/dev/sda3 17803264 625141759 607338496 289.6G 83 Linux
_________________
Without diversity there can be no evolution:)


Last edited by cwc on Fri Aug 21, 2015 11:36 am; edited 1 time in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7253
Location: almost Mile High in the USA

PostPosted: Thu Aug 06, 2015 10:08 pm    Post subject: Reply with quote

Normally grub is installed on the MBR on a legacy boot system. I think unfortunately that it assumes that you are not using a boot/root dual partition system and only a root=boot partition system.

What you should do is mount the boot partition and pass --boot-directory=DIR where DIR is the directory where your boot partition is mounted. Specify the main disk that you want to install the MBR on (/dev/sda).
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1112
Location: Tri-Cities, WA USA

PostPosted: Thu Aug 06, 2015 10:21 pm    Post subject: Reply with quote

eccerr0r wrote:
Normally grub is installed on the MBR on a legacy boot system. I think unfortunately that it assumes that you are not using a boot/root dual partition system and only a root=boot partition system.

What you should do is mount the boot partition and pass --boot-directory=DIR where DIR is the directory where your boot partition is mounted. Specify the main disk that you want to install the MBR on (/dev/sda).


thanks for the lines .

I issued a:
# grub2-install --force /dev/sda1
Installing for i386-pc platform.
grub2-install: warning: File system `ext2' doesn't support embedding.
grub2-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.


I'm not sure I understand.

I would issue a:
# grub2-install --force /dev/sda
?
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7253
Location: almost Mile High in the USA

PostPosted: Thu Aug 06, 2015 10:26 pm    Post subject: Reply with quote

If you force it to install on /dev/sda1, it should work, as long as the blocklist is correct and you have a msdos default MBR installed on the MBR. Not recommended.
I don't think it will work if you don't have a bootloader that knows how to deal with partitions on the MBR however.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1112
Location: Tri-Cities, WA USA

PostPosted: Fri Aug 07, 2015 12:27 am    Post subject: Reply with quote

this is a stand alone system just gentoo.
I just have alwayss used grub to backstrack to other kernels
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
ian.au
Guru
Guru


Joined: 07 Apr 2011
Posts: 450
Location: Australia

PostPosted: Fri Aug 07, 2015 1:55 am    Post subject: Reply with quote

I don't see where you tried just
Code:
grub2-install /dev/sda

which is the command to install grub2.
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1112
Location: Tri-Cities, WA USA

PostPosted: Fri Aug 07, 2015 2:25 am    Post subject: Reply with quote

ian.au wrote:
I don't see where you tried just
Code:
grub2-install /dev/sda

which is the command to install grub2.



this is the first thing I did:
#grub2-install /dev/sda1

/dev/sda1 /boot
/dev/sda2 swap
/dev/sda3 /
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
ian.au
Guru
Guru


Joined: 07 Apr 2011
Posts: 450
Location: Australia

PostPosted: Fri Aug 07, 2015 2:26 am    Post subject: Reply with quote

with all due respect /dev/sda != /dev/sda1
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1112
Location: Tri-Cities, WA USA

PostPosted: Fri Aug 07, 2015 4:30 am    Post subject: Reply with quote

ian.au wrote:
with all due respect /dev/sda != /dev/sda1


I understand that. I just thought I had to add the 1 . thanks.

I'll run the #grub2-install /dev/sda
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1112
Location: Tri-Cities, WA USA

PostPosted: Fri Aug 07, 2015 12:30 pm    Post subject: Reply with quote

grub2-install /dev/sda

worked fine. all is good
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1112
Location: Tri-Cities, WA USA

PostPosted: Fri Aug 21, 2015 11:37 am    Post subject: reinstalled gentoo Reply with quote

reinstalled gentoo

/boot
swap
/

mbr install
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum