Search found 2 matches
- 2021/01/18 22:49:10
- Forum: 8 /8-Stream / 9-Stream - Hardware Support
- Topic: CentOS - Raspberry PI 4
- Replies: 65
- Views: 111301
Re: CentOS - Raspberry PI 4
This is a little rough. (no error checking.) But I figure you'll modify it for your scripts.. #!/bin/bash image=$1 kpartx="$(kpartx -av $image)" read -d" " img_boot_dev img_swap_dev img_root_dev <<<$(grep -o 'loop.p.' <<<"$kpartx") img_boot_dev=/dev/mapper/$img_boot_dev img_root_dev=/dev/mapper/$img...
- 2021/01/16 16:53:37
- Forum: 8 /8-Stream / 9-Stream - Hardware Support
- Topic: CentOS - Raspberry PI 4
- Replies: 65
- Views: 111301
Re: CentOS - Raspberry PI 4
Would you be willing to change the cmdline.txt to use the PARTUUID? Then the image won't need any modification to work between sdcard vs usb.
The following is what I've changed it to:
console=ttyAMA0,115200 console=tty1 root=PARTUUID=68bafdb3-03 rootfstype=ext4 elevator=deadline rootwait
Thanks!
The following is what I've changed it to:
console=ttyAMA0,115200 console=tty1 root=PARTUUID=68bafdb3-03 rootfstype=ext4 elevator=deadline rootwait
Thanks!