This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
installdebian2big [2011/05/06 19:03] – formatting 199.208.239.141 | installdebian2big [2012/02/21 15:03] (current) – 93.104.155.24 | ||
---|---|---|---|
Line 4: | Line 4: | ||
===== Boot custom installer ===== | ===== Boot custom installer ===== | ||
- | In the following process, you should replace ${NAS_IP} and ${SERVER_IP} with correct | + | In the following process, you should replace ${NAS_IP} with correct |
+ | ${ipaddr} and ${serverip} are automatically set by clunc. | ||
====2Big Network 2==== | ====2Big Network 2==== | ||
- | * Connect to U-Boot using network console with [[CLUNC|clunc]]: | + | |
- | As a preliminary step, you must export the installer [[http:// | + | As a preliminary step, you must export the installer [[ftp:// |
$ ./clunc -i ${NAS_IP} | $ ./clunc -i ${NAS_IP} | ||
- | Marvell>> | + | Marvell>> |
- | setenv ipaddr ${NAS_IP}; setenv serverip ${SERVER_IP}; tftpboot 0x800000 uImage | + | setenv ipaddr ${ipaddr}; setenv serverip ${serverip}; tftpboot 0x800000 uImage |
Using egiga0 device | Using egiga0 device | ||
- | TFTP from server ${SERVER_IP}; our IP address is ${NAS_IP} | + | TFTP from server ${serverip}; our IP address is ${ipaddr} |
Filename ' | Filename ' | ||
Load address: 0x800000 | Load address: 0x800000 | ||
Line 29: | Line 30: | ||
Bytes transferred = 2031132 (1efe1c hex) | Bytes transferred = 2031132 (1efe1c hex) | ||
- | * Boot installer: | + | |
Marvell>> | Marvell>> | ||
Line 79: | Line 80: | ||
====2Big Network==== | ====2Big Network==== | ||
- | A minimal system can be used to prepare disks and to install Debian distribution. A such sytem (kernel+initramfs) is available [[http:// | + | A minimal system can be used to prepare disks and to install Debian distribution. A such sytem (kernel+initramfs) is available [[ftp:// |
Line 87: | Line 88: | ||
$ ./clunc -i ${NAS_IP} | $ ./clunc -i ${NAS_IP} | ||
- | * mainlineLinux support: | + | * Edit U-Boot env variables (don' |
- | + | ||
- | Marvell>> | + | |
- | setenv mainlineLinux yes | + | |
- | Marvell>> | + | |
- | saveenv | + | |
- | Saving Environment to Flash... | + | |
- | . | + | |
- | Un-Protected 1 sectors | + | |
- | Erasing Flash... | + | |
- | . done | + | |
- | Erased 1 sectors | + | |
- | Writing to Flash... done | + | |
- | . | + | |
- | Protected 1 sectors | + | |
- | Marvell>> | + | |
- | reset | + | |
- | + | ||
- | * Fix machine ID: | + | |
- | Only do this if you are using the fixed ID kernel | + | |
Marvell>> | Marvell>> | ||
Line 128: | Line 110: | ||
* Load installer image: | * Load installer image: | ||
- | As a preliminary step, you must export the installer [[http:// | + | As a preliminary step, you must export the installer [[ftp:// |
$ ./clunc -i ${NAS_IP} | $ ./clunc -i ${NAS_IP} | ||
Line 134: | Line 116: | ||
Waiting for LUMP (0) | Waiting for LUMP (0) | ||
no lump receive; continuing | no lump receive; continuing | ||
- | Marvell>> | + | Marvell>> |
- | setenv ipaddr ${NAS_IP}; setenv serverip ${SERVER_IP}; tftpboot 0x400000 uImage | + | setenv ipaddr ${ipaddr}; setenv serverip ${serverip}; tftpboot 0x400000 uImage |
Using egiga0 device | Using egiga0 device | ||
- | TFTP from server ${SERVER_IP}; our IP address is ${NAS_IP} | + | TFTP from server ${serverip}; our IP address is ${ipaddr} |
Filename ' | Filename ' | ||
Load address: 0x400000 | Load address: 0x400000 | ||
Line 227: | Line 209: | ||
===== Partition Disks ===== | ===== Partition Disks ===== | ||
Using a custom debian installation on the 2BigNetwork allows great flexibility with the partition structure. | Using a custom debian installation on the 2BigNetwork allows great flexibility with the partition structure. | ||
+ | |||
+ | If you didn't change the // | ||
Use the supplied **fdisk** to partition the disk. An example scheme is below | Use the supplied **fdisk** to partition the disk. An example scheme is below | ||
+ | |||
==== Running on a single 500GB disk with no RAID === | ==== Running on a single 500GB disk with no RAID === | ||
Line 506: | Line 491: | ||
* Depending the LaCie U-Boot version, the **savenv** command could fail: as a solution you can use a [[ftp:// | * Depending the LaCie U-Boot version, the **savenv** command could fail: as a solution you can use a [[ftp:// | ||
+ | * If you are having problems with fix ID or made a mistake in the environment run | ||
+ | resetenv |