Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@Home:/# cd /tmp
- root@Home:/tmp# wget --no-check-certificate https://raw.github.com/igors/iconnect_usb_boot/master/iconnect_install.sh
- --2012-01-25 09:39:37-- https://raw.github.com/igors/iconnect_usb_boot/master/iconnect_install.sh
- Resolving raw.github.com... 207.97.227.243
- Connecting to raw.github.com|207.97.227.243|:443... connected.
- WARNING: cannot verify raw.github.com's certificate, issued by `/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certificates.godaddy.com/repository/CN=Go Daddy Secure Certification Authority/serialNumber=07969287':
- Self-signed certificate encountered.
- HTTP request sent, awaiting response... 200 OK
- Length: 44146 (43K) [text/plain]
- Saving to: `iconnect_install.sh'
- 100%[=====================================================================================================================>] 44,146 220K/s in 0.2s
- 2012-01-25 09:39:39 (220 KB/s) - `iconnect_install.sh' saved [44146/44146]
- root@Home:/tmp# chmod +x iconnect_install.sh
- root@Home:/tmp# ./iconnect_install.sh
- The output of this run will be saved to /var/log/iconnect-install.log.
- /var/log/iconnect-install.log is not preserved across reboots;
- please save it if anything goes wrong and you need help.
- Would you like to update your iConnect's boot sequence [Y/n]?
- Would you like to update your iConnect's boot sequence [Y/n]?
- Would you like to update your iConnect's boot sequence [Y/n]? y
- Your old uboot environment will be saved to /etc/uboot.environment.2012-01-25_09:39:41
- usb_scan_1=setenv usb 0:1; setenv dev sda1
- usb_scan_2=setenv usb 1:1; setenv dev sdb1
- usb_scan_3=setenv usb 2:1; setenv dev sdc1
- usb_scan_4=setenv usb 3:1; setenv dev sdd1
- usb_scan_5=setenv usb 0:1; setenv dev sda2
- usb_scan_6=setenv usb 1:1; setenv dev sdb2
- usb_scan_7=setenv usb 2:1; setenv dev sdc2
- usb_scan_8=setenv usb 3:1; setenv dev sdd2
- bootcmd_usb_1=run usb_scan_1;run make_usb_bootargs;ext2load usb $(usb) 0x00800000 /boot/uImage;bootm 0x00800000
- bootcmd_usb_2=run usb_scan_2;run make_usb_bootargs;ext2load usb $(usb) 0x00800000 /boot/uImage;bootm 0x00800000
- bootcmd_usb_3=run usb_scan_3;run make_usb_bootargs;ext2load usb $(usb) 0x00800000 /boot/uImage;bootm 0x00800000
- bootcmd_usb_4=run usb_scan_4;run make_usb_bootargs;ext2load usb $(usb) 0x00800000 /boot/uImage;bootm 0x00800000
- bootcmd_usb_5=run usb_scan_5;run make_usb_bootargs;ext2load usb $(usb) 0x00800000 /uImage;bootm 0x00800000
- bootcmd_usb_6=run usb_scan_6;run make_usb_bootargs;ext2load usb $(usb) 0x00800000 /uImage;bootm 0x00800000
- bootcmd_usb_7=run usb_scan_7;run make_usb_bootargs;ext2load usb $(usb) 0x00800000 /uImage;bootm 0x00800000
- bootcmd_usb_8=run usb_scan_8;run make_usb_bootargs;ext2load usb $(usb) 0x00800000 /uImage;bootm 0x00800000
- make_usb_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/$(dev) rootdelay=10
- bootcmd_usb=usb start;run bootcmd_usb_1;run bootcmd_usb_2;run bootcmd_usb_3;run bootcmd_usb_4;run bootcmd_usb_5;run bootcmd_usb_6;run bootcmd_usb_7;run bootcmd_usb_8
- bootcmd=run bootcmd_usb; run flash_load
- Your u-boot environment has been successfully updated.
- If everything worked as it was supposed to,
- your iConnect will now be able to boot from an attached
- USB storage device if available and will fall back
- to booting to the original Iomega kernel if not.
- Would you like to install Arch Linux on the attached USB storage device [Y/n]? y
- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- Please disconnect ALL USB devices and (re-)connect
- the one you want to use for the installation.
- Press Enter when ready.
- lsusb: cannot open "/var/lib/usbutils/usb.ids", No such file or directory
- Stopping Iomega's services...
- ................
- Stopping Iomega's services - done.
- Would you like to reformat the attached USB device (all data will be lost) [Y/n]? y
- Creating partition...
- Checking that no-one is using this disk right now ...
- OK
- Disk /dev/sda: 1969 cylinders, 64 heads, 32 sectors/track
- Old situation:
- Units = cylinders of 1048576 bytes, blocks of 1024 bytes, counting from 0
- Device Boot Start End #cyls #blocks Id System
- /dev/sda1 * 0 640 641 656384 17 Hidden HPFS/NTFS
- /dev/sda2 0 - 0 0 0 Empty
- /dev/sda3 0 - 0 0 0 Empty
- /dev/sda4 0 - 0 0 0 Empty
- New situation:
- Units = cylinders of 1048576 bytes, blocks of 1024 bytes, counting from 0
- Device Boot Start End #cyls #blocks Id System
- /dev/sda1 0+ 1968 1969- 2016255+ 83 Linux
- /dev/sda2 0 - 0 0 0 Empty
- /dev/sda3 0 - 0 0 0 Empty
- /dev/sda4 0 - 0 0 0 Empty
- Warning: no primary partition is marked bootable (active)
- This does not matter for LILO, but the DOS MBR will not boot this disk.
- Successfully wrote the new partition table
- Re-reading the partition table ...
- If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
- to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
- (See fdisk(8).)
- Creating partition - done.
- Creating file system. This may take a few minutes...
- mke2fs 1.41.3 (12-Oct-2008)
- Filesystem label=
- OS type: Linux
- Block size=4096 (log=2)
- Fragment size=4096 (log=2)
- 126208 inodes, 504063 blocks
- 25203 blocks (5.00%) reserved for the super user
- First data block=0
- Maximum filesystem blocks=520093696
- 16 block groups
- 32768 blocks per group, 32768 fragments per group
- 7888 inodes per group
- Superblock backups stored on blocks:
- 32768, 98304, 163840, 229376, 294912
- Writing inode tables: done
- Writing superblocks and filesystem accounting information: done
- This filesystem will be automatically checked every 35 mounts or
- 180 days, whichever comes first. Use tune2fs -c or -i to override.
- Creating file system - done.
- Downloading Arch Linux image...
- Getting Arch Linux md5...
- --2012-01-25 09:40:52-- http://archlinuxarm.org/os/ArchLinuxARM-armv5te-latest.tar.gz.md5
- Resolving archlinuxarm.org... 206.217.130.189
- Connecting to archlinuxarm.org|206.217.130.189|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 77 [application/x-gzip]
- Saving to: `ArchLinuxARM-armv5te-latest.tar.gz.md5'
- 0K 100% 2.56M=0s
- 2012-01-25 09:40:54 (2.56 MB/s) - `ArchLinuxARM-armv5te-latest.tar.gz.md5' saved [77/77]
- Expected Arch Linux md5 is 43ea7774c7760e39d2f89572c9721bc9 ArchLinuxARM-2012.01-armv5te-rootfs.tar.gz
- --2012-01-25 09:40:54-- http://archlinuxarm.org/os/ArchLinuxARM-armv5te-latest.tar.gz
- Resolving archlinuxarm.org... 206.217.130.189
- Connecting to archlinuxarm.org|206.217.130.189|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 144244460 (138M) [application/octet-stream]
- Saving to: `ArchLinuxARM-armv5te-latest.tar.gz'
- 0K ........ ........ ........ ........ ........ ........ 2% 228K 10m5s
- 3072K ........ ........ ........ ........ ........ ........ 4% 250K 9m25s
- 6144K ........ ........ ........ ........ ........ ........ 6% 256K 9m0s
- 9216K ........ ........ ........ ........ ........ ........ 8% 256K 8m41s
- 12288K ........ ........ ........ ........ ........ ........ 10% 235K 8m33s
- 15360K ........ ........ ........ ........ ........ ........ 13% 253K 8m18s
- 18432K ........ ........ ........ ........ ........ ........ 15% 213K 8m16s
- 21504K ........ ........ ........ ........ ........ ........ 17% 262K 7m58s
- 24576K ........ ........ ........ ........ ........ ........ 19% 260K 7m42s
- 27648K ........ ........ ........ ........ ........ ........ 21% 232K 7m32s
- 30720K ........ ........ ........ ........ ........ ........ 23% 287K 7m14s
- 33792K ........ ........ ........ ........ ........ ........ 26% 51.2K 9m15s
- 36864K ........ ........ ........ ........ ........ ........ 28% 80.9K 9m53s
- 39936K ........ ........ ........ ........ ........ ........ 30% 183K 9m32s
- 43008K ........ ........ ........ ........ ........ ........ 32% 227K 9m5s
- 46080K ........ ........ ........ ........ ........ ........ 34% 244K 8m38s
- 49152K ........ ........ ........ ........ ........ ........ 37% 278K 8m10s
- 52224K ........ ........ ........ ........ ........ ........ 39% 250K 7m46s
- 55296K ........ ........ ........ ........ ........ ........ 41% 278K 7m21s
- 58368K ........ ........ ........ ........ ........ ........ 43% 253K 6m59s
- 61440K ........ ........ ........ ........ ........ ........ 45% 254K 6m38s
- 64512K ........ ........ ........ ........ ........ ........ 47% 278K 6m17s
- 67584K ........ ........ ........ ........ ........ ........ 50% 189K 6m1s
- 70656K ........ ........ ........ ........ ........ ........ 52% 187K 5m46s
- 73728K ........ ........ ........ ........ ........ ........ 54% 263K 5m27s
- 76800K ........ ........ ........ ........ ........ ........ 56% 266K 5m8s
- 79872K ........ ........ ........ ........ ........ ........ 58% 236K 4m51s
- 82944K ........ ........ ........ ........ ........ ........ 61% 207K 4m35s
- 86016K ........ ........ ........ ........ ........ ........ 63% 238K 4m18s
- 89088K ........ ........ ........ ........ ........ ........ 65% 235K 4m2s
- 92160K ........ ........ ........ ........ ........ ........ 67% 187K 3m47s
- 95232K ........ ........ ........ ........ ........ ........ 69% 250K 3m30s
- 98304K ........ ........ ........ ........ ........ ........ 71% 231K 3m14s
- 101376K ........ ........ ........ ........ ........ ........ 74% 246K 2m58s
- 104448K ........ ........ ........ ........ ........ ........ 76% 174K 2m44s
- 107520K ........ ........ ........ ........ ........ ........ 78% 250K 2m28s
- 110592K ........ ........ ........ ........ ........ ........ 80% 76.1K 2m19s
- 113664K ........ ........ ........ ........ ........ ........ 82% 176K 2m4s
- 116736K ........ ........ ........ ........ ........ ........ 85% 206K 1m48s
- 119808K ........ ........ ........ ........ ........ ........ 87% 211K 92s
- 122880K ........ ........ ........ ........ ........ ........ 89% 118K 78s
- 125952K ........ ........ ........ ........ ........ ........ 91% 156K 62s
- 129024K ........ ........ ........ ........ ........ ........ 93% 265K 46s
- 132096K ........ ........ ........ ........ ........ ........ 95% 255K 29s
- 135168K ........ ........ ........ ........ ........ ........ 98% 234K 14s
- 138240K ........ ........ ........ ........ ........ 100% 290K=12m0s
- 2012-01-25 09:52:55 (196 KB/s) - `ArchLinuxARM-armv5te-latest.tar.gz' saved [144244460/144244460]
- ./iconnect_install.sh: line 317: [: too many arguments
- MD5 is correct
- Downloading Arch Linux image - done.
- Copying Arch Linux to USB storage. This will take a few minutes...
- tar: Read checkpoint 3000
- tar: Read checkpoint 6000
- tar: Read checkpoint 9000
- tar: Read checkpoint 12000
- tar: Read checkpoint 15000
- tar: Read checkpoint 18000
- tar: Read checkpoint 21000
- tar: Read checkpoint 24000
- tar: Read checkpoint 27000
- tar: Read checkpoint 30000
- tar: Read checkpoint 33000
- Copying Arch Linux to USB storage - done.
- Setup successful, you can reboot now.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement