Received: from mail.blueclaim.com (ipbcc3665b.dynamic.kabel-deutschland.de [188.195.102.91]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id D1155781060 for <~alpine/users@lists.alpinelinux.org>; Sun, 7 Jun 2020 16:34:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.blueclaim.com (Postfix) with ESMTP id 7F1FA961403 for <~alpine/users@lists.alpinelinux.org>; Sun, 7 Jun 2020 18:34:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=blueclaim.com; s=mail; t=1591547679; bh=RkMQRxkNVS4qSKTA5O+xtyAkBcUGudXp1FCKo77T6fs=; h=From:Subject:Date:To:From; b=J49QIw7v2IyT8HAkiZPpU1mmzayOLBsi4zFcE0V/igDepIoFkqI234Iu7G3LB7u7J pQJVV9rv44IRNTc5HxA/tcQlNzkDDK3MQS3gjBm3w7Sj8CmdbRFt6jZIOmd2R0FoJF iDN74wQv8M31X8tYmghB3OGUx+9m5sm/yU6uSP8I= X-Virus-Scanned: amavisd-new at beleriad.blueclaim.intra Received: from mail.blueclaim.com ([127.0.0.1]) by localhost (mail.blueclaim.com [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id HcwnoaeZSePK for <~alpine/users@lists.alpinelinux.org>; Sun, 7 Jun 2020 18:34:36 +0200 (CEST) Received: from macbook-pro.blueclaim.intra (MacBook-Pro.blueclaim.intra [192.168.0.224]) (Authenticated sender: thomas.trepper@blueclaim.com) by mail.blueclaim.com (Postfix) with ESMTPSA for <~alpine/users@lists.alpinelinux.org>; Sun, 7 Jun 2020 18:34:36 +0200 (CEST) From: Thomas Trepper Content-Type: multipart/alternative; boundary="Apple-Mail=_069A4951-3845-437A-A08E-0413F5EEB3A5" Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Problems with mkinitfs on 3.12.0 Message-Id: Date: Sun, 7 Jun 2020 18:34:35 +0200 To: ~alpine/users@lists.alpinelinux.org X-Mailer: Apple Mail (2.3608.80.23.2.2) --Apple-Mail=_069A4951-3845-437A-A08E-0413F5EEB3A5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi all,=20 I am trying to the Alpine installed like described here: = https://wiki.alpinelinux.org/wiki/LVM_on_LUKS which was working fine for 3.11.2. I am now trying 3.12.0 and I have = problems with mkinitfs command. What I do is:=20 [=E2=80=A6 some steps before =E2=80=A6] setup-disk -v -m sys /mnt/ Root device: /dev/mapper/VG_SSD_RAID-LV_ROOT Root filesystem: ext4 Boot device: /dev/sda1 Boot filesystem: ext2 Installing system on /dev/mapper/VG_SSD_RAID-LV_ROOT: /mnt/boot is device /dev/sda1 100% = ##########################################################################= ##########################################################################= ##################################################=3D=3D> initramfs: = creating /boot/initramfs-lts /boot is device /dev/sda1 You might need fix the MBR to be able to boot alpine:~# df -h Filesystem Size Used Available Use% Mounted on devtmpfs 10.0M 0 10.0M 0% /dev shm 351.5M 0 351.5M 0% /dev/shm /dev/sr0 124.0M 124.0M 0 100% /media/cdrom tmpfs 351.5M 327.3M 24.2M 93% / tmpfs 70.3M 168.0K 70.1M 0% /run /dev/loop0 89.9M 89.9M 0 100% /.modloop /dev/mapper/VG_SSD_RAID-LV_ROOT 4.9G 835.9M 3.8G 18% /mnt /dev/sda1 387.4M 24.9M 342.5M 7% /mnt/boot alpine:~# lsblk=20 NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 89.8M 1 loop /.modloop sda 8:0 0 10G 0 disk =20 =E2=94=9C=E2=94=80sda1 8:1 0 400M 0 part =20 =E2=94=9C=E2=94=80sda2 8:2 0 6.5G 0 part =20 =E2=94=82 =E2=94=94=E2=94=80sda2_crypt 253:0 0 6.5G 0 = crypt=20 =E2=94=82 =E2=94=94=E2=94=80VG_SSD_RAID-LV_ROOT 253:2 0 5G 0 = lvm =20 =E2=94=94=E2=94=80sda3 8:3 0 3.1G 0 part =20 =E2=94=94=E2=94=80sda3_crypt 253:1 0 3.1G 0 crypt = [SWAP] sr0 11:0 1 124M 0 rom /media/cdrom alpine:~# vi /mnt/etc/crypttab (adding lines etc) alpine:~# vi /mnt/etc/fstab alpine:~# vi /mnt/etc/mkinitfs/mkinitfs.conf [=3D=3D=3D=3D=3D=3D=3D=3D here is my problem =3D=3D=3D=3D=3D=3D=3D=3D] alpine:~# mkinitfs -c /mnt/etc/mkinitfs/mkinitfs.conf -b /mnt/ $(ls = /mnt/lib/modules/) =3D=3D> initramfs: creating /mnt/boot/initramfs-lts cpio: write error: No space left on device alpine:~# df -h Filesystem Size Used Available Use% Mounted on devtmpfs 10.0M 0 10.0M 0% /dev shm 351.5M 0 351.5M 0% /dev/shm /dev/sr0 124.0M 124.0M 0 100% /media/cdrom tmpfs 351.5M 327.3M 24.2M 93% / tmpfs 70.3M 168.0K 70.1M 0% /run /dev/loop0 89.9M 89.9M 0 100% /.modloop /dev/mapper/VG_SSD_RAID-LV_ROOT 4.9G 835.8M 3.8G 18% /mnt /dev/sda1 387.4M 24.9M 342.5M 7% /mnt/boot Am I missing something? Any help or hints are highly appreciated. Thanks = a lot in advance,=20 Thomas --Apple-Mail=_069A4951-3845-437A-A08E-0413F5EEB3A5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi = all, 

I am = trying to the Alpine installed like described here: https://wiki.alpinelinux.org/wiki/LVM_on_LUKS

which was working fine = for 3.11.2. I am now trying 3.12.0 and I have problems with mkinitfs = command. What I do is: 

[=E2=80=A6 some steps before = =E2=80=A6]

setup-disk -v -m sys /mnt/
Root device:     = /dev/mapper/VG_SSD_RAID-LV_ROOT
Root filesystem: ext4
Boot = device:     /dev/sda1
Boot filesystem: ext2
Installing system on = /dev/mapper/VG_SSD_RAID-LV_ROOT:
/mnt/boot is device = /dev/sda1
100% = ##########################################################################= ##########################################################################= ##################################################=3D=3D> initramfs: = creating /boot/initramfs-lts
/boot is device = /dev/sda1
You might need fix the MBR to be able to = boot


alpine:~#= df -h
Filesystem              =   Size      Used Available Use% Mounted = on
devtmpfs               =   10.0M         0     10.0M   0% = /dev
shm                 =     351.5M         0    351.5M =   0% /dev/shm
/dev/sr0              =   124.0M    124.0M         0 100% = /media/cdrom
tmpfs                 =   351.5M    327.3M     24.2M  93% = /
tmpfs                =     70.3M    168.0K     70.1M   0% = /run
/dev/loop0               = 89.9M     89.9M         0 100% = /.modloop
/dev/mapper/VG_SSD_RAID-LV_ROOT
  =                     =     4.9G    835.9M      3.8G  = 18% /mnt
/dev/sda1               = 387.4M     24.9M    342.5M   7% = /mnt/boot

alpine:~# lsblk 
NAME                =       MAJ:MIN RM  SIZE RO TYPE  = MOUNTPOINT
loop0                 =       7:0    0 89.8M  1 loop  = /.modloop
sda                 =         8:0    0   10G  0 disk =  
=E2=94=9C=E2=94=80sda1          =             8:1    0  = 400M  0 part  
=E2=94=9C=E2=94=80sda2    =                   8:2  =   0  6.5G  0 part  
=E2=94=82 =E2=94=94=E2=94=80sda2_crypt&nbs= p;           253:0    0  = 6.5G  0 crypt 
=E2=94=82   = =E2=94=94=E2=94=80VG_SSD_RAID-LV_ROOT 253:2    0    = 5G  0 lvm   
=E2=94=94=E2=94=80sda3    =                   8:3  =   0  3.1G  0 part  
  =E2=94=94=E2=94=80sda3_crypt  =           253:1    0  3.1G  = 0 crypt [SWAP]
sr0                =         11:0    1  124M  0 rom =   /media/cdrom


alpine:~# vi /mnt/etc/crypttab (adding = lines etc)
alpine:~# vi = /mnt/etc/fstab
alpine:~#= vi /mnt/etc/mkinitfs/mkinitfs.conf


[=3D=3D=3D=3D=3D=3D=3D=3D here is my problem = =3D=3D=3D=3D=3D=3D=3D=3D]
alpine:~# mkinitfs -c /mnt/etc/mkinitfs/mkinitfs.conf -b = /mnt/ $(ls /mnt/lib/modules/)
=3D=3D>= ; initramfs: creating /mnt/boot/initramfs-lts
cpio: write error: No space left on device

alpine:~# df -h
Filesystem              =   Size      Used Available Use% Mounted = on
devtmpfs         =         10.0M         0   =   10.0M   0% /dev
shm =                     = 351.5M         0    351.5M   0% = /dev/shm
/dev/sr0        =         124.0M    124.0M     =     0 100% /media/cdrom
tmpfs =                   = 351.5M    327.3M     24.2M  93% = /
tmpfs          =           70.3M    168.0K   =   70.1M   0% /run
/dev/loop0               = 89.9M     89.9M         0 100% = /.modloop
/dev/mapper/VG_SSD_RAID-LV_ROOT
                =           4.9G    835.8M    =   3.8G  18% /mnt
/dev/sda1=               387.4M     = 24.9M    342.5M   7% /mnt/boot



Am I missing something? Any help or hints are highly = appreciated. Thanks a lot in advance, 
Thomas









= --Apple-Mail=_069A4951-3845-437A-A08E-0413F5EEB3A5--