You are not logged in.
I installed os-prober alongside of grub-bios but do not understand why it won't find and create an entry for another Arch install mounted up to /mnt/otherarch
% sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
done
I'd like to boot to the alternative Arch install (on /dev/sda5) so I can run `e2fsck -cc /dev/sda3` which is the partition on which my main install resides. Thanks!
% ls -l /mnt/otherarch/boot
total 18580
-rw-r--r-- 1 root root 12816472 Dec 27 17:35 initramfs-linux-fallback.img
-rw-r--r-- 1 root root 2859919 Dec 27 17:35 initramfs-linux.img
-rw-r--r-- 1 root root 3340096 Dec 11 04:28 vmlinuz-linux
EDIT: I manually edited /etc/grub/40_custom to do this but isn't that what os-prober is supposed to do?
Last edited by graysky (2012-12-27 23:55:05)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Last I read about this, os-prober was very bad at detecting Arch installations at all. I've no idea why, though.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Very odd... after a reboot, it started working!
% sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found Arch on /dev/sda5
done
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Last I read about this, os-prober was very bad at detecting Arch installations at all. I've no idea why, though.
Short answer, because os-prober is a Debian thing, not an Arch thing.
Longer answer: https://bbs.archlinux.org/viewtopic.php?id=145875
Offline
Very odd... after a reboot, it started working!
% sudo grub-mkconfig -o /boot/grub/grub.cfg Generating grub.cfg ... Found linux image: /boot/vmlinuz-linux Found initrd image: /boot/initramfs-linux.img Found Arch on /dev/sda5 done
You mean you deleted the stuff in 40_custom and it still worked?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Yes.. Inspect the output in the code tags carefully.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
It is a very long time since I ran grub-mkconfig on Arch (and I think Fedora gives different output) so I don't know whether that might not be part of your 40_custom or not. That was all.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
It's not, I commented out the lines I added. Again, inspect the output I posted in the code tags. You'll see that the they differ after the reboot.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
It's not, I commented out the lines I added. Again, inspect the output I posted in the code tags. You'll see that the they differ after the reboot.
You mean it didn't output anything when it found it using 40_custom? So what you posted originally was even with 40_custom?
Clearly being very dense here. Not that I'm sure it matters, especially .
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
You mean it didn't output anything when it found it using 40_custom? So what you posted originally was even with 40_custom?
Yes and yes.
...why would anything in 40_custom affect the output? Look at the code for os-prober.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline