0

I have two ubuntu system installed. Parititioned my disk into 4 partitions

- nvme0n1p1 /boot
- nvme0n1p2 / (encrypted)
- nvme0n1p3 /boot
- nvme0n1p4 / (encrypted)

But I am able to boot only into one system, the second does not show in the grub menu.

I tried restore-grub

and boot using

linux (hd0,gpt1)/vmlinuz-xxx root=/dev/nvme0n1p2
initrd initrd.imb-xxx 
boot

but with no luck.

I get into initramfs and kernel panic

mount: mounting /sys on /root/sys failed: No sch file or director
mount: mounting /proc on /root/proc filled: no such file or directory
Kernel panic - ....
...

Any idea, what can i do? thanks

  • I see gpt, but no ESP - efi system partition? Are you booting in old BIOS boot mode from early 1980's? If using gpt with BIOS, you also need a tiny 1 or 2MB unformatted partition with bios_grub flag. Do both /boot partitions have grub.cfg files? If second does, then you can copy boot stanza into working install's 40_custom. Or add a configfile entry to load other install's grub.cfg https://askubuntu.com/questions/344125/how-to-add-a-grub2-menu-entry-for-booting-installed-ubuntu-on-a-usb-drive – oldfred Dec 24 '22 at 04:46

0 Answers0