Re: LUKS, "no device found"

2022-01-29 Diskussionsfäden Robert Markula
Am 29.01.22 um 01:45 schrieb Ian Eure: After wiping the partition table, FAI is able to install without errors and I get a bootable system at the end. For sustained wiping of disks you could use something along these lines: mdadm --stop /dev/md0 mdadm --zero-superblock --force /dev/sda sgdisk

Re: LUKS, "no device found"

2022-01-28 Diskussionsfäden Ian Eure
Maximilian Stein writes: If fai stop with an error, you can go to a second tty via "Alt-F2" and type there any command you like to test. Exactly, that's what I had in mind. Bonus: You can of course directly edit the disk config file and retry (and even actually attempt to write your c

Re: LUKS, "no device found"

2022-01-26 Diskussionsfäden Maximilian Stein
If fai stop with an error, you can go to a second tty via "Alt-F2" and type there any command you like to test. Exactly, that's what I had in mind. Bonus: You can of course directly edit the disk config file and retry (and even actually attempt to write your configuration to disk) multipl

AW: LUKS, "no device found"

2022-01-26 Diskussionsfäden Schulz, Reiner
> Sorry for the dumb question, but where would I add the "-d" flag? If fai stop with an error, you can go to a second tty via "Alt-F2" and type there any command you like to test. first check if the fai configspace is mountet you can do a ls -l /var/lib/fai/(config/disk_config/ and a setup-

Re: LUKS, "no device found"

2022-01-25 Diskussionsfäden Thomas Lange
> On Tue, 25 Jan 2022 16:06:52 -0800, Ian Eure said: > Is it trying to tear down the existent (broken) disk structure > instead of overwriting it? Otherwise, I don’t understand what If you like to overwrite all old lvm softraid stsructures, you can use a hook for that. I use this s

Re: LUKS, "no device found"

2022-01-25 Diskussionsfäden Ian Eure
Maximilian Stein writes: Using config file: /var/lib/fai/config/disk_config/LVM_LUKS_EFI Executing: wipefs -af /dev/sda1 Executing: wipefs -af /dev/sda2 Executing: vgchange -a y vg1 Executing: wipefs -af /dev/vg1/root Executing: lvremove -f /dev/vg1/root Executing:

Re: LUKS, "no device found"

2022-01-25 Diskussionsfäden Maximilian Stein
   Using config file: /var/lib/fai/config/disk_config/LVM_LUKS_EFI    Executing: wipefs -af /dev/sda1    Executing: wipefs -af /dev/sda2    Executing: vgchange -a y vg1    Executing: wipefs -af /dev/vg1/root    Executing: lvremove -f /dev/vg1/root    Executing: head -c 2047 /dev/urandom | od |

Re: LUKS, "no device found"

2022-01-24 Diskussionsfäden Ian Eure
Juri Grabowski writes: Hello, I was looking to my configuration right now and it looks like yours, but with "disk_config end" on the end. Which version of fai, setup-storage are you using? because of (STDERR) No device found for /dev/mapper/cyrpt_dev_sda3

Re: LUKS, "no device found"

2022-01-24 Diskussionsfäden Thomas Lange
> On Mon, 24 Jan 2022 10:31:19 +0100, Juri Grabowski said: > I was looking to my configuration right now and it looks like yours, but with "disk_config end" on the end. "disk_config end" ? I never used this, but indeed it's in the man page. Something new for me ;-) -- viele Grüße Tho

Re: LUKS, "no device found"

2022-01-24 Diskussionsfäden Juri Grabowski
Hello, I was looking to my configuration right now and it looks like yours, but with "disk_config end" on the end. Which version of fai, setup-storage are you using? because of >(STDERR) No device found for /dev/mapper/cyrpt_dev_sda3 ^^ loo

LUKS, "no device found"

2022-01-22 Diskussionsfäden Ian Eure
I’m running into an issue trying to get FAI to install onto an EFI+LUKS+LVM disk setup on a laptop. I’m using this config, which is a combination of the example LVM_EFI config and "Plain disk + LUKS + LVM2 example" and "Example using a GPT partition table and EFI/ESP partition" from the setup-