On Tue, 11 Feb 2025 18:18:45 +0800
hlyg <hlyg2...@outlook.com> wrote:

> i follow usual wisdom, and install freebsd in 1st partition, then 
> install deb12  in 2nd partition, hoping grub can handle both
> 
> but grub fails to show, freebsd's bootloader remains unchanged
> 
> i didn't see any error or warning msg during installation
> 
> i paste last part of installer syslog  below(complete syslog is too
> big i am afraid)

You can use https://paste.debian.net for this sort of thing.

I looked in your syslog for where grub installed and didn't find it. If
it went to a partition, not the drive itself, that would explain why you
don't see it. If grub was installed, then

cd /var/log/installer/
grep -i grub *

should turn up something like:

syslog:Dec  3 17:45:45 grub-installer: info: Additionally installing 
shim-signed to go with grub-efi-amd64
syslog:Dec  3 17:45:46 grub-installer: info: Installing grub on '/dev/nvme0n1'
syslog:Dec  3 17:45:46 grub-installer: info: grub-install does not support 
--no-floppy
syslog:Dec  3 17:45:46 grub-installer: info: Running chroot /target 
grub-install  --force "/dev/nvme0n1"
syslog:Dec  3 17:45:46 grub-installer: Installing for x86_64-efi platform.
syslog:Dec  3 17:45:46 grub-installer: Installation finished. No error reported.
syslog:Dec  3 17:45:46 grub-installer: info: grub-install ran successfully

What you want to know is where exactly grub was installed. For grub to
boot both operating systems, it should be on the hard drive itself, not
a partition. In this case, /dev/nvme0n1. For SATA disks, it should be
on /dev/sda (assuming that's your boot drive). So not /dev/nvme0n1p3 (or
some such) or /dev/sda4.


-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

Reply via email to