please choosego to mobile | Continue to access the PC version
Author: alfla

Boot linux from sata drive

[Copy link]

1

threads

46

posts

583

credits

Senior member

Rank: 4

credits
583
Published in 2015-6-9 13:18:03 | Show all floors
piento replied at 2015-6-9 04:30
the problem with plus is that we haven't uEnv.txt

If you have boot.scr then send that instead.

6

threads

43

posts

222

credits

Intermediate member

Rank: 3Rank: 3

credits
222
Published in 2015-6-10 18:06:27 | Show all floors
where I find it?

1

threads

25

posts

212

credits

Intermediate member

Rank: 3Rank: 3

credits
212
Published in 2015-6-11 05:04:24 | Show all floors
In boot folder on mmc.

0

threads

6

posts

78

credits

Registered member

Rank: 2

credits
78
Published in 2015-6-11 23:43:50 | Show all floors
Hi, I can't run my oPi Plus, so I can't test it. I bought it because of SATA and Gigabit lan so I hope it is possible to boot up from SATA.

Could someone please create step-by-step guide for booting from SATA on Orange Pi Plus?

Thank you very much.

16

threads

105

posts

989

credits

Senior member

Rank: 4

credits
989
Published in 2015-6-14 17:28:14 | Show all floors
You cannot boot from sata, you need to have the boot partition in emmc or sd card, than you can point theme to the sata disk.
OrangePi A20, with Qbee-X_testing

Still waiting for refund/replacement of no working op+2e bought on 11/11 >_<...really serious company

0

threads

6

posts

78

credits

Registered member

Rank: 2

credits
78
Published in 2015-6-15 20:51:18 | Show all floors
Yes, I know that. But how I can point to SATA disk? I see only uImage file on boot partiton. It is not like rPi, where I can edit the config file. Thank you.

6

threads

43

posts

222

credits

Intermediate member

Rank: 3Rank: 3

credits
222
Published in 2015-6-16 16:16:39 | Show all floors
Yes. How we can point it?

1

threads

25

posts

212

credits

Intermediate member

Rank: 3Rank: 3

credits
212
Published in 2015-6-21 16:31:19 | Show all floors
What files You have on /boot partition? Show output of:
  1. ls -l /boot
Copy code

1

threads

39

posts

151

credits

Registered member

Rank: 2

credits
151
Published in 2015-9-25 05:21:00 | Show all floors
  1. root@orangepi:/boot# ls -l /boot
  2. total 8176
  3. -rw-r--r-- 1 root root  450644 Nov  7  2012 abi-3.1.10-6-ac100
  4. -rw-r--r-- 1 root root     277 Sep 25 05:01 bootimg.cfg-ac100
  5. -rw-r--r-- 1 root root     213 Sep 25 05:01 bootimg.cfg-nexus7
  6. -rw-r--r-- 1 root root   90566 Sep 25 04:46 config-3.1.10-6-ac100
  7. -rw-r--r-- 1 root root 2817269 Feb  5  2014 initrd.img
  8. -rw-r--r-- 1 root root 1520246 Nov  7  2012 System.map-3.1.10-6-ac100
  9. lrwxrwxrwx 1 root root      22 Feb  5  2014 vmlinuz -> vmlinuz-3.1.10-6-ac100
  10. -rw-r--r-- 1 root root 3472448 Nov  7  2012 vmlinuz-3.1.10-6-ac100
Copy code


I tried to modify the bootimg.cfg-ac100 to:
  1. cmdline = mem=512M@0 tegrapart=recovery:300:a00:800,boot:d00:1000:800,mbr:1d00:200:800 console=tty0 root=/dev/sda1 splash
Copy code

and also bootimg.cfg-nexus to:
  1. cmdline = root=/dev/sda1 ro console=tty0 access=m2 splash
Copy code


df-l gives:
  1. root@orangepi:/boot# df -l
  2. Filesystem     1K-blocks    Used Available Use% Mounted on
  3. /dev/root        3466184 2918204    371904  89% /
  4. devtmpfs          382444       4    382440   1% /dev
  5. none                   4       0         4   0% /sys/fs/cgroup
  6. none              102740     684    102056   1% /run
  7. none                5120       0      5120   0% /run/lock
  8. none              513684      76    513608   1% /run/shm
  9. none              102400      20    102380   1% /run/user
  10. /dev/mmcblk0p1     41882    4730     37152  12% /media/orangepi/F875-EAED
  11. /dev/sda1      240364032 3055428 225098736   2% /media/orangepi/rootfs
Copy code


10

threads

448

posts

4364

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4364
Published in 2015-9-25 17:17:45 | Show all floors
shwan replied at 2015-9-24 22:21
I tried to modify the bootimg.cfg-ac100 to:

and also bootimg.cfg-nexus to:

You can easily boot from USB disk/sata drive, look at this.

You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list