Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Migration from Rpi1 -> Rpi2
Thank you for your donation

Pages (4): « Previous 1 2 3 4 Next »
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Migration from Rpi1 -> Rpi2
3rd Sep, 2017, 06:48 AM (This post was last modified: 3rd Sep, 2017 06:56 AM by Nachteule.)
Post: #31
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Migration from Rpi1 -> Rpi2
Ah ok.

Maybe wrong root fs (/dev/sda1) is still in initfamfs.gz (not sure if this is stored in initramfs or not, never checked this). You could try to disable initramfs by commenting out it in /boot/config.txt by something like this

Code:
#initramfs initramfs.gz  0x1500000

or simply remove or rename /boot/initramfs.gz and try again booting Smile

and you can enable debug and disable splash by

change splash to nosplash and adding debug to cmdline in /boot/cmdline.txt
Find all posts by this user
Quote this message in a reply
3rd Sep, 2017, 08:33 AM
Post: #32
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
RE: Migration from Rpi1 -> Rpi2
Some good suggestions there - will try out tomorrow....

Smile
Find all posts by this user
Quote this message in a reply
3rd Sep, 2017, 05:45 PM
Post: #33
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
RE: Migration from Rpi1 -> Rpi2
One thing I did think of was that kodi overrides the initramfs setting in boot/config internally (remember setting it to 'always' in kodi menus).
Do you know where I can change this as I expect it to interfere when trying to boot without initramfs. Huh

update... I tried it anyway and now it does not boot. Just get a flashing underscore in the top left corner. Undecided

I have removed the SD card and am wiping it completely and then re-install the rpi1 image and try again. May take some time though.... Confused

Here is cmdline.txt...
Terminal

telnet zswap.enabled=1 zswap.compressor=lz4 console=tty1 root=/dev/mmcblk0p2 rootflags=subvol=root/@,autodefrag,compress=lz4 rootfstype=btrfs rootwait logo.nologo quiet noswap loglevel=0 partswap startevent=mountall selinux=0 splash nohdparm net.ifnames=0 biosdevname=0 --startup-event mountall

Seems that removing initramfs from /boot stops it even getting to splash screen. Going back to initram I get a message to press shift before the splash appears. Even doing this it hangs at 'loading' screen. Maybe it's better to start from scratch now? Confused

and config.txt...
Terminal

#initramfs initramfs.gz 0x1500000
gpu_mem_1024=256
gpu_mem_512=144
gpu_mem_256=100
initial_turbo=3
hdmi_ignore_cec_init=1
hdmi_force_hotplug=1
disable_overscan=1
disable_splash=1
dtoverlay=hifiberry-dac
dtparam=i2c_arm=on
dtoverlay=i2c-rtc,ds3231
decode_MPG2=0x73c4f0f6
#dtoverlay=lirc-rpi
arm_freq=700
core_freq=250
sdram_freq=400
over_voltage=0
Find all posts by this user
Quote this message in a reply
3rd Sep, 2017, 09:30 PM
Post: #34
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Migration from Rpi1 -> Rpi2
(3rd Sep, 2017 05:45 PM)Skywatch Wrote:  One thing I did think of was that kodi overrides the initramfs setting in boot/config internally (remember setting it to 'always' in kodi menus).
Do you know where I can change this as I expect it to interfere when trying to boot without initramfs. Huh

Hopefully you do no have Alzheimer Dodgy, we already discussed this here

Quote:update... I tried it anyway and now it does not boot. Just get a flashing underscore in the top left corner. Undecided

That's what I was already talking about, all you was seeing came from initramfs. So, I suppose your root fs (/dev/mmcblk0p2) is broken

Quote:I have removed the SD card and am wiping it completely and then re-install the rpi1 image and try again. May take some time though.... Confused

Make sure that your saved image is correct. Btw, you can check log of image generation. See file /tmp/xbiancopy.log (here one of mine RPi1 from building image yesterday)

