Hi community, I hope you can help me with the following issue.
Instead of using the SD card for the root partition on a Raspberry Pi 3, I would like to use an ext4 partition inside an LUKS container on an external hard drive as the root partition. I've already copied the contents of the root partition on the SD card to the new root partiton on the external hard drive.
Then I created the file /boot/cmdline.txt, copied the contents of /proc/cmdline into the new file and adapted the parameters that seemed relevant to me.
$this->bbcode_second_pass_code('', '
$ cat /boot/cmdline.txt
#console=ttyS0,115200 console=tty0 root=PARTUUID=e9851ef4-02 rw rootwait smsc95xx.macaddr=b8:27:eb:03:5b:03
console=ttyS0,115200 console=tty0 cryptdevice=/dev/disk/by-uuid/fa90a052-a000-4f8c-aa2a-ae90eaab07ec:gnosos_luks_c1 root=/dev/mapper/gnosos_luks_c1 rw rootwait smsc95xx.macaddr=b8:27:eb:03:5b:03
')
But after rebooting with the above command line I still get:
$this->bbcode_second_pass_code('', '
$ cat /proc/cmdline
console=ttyS0,115200 console=tty0 root=PARTUUID=e9851ef4-02 rw rootwait smsc95xx.macaddr=b8:27:eb:03:5b:03
')
What am I doing wrong?