Jump to content

Jammy/Focal nand-sata-install hangs after reboot


sgjava

Recommended Posts

I've tried nand-sata-install on Armbian_22.05.3_Odroidxu4_jammy_current_5.4.199.img and Armbian_22.05.3_Odroidxu4_focal_current_5.4.199.img. Right at the end of running nand-sata-install there's an error. If I try to install anything after nand-sata-install it will hang or the SSD will go into read only mode. To be safe I tested various SD cards and USB to SATA controllers.

sed: can't read /boot/boot.cmd: No such file or directory
sed: can't read /boot/boot.cmd: No such file or directory
Error while creating U-Boot loader image with mkimage
umount: /mnt/nand-sata-install.wwpusQ/bootfs: not mounted.

 

Edited by sgjava
Link to comment
Share on other sites

Can you check /var/log/nand-sata-install.log? Maybe some clues what happened there.

Link to comment
Share on other sites

Nothing weird from what I can tell. I ordered another USB3 to SATA adapter. An older XU4 I have has a similar log and it works, but it was installed months ago.

Mon Jun 27 07:13:25 PM EDT 2022: Start nand-sata-install.


Old UUID:  UUID=bc61c55d-8e89-422e-bd96-6bf0901b94ea
SD UUID:   UUID=bc61c55d-8e89-422e-bd96-6bf0901b94ea
SATA UUID: UUID=5e24c2e8-ebaf-4897-bc37-d10cfafb3d47
eMMC UUID:  
Boot: $1  
Root: $2 /dev/sda1 ext4
Usage: 1063
Dest: 227055

/etc/fstab:
UUID=bc61c55d-8e89-422e-bd96-6bf0901b94ea / ext4 defaults,noatime,commit=600,errors=remount-ro 0 1
tmpfs /tmp tmpfs defaults,nosuid 0 0

/etc/mtab:
/dev/mmcblk1p1 / ext4 rw,noatime,errors=remount-ro,commit=600 0 0
/dev/mmcblk1p1 /var/log.hdd ext4 rw,noatime,errors=remount-ro,commit=600 0 0
/dev/sda1 /mnt/nand-sata-install.wwpusQ/rootfs ext4 rw,relatime,stripe=8191 0 0
/dev/zram1 /var/log ext4 rw,relatime,discard 0 0

Files currently open for writing:
nfsdcld    701            root    6u   REG  179,1    32768 43678 /var/lib/nfs/nfsdcld/main.sqlite
vnstatd   1566          vnstat    3u   REG  179,1    69632 43683 /var/lib/vnstat/vnstat.db

Trying to stop running services to minimize open files:
Stopping nfs-mountd.service 
Stopping nfs-idmapd.service 
Stopping nfs-blkmap.service 
Stopping cron.service 

Checking again for open files:
nfsdcld    701            root    6u   REG  179,1    32768 43678 /var/lib/nfs/nfsdcld/main.sqlite
vnstatd   1566          vnstat    3u   REG  179,1    69632 43683 /var/lib/vnstat/vnstat.db

Copying 44257 files to /dev/sda1. Finishing transfer to disk, boot from SD/eMMC

Checking again for open files:
nfsdcld    701            root    6u   REG  179,1    32768 43678 /var/lib/nfs/nfsdcld/main.sqlite
vnstatd   1566          vnstat    3u   REG  179,1    69632 43683 /var/lib/vnstat/vnstat.db

Mon Jun 27 07:16:08 PM EDT 2022: Finished

 

Edited by sgjava
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines