NixOS on ARM: Difference between revisions
imported>Samueldr Adds instructions to use the main partition as the boot partition. |
imported>Samueldr m Run commands as UID=0→Disable use of /boot partition |
||
| Line 297: | Line 297: | ||
{{commands|<nowiki> | {{commands|<nowiki> | ||
# fdisk -l /dev/mmcblk1 | |||
Disk /dev/mmcblk1: 58.2 GiB, 62537072640 bytes, 122142720 sectors | Disk /dev/mmcblk1: 58.2 GiB, 62537072640 bytes, 122142720 sectors | ||
Units: sectors of 1 * 512 = 512 bytes | Units: sectors of 1 * 512 = 512 bytes | ||
| Line 309: | Line 309: | ||
/dev/mmcblk1p2 262144 122142567 121880424 58.1G 83 Linux | /dev/mmcblk1p2 262144 122142567 121880424 58.1G 83 Linux | ||
# echo -e 'a\n1\na\n2\nw' | fdisk /dev/mmcblk1 | |||
Welcome to fdisk (util-linux 2.31.1). | Welcome to fdisk (util-linux 2.31.1). | ||
| Line 326: | Line 326: | ||
# fdisk -l /dev/mmcblk1 | |||
Disk /dev/mmcblk1: 58.2 GiB, 62537072640 bytes, 122142720 sectors | Disk /dev/mmcblk1: 58.2 GiB, 62537072640 bytes, 122142720 sectors | ||
Units: sectors of 1 * 512 = 512 bytes | Units: sectors of 1 * 512 = 512 bytes | ||