geerlingguy / rpi-clone

A shell script to clone a booted disk on a Raspberry Pi.
https://rpi-clone.jeffgeerling.com/
BSD 3-Clause "New" or "Revised" License
242 stars 15 forks source link

Option to change label to system-boot partition #30

Open miguelmsa1 opened 4 months ago

miguelmsa1 commented 4 months ago

I was having trouble getting it to work because, after cloning my SD card to the sda device, it was unable to mount the sda1 partition. The issue arose because the fstab file was looking for the ‘system-boot’ label, which was unassigned. (I didn’t configure it that way; it was the default configuration in Ubuntu 23.10.)

I resolved the problem by manually changing the fstab entry to use the /dev/sda1 device. Would it be possible to provide an option to change this before cloning?