SliTaz SliTaz Forum

You are not logged in.

#1 2023-05-19 08:48:32

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

grub4dos seem break on rolling (20230430)

Hi,

i notice issue with iso slitaz-rolling-5in1.iso RC4 (20230430), grub-install failed.

For my test stuff wok-current launch slitaz-installer, install on disk with / formatted (same with ext3/4).

Installing GRUB on: /dev/sda

grub-install (GNU GRUB 0.97)

Probing devices to guess BIOS drives. This may take a long time.

Get lower memory... Get upper memory... Get E820 memory...                                   Starting cmain() ...

GRUB4DOS 0.4.4 2023-02-06, Memory: 640K / 3M, MenuEnd: 0xF722E054

[ Minimal BASH-like line editing is supported.  For the first word, TAB

   lists possible command completions.  Anywhere else TAB lists the possible

   completions of a device/filename. ]

grub> root (hd0,0)

Filesystem type is ext2fs, partition type 0x83

grub> setup  --stage2=/mnt/target/boot/grub/stage2 --prefix=/boot/grub (hd0)

Checking if "/boot/grub/stage1" exists... yes

Checking if "/boot/grub/stage2" exists... yes

Checking if "/boot/grub/e2fs_stage1_5" exists... yes

Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  31 sectors are embedded.

succeeded

Running "install --stage2=/mnt/target/boot/grub/stage2 /boot/grub/stage1 (hd0) (hd0)1+31 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... failed

Error 6: Mismatched or corrupt version of stage1/stage2

grub> quit

Seem same with my build package of grub4dos (gcc 6.3), but ok with my package for 4.1 grub4dos patched and build with gcc 4.9.

Offline

#2 2023-05-19 11:04:27

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: grub4dos seem break on rolling (20230430)

grub4dos 0.4.4 not work with new gcc version.

With follow same scheme of gcc, i create binutils223 package.

grub4dos build successfully with gcc49 binutils223, i tested on my rolling vm.

https://people.slitaz.org/~shann/slitaz-current-stuff/grub4dos

Offline

#3 2023-05-19 11:18:34

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: grub4dos seem break on rolling (20230430)

Commit push https://hg.slitaz.org/wok/rev/7303172dab0d

Rebuild grub4dos / grub4dos-linux.

Package available in cooker, wait to push on mirror.

https://cook.slitaz.org/cooker.cgi?download=grub4dos-linux-0.4.4.tazpkg

Offline

#4 2023-07-04 02:13:02

rerivero
Member
Registered: 2012-06-18
Posts: 235

Re: grub4dos seem break on rolling (20230430)

It works for me, thanks shann

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

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