xubuntu 19.10 fails to install with /boot on different drive - grub-install error
Ralf Mardorf
silver.bullet at zoho.com
Fri Nov 22 17:41:42 UTC 2019
On Fri, 22 Nov 2019 18:22:01 +0100, Liam Proven wrote:
>However, if you do that, next, you must boot into that other copy of
>Ubuntu, mount your new copy's /root and /boot, and run
>``update-grub``. And you must re-do this every time you do an update
>in the new OS that installs a new kernel.
I'm using the syslinux bootloader from my Arch Linux install and work
around this issue by the attached script to safe time and by using
bootloader menu entries, that work by using links.
[rocketmouse at archlinux ~]$ ls -hAl /.boot/ubuntu_moonstudio/boot/{init,vm}*
-rw-r--r-- 1 root root 37M Nov 22 07:06 /.boot/ubuntu_moonstudio/boot/initrd.img-4.4.0-169-lowlatency
-rw-r--r-- 1 root root 54M Nov 22 07:04 /.boot/ubuntu_moonstudio/boot/initrd.img-5.3.0-11.2-liquorix-amd64
lrwxrwxrwx 1 root root 36 Nov 19 08:50 /.boot/ubuntu_moonstudio/boot/initrd.img-liquorix -> initrd.img-5.3.0-11.2-liquorix-amd64
lrwxrwxrwx 1 root root 31 Nov 15 08:57 /.boot/ubuntu_moonstudio/boot/initrd.img-lowlatency -> initrd.img-4.4.0-169-lowlatency
-rw------- 1 root root 6.9M Nov 13 08:24 /.boot/ubuntu_moonstudio/boot/vmlinuz-4.4.0-169-lowlatency
-rw-r--r-- 1 root root 9.0M Nov 15 05:05 /.boot/ubuntu_moonstudio/boot/vmlinuz-5.3.0-11.2-liquorix-amd64
lrwxrwxrwx 1 root root 33 Nov 19 08:50 /.boot/ubuntu_moonstudio/boot/vmlinuz-liquorix -> vmlinuz-5.3.0-11.2-liquorix-amd64
lrwxrwxrwx 1 root root 28 Nov 15 08:57 /.boot/ubuntu_moonstudio/boot/vmlinuz-lowlatency -> vmlinuz-4.4.0-169-lowlatency
Yes, for Ubuntu kernels from repos I need to manually fix the links
with each kernel upgrade, but when using grub or syslinux chain
loading, you could use the links Ubuntu automagically adds to the root
directory.
My Arch kernels are all build without version suffixes.
[rocketmouse at archlinux ~]$ ls -hAl /boot/{init,vm}*
-rw-r--r-- 1 root root 29M Nov 22 07:13 /boot/initramfs-linux-fallback.img
-rw-r--r-- 1 root root 29M Nov 22 07:12 /boot/initramfs-linux-rt-cornflower-fallback.img
-rw-r--r-- 1 root root 8.6M Nov 22 07:12 /boot/initramfs-linux-rt-cornflower.img
-rw-r--r-- 1 root root 29M Nov 22 07:13 /boot/initramfs-linux-rt-fallback.img
-rw-r--r-- 1 root root 29M Nov 22 07:12 /boot/initramfs-linux-rt-pussytoes-fallback.img
-rw-r--r-- 1 root root 8.6M Nov 22 07:12 /boot/initramfs-linux-rt-pussytoes.img
-rw-r--r-- 1 root root 29M Nov 22 07:13 /boot/initramfs-linux-rt-securityink-fallback.img
-rw-r--r-- 1 root root 8.7M Nov 22 07:13 /boot/initramfs-linux-rt-securityink.img
-rw-r--r-- 1 root root 8.6M Nov 22 07:13 /boot/initramfs-linux-rt.img
-rw-r--r-- 1 root root 8.6M Nov 22 07:13 /boot/initramfs-linux.img
-rw-r--r-- 1 root root 6.0M Nov 19 07:55 /boot/vmlinuz-linux
-rw-r--r-- 1 root root 5.7M Oct 12 12:28 /boot/vmlinuz-linux-rt
-rw-r--r-- 1 root root 5.9M Sep 27 14:31 /boot/vmlinuz-linux-rt-cornflower
-rw-r--r-- 1 root root 5.7M Oct 19 00:05 /boot/vmlinuz-linux-rt-pussytoes
-rw-r--r-- 1 root root 5.5M Nov 14 17:45 /boot/vmlinuz-linux-rt-securityink
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dpkg-divert-grub.sh
Type: application/x-shellscript
Size: 684 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20191122/fde96675/attachment.bin>
More information about the ubuntu-users
mailing list