Cloning Raspbian from SD to SSD didn't change cmdline.txt nor fstab - didn't boot, fixed these to sda6 & sda7 started working #148

Open
opened 2022-10-20 20:20:50 +02:00 by tkarsist · 3 comments
tkarsist commented 2022-10-20 20:20:50 +02:00 (Migrated from github.com)
No description provided.
framps commented 2022-10-20 20:36:11 +02:00 (Migrated from github.com)

Would you please show the result of lsblk ? As far as I see you use something like NOOBs. As far as I know rpi-clone only supports standard RaspbianOS with two partitions.

Would you please show the result of `lsblk` ? As far as I see you use something like NOOBs. As far as I know rpi-clone only supports standard RaspbianOS with two partitions.
tkarsist commented 2022-10-21 07:37:10 +02:00 (Migrated from github.com)

This is after the change. This is the original Raspberry SD-card that came with it (preinstalled)
sda 8:0 0 465.8G 0 disk
|-sda1 8:1 0 2.6G 0 part
|-sda2 8:2 0 1K 0 part
|-sda5 8:5 0 32M 0 part
|-sda6 8:6 0 256M 0 part /boot
`-sda7 8:7 0 462.9G 0 part /

I modified the following to fix the boot problem:

/boot/cmdline.txt:
changed "root=/dev/sda7" (was some mmcblk*, the sd-card)

/etc/fstab :
/dev/sda6 /boot (was mmcblk*)
/dev/sda7 / (was mmcblk*)

This is after the change. This is the original Raspberry SD-card that came with it (preinstalled) sda 8:0 0 465.8G 0 disk |-sda1 8:1 0 2.6G 0 part |-sda2 8:2 0 1K 0 part |-sda5 8:5 0 32M 0 part |-sda6 8:6 0 256M 0 part /boot `-sda7 8:7 0 462.9G 0 part / I modified the following to fix the boot problem: /boot/cmdline.txt: changed "root=/dev/sda7" (was some mmcblk*, the sd-card) /etc/fstab : /dev/sda6 /boot (was mmcblk*) /dev/sda7 / (was mmcblk*)
tkarsist commented 2022-10-21 07:43:08 +02:00 (Migrated from github.com)

It was while ago, I think it was NOOBS. With these two changes I made to configs, the tool worked perfectly

It was while ago, I think it was NOOBS. With these two changes I made to configs, the tool worked perfectly
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Lerking/rpi-clone#148