Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Corrupted SD with System on SATA

Featured Replies

Hi,

A few months back I installed version 5.10 on a cubietruck.  After setting everything up I configure the system to boot from SD and have the system on SATA.  Everything was fine until yesterday.  It looks like my SD card is corrupted.  I created a new SD card using version 5.14 and booted, after booting I mounted the SATA drive and everything seems fine on the SATA.  The question is how can I boot again from SD and use the existing system on my SATA?  I don’t want to have to reinstall/configure everything.

 

Thank you

 

Mike

At least you have to change root in bootargs from mmcblk0p1 to sda1 in /boot/boot.cmd and do an "mkimage" as specified at end of file.

 

The kernel is on SD card and will be newer, so you will need to update modules and headers, by upgrading with apt if you can boot on sata or by copying /lib/modules/<kernel version> and /usr/src/linux-headers-<kernel version>

  • Author

Thank you for the quick response arox.

 

Would it be easier if I just made my SD with the same version I originally used, I found the version I used originally. 

 

 

you will need to update modules and headers, by upgrading with apt if you can boot on sata

 

How can I boot from SATA directly rather than relying on the SD?

Cubietruck should be possible to boot SATA or USB directly from u-boot while you still need to load an u-boot and a boot script from SD card. I am not using this method so I don't know if it's enabled in u-boot configuration.

 

If you use our images, than upgrades usually don't need any manual fixing. (SD card /boot folder is mounted to /boot so zImage is updated properly)

  • Author

So are you saying if I keep 5.14 on my SD card, change the bootargs to point to sda1 and reboot, then the version I have on my SATA (5.10) should update without any manual copying of files?

 

Thank you,

 

Mike

If booting with mixed new kernel and old stuff on sata drive do not work there is another option. Boot system just only from SD and upgrade system on SATA drive in chroot enviroment.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.