Jump to content

Moving root filesystem to another device


Recommended Posts

I'm trying to run Armbian on my Rock 5B by booting off an SD card and having root on NVMe. Here's what I've done:

First, on another Linux system:

Create a gpt partition table on the NVMe. Allocate 256 MB for a /boot (one of these days, booting from NVMe will settle down, but for now...)

Allocate the remainder of the NVMe to /.

Use dd to copy the filesystem from the SD card to the NVME's root partition.

Use gparted to change the UUID of the NVME root and expand the filesystem to use the available space.

Alter the armbianEnv.txt file to point to the NVME's UUID.

Install the SD and NVMe cards on the Rock.

 

When I boot the Rock, it starts up and ssh and local text console access works, but graphical logins crash immediately and produce the "Oh no something went wrong" screen. If I switch back to the SD card, everything works fine. I'm obviously missing something, but what? Note that I don't think this is Rock-specific.

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