PermitRootLogin yes AllowUsers root user
Announcement
Collapse
No announcement yet.
Announcement
Collapse
No announcement yet.
Running Linux From SD Card or USB Flash Drive - Using Balbes150 Method And Files.
Collapse
This is a sticky topic.
X
X
-
Originally posted by RISCy Dude View PostAll work is credited to Balbes150 @balbes150.
Many devices are now supported.
To get the latest information, always look for balbes150's recent posts in this thread.
Running Linux from SD card or USB Flash drive on the Vega S95.
There are two separate steps to running Linux(or OpenELEC) on the Vega S95, all models.
1.) U-boot needs to be modified to enable booting from SD Card or Flash Drive.
NOTE: If you have already done Step 1, for instance, you already modified u-boot for OpenELEC, You can skip Step1
2.) The SD Card or Flash Drive needs to be prepared for the OdroidC2 Ubuntu-Mate image.
This is not too difficult, but as with all user actions related to running unofficial firmware, the user is responsible. Proceed at your own risk.
I did not see much risk, but the decision is yours.
Step 1.) Modifying u-boot to enable SD Card and/or Flash Drive booting.
NOTE: No change to the installed Android will take place, only u-boot will be amended.
1a.) Download update_uboot for your model from here. Copy both to the root of an SD Card. NOTE: This is balbes150's updated U-boot modify script and method.
1b.) With no SD card inserted in the S95, power on the S95. When Android boots, insert the SD Card to the S95. Open the Backup&Update app. Under the "Local Update" section, click "Select". It will examine the SD Card and you should see the file, "'aml_autoscript.zip", select it. This will return you to the Update&Backup app's home screen. In the "Local Update" section, click "Update", to run the update.
When complete, the S95 will reboot to Android. Remove the SD Card from the S95 and power it down. That is all we need with that SD Card, you can use it in the next step, the tool will wipe it when writing the image in the following step.
Step 2.) Preparing the SD Card or Flash Drive for OdroidC2 Ubuntu-Mate on the S95.
SD Card Class10 or better, at least 8GB recommended.
Tool you will need.
2a.) HDD Raw Copy Tool from HDDGURU.com
-If you want to install the tool, use the installed version.
-If you don't want to install the tool, use the Portable version. I used this, I like "Portable" programs.
All other files needed can be found here.
-Extract the file. The resulting file will be, "telos_ubuntu_odroidc2.img". If your model of box is different or you have chosen a different Linux distro, the file name will be similar.
2b.)Run HDD Raw Copy Tool as administrator. Using the tool, double-click "FILE", locate, select and load the image, "telos_ubuntu_odroidc2.img". Click continue.
-Pay very close attention in choosing the target, this will be the SD card or Flash drive that will be written to.
Warning: Make certain the "Target" you choose is the SD card or Flash drive you intend to write to. If you choose the wrong drive(hard drives included), the tool will overwrite it, data loss will occur. SO MAKE VERY CERTAIN YOU CHOOSE THE DRIVE(SD Card or Flash drive) YOU INTEND TO WRITE TO!
-If satisfied you have chosen the correct Target, click continue.
LAST CHANCE TO BACK OUT.
-Click "Start" and wait for completion.
Once done, close the tool.
With the S95 powered down, insert the SD card. Power on the S95. Be patient, it can take 3-7 minutes before you see the login screen.
If after 10 minutes you don't get to the Odroid login screen, power down, wait 5 seconds and reboot. If it fails to get to the login screen again, power down, wait 5 seconds and reboot. This has taken me as many as 3 repeats to get to the login screen.
Different cards seem to be more, or less, tolerant of the first boot. Once you get to the login screen, the password is odroid
Subsequent boots are fast.
balbes150 has additional Linux images, Debian, ARMBIAN, Alt Linux and others, see Linux folder here.. Prepare SD Card same as Step 2.
Tips and tricks for the Debian Image, including adding a desktop environment and password, can be found here. <<<<<<NOTE: Only for reference, do not use files found at this link, use only files found on balbes150's Yandex site.
An OpenELEC image is also available here. There are OpenELEC versions that run and boot from USB flash drive or SD card. Also a version for install to internal memory.
I'm using a Beelink MiniMXiii-ii. SD card prepared with:
v_0.6
uboot_32Mb_20161122 img
Armbian_5.24_Amlogic-s905x_Ubuntu_xenial_3.14.29_desktop_20161105 img
SD boots to CLI login
Ubunt 16.04.1 LTS amlogic-s905x tty1
amlogic-s905x login:
What user here? I see that password is odriod
Comment
-
Originally posted by Loc View Post
"Once you get to the login screen, the password is odroid"
I'm using a Beelink MiniMXiii-ii. SD card prepared with:
v_0.6
uboot_32Mb_20161122 img
Armbian_5.24_Amlogic-s905x_Ubuntu_xenial_3.14.29_desktop_20161105 img
SD boots to CLI login
Ubunt 16.04.1 LTS amlogic-s905x tty1
amlogic-s905x login:
What user here? I see that password is odriod
Comment
-
Yes,
I did it last two years using rkxxxx devices, see http://freaktab.com/forum/tv-player-...y-to-dual-boot. It's simple and no need to flash anymore. Tomorrow i will get a qbox and if your U-Boot is safe I will made an attempt.
Comment
-
To run any system from external media, u-boot in internal memory do not need to change. It is sufficient to activate universal multiboot and to write the correct script commands, which need to be done to run an external system.
I recommend to keep the original u-boot in the internal memory. I don't recommend, without a need to change the executable code of u-boot in the internal memory. Using script - safe procedure, as it does not change the code of u-boot. In the original code, u-boot (which is located from the factory in the internal memory) can contain a unique code to support specific iron TV set-top box. This code is not in my version of the source code of u-boot. My code is based on a shared universal code for Amlogic.
Comment
What's Going On
Collapse
There are currently 4994 users online. 1 members and 4993 guests.
Most users ever online was 37,478 at 04:14 on 26 June 2024.
Comment