Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

Problem with Grub Install and Boot Update



I screwed up my boot partition the other day and had to create the filesystem again and reconfigure grub. I believe that I have everything setup like it was, but for some reason I cannot get it to boot.


When I ran the grub-install command, everything seemed to work.

(chroot) sysresccd / # grub-install --no-floppy /dev/sda
Installation finished. No error reported.

But when I ran boot-update, I got an error message that I haven't seen before. Any one know how to fix this? I searched via Google, but didn't see anything definitive.

(chroot) sysresccd / # boot-update
Traceback (most recent call last):
  File "/sbin/boot-update", line 15, in <module>
    import funtoo.boot.config
ImportError: No module named funtoo.boot.config

Here is my grub.cfg

set timeout=10

  insmod part_msdos
  insmod ext2
  set root=(hostdisk//dev/sda,msdos1)
  search --no-floppy --fs-uuid --set eb03fe8e-058d-4e83-83e5-4625800511f8
if loadfont /grub/unifont.pf2; then
   set gfxmode=1440x900
   insmod gfxterm
   insmod vbe
   terminal_output gfxterm

set menu_color_normal=cyan/black
set menu_color_highlight=black/cyan

menuentry "Funtoo Linux - Gentoo Kernel 3.14.5 - bzImage_linux-3.14.5-gentoo" {
  insmod part_msdos
  insmod ext2
  set root=(hostdisk//dev/sda,msdos1)
  search --no-floppy --fs-uuid --set eb03fe8e-058d-4e83-83e5-4625800511f8
  linux /bzImage_linux-3.14.5-gentoo rootfstype=ext4 root=/dev/sda3
  set gfxpayload=text
set default=0

Here is my /etc/fstab. Pretty simple setup.

# <fs>		<mountpoint>		<type>		<opts>		<dump/pass>

/dev/sda1	/boot			ext4		noauto,noatime	1 2
/dev/sda2	none			swap		sw		0 0
/dev/sda3	/			ext4		noatime		0 1

And also /etc/boot.conf

boot {
	generate grub
	default "Funtoo Linux - Gentoo Kernel 3.14.5" 
	timeout 10 

display {
	gfxmode 1440x900
	#background /boot/

color {
	normal cyan/black
	highlight black/cyan

"Funtoo Linux - Gentoo Kernel 3.14.5" {
	kernel bzImage_linux-3.14.5-gentoo 

"Funtoo Linux genkernel" {
	kernel kernel[-v]
	initrd initramfs[-v]
	params += real_root=auto 
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...