framps / raspiBackup

Backup your Raspberry
https://raspibackup.linux-tips-and-tricks.de
GNU General Public License v3.0
751 stars 73 forks source link

UUID update of external partitions done - Usecase restore a mixed mode backup #712

Closed framps closed 6 months ago

framps commented 7 months ago

``Hallo framp,

Original fstab: proc /proc proc defaults 0 0 PARTUUID=264f3462-01 /boot vfat defaults 0 2 PARTUUID=76d82778-02 / ext4 defaults,noatime 0 0 PARTUUID=76d82778-03 /media/usbplatte/ ntfs-3g defaults,auto,umask=000,users,rw 0 PARTUUID=76d82778-05 /mnt/raspiBackups/ ext4 defaults 0

a swapfile is not a swap partition, no line here

use dphys-swapfile swap[on|off] for that

ausgeführt: sudo raspiBackup.sh -d /dev/sda /mnt/raspiBackups/pi3/pi3-rsync-backup-20231129-030001

lt. raspiBackup.msgr --- RBK0102I: PARTUUID wird von 76d82778-02 auf 8685d191-02 in /boot/cmdline.txt geändert. --- RBK0102I: PARTUUID wird von 76d82778 auf 8685d191 in /etc/fstab geändert. --- RBK0102I: PARTUUID wird von 264f3462-01 auf 8685d191-01 in /etc/fstab geändert.

cmdline.txt auf clone sda1 nach restore console=serial0,115200 console=tty1 root=PARTUUID=8685d191-02 rootfstype=ext4 fsck.repair=yes rootwait ==> OK

fstab auf clone sda2 nach restore proc /proc proc defaults 0 0 PARTUUID=8685d191-01 /boot vfat defaults 0 2 PARTUUID=8685d191-02 / ext4 defaults,noatime 0 0 PARTUUID=8685d191-03 /media/usbplatte/ ntfs-3g defaults,auto,umask=000,users,rw 0 PARTUUID=8685d191-05 /mnt/raspiBackups/ ext4 defaults 0

a swapfile is not a swap partition, no line here

use dphys-swapfile swap[on|off] for that

==> entspricht der raspiBackup.msgr - Meldung

USB-Laufwerk abgetrennt, die SD-Karte entfernt dafür sda in den Kartenslot: !!! Raspi startet nicht !!!

fstab auf clone sda2 nach restore manuell geändert proc /proc proc defaults 0 0 PARTUUID=8685d191-01 /boot vfat defaults 0 2 PARTUUID=8685d191-02 / ext4 defaults,noatime 0 0

PARTUUID=8685d191-03 /media/usbplatte/ ntfs-3g defaults,auto,umask=000,users,rw 0

PARTUUID=8685d191-05 /mnt/raspiBackups/ ext4 defaults 0

a swapfile is not a swap partition, no line here

use dphys-swapfile swap[on|off] for that

==> die Partitionen 03 und 04 sind mit oder ohne USB-Festplatte physisch nicht vorhanden, also Einträge 03 und 04 manuell auskommentieren oder entfernen

!!! Raspi startet !!!

github-actions[bot] commented 6 months ago

This issue is considered stale now and will be closed in 1 week if there is no activity any more