Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux 5.9.8 + 5.10.26 recipes fail to complete on BIOS system #130

Open
ermo opened this issue Jan 23, 2021 · 4 comments
Open

Linux 5.9.8 + 5.10.26 recipes fail to complete on BIOS system #130

ermo opened this issue Jan 23, 2021 · 4 comments

Comments

@ermo
Copy link
Contributor

ermo commented Jan 23, 2021

Gobo 017 installed onto a single EXT4 MBR partition, which also contains /boot/. The second disk contains a FreeBSD install and the third disk is empty.

  DEPMOD  5.9.8-Gobo
UnionSandbox: Cleaning up.
UnionSandbox: Moving entries to: /Programs/Linux/5.9.8/.SandboxInstall_Root
SandboxInstall: Postprocessing Sandbox
Compile: Stripping executables...
pre_link.sh: Creating a working copy of the kernel sources tree...
pre_link.sh: Calculating kernel module dependencies...
post_install.sh: Do you want to regenerate your UEFI boot application? [Y/n]
Y
Error: /System/Kernel/Devices/sdc: unrecognised disk label
A bug has been detected in GNU Parted.  Refer to the web site of parted http://www.gnu.org/software/parted/parted.html for more information of what could be useful for bug submitting!  Please email a bug report to [email protected] containing at least the version (3.3) and the following message:  Assertion (disk != NULL) at disk.c:1547 in function ped_disk_next_partition() failed.
mount: /Mount/ESP: wrong fs type, bad option, bad superblock on , missing codepage or helper program, or other error.
dracut: systemd-initrd needs systemd in the initramfs
dracut: systemd-networkd needs systemd in the initramfs
dracut: dracut-systemd needs systemd-initrd in the initramfs
bash
i18n
dracut: i18n_vars not set!  Please set up i18n_vars in  configuration file.
kernel-modules
kernel-modules-extra
rootfs-block
terminfo
udev-rules
usrmount
base
fs-lib
shutdown
mv: cannot move '/System/Kernel/Boot/initramfs-5.9.8-Gobo.img' to '/Mount/ESP/BOOT/initramfs-5.9.8-Gobo.img': No such file or directory
Compile: Installation was moved to /Programs/Linux/5.9.8-failed
Compile: Restoring safe copy *
Compile: Linux 5.9.8 - Failure in post-install operation.
sudo -u "#0" Compile Linux  45805.29s user 3285.26s system 560% cpu 2:25:56.39 total
ermo@gobo master+* /Data/Compile/Recipes]sudo lsblk -f
Password: 
NAME   FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINT
sda                                                                           
└─sda1 ext4   1.0         0ab2069a-5950-4d3e-a249-673fe8b3a846   49.4G    53% /
sdb                                                                           
├─sdb1 ufs    2           5e424259e394c2ef                                    
├─sdb5 ufs    2           5e424259e394c2ef                                    
└─sdb6                                                                        
sdc                                                                           
ermo@gobo master+* /Data/Compile/Recipes]cd /boot
ermo@gobo /boot]ls -la
total 151088
drwxr-xr-x 3 root root     4096 Jan 23 19:01 .
drwxr-xr-x 6 root root     4096 Jan  4  2002 ..
drwxr-xr-x 5 root root     4096 Nov 14 02:11 grub
-rw------- 1 root root 44073459 May  8  2020 initramfs-5.6.10-Gobo.img
-rw------- 1 root root 43169357 Nov 13 01:11 initramfs-5.9.6-Gobo.img
-rw------- 1 root root 41912417 Jan 23 19:01 initramfs-5.9.8-Gobo.img
lrwxrwxrwx 1 root root       17 Nov 13 17:29 kernel -> kernel-5.9.8-Gobo
-rw-r--r-- 1 root root  6704928 May  6  2020 kernel-5.6.10-Gobo
-rw-r--r-- 1 root root  8959744 Nov 13 01:02 kernel-5.9.6-Gobo
lrwxrwxrwx 1 root root       21 Nov 13 17:29 System.map -> System.map-5.9.8-Gobo
-rw-r--r-- 1 root root  4847004 May  6  2020 System.map-5.6.10-Gobo
-rw-r--r-- 1 root root  5020110 Nov 13 01:02 System.map-5.9.6-Gobo
ermo@gobo /boot]
@ermo
Copy link
Contributor Author

ermo commented Jan 23, 2021

On a slightly more positive note, doing a sudo SymlinkProgram Linux 5.9.8-failed && sudo grub-mkconfig -o /boot/grub/grub.cfg allows me to boot into the newly compiled kernel just fine.

@ermo ermo closed this as completed Apr 7, 2021
@ermo
Copy link
Contributor Author

ermo commented Apr 7, 2021

This doesn't belong here.

@Nuc1eoN
Copy link
Member

Nuc1eoN commented Apr 7, 2021

@ermo You can "transfer" an issue between repositories (since you also have maintainence privs) on the right pane using "Transfer Issue"

EDIT: But anyways paranoid and I have fixed and pushed new kernel recipes, so you might check if it works for you now.

@ermo ermo transferred this issue from gobolinux/Documentation Apr 8, 2021
@ermo ermo reopened this Apr 8, 2021
@ermo ermo changed the title Linux 5.9.8 recipe fails to complete on BIOS system Linux 5.9.8 + 5.10.26 recipes fail to complete on BIOS system Apr 8, 2021
@ermo
Copy link
Contributor Author

ermo commented Apr 8, 2021

Still fails on 5.10.26:

pre_link.sh: Calculating kernel module dependencies...
post_install.sh: Do you want to regenerate your UEFI boot application? [Y/n] Y
mount: /Mount/ESP: wrong fs type, bad option, bad superblock on , missing codepage or helper program, or other error.
dracut: systemd-initrd needs systemd in the initramfs
dracut: systemd-networkd needs systemd in the initramfs
dracut: dracut-systemd needs systemd-initrd in the initramfs
dracut: dracut-squash only supports systemd bases initramfs
dracut: dracut-squash only supports systemd bases initramfs
bash
i18n
dracut: i18n_vars not set!  Please set up i18n_vars in  configuration file.
kernel-modules
kernel-modules-extra
rootfs-block
terminfo
udev-rules
usrmount
base
fs-lib
shutdown
mv: cannot move '/System/Kernel/Boot/initramfs-5.10.26-Gobo.img' to '/Mount/ESP/BOOT/initramfs-5.10.26-Gobo.img': No such file or directory
Compile: Installation was moved to /Programs/Linux/5.10.26-failed
Compile: Linux 5.10.26 - Failure in post-install operation.
sudo -u "#0" -H Compile Linux  47764.76s user 2238.08s system 650% cpu 2:08:04.43 total

@lucasvr : Would it make sense to have a $using_efi variable which is true if an ESP is available and if it isn't, $using_efi is set to false and then we check for /boot/grub (and mount boot if it exists) and then do a grub-mkconfig -o /boot/grub/grub.cfg or somesuch?

@Nuc1eoN Nuc1eoN pinned this issue Apr 20, 2021
@Nuc1eoN Nuc1eoN added the bug label Oct 23, 2021
@Nuc1eoN Nuc1eoN added this to the GoboLinux 017.02 milestone Apr 17, 2024
@Nuc1eoN Nuc1eoN self-assigned this Apr 17, 2024
@Nuc1eoN Nuc1eoN unpinned this issue Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants