Power & Source of Big Ideas

mSATA SSD Boot ?

Moderators: chensy, FATechsupport

I just bought a Kingspec 64GB MiniPCIe mSATA Half-size SSD for my NanoPi Duo. I used Win32DiskImager to flash the image to it. I placed it into the NanoPi Duo Starter Kit and powered it on. But it did not boot. Can the Nano Pi Duo boot from mSATA ?
I had the same problem, so I used both, a 8 GB SD card and a 32 GB mSATA SSD. I changed the /boot/boot.cmd on the SD (/ dev / mmcblk0p1) to (/ dev / sda2), that the SSD as / is integrated.

Code: Select all

setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/sda2 rootfstype=ext4 rw rootwait fsck.repair=${fsck.repair} panic=10 ${extra} fbcon=${fbcon}

After editing /boot/boot.cmd I do this:

Code: Select all

sudo mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr
sudo shutdown -r now
Thanks for the great help, that worked!
However I am looking for a way to just use mSATA drive alone without having a uSD installed. Is that possible ?
I am thinking this has to be done in U-boot.
Just to update this. I was told by support this.

The SSD is not for system storage in our design, it is only for data backup,
so we don't make any instruction for how run OS on it, sorry.


This is too bad because the mSATA is SO much faster and better than the usd card.
I wish they had designed it to boot from it, it would have made this device perfect.
SunWukong wrote:
I had the same problem, so I used both, a 8 GB SD card and a 32 GB mSATA SSD. I changed the /boot/boot.cmd on the SD (/ dev / mmcblk0p1) to (/ dev / sda2), that the SSD as / is integrated.

Code: Select all

setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/sda2 rootfstype=ext4 rw rootwait fsck.repair=${fsck.repair} panic=10 ${extra} fbcon=${fbcon}

After editing /boot/boot.cmd I do this:

Code: Select all

sudo mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr
sudo shutdown -r now



how did you resize the mSATA ssd ?
The wiki says "When you boot OS for the first time with your image card your OS will automatically resize the file system"
But that is for the uSD card.
you dont need to resize the msata sdd if you format the ssd normally and then recursively copy the uSD to the ssd and then change the boot argument!?

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 42 on 15 Jul 2016, 01:04

Users browsing this forum: No registered users and 1 guest