xbiancopy.log (Click to View)
root@kmxbilr ~ # cat /tmp/xbiancopy.log
/dev/root nfs://kmcubie/media/system/backup/kmxbilr_xbian_image_2017-09-02.img
'/boot/COPYING.linux' -> '/tmp/btrfs-dest/COPYING.linux'
'/boot/LICENCE.broadcom' -> '/tmp/btrfs-dest/LICENCE.broadcom'
'/boot/README.md' -> '/tmp/btrfs-dest/README.md'
'/boot/README.overlays' -> '/tmp/btrfs-dest/README.overlays'
'/boot/System.map' -> '/tmp/btrfs-dest/System.map'
'/boot/System.map-4.9.16+' -> '/tmp/btrfs-dest/System.map-4.9.16+'
'/boot/bcm2708-rpi-0-w.dtb' -> '/tmp/btrfs-dest/bcm2708-rpi-0-w.dtb'
'/boot/bcm2708-rpi-b-plus.dtb' -> '/tmp/btrfs-dest/bcm2708-rpi-b-plus.dtb'
'/boot/bcm2708-rpi-b.dtb' -> '/tmp/btrfs-dest/bcm2708-rpi-b.dtb'
'/boot/bcm2708-rpi-cm.dtb' -> '/tmp/btrfs-dest/bcm2708-rpi-cm.dtb'
'/boot/bcm2709-rpi-2-b.dtb' -> '/tmp/btrfs-dest/bcm2709-rpi-2-b.dtb'
'/boot/bcm2710-rpi-3-b.dtb' -> '/tmp/btrfs-dest/bcm2710-rpi-3-b.dtb'
'/boot/bcm2710-rpi-cm3.dtb' -> '/tmp/btrfs-dest/bcm2710-rpi-cm3.dtb'
'/boot/bcm2835-rpi-a-plus.dtb' -> '/tmp/btrfs-dest/bcm2835-rpi-a-plus.dtb'
'/boot/bcm2835-rpi-a.dtb' -> '/tmp/btrfs-dest/bcm2835-rpi-a.dtb'
'/boot/bcm2835-rpi-b-plus.dtb' -> '/tmp/btrfs-dest/bcm2835-rpi-b-plus.dtb'
'/boot/bcm2835-rpi-b-rev2.dtb' -> '/tmp/btrfs-dest/bcm2835-rpi-b-rev2.dtb'
'/boot/bcm2835-rpi-b.dtb' -> '/tmp/btrfs-dest/bcm2835-rpi-b.dtb'
'/boot/bcm2835-rpi-zero.dtb' -> '/tmp/btrfs-dest/bcm2835-rpi-zero.dtb'
'/boot/bcm2836-rpi-2-b.dtb' -> '/tmp/btrfs-dest/bcm2836-rpi-2-b.dtb'
'/boot/bootcode.bin' -> '/tmp/btrfs-dest/bootcode.bin'
'/boot/cmdline.default' -> '/tmp/btrfs-dest/cmdline.default'
'/boot/cmdline.txt' -> '/tmp/btrfs-dest/cmdline.txt'
'/boot/cmdline.txt-ok' -> '/tmp/btrfs-dest/cmdline.txt-ok'
'/boot/cmdline.txt.old' -> '/tmp/btrfs-dest/cmdline.txt.old'
'/boot/config.txt' -> '/tmp/btrfs-dest/config.txt'
'/boot/config.txt-3.12x' -> '/tmp/btrfs-dest/config.txt-3.12x'
'/boot/config.txt-3.18x' -> '/tmp/btrfs-dest/config.txt-3.18x'
'/boot/edid.dat' -> '/tmp/btrfs-dest/edid.dat'
'/boot/fixup.dat' -> '/tmp/btrfs-dest/fixup.dat'
'/boot/fixup.dat.ok' -> '/tmp/btrfs-dest/fixup.dat.ok'
'/boot/fixup_db.dat' -> '/tmp/btrfs-dest/fixup_db.dat'
'/boot/initramfs.gz' -> '/tmp/btrfs-dest/initramfs.gz'
'/boot/initramfs.gz.old' -> '/tmp/btrfs-dest/initramfs.gz.old'
'/boot/kernel.img' -> '/tmp/btrfs-dest/kernel.img'
'/boot/kernel.img-3.12.17+' -> '/tmp/btrfs-dest/kernel.img-3.12.17+'
'/boot/kernel.img-4.4.13+' -> '/tmp/btrfs-dest/kernel.img-4.4.13+'
'/boot/kernel.img-4.4.8+' -> '/tmp/btrfs-dest/kernel.img-4.4.8+'
'/boot/overlays' -> '/tmp/btrfs-dest/overlays'
'/boot/overlays/adau1977-adc.dtbo' -> '/tmp/btrfs-dest/overlays/adau1977-adc.dtbo'
'/boot/overlays/adau7002-simple.dtbo' -> '/tmp/btrfs-dest/overlays/adau7002-simple.dtbo'
'/boot/overlays/ads1015.dtbo' -> '/tmp/btrfs-dest/overlays/ads1015.dtbo'
'/boot/overlays/ads1115.dtbo' -> '/tmp/btrfs-dest/overlays/ads1115.dtbo'
'/boot/overlays/ads7846.dtbo' -> '/tmp/btrfs-dest/overlays/ads7846.dtbo'
'/boot/overlays/akkordion-iqdacplus.dtbo' -> '/tmp/btrfs-dest/overlays/akkordion-iqdacplus.dtbo'
'/boot/overlays/allo-piano-dac-pcm512x-audio.dtbo' -> '/tmp/btrfs-dest/overlays/allo-piano-dac-pcm512x-audio.dtbo'
'/boot/overlays/at86rf233.dtbo' -> '/tmp/btrfs-dest/overlays/at86rf233.dtbo'
'/boot/overlays/audioinjector-addons.dtbo' -> '/tmp/btrfs-dest/overlays/audioinjector-addons.dtbo'
'/boot/overlays/audioinjector-wm8731-audio.dtbo' -> '/tmp/btrfs-dest/overlays/audioinjector-wm8731-audio.dtbo'
'/boot/overlays/audremap.dtbo' -> '/tmp/btrfs-dest/overlays/audremap.dtbo'
'/boot/overlays/bmp085_i2c-sensor.dtbo' -> '/tmp/btrfs-dest/overlays/bmp085_i2c-sensor.dtbo'
'/boot/overlays/dht11.dtbo' -> '/tmp/btrfs-dest/overlays/dht11.dtbo'
'/boot/overlays/dionaudio-loco.dtbo' -> '/tmp/btrfs-dest/overlays/dionaudio-loco.dtbo'
'/boot/overlays/dionaudio-loco-v2.dtbo' -> '/tmp/btrfs-dest/overlays/dionaudio-loco-v2.dtbo'
'/boot/overlays/dpi18.dtbo' -> '/tmp/btrfs-dest/overlays/dpi18.dtbo'
'/boot/overlays/dpi24.dtbo' -> '/tmp/btrfs-dest/overlays/dpi24.dtbo'
'/boot/overlays/dwc2.dtbo' -> '/tmp/btrfs-dest/overlays/dwc2.dtbo'
'/boot/overlays/dwc-otg.dtbo' -> '/tmp/btrfs-dest/overlays/dwc-otg.dtbo'
'/boot/overlays/enc28j60.dtbo' -> '/tmp/btrfs-dest/overlays/enc28j60.dtbo'
'/boot/overlays/enc28j60-spi2.dtbo' -> '/tmp/btrfs-dest/overlays/enc28j60-spi2.dtbo'
'/boot/overlays/fe-pi-audio.dtbo' -> '/tmp/btrfs-dest/overlays/fe-pi-audio.dtbo'
'/boot/overlays/gpio-ir.dtbo' -> '/tmp/btrfs-dest/overlays/gpio-ir.dtbo'
'/boot/overlays/gpio-poweroff.dtbo' -> '/tmp/btrfs-dest/overlays/gpio-poweroff.dtbo'
'/boot/overlays/hifiberry-amp.dtbo' -> '/tmp/btrfs-dest/overlays/hifiberry-amp.dtbo'
'/boot/overlays/hifiberry-dac.dtbo' -> '/tmp/btrfs-dest/overlays/hifiberry-dac.dtbo'
'/boot/overlays/hifiberry-dacplus.dtbo' -> '/tmp/btrfs-dest/overlays/hifiberry-dacplus.dtbo'
'/boot/overlays/hifiberry-digi.dtbo' -> '/tmp/btrfs-dest/overlays/hifiberry-digi.dtbo'
'/boot/overlays/hifiberry-digi-pro.dtbo' -> '/tmp/btrfs-dest/overlays/hifiberry-digi-pro.dtbo'
'/boot/overlays/hy28a.dtbo' -> '/tmp/btrfs-dest/overlays/hy28a.dtbo'
'/boot/overlays/hy28b.dtbo' -> '/tmp/btrfs-dest/overlays/hy28b.dtbo'
'/boot/overlays/i2c0-bcm2708.dtbo' -> '/tmp/btrfs-dest/overlays/i2c0-bcm2708.dtbo'
'/boot/overlays/i2c1-bcm2708.dtbo' -> '/tmp/btrfs-dest/overlays/i2c1-bcm2708.dtbo'
'/boot/overlays/i2c-bcm2708.dtbo' -> '/tmp/btrfs-dest/overlays/i2c-bcm2708.dtbo'
'/boot/overlays/i2c-gpio.dtbo' -> '/tmp/btrfs-dest/overlays/i2c-gpio.dtbo'
'/boot/overlays/i2c-mux.dtbo' -> '/tmp/btrfs-dest/overlays/i2c-mux.dtbo'
'/boot/overlays/i2c-pwm-pca9685a.dtbo' -> '/tmp/btrfs-dest/overlays/i2c-pwm-pca9685a.dtbo'
'/boot/overlays/i2c-rtc.dtbo' -> '/tmp/btrfs-dest/overlays/i2c-rtc.dtbo'
'/boot/overlays/i2c-sensor.dtbo' -> '/tmp/btrfs-dest/overlays/i2c-sensor.dtbo'
'/boot/overlays/i2s-gpio28-31.dtbo' -> '/tmp/btrfs-dest/overlays/i2s-gpio28-31.dtbo'
'/boot/overlays/iqaudio-dac.dtbo' -> '/tmp/btrfs-dest/overlays/iqaudio-dac.dtbo'
'/boot/overlays/iqaudio-dacplus.dtbo' -> '/tmp/btrfs-dest/overlays/iqaudio-dacplus.dtbo'
'/boot/overlays/iqaudio-digi-wm8804-audio.dtbo' -> '/tmp/btrfs-dest/overlays/iqaudio-digi-wm8804-audio.dtbo'
'/boot/overlays/justboom-dac.dtbo' -> '/tmp/btrfs-dest/overlays/justboom-dac.dtbo'
'/boot/overlays/justboom-digi.dtbo' -> '/tmp/btrfs-dest/overlays/justboom-digi.dtbo'
'/boot/overlays/lirc-rpi.dtbo' -> '/tmp/btrfs-dest/overlays/lirc-rpi.dtbo'
'/boot/overlays/mcp23017.dtbo' -> '/tmp/btrfs-dest/overlays/mcp23017.dtbo'
'/boot/overlays/mcp23s17.dtbo' -> '/tmp/btrfs-dest/overlays/mcp23s17.dtbo'
'/boot/overlays/mcp2515-can0.dtbo' -> '/tmp/btrfs-dest/overlays/mcp2515-can0.dtbo'
'/boot/overlays/mcp2515-can1.dtbo' -> '/tmp/btrfs-dest/overlays/mcp2515-can1.dtbo'
'/boot/overlays/mcp3008.dtbo' -> '/tmp/btrfs-dest/overlays/mcp3008.dtbo'
'/boot/overlays/midi-uart0.dtbo' -> '/tmp/btrfs-dest/overlays/midi-uart0.dtbo'
'/boot/overlays/mmc.dtbo' -> '/tmp/btrfs-dest/overlays/mmc.dtbo'
'/boot/overlays/mz61581.dtbo' -> '/tmp/btrfs-dest/overlays/mz61581.dtbo'
'/boot/overlays/pi3-act-led.dtbo' -> '/tmp/btrfs-dest/overlays/pi3-act-led.dtbo'
'/boot/overlays/pi3-disable-bt.dtbo' -> '/tmp/btrfs-dest/overlays/pi3-disable-bt.dtbo'
'/boot/overlays/pi3-disable-wifi.dtbo' -> '/tmp/btrfs-dest/overlays/pi3-disable-wifi.dtbo'
'/boot/overlays/pi3-miniuart-bt.dtbo' -> '/tmp/btrfs-dest/overlays/pi3-miniuart-bt.dtbo'
'/boot/overlays/piscreen2r.dtbo' -> '/tmp/btrfs-dest/overlays/piscreen2r.dtbo'
'/boot/overlays/piscreen.dtbo' -> '/tmp/btrfs-dest/overlays/piscreen.dtbo'
'/boot/overlays/pisound.dtbo' -> '/tmp/btrfs-dest/overlays/pisound.dtbo'
'/boot/overlays/pitft22.dtbo' -> '/tmp/btrfs-dest/overlays/pitft22.dtbo'
'/boot/overlays/pitft28-capacitive.dtbo' -> '/tmp/btrfs-dest/overlays/pitft28-capacitive.dtbo'
'/boot/overlays/pitft28-resistive.dtbo' -> '/tmp/btrfs-dest/overlays/pitft28-resistive.dtbo'
'/boot/overlays/pitft35-resistive.dtbo' -> '/tmp/btrfs-dest/overlays/pitft35-resistive.dtbo'
'/boot/overlays/pps-gpio.dtbo' -> '/tmp/btrfs-dest/overlays/pps-gpio.dtbo'
'/boot/overlays/pwm-2chan.dtbo' -> '/tmp/btrfs-dest/overlays/pwm-2chan.dtbo'
'/boot/overlays/pwm.dtbo' -> '/tmp/btrfs-dest/overlays/pwm.dtbo'
'/boot/overlays/qca7000.dtbo' -> '/tmp/btrfs-dest/overlays/qca7000.dtbo'
'/boot/overlays/raspidac3.dtbo' -> '/tmp/btrfs-dest/overlays/raspidac3.dtbo'
'/boot/overlays/rpi-backlight.dtbo' -> '/tmp/btrfs-dest/overlays/rpi-backlight.dtbo'
'/boot/overlays/rpi-cirrus-wm5102.dtbo' -> '/tmp/btrfs-dest/overlays/rpi-cirrus-wm5102.dtbo'
'/boot/overlays/rpi-dac.dtbo' -> '/tmp/btrfs-dest/overlays/rpi-dac.dtbo'
'/boot/overlays/rpi-display.dtbo' -> '/tmp/btrfs-dest/overlays/rpi-display.dtbo'
'/boot/overlays/rpi-ft5406.dtbo' -> '/tmp/btrfs-dest/overlays/rpi-ft5406.dtbo'
'/boot/overlays/rpi-proto.dtbo' -> '/tmp/btrfs-dest/overlays/rpi-proto.dtbo'
'/boot/overlays/rpi-sense.dtbo' -> '/tmp/btrfs-dest/overlays/rpi-sense.dtbo'
'/boot/overlays/rra-digidac1-wm8741-audio.dtbo' -> '/tmp/btrfs-dest/overlays/rra-digidac1-wm8741-audio.dtbo'
'/boot/overlays/sc16is750-i2c.dtbo' -> '/tmp/btrfs-dest/overlays/sc16is750-i2c.dtbo'
'/boot/overlays/sc16is752-spi1.dtbo' -> '/tmp/btrfs-dest/overlays/sc16is752-spi1.dtbo'
'/boot/overlays/sdhost.dtbo' -> '/tmp/btrfs-dest/overlays/sdhost.dtbo'
'/boot/overlays/sdio-1bit.dtbo' -> '/tmp/btrfs-dest/overlays/sdio-1bit.dtbo'
'/boot/overlays/sdio.dtbo' -> '/tmp/btrfs-dest/overlays/sdio.dtbo'
'/boot/overlays/sdtweak.dtbo' -> '/tmp/btrfs-dest/overlays/sdtweak.dtbo'
'/boot/overlays/smi-dev.dtbo' -> '/tmp/btrfs-dest/overlays/smi-dev.dtbo'
'/boot/overlays/smi.dtbo' -> '/tmp/btrfs-dest/overlays/smi.dtbo'
'/boot/overlays/smi-nand.dtbo' -> '/tmp/btrfs-dest/overlays/smi-nand.dtbo'
'/boot/overlays/spi0-cs.dtbo' -> '/tmp/btrfs-dest/overlays/spi0-cs.dtbo'
'/boot/overlays/spi0-hw-cs.dtbo' -> '/tmp/btrfs-dest/overlays/spi0-hw-cs.dtbo'
'/boot/overlays/spi1-1cs.dtbo' -> '/tmp/btrfs-dest/overlays/spi1-1cs.dtbo'
'/boot/overlays/spi1-2cs.dtbo' -> '/tmp/btrfs-dest/overlays/spi1-2cs.dtbo'
'/boot/overlays/spi1-3cs.dtbo' -> '/tmp/btrfs-dest/overlays/spi1-3cs.dtbo'
'/boot/overlays/spi2-1cs.dtbo' -> '/tmp/btrfs-dest/overlays/spi2-1cs.dtbo'
'/boot/overlays/spi2-2cs.dtbo' -> '/tmp/btrfs-dest/overlays/spi2-2cs.dtbo'
'/boot/overlays/spi2-3cs.dtbo' -> '/tmp/btrfs-dest/overlays/spi2-3cs.dtbo'
'/boot/overlays/spi-gpio35-39.dtbo' -> '/tmp/btrfs-dest/overlays/spi-gpio35-39.dtbo'
'/boot/overlays/spi-rtc.dtbo' -> '/tmp/btrfs-dest/overlays/spi-rtc.dtbo'
'/boot/overlays/tinylcd35.dtbo' -> '/tmp/btrfs-dest/overlays/tinylcd35.dtbo'
'/boot/overlays/uart1.dtbo' -> '/tmp/btrfs-dest/overlays/uart1.dtbo'
'/boot/overlays/vc4-fkms-v3d.dtbo' -> '/tmp/btrfs-dest/overlays/vc4-fkms-v3d.dtbo'
'/boot/overlays/vc4-kms-v3d.dtbo' -> '/tmp/btrfs-dest/overlays/vc4-kms-v3d.dtbo'
'/boot/overlays/vga666.dtbo' -> '/tmp/btrfs-dest/overlays/vga666.dtbo'
'/boot/overlays/w1-gpio.dtbo' -> '/tmp/btrfs-dest/overlays/w1-gpio.dtbo'
'/boot/overlays/w1-gpio-pullup.dtbo' -> '/tmp/btrfs-dest/overlays/w1-gpio-pullup.dtbo'
'/boot/overlays/wittypi.dtbo' -> '/tmp/btrfs-dest/overlays/wittypi.dtbo'
'/boot/start.elf' -> '/tmp/btrfs-dest/start.elf'
'/boot/start_db.elf' -> '/tmp/btrfs-dest/start_db.elf'
btrfs-progs v4.10-dirty
See http://btrfs.wiki.kernel.org for more information.

Label: xbian-copy
UUID: db2a71c4-a775-4634-bcd1-3e2bde5f377c
Node size: 16384
Sector size: 4096
Filesystem size: 2.57GiB
Block group profiles:
Data: single 8.00MiB
Metadata: single 8.00MiB
System: single 4.00MiB
SSD detected: no
Incompat features: extref, skinny-metadata
Number of devices: 1
Devices:
ID SIZE PATH
1 2.57GiB /dev/mapper/loop0p2

Create subvolume '/tmp/btrfs-dest/data'
Create a readonly snapshot of '/tmp/btrfs-source/data/@' in '/tmp/btrfs-source/data/@.ro'
Delete subvolume (no-commit): '/tmp/btrfs-source/data/@.ro'
Create a snapshot of '/tmp/btrfs-dest/data/@.ro' in '/tmp/btrfs-dest/data/@'
Delete subvolume (no-commit): '/tmp/btrfs-dest/data/@.ro'
Done copying subvolume data snapshot @
Done copying subvolume data
Create subvolume '/tmp/btrfs-dest/home'
Create a readonly snapshot of '/tmp/btrfs-source/home/@' in '/tmp/btrfs-source/home/@.ro'
Cloning home/@, 21188660 of 1059433011, 2% done
Cloning home/@, 63565980 of 1059433011, 6% done
Cloning home/@, 95348970 of 1059433011, 9% done
Cloning home/@, 137726291 of 1059433011, 13% done
Cloning home/@, 169509281 of 1059433011, 16% done
Cloning home/@, 211886602 of 1059433011, 20% done
Cloning home/@, 243669592 of 1059433011, 23% done
Cloning home/@, 275452582 of 1059433011, 26% done
Cloning home/@, 307235573 of 1059433011, 29% done
Cloning home/@, 328424233 of 1059433011, 31% done
Cloning home/@, 349612893 of 1059433011, 33% done
Cloning home/@, 381395883 of 1059433011, 36% done
Cloning home/@, 413178874 of 1059433011, 39% done
Cloning home/@, 444961864 of 1059433011, 42% done
Cloning home/@, 466150524 of 1059433011, 44% done
Cloning home/@, 497933515 of 1059433011, 47% done
Cloning home/@, 529716505 of 1059433011, 50% done
Cloning home/@, 550905165 of 1059433011, 52% done
Cloning home/@, 582688156 of 1059433011, 55% done
Cloning home/@, 614471146 of 1059433011, 58% done
Cloning home/@, 635659806 of 1059433011, 60% done
Cloning home/@, 656848466 of 1059433011, 62% done
Cloning home/@, 688631457 of 1059433011, 65% done
Cloning home/@, 720414447 of 1059433011, 68% done
Cloning home/@, 741603107 of 1059433011, 70% done
Cloning home/@, 773386098 of 1059433011, 73% done
Cloning home/@, 805169088 of 1059433011, 76% done
Cloning home/@, 836952078 of 1059433011, 79% done
Cloning home/@, 858140738 of 1059433011, 81% done
Cloning home/@, 889923729 of 1059433011, 84% done
Cloning home/@, 921706719 of 1059433011, 87% done
Cloning home/@, 964084040 of 1059433011, 91% done
Cloning home/@, 974678370 of 1059433011, 92% done
Cloning home/@, 995867030 of 1059433011, 94% done
Cloning home/@, 1027650020 of 1059433011, 97% done
Cloning home/@, 1048838680 of 1059433011, 99% done
Delete subvolume (no-commit): '/tmp/btrfs-source/home/@.ro'
Create a snapshot of '/tmp/btrfs-dest/home/@.ro' in '/tmp/btrfs-dest/home/@'
Delete subvolume (no-commit): '/tmp/btrfs-dest/home/@.ro'
Done copying subvolume home snapshot @
Done copying subvolume home
Create subvolume '/tmp/btrfs-dest/modules'
Create a readonly snapshot of '/tmp/btrfs-source/modules/@' in '/tmp/btrfs-source/modules/@.ro'
Cloning modules/@, 957096 of 47854803, 2% done
Cloning modules/@, 2871288 of 47854803, 6% done
Cloning modules/@, 3349836 of 47854803, 7% done
Cloning modules/@, 4306932 of 47854803, 9% done
Cloning modules/@, 5742576 of 47854803, 12% done
Cloning modules/@, 6221124 of 47854803, 13% done
Cloning modules/@, 7178220 of 47854803, 15% done
Cloning modules/@, 7656768 of 47854803, 16% done
Cloning modules/@, 8135316 of 47854803, 17% done
Cloning modules/@, 9570960 of 47854803, 20% done
Cloning modules/@, 12442248 of 47854803, 26% done
Cloning modules/@, 16749181 of 47854803, 35% done
Cloning modules/@, 21056113 of 47854803, 44% done
Cloning modules/@, 23927401 of 47854803, 50% done
Cloning modules/@, 26798689 of 47854803, 56% done
Cloning modules/@, 28712881 of 47854803, 60% done
Cloning modules/@, 32062718 of 47854803, 67% done
Cloning modules/@, 37326746 of 47854803, 78% done
Cloning modules/@, 38283842 of 47854803, 80% done
Cloning modules/@, 41633678 of 47854803, 87% done
Cloning modules/@, 44504966 of 47854803, 93% done
Cloning modules/@, 47376254 of 47854803, 99% done
Delete subvolume (no-commit): '/tmp/btrfs-source/modules/@.ro'
Create a snapshot of '/tmp/btrfs-dest/modules/@.ro' in '/tmp/btrfs-dest/modules/@'
Delete subvolume (no-commit): '/tmp/btrfs-dest/modules/@.ro'
Done copying subvolume modules snapshot @
Done copying subvolume modules
Create subvolume '/tmp/btrfs-dest/root'
Create a readonly snapshot of '/tmp/btrfs-source/root/@' in '/tmp/btrfs-source/root/@.ro'
Cloning root/@, 12550290 of 1255029080, 1% done
Cloning root/@, 37650872 of 1255029080, 3% done
Cloning root/@, 62751454 of 1255029080, 5% done
Cloning root/@, 100402326 of 1255029080, 8% done
Cloning root/@, 112952617 of 1255029080, 9% done
Cloning root/@, 138053198 of 1255029080, 11% done
Cloning root/@, 175704071 of 1255029080, 14% done
Cloning root/@, 200804652 of 1255029080, 16% done
Cloning root/@, 213354943 of 1255029080, 17% done
Cloning root/@, 238455525 of 1255029080, 19% done
Cloning root/@, 251005816 of 1255029080, 20% done
Cloning root/@, 276106397 of 1255029080, 22% done
Cloning root/@, 313757270 of 1255029080, 25% done
Cloning root/@, 338857851 of 1255029080, 27% done
Cloning root/@, 351408142 of 1255029080, 28% done
Cloning root/@, 376508724 of 1255029080, 30% done
Cloning root/@, 401609305 of 1255029080, 32% done
Cloning root/@, 439260178 of 1255029080, 35% done
Cloning root/@, 464360759 of 1255029080, 37% done
Cloning root/@, 489461341 of 1255029080, 39% done
Cloning root/@, 527112213 of 1255029080, 42% done
Cloning root/@, 539662504 of 1255029080, 43% done
Cloning root/@, 564763086 of 1255029080, 45% done
Cloning root/@, 589863667 of 1255029080, 47% done
Cloning root/@, 614964249 of 1255029080, 49% done
Cloning root/@, 627514540 of 1255029080, 50% done
Cloning root/@, 652615121 of 1255029080, 52% done
Cloning root/@, 690265994 of 1255029080, 55% done
Cloning root/@, 715366575 of 1255029080, 57% done
Cloning root/@, 765567738 of 1255029080, 61% done
Cloning root/@, 790668320 of 1255029080, 63% done
Cloning root/@, 815768902 of 1255029080, 65% done
Cloning root/@, 828319192 of 1255029080, 66% done
Cloning root/@, 878520356 of 1255029080, 70% done
Cloning root/@, 928721519 of 1255029080, 74% done
Cloning root/@, 991472973 of 1255029080, 79% done
Cloning root/@, 1004023264 of 1255029080, 80% done
Delete subvolume (no-commit): '/tmp/btrfs-source/root/@.ro'
Create a snapshot of '/tmp/btrfs-dest/root/@.ro' in '/tmp/btrfs-dest/root/@'
Delete subvolume (no-commit): '/tmp/btrfs-dest/root/@.ro'
Done copying subvolume root snapshot @
Done copying subvolume root
Done!
root@kmxbilr ~ #

Quote:Here is cmdline.txt...
Terminal

telnet zswap.enabled=1 zswap.compressor=lz4 console=tty1 root=/dev/mmcblk0p2 rootflags=subvol=root/@,autodefrag,compress=lz4 rootfstype=btrfs rootwait logo.nologo quiet noswap loglevel=0 partswap startevent=mountall selinux=0 splash nohdparm net.ifnames=0 biosdevname=0 --startup-event mountall

Looks ok

Quote:Seems that removing initramfs from /boot stops it even getting to splash screen. Going back to initram I get a message to press shift before the splash appears. Even doing this it hangs at 'loading' screen. Maybe it's better to start from scratch now? Confused

See above, no initramfs, nothing on screen

Quote:and config.txt...
Terminal

#initramfs initramfs.gz 0x1500000
gpu_mem_1024=256
gpu_mem_512=144
gpu_mem_256=100
initial_turbo=3
hdmi_ignore_cec_init=1
hdmi_force_hotplug=1
disable_overscan=1
disable_splash=1
dtoverlay=hifiberry-dac
dtparam=i2c_arm=on
dtoverlay=i2c-rtc,ds3231
decode_MPG2=0x73c4f0f6
#dtoverlay=lirc-rpi
arm_freq=700
core_freq=250
sdram_freq=400
over_voltage=0

Looks ok

You can force entering into rescue mode by adding rescue as additional parameter to cmdline in /boot/cmdline.txt. You need do attach an USB keyboard to your RPi

Please note: For rescue mode initramfs has to be enabled
Find all posts by this user
Quote this message in a reply
3rd Sep, 2017, 10:25 PM
Post: #35
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
RE: Migration from Rpi1 -> Rpi2
I hope no Alzheimer too, a hangover though I do have Confused

Added rescue but no change. Tried holding down both left shift and right shift (even space bar), but still goes as far as loading and halts once the bargraph has completed slowly.

FWIW heres the new cmdline.txt.....

Terminal

telnet zswap.enabled=1 zswap.compressor=lz4 console=tty1 root=/dev/mmcblk0p2 rootflags=subvol=root/@,autodefrag,compress=lz4 rootfstype=btrfs rootwait logo.nologo quiet noswap loglevel=0 partswap startevent=mountall selinux=0 splash nohdparm net.ifnames=0 biosdevname=0 --startup-event mountall
rescue
Find all posts by this user
Quote this message in a reply
3rd Sep, 2017, 10:40 PM
Post: #36
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Migration from Rpi1 -> Rpi2
(3rd Sep, 2017 10:25 PM)Skywatch Wrote:  I hope no Alzheimer too, a hangover though I do have Confused

Added rescue but no change. Tried holding down both left shift and right shift (even space bar), but still goes as far as loading and halts once the bargraph has completed slowly.

FWIW heres the new cmdline.txt.....

Terminal

telnet zswap.enabled=1 zswap.compressor=lz4 console=tty1 root=/dev/mmcblk0p2 rootflags=subvol=root/@,autodefrag,compress=lz4 rootfstype=btrfs rootwait logo.nologo quiet noswap loglevel=0 partswap startevent=mountall selinux=0 splash nohdparm net.ifnames=0 biosdevname=0 --startup-event mountall
rescue

That's weird Confused
Rescue mode is started always, I do not have to hit any key, and even after removing root fs (my dev sys is on USB disk) rescue mode is there

Btw, do you have wired of wireless keyboard? I was reading long time ago that the shift key only works with wired keyboards
Find all posts by this user
Quote this message in a reply
3rd Sep, 2017, 11:01 PM
Post: #37
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
RE: Migration from Rpi1 -> Rpi2
Weird it sure is - today trying to do this in parallel with a mysensors gateway/node problem and cleaning the house..... So far none of them are winning..... Maybe rescue mode not starting is a clue? Smile

I have wired usb keyboard attached. And USB mouse too. Network and hdmi cable. That's all (apart from power).....

I could try rescue_early (been reading the wiki!).... but probably get the same result. Initramfs is enabled in config.txt again too, so not that.

Aha!

I now have recovery console.

Seems that rescue only works if splash is set to nosplash..... Who knew?

So, before I dig an even bigger hole, can you kindly let me know what to do now.... ???
Find all posts by this user
Quote this message in a reply
3rd Sep, 2017, 11:29 PM (This post was last modified: 3rd Sep, 2017 11:31 PM by Nachteule.)
Post: #38
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Migration from Rpi1 -> Rpi2
(3rd Sep, 2017 11:01 PM)Skywatch Wrote:  Weird it sure is - today trying to do this in parallel with a mysensors gateway/node problem and cleaning the house..... So far none of them are winning..... Maybe rescue mode not starting is a clue? Smile

I have wired usb keyboard attached. And USB mouse too. Network and hdmi cable. That's all (apart from power).....

I could try rescue_early (been reading the wiki!).... but probably get the same result. Initramfs is enabled in config.txt again too, so not that.

Aha!

I now have recovery console.

Wow, that's great Smile

Quote:Seems that rescue only works if splash is set to nosplash..... Who knew?

No, at least not here. But disabling splash is better for investigating issues ...

Quote:So, before I dig an even bigger hole, can you kindly let me know what to do now.... ???

1) Checking, if your root fs is ok - it should be mounted to /rootfs automatically
2) type exit to continue normal boot process and look if there are error messages
Find all posts by this user
Quote this message in a reply
3rd Sep, 2017, 11:41 PM
Post: #39
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
RE: Migration from Rpi1 -> Rpi2
Now we see the problem....

Switch_root: Failed to execute /sbin/init: No such file or directory

Not sure if it is good or bad news though..... Confused
Find all posts by this user
Quote this message in a reply
4th Sep, 2017, 01:04 AM
Post: #40
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Migration from Rpi1 -> Rpi2
(3rd Sep, 2017 11:41 PM)Skywatch Wrote:  Now we see the problem....

Switch_root: Failed to execute /sbin/init: No such file or directory

Not sure if it is good or bad news though..... Confused

I suppose your image build is broken
Find all posts by this user
Quote this message in a reply
4th Sep, 2017, 02:14 AM
Post: #41
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
RE: Migration from Rpi1 -> Rpi2
(4th Sep, 2017 01:04 AM)Nachteule Wrote:  I suppose your image build is broken

Does not sound good. In the end it would have been quicker to start afresh, well I did try and save some time.
Thanks for helping me out with this, it is always appreciated. Smile
Find all posts by this user
Quote this message in a reply
4th Sep, 2017, 05:26 AM (This post was last modified: 4th Sep, 2017 05:51 AM by Nachteule.)
Post: #42
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Migration from Rpi1 -> Rpi2
(4th Sep, 2017 02:14 AM)Skywatch Wrote:  Does not sound good. In the end it would have been quicker to start afresh, well I did try and save some time.
Thanks for helping me out with this, it is always appreciated. Smile

Another chapter for "afterwards you are always wiser" Dodgy

It would be good idea to check backed up images from time to time (look into file /tmp/xbiancopy.log):

Since image backup of my dev RPi3 failed once (BTRFS complained filesystem error, so root fs was empty in image), I was generating this log file and I'm checking this file sporadically Smile
Find all posts by this user
Quote this message in a reply
11th Oct, 2017, 03:33 AM
Post: #43
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Migration from Rpi1 -> Rpi2
(3rd Sep, 2017 10:40 PM)Nachteule Wrote:  
(3rd Sep, 2017 10:25 PM)Skywatch Wrote:  I hope no Alzheimer too, a hangover though I do have Confused

Added rescue but no change. Tried holding down both left shift and right shift (even space bar), but still goes as far as loading and halts once the bargraph has completed slowly.

FWIW heres the new cmdline.txt.....

Terminal

telnet zswap.enabled=1 zswap.compressor=lz4 console=tty1 root=/dev/mmcblk0p2 rootflags=subvol=root/@,autodefrag,compress=lz4 rootfstype=btrfs rootwait logo.nologo quiet noswap loglevel=0 partswap startevent=mountall selinux=0 splash nohdparm net.ifnames=0 biosdevname=0 --startup-event mountall
rescue

That's weird Confused
Rescue mode is started always, I do not have to hit any key, and even after removing root fs (my dev sys is on USB disk) rescue mode is there

Btw, do you have wired of wireless keyboard? I was reading long time ago that the shift key only works with wired keyboards

Just FYI:

Holding down left shift (yes, only left shift does it) to enter into rescue works again.

This issue was one of the most annoying mystery in the past Dodgy
Find all posts by this user
Quote this message in a reply
31st Oct, 2017, 04:55 AM
Post: #44
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
RE: Migration from Rpi1 -> Rpi2
@Nachteule,

Sorry for the delay, been in hospital....but home now (with a new hip!).... Smile

I got it all working except the lcd display which would not work no matter what I tried. But last night I took another look and it is all working as before with pi2. Now much faster response to menu and streaming. I am happy with this. Smile
Find all posts by this user
Quote this message in a reply
31st Oct, 2017, 05:10 AM
Post: #45
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Migration from Rpi1 -> Rpi2
(31st Oct, 2017 04:55 AM)Skywatch Wrote:  @Nachteule,

Sorry for the delay, been in hospital....but home now (with a new hip!).... Smile

A new hip Cool Hmm, may I ask what happened?

Quote:I got it all working except the lcd display which would not work no matter what I tried. But last night I took another look and it is all working as before with pi2. Now much faster response to menu and streaming. I am happy with this. Smile

Good news, enjoy your Pi Smile
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (4): « Previous 1 2 3 4 Next »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
Question [PROBLEM] Migration from OpenElec? zurdar 4 10,845 14th May, 2015 07:20 PM
Last Post: CurlyMo

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 03:22 AM Powered By MyBB, © 2002-2025 MyBB Group.