[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: installer and grub



On 17/09/2025 at 17:34, Harald Peters wrote:

it was a generic "failed to install grub "

Did you previously go back, select "Partition disks" again and go back again ? If so, some required filesystems may have been unmounted so that the disks are ready to be partitioned and formatted again, and this may have caused the error.
- i did that - but the error occured after following all steps..
 i only wend back after the initial error.. it skipped those..
 stept into the grub install phase.. and it failed again
 opened a shell and did the mount, bind and install grub.
 [all ok]

I solved it using the shell and mount/bind grub-install
and asked a binary-friend.. very helpful
*if that procedure is alike the installer method ?*

mount /dev/sdfX /mnt    # X = je root-partitie
mount --bind /dev /mnt/dev

These should already be mounted on /target.

mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
chroot /mnt

grub-install --target=i386-pc /dev/sdf
grub-mkconfig -o /boot/grub/grub.cfg

++
Can i add /lib/firmware to the boot-installer-usb
to make them available.. i thought this would work..

The installer root filesystem is a rootfs (kind of tmpfs populated with the contents of initrd.gz), not the USB drive.

Reply to: