SliTaz SliTaz Forum

You are not logged in.

#1 2013-05-13 22:07:09

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

SliTaz rolling - grub-mkconfig_lib missing in grub2 pkg

Hello,

Wanted to try GRUB2 tonight but grub-install returns [c]/usr/sbin/grub-install: .: line 79: can't open '/usr/share/grub/grub-mkconfig_lib'[/c].

No grub-mkconfig_lib file in the description of the package in TazPanel.

Offline

#2 2013-05-14 03:47:58

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: SliTaz rolling - grub-mkconfig_lib missing in grub2 pkg

Offline

#3 2013-05-14 13:20:58

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: SliTaz rolling - grub-mkconfig_lib missing in grub2 pkg

Seems working, just have to build a new rootfs (I use a frugal install without persistence); unable to run grub-install /dev/sdb if /boot/grub was not present at boot.

Thanks mojo.

Offline

#4 2013-05-17 19:43:05

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: SliTaz rolling - grub-mkconfig_lib missing in grub2 pkg

Well, no need to build a new rootfs; I gave a wrong path in the --boot-directory option :-/

but now I cannot create my config file:

[c]root@slitaz:/home/tux# grub-mkconfig -o /media/sdb1-usb-USB_2.0_Flash_Di/boot/grub/grub.cfg

/usr/sbin/grub-probe: error: failed to get canonical path of tmpfs.[/c]

an idea? Thanks in advance.

Offline

#5 2013-05-17 20:13:11

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: SliTaz rolling - grub-mkconfig_lib missing in grub2 pkg

I installed grub2 and ran grub-mkconfig from cooking core live cd and got the same error as you.

Maybe a patch or update will fix it.

You may be able to modify /boot/grub/example-grub.cfg to work.

Boot grub2 from command line.

Offline

#6 2013-05-17 22:20:25

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: SliTaz rolling - grub-mkconfig_lib missing in grub2 pkg

Hello mojo,

Following your advises, I've been able to

[*]install GRUB2 on a USB stick

[*]boot SliTaz in frugal mode from the GRUB2 command line

[*]and automatically from a grub.cfg file made from the example-grub.cfg

You are a King!

The only problem I have now is that I cannot configure a french keyboard: curiously I don't have this problem when I boot from GRUB4DOS.

GRUB2 is far to be so accessible than GRUB4DOS and the GRUB2 manual is not always really clear. Anyway, now I have bases I'm going to study it more in depth (not sure it is english but you'll probably understand what I mean).

Thanks once more for your help.

EDIT:

The only problem I have now is that I cannot configure a french keyboard

Forget it, I've once more done my traditional error:

[c]kmap=fr-latin[/c] instead [c]kmap=fr-latin1[/c]

...

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]