I inserted a line into ckfs() When it came up, I used a second terminal window to unmount any lingering file systems:I then unplugged the drive, replugged, and waited for the file systems to mount. I then repeated this in the same alternate terminal window.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.
Code:
read -p "Reinsert USB stick before chkfs, if needed, press any key to resume ..."
Code:
sudo umount /dev/sda1;sudo umount /dev/sda2;sudo umount /dev/sda3
Code:
sudo umount /dev/sda1;sudo umount /dev/sda2;sudo umount /dev/sda3
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