----

n3 fail

Package configuration

 ┌──────────────────────────┤ Configuring grub-pc ├──────────────────────────┐
 │                                                                           │ 
 │ The GRUB boot loader was previously installed to a disk that is no        │ 
 │ longer present, or whose unique identifier has changed for some reason.   │ 
 │ It is important to make sure that the installed GRUB core image stays in  │ 
 │ sync with GRUB modules and grub.cfg. Please check again to make sure      │ 
 │ that GRUB is written to the appropriate boot devices.                     │ 
 │                                                                           │ 
 │ If you're unsure which drive is designated as boot drive by your BIOS,    │ 
 │ it is often a good idea to install GRUB to all of them.                   │ 
 │                                                                           │ 
 │ Note: it is possible to install GRUB to partition boot records as well,   │ 
 │ and some appropriate partitions are offered here. However, this forces    │ 
 │ GRUB to use the blocklist mechanism, which makes it less reliable, and    │ 
 │ therefore is not recommended.                                             │ 
 │                                                                           │ 
 │                                  <Ok>                                     │ 
 │                                                                           │ 
 └───────────────────────────────────────────────────────────────────────────┘ 

----

n2 works

Package configuration

 ┌──────────────────────────┤ Configuring grub-pc ├──────────────────────────┐
 │                                                                           │ 
 │ The grub-pc package is being upgraded. This menu allows you to select       
 │ which devices you'd like grub-install to be automatically run for, if       
 │ any.                                                                        
 │                                                                             
 │ Running grub-install automatically is recommended in most situations, to    
 │ prevent the installed GRUB core image from getting out of sync with GRUB    
 │ modules or grub.cfg.                                                        
 │                                                                             
 │ If you're unsure which drive is designated as boot drive by your BIOS,      
 │ it is often a good idea to install GRUB to all of them.                     
 │                                                                             
 │ Note: it is possible to install GRUB to partition boot records as well,     
 │ and some appropriate partitions are offered here. However, this forces      
 │ GRUB to use the blocklist mechanism, which makes it less reliable, and      
 │                                                                             
 │                                  <Ok>                                       
 │                                                                           │ 
 └───────────────────────────────────────────────────────────────────────────┘ 
                                                                               
----

n3 fail

root@n3:~# dpkg-reconfigure grub-pc
Unknown device "/dev/": Inappropriate ioctl for device
Unknown device "/dev/": Inappropriate ioctl for device
Unknown device "/dev/": Inappropriate ioctl for device
Unknown device "/dev/": Inappropriate ioctl for device
Use of uninitialized value in string eq at /usr/share/perl5/Debconf/Element/Multiselect.pm line 38.
Use of uninitialized value in string eq at /usr/share/perl5/Debconf/Element/Multiselect.pm line 38.
grub-install is disabled because this system is booted via proxmox-boot-tool, if you really need to run it, run /usr/sbin/grub-install.real
grub-install is disabled because this system is booted via proxmox-boot-tool, if you really need to run it, run /usr/sbin/grub-install.real
Generating grub configuration file ...
W: This system is booted via proxmox-boot-tool:
W: Executing 'update-grub' directly does not update the correct configs!
W: Running: 'proxmox-boot-tool refresh'

No /etc/kernel/cmdline found - falling back to /proc/cmdline
WARN: /dev/disk/by-uuid/D637-53AB does not exist - clean '/etc/kernel/proxmox-boot-uuids'! - skipping
Copying and configuring kernels on /dev/disk/by-uuid/D638-3F6B
	Copying kernel 5.11.22-5-pve
	Copying kernel 5.4.140-1-pve
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.11.22-5-pve
Found initrd image: /boot/initrd.img-5.11.22-5-pve
Found linux image: /boot/vmlinuz-5.4.140-1-pve
Found initrd image: /boot/initrd.img-5.4.140-1-pve
done
Found linux image: /boot/vmlinuz-5.11.22-5-pve
Found initrd image: /boot/initrd.img-5.11.22-5-pve
Found linux image: /boot/vmlinuz-5.4.140-1-pve
Found initrd image: /boot/initrd.img-5.4.140-1-pve
Found linux image: /boot/vmlinuz-5.4.128-1-pve
Found initrd image: /boot/initrd.img-5.4.128-1-pve
Found linux image: /boot/vmlinuz-5.3.18-3-pve
Found initrd image: /boot/initrd.img-5.3.18-3-pve
Found linux image: /boot/vmlinuz-5.0.21-5-pve
Found initrd image: /boot/initrd.img-5.0.21-5-pve
Found linux image: /boot/vmlinuz-5.0.15-1-pve
Found initrd image: /boot/initrd.img-5.0.15-1-pve
Found memtest86+ image: /ROOT/pve-1@/boot/memtest86+.bin
Found memtest86+ multiboot image: /ROOT/pve-1@/boot/memtest86+_multiboot.bin
done
root@n3:~# 

----


