Problem using the Scripts to install 10.2.0

Hi @TrystanLea, @borpin
I’m going through the process of installing v10.2.0, using the guide here
on a 16 GB card. I’ve got to step 9:

Finish filesystem resize and format the data partition:

sudo resize2fs /dev/mmcblk0p2
sudo mkfs.ext2 -b 1024 /dev/mmcblk0p3

and had an error message:

[email protected]:~ $ sudo mkfs.ext2 -b 1024 /dev/mmcblk0p3
mke2fs 1.44.5 (15-Dec-2018)
The file /dev/mmcblk0p3 does not exist and no size was specified.

I presume it is looking for block device 3 which is non existent? Should this be blk0p2?
Anyway I kept going but in step 10, the Pi failed during reboot while waiting for /dev/mmcblk0p3. After some time it says I am in “emergency mode” and no console commands are accepted. Rebooting repeats the process.
It doesnt look like I can fall back to a terminal to fix it, so will probably reflash Buster Lite and start again, without part 2 of step 9.
Am I missing something?
PS sorry - forgot to add that Step 5 remove the command init=/usr/lib/raspi-config/ is not necessary as that line is not in the file.

Solved - looks like my 16GB SD card had another small partition (from a previous install) which meant there wasn’t enough space left to create mmcblk0p3. I reformatted the card and can now continue with installation!

1 Like