Xbian-copier not working....
|
12th Jan, 2018, 03:25 AM
Post: #16
|
|||
|
|||
RE: Xbian-copier not working....
(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 |
|||
12th Jan, 2018, 03:35 AM
Post: #17
|
|||
|
|||
RE: Xbian-copier not working....
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:41 AM
Post: #18
|
|||
|
|||
RE: Xbian-copier not working....
(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) |
|||
12th Jan, 2018, 04:00 AM
Post: #19
|
|||
|
|||
RE: Xbian-copier not working....
THanks!
First bakcup failed with error (10) - Am trying agian now..... |
|||
12th Jan, 2018, 04:07 AM
Post: #20
|
|||
|
|||
RE: Xbian-copier not working....
(12th Jan, 2018 04:00 AM)Skywatch Wrote: THanks! 10 means copying data of one subvolume fails |
|||
12th Jan, 2018, 04:43 AM
Post: #21
|
|||
|
|||
RE: Xbian-copier not working....
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:48 AM
(This post was last modified: 12th Jan, 2018 04:51 AM by Nachteule.)
Post: #22
|
|||
|
|||
RE: Xbian-copier not working....
(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 |
|||
12th Jan, 2018, 04:59 AM
Post: #23
|
|||
|
|||
RE: Xbian-copier not working....
Yup! - That works.
Now to test again..... |
|||
12th Jan, 2018, 06:05 AM
Post: #24
|
|||
|
|||
RE: Xbian-copier not working....
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 |
|||
12th Jan, 2018, 06:22 AM
Post: #25
|
|||
|
|||
RE: Xbian-copier not working....
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 |
|||
12th Jan, 2018, 08:03 PM
Post: #26
|
|||
|
|||
RE: Xbian-copier not working....
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. |
|||
12th Jan, 2018, 11:21 PM
(This post was last modified: 12th Jan, 2018 11:22 PM by Nachteule.)
Post: #27
|
|||
|
|||
RE: Xbian-copier not working....
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 |
|||
13th Jan, 2018, 02:03 AM
Post: #28
|
|||
|
|||
RE: Xbian-copier not working....
Looking good so far!
Terminal xbian@lounge2 ~ $ sudo mount /dev/sda5 /mnt/ mount: /dev/sda5 is already mounted or /mnt busy /dev/sda5 is already mounted on /media/xbian-copy /dev/sda5 is already mounted on /mnt xbian@lounge2 ~ $ sudo btrfs scrub start /mnt && sudo watch btrfs scrub status /mnt Terminal scrub status for 7661f9e8-78b1-4040-baeb-74986a6d5ab8 scrub started at Fri Jan 12 15:34:12 2018 and finished after 00:01:14 total bytes scrubbed: 1.76GiB with 0 errors |
|||
13th Jan, 2018, 04:18 AM
Post: #29
|
|||
|
|||
RE: Xbian-copier not working....
Indeed
|
|||
18th Jan, 2018, 03:46 AM
Post: #30
|
|||
|
|||
RE: Xbian-copier not working....
(12th Jan, 2018 01:57 AM)Skywatch Wrote:(12th Jan, 2018 12:35 AM)Nachteule Wrote: Ah, hold on. I know what the problem is: Added workaround, should never happen again |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
Command-line version of XBian-copier | palswim | 8 | 29,146 |
16th Mar, 2014 03:17 PM Last Post: mk01 |