Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4971

Advanced users • Re: MultiBoot for the Raspberry Pi 5, Raspberry Pi 4, and Raspberry Pi 3

$
0
0
I inserted a line into ckfs()

Code:

 read -p "Reinsert USB stick before chkfs, if needed, press any key to resume ..."
When it came up, I used a second terminal window to unmount any lingering file systems:

Code:

sudo umount /dev/sda1;sudo umount /dev/sda2;sudo umount /dev/sda3
I then unplugged the drive, replugged, and waited for the file systems to mount. I then repeated this in the same alternate terminal window.

Code:

sudo umount /dev/sda1;sudo umount /dev/sda2;sudo umount /dev/sda3
I then continued the main script. This had to happen twice, before and after expansion. With this, the script completed successfully.
I then swapped the SD card and it booted into Ubuntu, the original first partition.
I used mb to select the RaspiOS partition, it properly swapped the boot partition and rebooted into PiOS. After rebooting the first run wizard ran and it rebooted into PiSO as expected.

All looks well.

But I do not see the sudo ./mb -c MBRGPT option. I remember seeing it earlier.

Statistics: Posted by HStriepe — Sun Jan 21, 2024 8:45 pm



Viewing all articles
Browse latest Browse all 4971

Trending Articles