December 12, 2019, 01:39:50 pm

News:

Have you visited the Allwinner Chipset wiki? - http://linux-sunxi.org/


Cubiuntu Cubieboard 2 1.001V flashing gimme-all-the-space script

Started by ikeeki, April 19, 2014, 08:21:53 pm

Previous topic - Next topic

ikeeki

Hi, this is the script I've made (thanks to CubieTech for the ftp account) to install cubiuntu 1.001 cubieboard 2 edition in nand.

You need to select  the code below , copy down on a file named whatever.sh
You need 105 MB of freespace in your sdcard.
You need then to install axel in your sdcard distro (cubian, qbee-x, cubieez, debian...):

sudo apt-get install axel

then (always as sudo)

Quotechmod 777 /path/to/the/holy/script


then

Quote/path/to/the/holy/script


or

cd /path/to/the/holy/


./script


And wait. It takes a long time, as it is a 4gb download, the good news is that (supposedly) can't fail and it is totally newby friendly.

Then shutdown, unplug the sdcard and turn the ctruck on again. Default video output is hdmi.

sudo umount /dev/nand1 ;
sync ;
sudo umount /dev/nand2 ;
sync ;
sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/a.img ;
sync ;
sudo dd if=a.img of=/dev/nand bs=1024 count=1024 ;
sync ;
sudo rm a.img ;
sync ;
sync ;

sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/b.img ;
sync ;
sudo dd if=b.img of=/dev/nand bs=1024 count=16384 seek=1024 ;
sync ;
sudo rm b.img ;
sync ;

sync ;




sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/1.img ;
sync ;
sudo dd if=1.img of=/dev/nand bs=1024 count=102400 seek=17408 ;
sync ;
sudo rm 1.img ;
sync ;

sync ;



sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/2.img ;
sync ;
sudo dd if=2.img of=/dev/nand bs=1024 count=102400 seek=119808 ;
sync ;
sudo rm 2.img ;
sync ;

sync ;





sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/3.img ;
sync ;
sudo dd if=3.img of=/dev/nand bs=1024 count=102400 seek=266240 ;
sync ;
sudo rm 3.img ;
sync ;

sync ;





sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/4.img ;
sync ;
sudo dd if=4.img of=/dev/nand bs=1024 count=102400 seek=324608 ;
sync ;
sudo rm 4.img ;
sync ;

sync ;




sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/5.img ;
sync ;
sudo dd if=5.img of=/dev/nand bs=1024 count=102400 seek=427008 ;
sync ;
sudo rm 5.img ;
sync ;

sync ;






sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/6.img ;
sync ;
sudo dd if=6.img of=/dev/nand bs=1024 count=102400 seek=529408 ;
sync ;
sudo rm 6.img ;
sync ;

sync ;







sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/7.img ;
sync ;
sudo dd if=7.img of=/dev/nand bs=1024 count=102400 seek=631808 ;
sync ;
sudo rm 7.img ;
sync ;

sync ;






sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/8.img ;
sync ;
sudo dd if=8.img of=/dev/nand bs=1024 count=102400 seek=734208 ;
sync ;
sudo rm 8.img ;
sync ;

sync ;







sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/9.img ;
sync ;
sudo dd if=9.img of=/dev/nand bs=1024 count=102400 seek=836608 ;
sync ;
sudo rm 9.img ;
sync ;

sync ;






sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/10.img ;
sync ;
sudo dd if=10.img of=/dev/nand bs=1024 count=102400 seek=939008 ;
sync ;
sudo rm 10.img ;
sync ;

sync ;







sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/11.img ;
sync ;
sudo dd if=11.img of=/dev/nand bs=1024 count=102400 seek=1041408 ;
sync ;
sudo rm 11.img ;
sync ;

sync ;







sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/12.img ;
sync ;
sudo dd if=12.img of=/dev/nand bs=1024 count=102400 seek=1143808 ;
sync ;
sudo rm 12.img ;
sync ;

sync ;





sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/13.img ;
sync ;
sudo dd if=13.img of=/dev/nand bs=1024 count=102400 seek=1246208 ;
sync ;
sudo rm 13.img ;
sync ;

sync ;






sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/14.img ;
sync ;
sudo dd if=14.img of=/dev/nand bs=1024 count=102400 seek=1348608 ;
sync ;
sudo rm 14.img ;
sync ;

sync ;







sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/15.img ;
sync ;
sudo dd if=15.img of=/dev/nand bs=1024 count=102400 seek=1451008 ;
sync ;
sudo rm 15.img ;
sync ;

sync ;







sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/16.img ;
sync ;
sudo dd if=16.img of=/dev/nand bs=1024 count=102400 seek=1553408 ;
sync ;
sudo rm 16.img ;
sync ;

sync ;






sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/17.img ;
sync ;
sudo dd if=17.img of=/dev/nand bs=1024 count=102400 seek=1655808 ;
sync ;
sudo rm 17.img ;
sync ;

sync ;





sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/18.img ;
sync ;
sudo dd if=18.img of=/dev/nand bs=1024 count=102400 seek=1758208 ;
sync ;
sudo rm 18.img ;
sync ;

sync ;





sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/19.img ;
sync ;
sudo dd if=19.img of=/dev/nand bs=1024 count=102400 seek=1860608 ;
sync ;
sudo rm 19.img ;
sync ;

sync ;





sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/20.img ;
sync ;
sudo dd if=20.img of=/dev/nand bs=1024 count=102400 seek=1963008 ;
sync ;
sudo rm 20.img ;
sync ;

sync ;




sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/21.img ;
sync ;
sudo dd if=21.img of=/dev/nand bs=1024 count=102400 seek=2065408 ;
sync ;
sudo rm 21.img ;
sync ;

sync ;






sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/22.img ;
sync ;
sudo dd if=22.img of=/dev/nand bs=1024 count=102400 seek=2167808 ;
sync ;
sudo rm 22.img ;
sync ;

sync ;







sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/23.img ;
sync ;
sudo dd if=23.img of=/dev/nand bs=1024 count=102400 seek=2270208 ;
sync ;
sudo rm 23.img ;
sync ;

sync ;






sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/24.img ;
sync ;
sudo dd if=24.img of=/dev/nand bs=1024 count=102400 seek=2372608 ;
sync ;
sudo rm 24.img ;
sync ;

sync ;







sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/25.img ;
sync ;
sudo dd if=25.img of=/dev/nand bs=1024 count=102400 seek=2475008 ;
sync ;
sudo rm 25.img ;
sync ;

sync ;






sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/26.img ;
sync ;
sudo dd if=26.img of=/dev/nand bs=1024 count=102400 seek=2577408 ;
sync ;
sudo rm 26.img ;
sync ;

sync ;







sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/27.img ;
sync ;
sudo dd if=27.img of=/dev/nand bs=1024 count=102400 seek=2679808 ;
sync ;
sudo rm 27.img ;
sync ;

sync ;







sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/28.img ;
sync ;
sudo dd if=28.img of=/dev/nand bs=1024 count=102400 seek=2782208 ;
sync ;
sudo rm 28.img ;
sync ;

sync ;





sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/29.img ;
sync ;
sudo dd if=29.img of=/dev/nand bs=1024 count=102400 seek=2884608 ;
sync ;
sudo rm 29.img ;
sync ;

sync ;






sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/30.img ;
sync ;
sudo dd if=30.img of=/dev/nand bs=1024 count=102400 seek=2987008 ;
sync ;
sudo rm 30.img ;
sync ;

sync ;







sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/31.img ;
sync ;
sudo dd if=31.img of=/dev/nand bs=1024 count=102400 seek=3089408 ;
sync ;
sudo rm 31.img ;
sync ;

sync ;







sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/32.img ;
sync ;
sudo dd if=32.img of=/dev/nand bs=1024 count=102400 seek=3191808 ;
sync ;
sudo rm 32.img ;
sync ;

sync ;






sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/33.img ;
sync ;
sudo dd if=33.img of=/dev/nand bs=1024 count=102400 seek=3294208 ;
sync ;
sudo rm 33.img ;
sync ;

sync ;



sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/34.img ;
sync ;
sudo dd if=34.img of=/dev/nand bs=1024 count=102400 seek=3396608 ;
sync ;
sudo rm 34.img ;
sync ;

sync ;





sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/35.img ;
sync ;
sudo dd if=35.img of=/dev/nand bs=1024 count=102400 seek=3499008 ;
sync ;
sudo rm 35.img ;
sync ;

sync ;




sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/36.img ;
sync ;
sudo dd if=36.img of=/dev/nand bs=1024 count=102400 seek=3601408 ;
sync ;
sudo rm 36.img ;
sync ;

sync ;






sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/37.img ;
sync ;
sudo dd if=37.img of=/dev/nand bs=1024 count=102400 seek=3703808 ;
sync ;
sudo rm 37.img ;
sync ;

sync ;







sudo axel -a -n 25  http://dl.cubieboard.org/cubiuntux/cubiuntu1.001cb2/38.img ;
sync ;
sudo dd if=38.img of=/dev/nand bs=1024 count=80896 seek=3806208 ;
sync ;
sudo rm 38.img ;
sync ;
sync ;
sync ;



ahrovan