Bug #859
closed
initramfs is missing current symlink to active rootfs image id.
Added by Hammel about 3 years ago.
Updated over 1 year ago.
Description
The initramfs init script tries to mount the squashfs by looking at where current points to. But there is no current on the disk. The code that should create this is in mkinstall.sh:gen_overlay(). This appears to be broken after moving to Debian 11 for my build system.
Note that Debian 11 is being used to run mkinstall.sh because the Docker image does not have access to device files.
- Target version changed from 2.0 - Harkonnen to 3.0 - Corrino
- Priority changed from Urgent to Immediate
- Severity changed from 01 - Critical to 02 - High
- Status changed from New to Closed
- % Done changed from 0 to 100
This doesn't appear to be a problem anymore:
$ sudo mount /dev/sdk2 /mnt/disk
$ ll /mnt/disk
total 20
drwx------ 2 root root 16384 Jul 31 12:07 lost+found
drwxr-xr-x 3 root root 4096 Jul 31 12:08 overlay
$ ll /mnt/disk/overlay/
total 4
lrwxrwxrwx 1 root root 36 Jul 31 12:08 current -> f15eeab9-19b5-4a43-ba21-a40a2f85eabe
drwxr-xr-x 8 root root 4096 Jul 31 12:08 f15eeab9-19b5-4a43-ba21-a40a2f85eabe
$ ll /mnt/disk/overlay/current/
total 24
drwxr-xr-x 2 root root 4096 Jul 31 12:08 backups
drwxr-xr-x 2 root root 4096 Jul 31 12:08 presentation
drwxr-xr-x 2 root root 4096 Jul 31 12:09 squashfs
drwxr-xr-x 10 root root 4096 Dec 31 1969 upper
drwxr-xr-x 2 root root 4096 Jul 31 12:08 utils
drwxr-xr-x 3 root root 4096 Dec 31 1969 work
Closing issue.
Also available in: Atom
PDF