You are not logged in.
Hi fellow Arch users,
I have the following drive setup:
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
├─sda1 ext4 home 1e5559fb-7d5e-40b7-b66b-78f2789dc648 /home
├─sda2 ntfs F0BA3F29BA3EEBAA
└─sda3 swap swap 7393c4fe-05ee-4fb1-81e7-c198ef4c2627 [SWAP]
sdb
├─sdb1
└─sdb2 btrfs root 3f59946a-4789-4a4c-beaa-05d69a82a723 /
sdd
└─sdd1 btrfs DATA320GB 12572d8f-5bad-40ae-8fe2-a48f0b5ec947 /run/media/connzen
Now when I call `grub-mkconfig` it takes veeery long so that I have to kill it manually and creates a huge grub.cfg file with probably binary data appended to the normal grub menu text at the beginning.
Somehow, after having found the regular kernel images on `/boot` it seems to find a lot more images which I have no knowledge of:
Ubuntu 14.04.2 LTS auf /dev/sdb2 gefunden
Ubuntu 14.04.3 LTS auf /dev/sdb2 gefunden
Ubuntu 14.04.2 LTS auf /dev/sdb2 gefunden
Debian GNU/Linux 8 (jessie) auf /dev/sdb2 gefunden
Ubuntu 14.04.4 LTS auf /dev/sdb2 gefunden
Debian GNU/Linux 8 (jessie) auf /dev/sdb2 gefunden
Debian GNU/Linux 8 (jessie) auf /dev/sdb2 gefunden
Debian GNU/Linux 9 (stretch) auf /dev/sdb2 gefunden
Debian GNU/Linux 9 (stretch) auf /dev/sdb2 gefunden
Debian GNU/Linux 9 (stretch) auf /dev/sdb2 gefunden
Does anyone have a slight idea what could cause this?
Please ask if you need any more information about my system configuration.
Best regards,
Constantin
Last edited by Gruentee (2018-10-11 20:20:42)
For every complex problem there is an answer that is clear, simple and wrong. ~ H.L. Mencken
Offline
The generating scripts are in /etc/grub.d/. If you have os-prober installed try disabling it and test again (chmod -x 30_os-prober). If this doesn't help pin down the problem by disabling even more (e.g. 10_linux). If you have the culprit look into it what could be the cause.
sys2064
Offline
grub-mkconfig is ugly and messy, why not write your own?
$ cat /boot/grub/grub.cfg
set timeout=1
set default=0
set btrfsroot=53731b6e-8cce-467c-bf07-be1b04207846
# Use UEFI's Graphics Output Protocol.
insmod efi_gop
menuentry "Arch Linux" {
linux /boot/vmlinuz-linux root=UUID=$btrfsroot rw
initrd /boot/intel-ucode.img /boot/initramfs-linux.img
}
menuentry "Arch Linux Fallback" {
linux /boot/vmlinuz-linux root=UUID=$btrfsroot rw
initrd /boot/intel-ucode.img /boot/initramfs-linux-fallback.img
}
More generic grub.cfg example: https://ptpb.pw/mk7y
Last edited by eschwartz (2018-10-12 02:52:00)
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline