Author: macca196940

Orange Pi PC Rasbian Image

[Copy link]

4

threads

14

posts

97

credits

Registered member

Rank: 2

credits
97
Published in 2016-3-2 18:26:49 | Show all floors
I have managed to make it stabile for my own use and copied it to an image in my Laptop. The image can be copied to a new card and it works. The problem is that the image is now 8GB and I have had no time to make it smaller.
If you take a 8GB SD card and make an image of that by linux dd, you end with a 8GB image even if the partitions in the card are only about 1.5GB all together.
I need an idea, how to make it small. So far I have found no easy way.

OrangePi (PC) does not run native Raspbian copied from Raspbian pages. It can use only those images you find from OrangePi pages:
http://www.orangepi.org/downloadresources/

0

threads

21

posts

112

credits

Registered member

Rank: 2

credits
112
Published in 2016-3-3 09:17:24 | Show all floors
mistofeles replied at 2016-3-2 18:26
I have managed to make it stabile for my own use and copied it to an image in my Laptop. The image c ...

Just compress the image (gz or zip).

7

threads

81

posts

317

credits

Intermediate member

Rank: 3Rank: 3

credits
317
Published in 2016-3-3 19:43:38 | Show all floors
Edited by rodolfo at 2016-3-3 21:43

@mistofeles

You resize/expand your sdcard by properly resizing its partitions. You may use "gparted" to do this.

1. Plug in your sdcard on the Linux computer
2. Login as root
3. Find out what device is assigned to the sdcard ( e.g. /dev/sdc )
4. Start gparted with the device name of the sdcard ( e.g. gparted /dev/sdc )
5. Select the last partition ( large root partition )
6. Resize the partition to about 1.8 G , confirm execution of changes
7. Exit gparted
8. Your sdcard now only contains valid data in less than 2G
9. Image 2G with dd to your harddrive ( dd if=/dev/sdc of=<path-to-your-image> bs=1M count=2000 )
10. You now have a resized "master" image which you can copy ( dd ) to any sdcard from 2G upwards
11. Expand your new sdcard per steps 1-7

et voilà - enjoy !

4

threads

14

posts

97

credits

Registered member

Rank: 2

credits
97
Published in 2016-3-3 21:26:15 | Show all floors
rodolfo replied at 2016-3-3 19:43
@mistofeles

You resize/expand your sdcard by properly resizing its partitions. You may use "gparted ...

I have not managed with parted in orange itself or gparted in my Linux laptop.
They both give an error message about the partition border being out of sector limit and don't agree to do anything.
Gparted is showing the card as unformatted.

The boot partition seems to be built somehow abnormal. fdisk tells that it starts at block 40960, when normall SD cards start at 2048.
Possibly there is some kind of 'bootsector' in the beginning of the card.

I tried to follow the documentation of u-boot with no use. I did not catch how to build a card.

7

threads

81

posts

317

credits

Intermediate member

Rank: 3Rank: 3

credits
317
Published in 2016-3-4 04:40:59 | Show all floors
mistofeles replied at 2016-3-3 14:26
I have not managed with parted in orange itself or gparted in my Linux laptop.
They both give an  ...

Pls. try again on your Linux laptop and report the results.

13

threads

77

posts

444

credits

Intermediate member

Rank: 3Rank: 3

credits
444
Published in 2016-3-4 12:50:34 | Show all floors
http://www.armbian.com/download/
Use these images most of the drivers and software  will work

4

threads

14

posts

97

credits

Registered member

Rank: 2

credits
97
Published in 2016-3-4 14:37:37 | Show all floors
Manjup replied at 2016-3-4 12:50
http://www.armbian.com/download/
Use these images most of the drivers and software  will work

OMG ! Why has nobody told me about this page before
My fingers are itching to get a possibility test these

0

threads

7

posts

24

credits

Novice

Rank: 1

credits
24
Published in 2017-1-11 21:47:27 | Show all floors
Best and fastest OS for my opi pc!!
Published in 2024-6-4 23:11:45 | Show all floors
With a Curacao gaming license, you can trust that your gaming experience is safe and secure.        1Win Bonus Code Vietnam
Published in 2024-6-5 19:27:49 | Show all floors
Cet article explore le monde des codes promo 1xBet, offrant un guide complet pour maximiser votre expérience de pari.        code promo 1xbet bénin
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list