Jump to content

Move Armbian "stretch" from SD CARD to SSD. Nothing works...


vegabook

Recommended Posts

I have dd'd Armbian "stretch" onto a 16GB SD card and it's booting my CubieTruck fine. But I have no clue how to move it from there (mmcblk0p1) to my attached 128GB SSD (sda1). I've tried the nand_sata_install shell script but it appears to be a bit old (2 years), created a bunch of weird temp directories:

 

root@cubietruck:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            939M     0  939M   0% /dev
tmpfs           202M  4.0M  198M   2% /run
/dev/mmcblk0p1   15G  1.1G   14G   8% /
tmpfs          1006M     0 1006M   0% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs          1006M     0 1006M   0% /sys/fs/cgroup
tmpfs          1006M     0 1006M   0% /tmp
log2ram          50M  2.3M   48M   5% /var/log
tmpfs           202M     0  202M   0% /run/user/0

and anyway as you can see my SSD does not appear to be visible. I've looked at a bunch of websites which mentions uEnv.txt file on my mounted mmcbl0p1 drive in root but there is no such file. There is an armbianEnv.txt file but that has no obvious way to change it. Are there up to date instructions somewhere on how to achieve this?

Link to comment
Share on other sites

Actually I have gotten it working using this. The only difference is that on CubieTruck you mustn't edit the boot.cmd directly, just edit armbianEnv.txt with the UUID of your SSD, then do the fstab bit. You don't even have to rebuild the boot.scr because I think it's configured to read from armbianEnv.txt. 

 

Link to comment
Share on other sites

2 hours ago, vegabook said:

I've tried the nand_sata_install shell script but it appears to be a bit old (2 years), created a bunch of weird temp directories:


Well, if you use some very outdated script ... with a recent image, this for sure won't work. Many things have changed since ... But you should have more recent script on your image, also there is armbian-config and you can call that script from there. Can you provide:

 

armbianmonitor -u just for the record to see which image do you have.

Link to comment
Share on other sites

yes actually that bananapi thing is not working. It's given me a read only file system. Let me try to find the nand_sata_install script. I'm starting from scratch. 

The image I have is the Armbian server image that I downloaded off this site a few hours ago. armbianmonitor -u is giving me an error probably related to the read only file system. 

Link to comment
Share on other sites

Done. Man Paypal is one BIATCH to get working again after not having logged in for a while! Oh and, CubieTruck now living life!

nvidia@tegra-ubuntu:~$ ssh tbrowne@192.168.1.192
tbrowne@192.168.1.192's password:
  ____      _     _      _                   _    
 / ___|   _| |__ (_) ___| |_ _ __ _   _  ___| | __
| |  | | | | '_ \| |/ _ \ __| '__| | | |/ __| |/ /
| |__| |_| | |_) | |  __/ |_| |  | |_| | (__|   <
 \____\__,_|_.__/|_|\___|\__|_|   \__,_|\___|_|\_\
                                                  

Welcome to ARMBIAN 5.35 user-built Debian GNU/Linux 9 (stretch) 4.13.16-sunxi   
System load:   0.08 0.15 0.09      Up time:       5 min        
Memory usage:  2 % of 2011MB     IP:            192.168.1.192
CPU temp:      38°C               
Usage of /:    1% of 112G       

Last login: Tue Nov 28 22:51:51 2017 from 192.168.1.101

tbrowne@cubietruck:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            939M     0  939M   0% /dev
tmpfs           202M  4.0M  198M   2% /run
/dev/sda1       112G  454M  111G   1% /
tmpfs          1006M     0 1006M   0% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs          1006M     0 1006M   0% /sys/fs/cgroup
tmpfs          1006M     0 1006M   0% /tmp
/dev/mmcblk0p1   15G  1.1G   14G   8% /media/mmcboot
log2ram          50M  1.5M   49M   3% /var/log
tmpfs           202M     0  202M   0% /run/user/1000
tbrowne@cubietruck:~$

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines