(12th Jan, 2018 03:17 AM)Skywatch Wrote: [ -> ]Now copy completed and so I changed /boot/cmdline.txt to sda5......rebooted....Nothing!
Usually it is better idea using UUID= or PARTUUID= instead of /dev/sdX in cmdline. As you can see, I have two disks attached to my RPi3, and I never know which one is sda and which one is sdb
Quote:I'll investigate this more when I can. No worries.
I do not doubt it
I have read again the options and am still a little confused.... To make copy on usb (for boot from sd/run from usb) do I need to now add file: at the start of destination - I am guessing not, but want to be sure.
(12th Jan, 2018 03:35 AM)Skywatch Wrote: [ -> ]I have read again the options and am still a little confused.... To make copy on usb (for boot from sd/run from usb) do I need to now add file: at the start of destination - I am guessing not, but want to be sure.
No!
file: makes a complete image of your sd-card (root AND boot partition)
/dev/sdX# copies root partition only to destination partition (that's why you use partition /dev/sdX# instead of device /dev/sdX)
xbian copier does not support copy system to device right now, only to partitions)
THanks!
First bakcup failed with error (10) - Am trying agian now.....
Hmmm..... Maybe I am having a bad day, but after successful copy to sda5 I wanted to see if it was all there. So cd /dev/sda5 had nothing and under /media/ there is also nothing showing..... ??? Am I going mad?
(12th Jan, 2018 04:43 AM)Skywatch Wrote: [ -> ]Hmmm..... Maybe I am having a bad day, but after successful copy to sda5 I wanted to see if it was all there. So cd /dev/sda5 had nothing and under /media/ there is also nothing showing..... ??? Am I going mad?
Yeah, maybe
cd /dev/sda5 never works, bc you can't cd to a partition, only to a folder
I suppose you have to replug your device before you can cd to /media/... or after copying run a
Code:
sudo mount /dev/sda5 /mnt && cd /mnt && ls -l
Hmmm......Another failure
If this was my first time trying to set this up, I would think I was doing something bad. But this pi and another 2 all worked this way and I am doing nothing strange here. I even tried the root=UUID=(friendly characters here)...way and still it doesn't work.
When it starts up, there is activity on the green led on the pi and for a moment the usb stick lights up to show it is working. But then it all just seems to stop.
I'll have a think about it later on, I need an early night anyway
Yeah, tomorrow is another day
Next step: enable initramfs and rescue mode (adding rescue to /boot/cmdline.txt), rebooting Pi and check if /dev/sda5 is mounted correctly
OK, so a new day is here
Does this look OK to you?
Terminal
sudo mount /dev/sda5 /mnt && cd /mnt && ls -l
total 0
drwxr-xr-x 1 root root 2 Jan 11 18:05 data
drwxr-xr-x 1 root root 2 Jan 11 18:09 home
drwxr-xr-x 1 root root 2 Jan 11 18:09 modules
drwxr-xr-x 1 root root 2 Jan 11 18:15 root
If so I'll get a monitor and attach to do what you suggested above.
Yeah, that's ok
Before you try booting from there, you could run (sda5 has to be mounted on /mnt)
Code:
sudo btrfs scrub start /mnt && sudo watch btrfs scrub status /mnt
to check if all files are ok