Thank you for your donation


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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 Smile

Quote:I'll investigate this more when I can. No worries.

I do not doubt it
Find all posts by this user
Quote this message in a reply
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.
Find all posts by this user
Quote this message in a reply
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)
Find all posts by this user
Quote this message in a reply
12th Jan, 2018, 04:00 AM
Post: #19
RE: Xbian-copier not working....
THanks! Blush

First bakcup failed with error (10) - Am trying agian now.....
Find all posts by this user
Quote this message in a reply
12th Jan, 2018, 04:07 AM
Post: #20
RE: Xbian-copier not working....
(12th Jan, 2018 04:00 AM)Skywatch Wrote:  THanks! Blush

First bakcup failed with error (10) - Am trying agian now.....

10 means copying data of one subvolume fails
Find all posts by this user
Quote this message in a reply
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?
Find all posts by this user
Quote this message in a reply
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 Tongue

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
Find all posts by this user
Quote this message in a reply
12th Jan, 2018, 04:59 AM
Post: #23
RE: Xbian-copier not working....
Yup! - That works. Smile

Now to test again.....
Find all posts by this user
Quote this message in a reply
12th Jan, 2018, 06:05 AM
Post: #24
RE: Xbian-copier not working....
Hmmm......Another failure Dodgy

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 Tongue
Find all posts by this user
Quote this message in a reply
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
Find all posts by this user
Quote this message in a reply
12th Jan, 2018, 08:03 PM
Post: #26
RE: Xbian-copier not working....
OK, so a new day is here Smile

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.
Find all posts by this user
Quote this message in a reply
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
Find all posts by this user
Quote this message in a reply
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
and......then.......
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
Find all posts by this user
Quote this message in a reply
13th Jan, 2018, 04:18 AM
Post: #29
RE: Xbian-copier not working....
Indeed
Find all posts by this user
Quote this message in a reply
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:

Bingo! Smile -- You got it!

But now I get 'fail' message instead! Sad
I have target set to "file: /dev/sda1" as well as the usual "/dev/sda1" and both say error....?

(12th Jan, 2018 12:35 AM)Nachteule Wrote:  Your ssh window is too small. I enlarged the copier window to 82x29, and it seems it does not fit into your screen

Of course you could also not bugger about with ssh terminal window size in the first place Tongue

Cheers!

Added workaround, should never happen again Smile
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Command-line version of XBian-copier palswim 8 14,279 16th Mar, 2014 03:17 PM
Last Post: mk01

Forum Jump: