Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34

Thread: Copy of raspi 3 JeOS SD-card not booting, directories missing

  1. #1

    Default Copy of raspi 3 JeOS SD-card not booting, directories missing

    Hy!

    Copied a running SD-card of JeOS for raspi 3 with enlightenment desktop with Win32diskimager. On booting the raspi hangs while trying to mount some partition (can see on display, after loading kernel) without timeout and never finishes.

    Mounted the card on another machine and found that eg

    /dev/disk

    is missing completely. How can that happen with a bit-by-bit copy?

    Is there any way to make the copy bootable with reasonable effort?

    Many thanks in advance!
    Kind regards

    raspu

  2. #2
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,287

    Default Re: Copy of raspi 3 JeOS SD-card not booting, directories missing

    That is virtual only exits when hardware is attached.

  3. #3

    Default Re: Copy of raspi 3 JeOS SD-card not booting, directories missing

    OK, so how to make this beast boot? :-)
    Kind regards

    raspu

  4. #4
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,287

    Default Re: Copy of raspi 3 JeOS SD-card not booting, directories missing

    No Idea. If you moved a running system from a working machine to another check that /etc/fstab is pointing to the new hardware not the old

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,331
    Blog Entries
    15

    Default Re: Copy of raspi 3 JeOS SD-card not booting, directories missing

    Hi
    What's the release date of the image? Don't have a serial connection available? If it's last years image, you need to edit grub, press 'e' and on the linux line change CMA=384M to CMA=300M, if using a serial connection as well, change S0 to S1 for the tty....
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  6. #6

    Default Re: Copy of raspi 3 JeOS SD-card not booting, directories missing

    I looked with

    Code:
    sudo blkid
    and apparently the IDs match to the one of the original card and fstab refers to

    /dev/disk/by-id:

    Code:
    /dev/disk/by-id/mmc-USDU1_0x1301b345-part2 / ext4 noatime,nobarrier 1 1
    /dev/disk/by-id/mmc-USDU1_0x1301b345-part1 /boot/efi vfat defaults 0 0
    /dev/disk/by-id/mmc-USDU1_0x1301b345-part3 swap swap defaults 0 0
    Kind regards

    raspu

  7. #7

    Default Re: Copy of raspi 3 JeOS SD-card not booting, directories missing

    This is what I get in the console after the edit by malcomlewis (had to add some info on the naming of the devices not shown correctly in the console, but on the screen, from which I took some photos...):

    Code:
     Booting a command list
    
    Loading Linux 4.14.1-1-default ...
    Loading initial ramdisk ...
    [    4.994511] kvm [1]: Invalid trigger for IRQ4, assuming level low
    [    6.848625] OF: /soc/usb@7e980000: could not get #phy-cells for /phy
    [ TIME ] Timed out waiting for device dev-disk-by\x2did-mmc\x2dUSDU1_0x1301b345\x2dpart3.device.
    [DEPEND] Dependency failed for Resume from /dev/disk-by-id/mmc
    [  OK  ] Reached target Local File Systems (Pre).
    [  OK  ] Reached target Local File Systems.             
    [  OK  ] Reached target System Initialization.                                       
    [  OK  ] Reached target Basic System.                   
    [*     ] A start job is running for dev-disk-by\x2did-mmc\x2dUSDU1_0x1301b345\x2dpart2.device (4min 12s / no limit)
    So apparently the naming of the devices is not correct? Would it help to change the naming in the "linux" line of grub? But which are the correct one's?

    Maybe faster to start over with the old TW JeOS image from October 2017 and add Enlightenment desktop...
    Kind regards

    raspu

  8. #8

    Default Re: Copy of raspi 3 JeOS SD-card not booting, directories missing

    This is what the linux line in grub says:

    Code:
    linux        /boot/Image-4.14.1-1-default root=UUID=e1c89131-e6c3-4ad6-85fa-5fb4fab04c0e  root=/dev/disk/by-id/mmc-USDU1_0x1301b345-part2 disk=/dev/disk/by-id/mmc-USDU1_0x1301b345 resume=/dev/disk/by-id/mmc-USDU1_0x1301b345-part3 quiet splash=silent plymouth.enable=0  swiotlb=512,force cma=384M console=tty0 console=ttyS0,115200n8 quiet

    and these are the actual disk UUIDs I get for this card:

    Code:
    sudo blkid
    ...
    /dev/sdd1: SEC_TYPE="msdos" LABEL="EFI" UUID="2835-4042" TYPE="vfat" PARTUUID="a7d16a20-01"
    /dev/sdd2: LABEL="ROOT" UUID="e1c89131-e6c3-4ad6-85fa-5fb4fab04c0e" TYPE="ext4" PARTUUID="a7d16a20-02"
    /dev/sdd3: UUID="e2caaf94-c5ba-403c-a323-991a0e466f5b" TYPE="swap" PARTUUID="a7d16a20-03"
    So apparently the info in grub is identical to the UUID of the root partition, or? Why no boot?
    Kind regards

    raspu

  9. #9
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,331
    Blog Entries
    15

    Default Re: Copy of raspi 3 JeOS SD-card not booting, directories missing

    Quote Originally Posted by suse_rasputin View Post
    This is what the linux line in grub says:

    Code:
    linux        /boot/Image-4.14.1-1-default root=UUID=e1c89131-e6c3-4ad6-85fa-5fb4fab04c0e  root=/dev/disk/by-id/mmc-USDU1_0x1301b345-part2 disk=/dev/disk/by-id/mmc-USDU1_0x1301b345 resume=/dev/disk/by-id/mmc-USDU1_0x1301b345-part3 quiet splash=silent plymouth.enable=0  swiotlb=512,force cma=384M console=tty0 console=ttyS0,115200n8 quiet
    Why no boot?
    Hi
    OK so this system has already booted? What is the image date?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  10. #10

    Default Re: Copy of raspi 3 JeOS SD-card not booting, directories missing

    As I wrote: the original install is doing fine, only the Windisk32 copy of the SD-card will not boot

    Code:
    openSUSE-Tumbleweed-ARM-JeOS-raspberrypi3.aarch64-2017.06.10-Build2.7.raw.xz
    ...with Enlightenment desktop, you remember? :-D

    https://forums.opensuse.org/showthre...weight-desktop
    Kind regards

    raspu

Page 1 of 4 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •