fix: restore corrupted Step 3 (Create Filesystems) in eMMC multi-boot guide
This commit is contained in:
parent
923d8104bb
commit
928c0834b1
1 changed files with 8 additions and 1 deletions
|
|
@ -90,7 +90,14 @@ p1 starts at sector **32768** (16MB boundary), leaving the entire 0-32767 area f
|
|||
|
||||
## Step 3: Create Filesystems
|
||||
|
||||
```bashsudo mmc bootpart enable 7 1 /dev/mmcblk0
|
||||
```bash
|
||||
sudo mkfs.vfat -F 32 -n BOOT /dev/mmcblk0p1
|
||||
sudo mkfs.ext4 -L root_opios /dev/mmcblk0p2
|
||||
sudo mkfs.ext4 -L root_armbian /dev/mmcblk0p3
|
||||
sudo mkfs.ext4 -L root_nixos /dev/mmcblk0p4
|
||||
```
|
||||
|
||||
**Order doesn't matter here** — the bootloader sectors (64-683 and 16384-19400) are in the gap between GPT and p1 (which starts at sector 32768). mkfs only touches the partition itself, not the gap. But writing the bootloader first and verifying it's there before moving on makes debugging easier.
|
||||
|
||||
## Step 4: Write Bootloader to User Data Area
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue