hidden boot ? (was: Upgrade to 17.04 gnome-flashback issue)

Ralf Mardorf silver.bullet at zoho.com
Mon Oct 30 17:43:16 UTC 2017


On Mon, 30 Oct 2017 13:15:49 +0100, Oliver Grawert wrote:
>hi,
>Am Sonntag, den 29.10.2017, 19:23 +0100 schrieb Ralf Mardorf:
>>  I'm doing this for /boot to avoid chainloading, since I prefer
>> the
>> syslinux boot loader:
>> 
>> [weremouse at moonstudio ~]$ tail -1 /etc/fstab
>> /mnt/archlinux/.boot/ubuntu_moonstudio/boot
>> /boot          none   bind              0 0
>> [weremouse at moonstudio ~]$ lsb_release -d
>> Description:	Ubuntu 16.04.3 LTS
>> 
>>   
>just out of interest, is boot actually hidden in arch ( as /.boot/ ) ? 
>or is that just your personal special setup ?

Hi,

Arch Linux follows FHS. The Arch kernels, as well as the syslinux
bootloader files are located in /boot [1]. Other than grub, syslinux
needs to chainload or to have the kernels of different distros in one
root directory. For this reason the kernels of a vintage Suse, a
vintage Ubuntu and Ubuntu 16.04 are in the hidden /.boot, so I could
backup the Arch install using the asterisk to bachup all, excepted of
the kernels of other distros.

[1]
[rocketmouse at archlinux ~]$ ls -l /boot/
total 163712
-rw-r--r-- 1 root root 26714283 Oct 30 12:08 initramfs-linux-fallback.img
-rw-r--r-- 1 root root  9939644 Oct 30 12:08 initramfs-linux.img
-rw-r--r-- 1 root root 26520961 Oct 30 12:07 initramfs-linux-rt-cornflower-fallback.img
-rw-r--r-- 1 root root  9914761 Oct 30 12:07 initramfs-linux-rt-cornflower.img
-rw-r--r-- 1 root root 26601774 Oct 30 12:07 initramfs-linux-rt-fallback.img
-rw-r--r-- 1 root root  9923022 Oct 30 12:07 initramfs-linux-rt.img
-rw-r--r-- 1 root root 26510867 Oct 30 12:07 initramfs-linux-rt-pussytoes-fallback.img
-rw-r--r-- 1 root root  9914166 Oct 30 12:07 initramfs-linux-rt-pussytoes.img
drwxr-xr-x 2 root root     4096 Oct 20 05:04 syslinux
-rw-r--r-- 1 root root  5502736 Oct 22 09:09 vmlinuz-linux
-rw-r--r-- 1 root root  5416720 Oct 28 08:05 vmlinuz-linux-rt
-rw-r--r-- 1 root root  5327120 Oct 18 07:00 vmlinuz-linux-rt-cornflower
-rw-r--r-- 1 root root  5327120 Oct 12 21:24 vmlinuz-linux-rt-pussytoes

[2]
[rocketmouse at archlinux ~]$ ls -l /.boot/
total 12
drwxr-xr-x 3 root root 4096 Feb 16  2017 suse11.2
drwxr-xr-x 3 root root 4096 Oct 11 06:33 ubuntu_moonstudio
drwxr-xr-x 3 root root 4096 Feb 16  2017 ubuntu_q
[rocketmouse at archlinux ~]$ grep LINUX /boot/syslinux/syslinux.cfg
    LINUX /.boot/ubuntu_moonstudio/boot/memtest86+.bin
    LINUX ../vmlinuz-linux
    LINUX ../vmlinuz-linux-rt-pussytoes
    LINUX ../vmlinuz-linux-rt-cornflower
    LINUX ../vmlinuz-linux-rt
    LINUX ../vmlinuz-linux
    LINUX /.boot/ubuntu_moonstudio/boot/vmlinuz-lowlatency
    LINUX /.boot/ubuntu_q/boot/vmlinuz-3.6.5-rt14
    LINUX /.boot/suse11.2/boot/vmlinuz-2.6.31.6-rt19

For example:

[rocketmouse at archlinux ~]$ ls -l /.boot/ubuntu_moonstudio/boot/vmlinuz-*
-rw------- 1 root root 7135968 Sep 19 23:34 /.boot/ubuntu_moonstudio/boot/vmlinuz-4.4.0-97-lowlatency
lrwxrwxrwx 1 root root      27 Oct 11 06:33 /.boot/ubuntu_moonstudio/boot/vmlinuz-lowlatency -> vmlinuz-4.4.0-97-lowlatency

Regards,
Ralf





More information about the ubuntu-users mailing list