My YunoHost server
Hardware: Raspberry Pi 2b at home, micro-SD card class A1 (128 Go) for OS + 500 GB USB HDD for backups
YunoHost version: 4.4.2.14
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen | …
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : No
Description of my issue
Hello,
I used another computer to reduce my root partition in order to clone my system on a smaller SD card (that is another story)
After that, my system couldn’t boot. It stucked here :
I managed to fix it, but quite randomly, editing /etc/fstab :
from :
proc /proc proc defaults 0 0
PARTUUID=6a1c0ec9-01 /boot vfat defaults 0 2
PARTUUID=6a1c0ec9-02 / ext4 defaults,noatime 0 1
UUID="be8b9dcf-6202-4d77-b3c7-de1758a99047" /media/usb-hdd ext4 defaults,nofail 0 0
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
to :
proc /proc proc defaults 0 0
UUID="EBB0-D8C8" /boot vfat defaults 0 2
UUID="b2ec542f-c9f9-46c1-8436-73536ef689e7" / ext4 defaults,noatime 0 1
UUID="4e40236e-b36d-4b83-874e-fa9da92a56dc" /media/usb-hdd ext4 defaults,nofail 0 0
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
and I changed /boot/cmdline.txt:
console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
I forgot how it was before, sorry --" But i never changed it before. In my memory the root argument was like
root=PARTUUID=6a1c0ec9-02
So my questions are :
- How resizing a partition broke the boot ?
- Why the partitions are named using PARUUID ? I read somewhere that it is only used for GPT tables, and I have a MBR table
- Can we fix it so that I can backup my system and restore it on another SD card using raspibackup ? (I guess that changing device, will change partitions UUID and won’t work)
Thank you in advance. I hope that i am clear ^^ (I’m French)