[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel errors



On Thu 02 Feb 2023 at 21:58:54 (+0000), Richmond wrote:
> "Thomas Schmitt" <scdbackup@gmx.net> writes:
> >
> > (If not there, then in the /scripts/local-block directory of the initrd ?)
> 
> I don't know how I would look in that. Is it in RAM at boot time?

       Choose your kernel ↓↓↓↓↓↓↓↓↓↓    Pick any name ↓↓↓↓↓↓↓↓

$ unmkinitramfs /boot/initrd.img-5.10.0-21-amd64 /tmp/initrd21
cpio: etc/console-setup/null: Cannot mknod: Operation not permitted
$ ls -GlgR /tmp/initrd21/main/scripts/
/tmp/initrd21/main/scripts/:
total 48
-rw-r--r-- 1 11152 Jan 14  2021 functions
drwxr-xr-x 2  4096 Feb  2 18:45 init-bottom
drwxr-xr-x 2  4096 Feb  2 18:45 init-top
-rw-r--r-- 1  5303 Jan 14  2021 local
drwxr-xr-x 2  4096 Feb  2 18:45 local-block
drwxr-xr-x 2  4096 Feb  2 18:45 local-bottom
drwxr-xr-x 2  4096 Feb  2 18:45 local-premount
drwxr-xr-x 2  4096 Feb  2 18:45 local-top
-rw-r--r-- 1  3093 Jan 14  2021 nfs

/tmp/initrd21/main/scripts/init-bottom:
total 8
-rw-r--r-- 1  77 Jan 23 21:46 ORDER
-rwxr-xr-x 1 611 Aug  7 08:25 udev

/tmp/initrd21/main/scripts/init-top:
total 20
-rw-r--r-- 1 314 Jan 23 21:46 ORDER
-rwxr-xr-x 1 384 Jan 14  2021 all_generic_ide
-rwxr-xr-x 1 296 Jan 14  2021 blacklist
-rwxr-xr-x 1 167 Jan 14  2021 keymap
-rwxr-xr-x 1 568 Aug  7 08:25 udev

/tmp/initrd21/main/scripts/local-block:
total 8
-rw-r--r-- 1  82 Jan 23 21:46 ORDER
-rwxr-xr-x 1 246 Feb  1  2022 cryptroot

/tmp/initrd21/main/scripts/local-bottom:
total 20
-rw-r--r-- 1 336 Jan 23 21:46 ORDER
-rwxr-xr-x 1 253 Feb  1  2022 cryptgnupg-sc
-rwxr-xr-x 1 449 Feb  1  2022 cryptopensc
-rwxr-xr-x 1 307 Feb  1  2022 cryptroot
-rwxr-xr-x 1 345 Nov  2 16:46 ntfs_3g

/tmp/initrd21/main/scripts/local-premount:
total 12
-rw-r--r-- 1 165 Jan 23 21:46 ORDER
-rwxr-xr-x 1 226 Nov  2 16:46 ntfs_3g
-rwxr-xr-x 1 863 Jan 14  2021 resume

/tmp/initrd21/main/scripts/local-top:
total 20
-rw-r--r-- 1  162 Jan 23 21:46 ORDER
-rwxr-xr-x 1  757 Feb  1  2022 cryptopensc
-rwxr-xr-x 1 8630 Feb  1  2022 cryptroot
$ 

This is a desktop with random-key swap, so no resume.
There are encrypted partitions present. YMMV.

Cheers,
David.

Reply to: