Jump to content

cannot boot from nvme drive


Sharelter

Recommended Posts

Hi, I just downloaded the newest release of Armbian and flashed into the SD card, it boots up fine from the SD Card.
But I wanna install the system into the Samsung PM9A1 SSD,
So I followed the instruction on the armbian page,
partioned the drive and made a ext4 filesystem.
but I got stuck when I tried to boot up from SSD.
I hooked up a serial cable and got this information

37e608ddccedf0af0ccccc5ef9165578eb65cf95

Any idea about this?

Link to comment
Share on other sites

Hi, I solved this problem by editing the `boot.cmd` file under /boot

 

I checked `/boot/armbianEnv.txt` and got nothing wrong, but the `boot.cmd` still uses the old `mmcblk0p1` which is not correct.

After I edited it and compiled it to boot.scr,

and the system finally boots up normally again!

Link to comment
Share on other sites

Quote

I checked `/boot/armbianEnv.txt` and got nothing wrong, but the `boot.cmd` still uses the old `mmcblk0p1` which is not correct.

After I edited it and compiled it to boot.scr,

and the system finally boots up normally again!

 

Odd, my boot.cmd file has setenv rootdev "/dev/mmcblk0p1" yet boots just fine from nvme, without sdcard of emmc installed.

 

How did you create boot.scr from boot.cmd?

 

Found it!

# Recompile with:
# mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr

 

Edited by lurk101
addition
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