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

Re: Can't install Grub on SSD (bullseye)



Le 07.04.2021 01:17, Steve McIntyre a écrit :
Please respond to the mailing list too - that way other people may be
able to help, and solutions may help other users too.

Yes, sorry for the mistake.

...
1. What filesystem(s) have you set up on each disk, please?

Ext4 everywhere but swap.

   Where are
   they mounted in each case?

First partition was mounted on /target/boot

LVM partition contains one VG named "Tout" divided as following LV:
LV  20GB "Racine"      mounted on /target/
LV  10GB "Var"         mounted on /target/var
LV 0.5GB "Local"       mounted on /target/usr/local
LV  30GB "Home"        mounted on /target/home
LV  10GB "Databases"   mounted on /target/var/lib
LV  30GB "Cache"       mounted on /target/var/cache
LV  08GB "Swap"        enabled
LV 300GB "Sauvegardes" mounted on /target/home/backup
LV 590GB "Vide"        not mounted, no file system


Your initial problem report said
   "grub-install: error: cannot open
   `/boot/grub/i386-pc/sleep_test.mod': No space left on device." -
   can you confirm that /dev/sdd1 is mounted on /boot

Yes, it was mounted on /target/boot by debian-installer, initrd and vmlimuz where copied in it, /boot/grub folder was there too, /boot/grub/i386-pc/ folder content was missing.


2. Is there anything showing in the syslog complaining about disk
   errors?

No nothing.

There was some errors that are not related:
------------------------------
Apr 5 20:27:52 anna[5081]: DEBUG: resolver (cdebconf-udeb): package doesn't exist (ignored) Apr 5 20:27:52 anna[5081]: DEBUG: resolver (di-utils): package doesn't exist (ignored) Apr 5 20:27:52 anna[5081]: DEBUG: resolver (kernel-image-5.10.0-5-amd64-di): package doesn't exist (ignored) Apr 5 20:27:52 anna[5081]: DEBUG: resolver (fat-modules): package doesn't exist (ignored) Apr 5 20:27:52 anna[5081]: DEBUG: resolver (libdebian-installer4-udeb): package doesn't exist (ignored) Apr 5 20:27:52 anna[5081]: DEBUG: resolver (archdetect): package doesn't exist (ignored) Apr 5 20:27:52 anna[5081]: DEBUG: resolver (hw-detect): package doesn't exist (ignored)
------------------------------
Apr 5 20:29:55 main-menu[4667]: (process:5067): mount: mounting none on /sys/firmware/efi/efivars failed: No such file or directory Apr 5 20:29:55 main-menu[4667]: (process:5067): mount: mounting none on /sys/firmware/efi/efivars failed: No such file or directory Apr 5 20:29:55 main-menu[4667]: (process:5067): mount: mounting none on /sys/firmware/efi/efivars failed: No such file or directory
------------------------------

Then the base system install and my system install went well.

Grub related problems (sda below is devided between sda1 for /boot and sda2 for my VG "Tout"):
------------------------------
Apr  5 21:02:58 grub-installer: info: Installing grub on '/dev/sda'
Apr 5 21:02:58 grub-installer: info: grub-install does not support --no-floppy Apr 5 21:03:59 grub-installer: info: Running chroot /target grub-install --force "/dev/sda"
Apr  5 21:04:00 grub-installer: Installing for i386-pc platform.
Apr 5 21:04:00 grub-installer: grub-install: error: cannot open `/boot/grub/i386-pc/sleep_test.mod': No space left on device
Apr  5 21:04:00 grub-installer: .
Apr 5 21:04:00 grub-installer: error: Running 'grub-install --force "/dev/sda"' failed. Apr 5 21:04:03 main-menu[4667]: (process:27486): dpkg-divert: warning: diverting file '/sbin/start-stop-daemon' from an Essential package with rename is dangerous, use --no-rename Apr 5 21:04:03 main-menu[4667]: (process:27486): dpkg-divert: warning: diverting file '/sbin/start-stop-daemon' from an Essential package with rename is dangerous, use --no-rename Apr 5 21:04:03 main-menu[4667]: (process:27486): File descriptor 3 (pipe:[13673]) leaked on lvdisplay invocation. Parent PID 27972: /bin/sh Apr 5 21:04:03 main-menu[4667]: (process:27486): File descriptor 4 (/dev/pts/6) leaked on lvdisplay invocation. Parent PID 27972: /bin/sh Apr 5 21:04:03 main-menu[4667]: (process:27486): File descriptor 5 (/dev/pts/6) leaked on lvdisplay invocation. Apr 5 21:04:03 main-menu[4667]: (process:27486): Parent PID 27972: /bin/sh Apr 5 21:04:03 main-menu[4667]: (process:27486): File descriptor 6 (/dev/pts/6) leaked on lvdisplay invocation. Parent PID 27972: /bin/sh Apr 5 21:04:03 main-menu[4667]: (process:27486): Volume group "sda" not found Apr 5 21:04:03 main-menu[4667]: (process:27486): Cannot process volume group sda Apr 5 21:04:03 main-menu[4667]: (process:27486): dpkg-divert: warning: diverting file '/sbin/start-stop-daemon' from an Essential package with rename is dangerous, use --no-rename Apr 5 21:04:03 main-menu[4667]: WARNING **: Configuring 'grub-installer' failed with error code 1 Apr 5 21:04:03 main-menu[4667]: WARNING **: Menu item 'grub-installer' failed.
---------------------------------

Do you need hardware-summary file ?
Do you need any testing on another motherboard with SSD ?

Thanks for helping
Xavier


Reply to: