Xbian-copier not working....
|
20th Jan, 2018, 06:43 PM
Post: #31
|
|||
|
|||
RE: Xbian-copier not working....
Workaround working nicely
Today I hope to get more done trying to get this to run from usb. I'll try what you suggested @nachteule. |
|||
20th Jan, 2018, 11:39 PM
Post: #32
|
|||
|
|||
RE: Xbian-copier not working.... | |||
21st Jan, 2018, 01:08 AM
Post: #33
|
|||
|
|||
RE: Xbian-copier not working....
I'm experiencing an unrelated problem with xbian-copier. Here's the log file:
Code: Performing full device TRIM /dev/mapper/loop0p2 (4.65GiB) ... Any suggestions on a fix? |
|||
21st Jan, 2018, 01:24 AM
(This post was last modified: 21st Jan, 2018 02:44 AM by Nachteule.)
Post: #34
|
|||
|
|||
RE: Xbian-copier not working....
@elrock
Not really Input/Output error never sounds good. Source fs already checked? (btrfs scrub) Destination device ok? Power fail issue? |
|||
21st Jan, 2018, 04:23 AM
Post: #35
|
|||
|
|||
RE: Xbian-copier not working....
(21st Jan, 2018 01:24 AM)Nachteule Wrote: @elrock What is the pathway for the source fs? I found nothing in /tmp. The destination device is a 8gb thumb drive formatted as ext2. It gets power from the RPi. Could that be the source of the problem? |
|||
21st Jan, 2018, 04:37 AM
(This post was last modified: 21st Jan, 2018 04:50 AM by Nachteule.)
Post: #36
|
|||
|
|||
RE: Xbian-copier not working....
(21st Jan, 2018 04:23 AM)elrock Wrote:(21st Jan, 2018 01:24 AM)Nachteule Wrote: @elrock Oc not, source is / fs, so run sudo btrfs scrub start / && sudo btrfs scrub status / to check if fs is ok Quote:The destination device is a 8gb thumb drive formatted as ext2. It gets power from the RPi. Could that be the source of the problem? Sure |
|||
23rd Jan, 2018, 06:09 AM
Post: #37
|
|||
|
|||
RE: Xbian-copier not working....
(21st Jan, 2018 04:37 AM)Nachteule Wrote: Oc not, source is / fs, so run sudo btrfs scrub start / && sudo btrfs scrub status / to check if fs is ok So I ran the btrfs scrub and it found "11 uncorrectable errors," so no go. Is it still safe to restore from a backup of the Home directory, at least? I made a backup and it didn't encounter any errors. |
|||
23rd Jan, 2018, 06:50 AM
Post: #38
|
|||
|
|||
RE: Xbian-copier not working....
(23rd Jan, 2018 06:09 AM)elrock Wrote:(21st Jan, 2018 04:37 AM)Nachteule Wrote: Oc not, source is / fs, so run sudo btrfs scrub start / && sudo btrfs scrub status / to check if fs is ok Ok, so we know the reason why Xbian-copier does not work without an error. It should be safe, but it's better to locate those 11 files. AFAIR when running a scrub, those broken files are logged and can be displayed via dmesg command |
|||
29th Apr, 2018, 02:07 AM
Post: #39
|
|||
|
|||
RE: Xbian-copier not working....
So I still have this issue on my pi2 installs.....
Here is what I have done...... Terminal xbian@cinema2film /mnt $ df -h Filesystem Size Used Avail Use% Mounted on udev 256K 4.0K 252K 2% /dev tmpfs 71M 1.3M 70M 2% /run /dev/mmcblk0p2 15G 3.5G 11G 25% / /dev/mmcblk0p2 15G 3.5G 11G 25% /lib/modules /dev/mmcblk0p2 15G 3.5G 11G 25% /home /dev/mmcblk0p1 68M 35M 34M 52% /boot none 4.0K 0 4.0K 0% /sys/fs/cgroup /dev/mmcblk0p2 15G 3.5G 11G 25% /xbmc-backup /dev/sda5 15G 2.7G 13G 18% /mnt xbian@cinema2film /mnt $ lsusb Bus 001 Device 005: ID 0781:5571 SanDisk Corp. Cruzer Fit Bus 001 Device 004: ID 0e8f:00fb GreenAsia Inc. Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub xbian@cinema2film /mnt $ sudo -i root@cinema2film ~ # blkid -s UUID -o value /dev/sda5 e86f613c-8db0-4fc6-99d1-53d8e4ff0e3a root@cinema2film ~ # ^C root@cinema2film ~ # sudo nano /boot/cmdline.txt root@cinema2film ~ # sudo reboot If I put "root=/dev/sda5" the pi goes into a never ending reboot loop. If I put "root=UUID=e86f613c-8db0-4fc6-99d1-53d8e4ff0e3a" I get "sd card resize" on the main screen and that too never ends. ( have waited for 30mins + and still no end). Where have I gone wrong? It used to work fine from usb following the instructions on the main page, but now I can't get it to boot properly..... ??? |
|||
29th Apr, 2018, 02:18 AM
Post: #40
|
|||
|
|||
RE: Xbian-copier not working....
(29th Apr, 2018 02:07 AM)Skywatch Wrote: If I put "root=/dev/sda5" the pi goes into a never ending reboot loop. What's on /dev/sda5? |
|||
12th May, 2018, 06:56 AM
Post: #41
|
|||
|
|||
RE: Xbian-copier not working....
Does this answer your question?
Terminal xbian@cinema2film ~ $ sudo blkid /dev/mmcblk0p1: SEC_TYPE="msdos" LABEL="xbianboot" UUID="9451-67CD" TYPE="vfat" PARTUUID="5790c140-01" /dev/mmcblk0p2: LABEL="xbian-copy" UUID="d3af7a2f-02ca-4741-8741-f8b5f45a398a" U UID_SUB="1c44f090-45cb-49eb-be9b-dd1533e907f8" TYPE="btrfs" PARTUUID="5790c140-0 2" /dev/mmcblk0p3: UUID="abb5a071-3643-42db-8ff3-a9d1df0debf9" TYPE="swap" PARTUUID ="5790c140-03" /dev/sda5: LABEL="xbian-copy" UUID="e86f613c-8db0-4fc6-99d1-53d8e4ff0e3a" UUID_S UB="e2e0b185-4ad7-42fa-9cdb-3de550d905ba" TYPE="btrfs" PARTUUID="015292a4-05" /dev/zram0: UUID="f4e825d3-652e-4fca-9b3c-037a50c6af68" TYPE="swap" /dev/mmcblk0: PTUUID="5790c140" PTTYPE="dos" If I follow the guide on the wiki I get error message in xbian-config. I am confused as it all used to work fine - but I guess I attract this kind of thing |
|||
12th May, 2018, 07:19 AM
Post: #42
|
|||
|
|||
RE: Xbian-copier not working....
(12th May, 2018 06:56 AM)Skywatch Wrote: Does this answer your question?Not completely. Hopefully you have the folder structure root/ modules/ and /home on it. Maybe the scripts getting confused due to the identical labels of /dev/mmcblk0p2 and /dev/sda5 (I don't believe this, but who knows ...) Quote:If I follow the guide on the wiki I get error message in xbian-config. I am confused as it all used to work fine - but I guess I attract this kind of thing Hmmm, maybe the wiki lies But, seriously, that should not be a big problem cloning root partition: Select function 6 inside xbian-config, source /dev/root, destination /dev/sda5 and let it run. I did this many times Should finish without any error message, but if you get error message, it's not big surprise that booting from this partition fails ... |
|||
12th May, 2018, 08:09 PM
Post: #43
|
|||
|
|||
RE: Xbian-copier not working....
Hmmm.... This is interesting... From fdisk -l
Terminal Disk /dev/mmcblk0: 14.9 GiB, 15931539456 bytes, 31116288 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x5790c140 Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 * 2048 141311 139264 68M b W95 FAT32 /dev/mmcblk0p2 141312 30614527 30473216 14.5G 83 Linux /dev/mmcblk0p3 30615552 31116287 500736 244.5M 82 Linux swap / Solaris Disk /dev/sda: 14.9 GiB, 16005464064 bytes, 31260672 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x015292a4 Device Boot Start End Sectors Size Id Type /dev/sda1 16065 31246424 31230360 14.9G f W95 Ext'd (LBA) /dev/sda5 16128 31246424 31230297 14.9G c W95 FAT32 (LBA) Those last 2 lines seem to suggest that the stick is showing up twice ??? - I wouldn't have thought it was possible? Still, if I select /dev/sda1 to copy to I get error message. If I select /dev/sda5 it completes, but won't boot when cmdline.txt has it's root=/dev/sda5 edit. |
|||
12th May, 2018, 09:06 PM
(This post was last modified: 12th May, 2018 09:10 PM by Nachteule.)
Post: #44
|
|||
|
|||
RE: Xbian-copier not working....
Oooops, strange partition table. I'm unsure that scripts can deal with that table
Partition 1 is extended Partition, you can't write data into, it's just a container for other (logical) partitions and partition 5 has wrong partition type, should have 83 (Linux) instead of 0xc (FAT32 LBA) I would create a new partition table and with only one primary partition. The partition layout you have absolutely makes no sense |
|||
13th May, 2018, 02:56 AM
Post: #45
|
|||
|
|||
RE: Xbian-copier not working....
You see, I told you it wasn't working
I'll try again tomorrow as I had a little bit of an accident today and definitly ruined a 64Gb microSD card, maybe a pi3 as well - need to look into that urgently. Could take some time though. Thanks for confirming that the problem was really there and not just in my head! |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
Command-line version of XBian-copier | palswim | 8 | 29,020 |
16th Mar, 2014 03:17 PM Last Post: mk01 |