Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault September 22, 2013 01:20PM |
Registered: 11 years ago Posts: 168 |
# to extract the archive in Ubuntu (or use WinRAR in Windows) tar -xvzf NSA320quickstart.tar.gzNext we need to prepare the USB Flash drive. Personally I reckon ext2 partition format is the best to use for flash drive. I think because of it's age it's the simplest and least likely to cause problems.
# On your Ubuntu/Linux machine , suppose your drive's partion1 /dev/sdb1 is mounted at /mntmount /dev/sdb1 /mnt sudo -s mkdir /media/debian mount -o loop <path-to-kirkwood-debian-image_debian.img> /media/debian cp -a /media/debian/* /mnt/umount /mnt umount /media/debianThat's the USB drive created, with *working* rootfs, debian 3.3.2 kernel, Debian Squeeze distibution.
# Procedure from "http://projects.doozan.com/uboot/ cd /tmp wget http://projects.doozan.com/uboot/install_uboot_mtd0.sh chmod +x install_uboot_mtd0.sh ./install_uboot_mtd0.shRestore old uBoot
# Restore original uBoot wget http://download.doozan.com/uboot/files/uboot/uboot.mtd0.goflexnet.original.kwb flash_erase /dev/mtd0 0 4 nandwrite /dev/mtd0 uboot.mtd0.goflexnet.original.kwbSTEP 4 - First boot from USB
root@debian-kirkwood-wide:/#Do a:
uname -athis will show you the kernel version which should be davygravy's 3.3.2
cd /tmp wget http://jeff.doozan.com/debian/rescue/install_rescue.sh chmod +x install_rescue.sh ./install_rescue.shReboot without the USB stick attached and you should boot into the rescue system. Then reboot with the USB attached and you should boot into davygravy's rootfs.
# serverip is the machine that you will monitor on, ipaddres is the address of your GoFlex Net # my Ubuntu machine I use to monitor is 10.10.10.203 and my GoFlex Net is 10.10.10.231 fw_setenv serverip 10.10.10.203 fw_setenv ipaddr 10.10.10.231 fw_setenv if_netconsole 'ping $serverip' fw_setenv start_netconsole 'setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;' fw_setenv preboot 'run if_netconsole start_netconsole'On the desktop machine (Ubuntu - 10.10.10.203)
nc -u -l 6666 & nc -u 10.10.10.231You'll need to reboot in order for these settings to take effect. I've got into the habit of doing this :
# for some linux installations sync shutdown -h now # or on some other linux installations sync haltReason for doing this is to make sure any cached data is written to disk and propertly shutdown the operating system.
vi /etc/apt/sources.listThis is what yours will look like:
root@debian-kirkwood-wide:/# cat /etc/apt/sources.list deb http://security.debian.org/ squeeze/updates main contrib non-free deb-src http://security.debian.org/ squeeze/updates main contrib non-free deb http://ftp.debian.org/debian/ squeeze main contrib non-free deb-src http://ftp.debian.org/debian/ squeeze main contrib non-freeAs I'm based in Asia, this is what mine looks like after editing:
deb http://ftp.th.debian.org/debian-security/ squeeze/updates main contrib non-free deb-src http://ftp.th.debian.org/debian-security/ squeeze/updates main contrib non-free deb http://ftp.th.debian.org/debian/ squeeze main contrib non-free deb-src http://ftp.th.debian.org/debian/ squeeze main contrib non-freeNow we need to update the out Debian installation to latest version of Squeeze, and install xmlstartlet. For some reason the xmlstarlet used by OMV comes from debian Wheezy (but OMV isn't stable on Wheezy), so we also need to install xmlstarlet, then upgrade it to a later version manually.
apt-get update apt-get upgrade apt-get install xmlstarletGet xmlstarlet 1.5.0-1 and install it:
wget http://ftp.us.debian.org/debian/pool/main/x/xmlstarlet/xmlstarlet_1.5.0-1_armel.deb dpkg -i xmlstarlet_1.5.0-1_armel.debNow do a HARD reboot, sync, shutdown and then power cycle.
sync shutdown -h nowYou should have rebooted and be back at your ssh prompt.
root@debian-kirkwood-wide:~# cat /etc/hostname debian-kirkwood-wide root@debian-kirkwood-wide:~# echo "GoFlexNet1" > /etc/hostname root@debian-kirkwood-wide:~# cat /etc/hostname GoFlexNet1Now we update our hosts file and tell it what out IP address is. I'd recommend setting this in your router as mentioned earlier. If you want a static IP address then you'll need to configure your /etc/network/interfaces or do it via the OMV interface.
root@debian-kirkwood-wide:~# cat /etc/hosts 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters root@debian-kirkwood-wide:~# vi /etc/hosts root@debian-kirkwood-wide:~# cat /etc/hosts 127.0.0.1 localhost 10.10.10.231 GoFlexNet1 ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allroutersNow do a HARD reboot, sync, shutdown and then power cycle.
sync shutdown -h nowNow we need to setup /etc/apt/sources.list.d/openmediavault.list so that OMV knows where to look for it's files, install the OMV keys, install OMV and restart the Apache server.
echo "deb http://packages.openmediavault.org/public fedaykin main" > /etc/apt/sources.list.d/openmediavault.list # the first apt-get update will throw an error, thats why we install the openmediavault-keyring apt-get update apt-get install openmediavault-keyring apt-get update apt-get install openmediavault service apache2 restartDO NOT REBOOT, YET ! First we need to setup a couple of things, especially re-enabling the now disabled ssh.
# USE CAUTION, updates internal flash fw_setenv usb_bootcmd 'run usb_init; setenv usb_root LABEL=rootfs; run usb_set_bootargs; run usb_boot'Now insert SATA drive again
# assuming "master" hard disk rootfs is /dev/sdc1 and usb flash drive rootfs is /dev/sdd1 mkdir /media/hd_rootfs mkdir /media/usb_rootfs mount /dev/sdc1 /media/hd_rootfs mount /dev/sdd1 /media/usb_rootfs cp -a /media/usb_rootfs/* /media/hd_rootfsSo you should now in theory have a bootable hard drive. BUT there is one step left, your uBoot isn't yet configured for SATA booting. How to set this up was described by varkey here. Basically we need to set some variables for uBoot, so again be careful doing this.
fw_setenv sata_boot 'ide reset; mw 0x800000 0 1; ext2load ide 0:1 0x800000 /boot/uImage; if ext2load ide 0:1 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi' fw_setenv sata_bootcmd 'run usb_set_bootargs; run sata_boot' fw_setenv bootcmd 'usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run sata_bootcmd; run rescue_bootcmd; run pogo_bootcmd; reset'Now that you've done that you can try to boot from the hard disk and it should work.
# list all partitions on disks sfdisk -l # check mounts, where rootfs is mounted mount -lNow the unformatted rest-of-disk partitions we created earlier need to have their partition type switched to "linux raid autodetect", and then list all partitions again so we know they've been updated.
#change partition type of partition 3 to fd (linux raid autodetect) sfdisk -c /dev/sdb 3 fd #change partition type of partition 3 to fd (linux raid autodetect) sfdisk -c /dev/sda 3 fd # list all partitions on disks sfdisk -lNow you're going to create the array. Once created it will immediately do a resync, and this will take 3-4 hours. I didn't think about it ahead of time so I had no choice but to wait, and I reckon it's not a bad idea to let the RAID system check the disks, as I don't want a bad disk in my array. If you know what you're doing and are confident about it, consider using the --assume-clean flag, which avoids doing a resync and saves time. The downside I reckon is that you don't get your disks checked. Up to you, see here for more details.
# create raid device (consider using --assume-clean) # mdadm --create md1 --level=1 --raid-devices=2 /dev/sda3 /dev/sdb3mdadm: Note: this array has metadata at the start and
ls /dev #basic details of raid mdadm /dev/md127 #detailed details of raid # http://www.ducea.com/2009/03/08/mdadm-cheat-sheet/ mdadm --detail /dev/md127 #or cat /proc/mdstatNext we need to make the filesystem on the array
#make the file system ext3 mkfs.ext3 /dev/md127Lastly as described here , label your array, I've called mine "raid1"
#label the raid 1 array # tune2fs -L raid1_data /dev/md127Your RAID1 array should now be configured and "seeable" in OMV web interface. Obviously once it's finished resyncing power down using OMV and power cycle. Then you can start using it:)
#backup rootfs mkdir /tmp/backup mount /dev/sdb1 /tmp/backup cd /tmp/backup mkdir rootfs_backup rsync -aAXv /* /tmp/backup/rootfs_backup --exclude={/dev/*,/proc/*,/sys/*,/tmp/*,/run/*,/mnt/*,/media/*,/lost+found}This means that in the event that your master disk dies then you have a backup that you can boot into on the "backup" disc. I don't know how best to automate this, and whether wise to automate. Probably best to run prior to any updates, and maybe once a week or so.
# for iostat apt-get install sysstatNow we need to edit the /etc/rc.local file like so :
#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. # For LED control on Seagate GoFlex Net that's been Debianised # (c) Don Charisma 2013 iostat -z 1 | awk -W interactive ' BEGIN { sda="none"; sda_prev="none"; sdb="none"; sdb_prev="none"; md1="none"; md1_prev="none"; cpu20="none"; cpu20_prev="none"; cpu40="none"; cpu40_prev="none"; cpu60="none"; cpu60_prev="none"; cpu80="none"; cpu80_prev="none"; cpu_utilise=0 } # if hard drives or RAID active, set flag for LED /sda/ { sda="timer"; } /sdb/ { sdb="timer"; } /md1/ { md1="default-on"; } # Find the line with CPU info, pick the last number = percentage idle # subtract it from 100 to give CPU utilisation /\..*\..*\..*\..*\..*\..*/ { cpu_utilise = 100 - $6; if (cpu_utilise >= 20.0) { cpu20="default-on"; } if (cpu_utilise >= 40.0) { cpu40="default-on"; } if (cpu_utilise >= 60.0) { cpu60="default-on"; } if (cpu_utilise >= 80.0) { cpu80="default-on"; } } /Device:/ { if (sda != sda_prev) { print sda > "/sys/class/leds/status:white:left0/trigger"; fflush( "/sys/class/leds/status:white:left0/trigger" ); } if (sdb != sdb_prev) { print sdb > "/sys/class/leds/status:white:left1/trigger"; fflush( "/sys/class/leds/status:white:left1/trigger" ); } if (md1 != md1_prev) { print md1 > "/sys/class/leds/status:white:left2/trigger"; fflush( "/sys/class/leds/status:white:left2/trigger" ); print md1 > "/sys/class/leds/status:white:left3/trigger"; fflush( "/sys/class/leds/status:white:left3/trigger" ); } if (cpu20 != cpu20_prev) { print cpu20 > "/sys/class/leds/status:white:right0/trigger"; fflush( "/sys/class/leds/status:white:right0/trigger" ); } if (cpu40 != cpu40_prev) { print cpu40 > "/sys/class/leds/status:white:right1/trigger"; fflush( "/sys/class/leds/status:white:right1/trigger" ); } if (cpu60 != cpu60_prev) { print cpu60 > "/sys/class/leds/status:white:right2/trigger"; fflush( "/sys/class/leds/status:white:right2/trigger" ); } if (cpu80 != cpu80_prev) { print cpu80 > "/sys/class/leds/status:white:right3/trigger"; fflush( "/sys/class/leds/status:white:right3/trigger" ); } sda_prev=sda; sda="none"; sdb_prev=sdb; sdb="none"; md1_prev=md1; md1="none"; cpu20_prev=cpu20; cpu20="none"; cpu40_prev=cpu40; cpu40="none"; cpu60_prev=cpu60; cpu60="none"; cpu80_prev=cpu80; cpu80="none"; } END { print "The end"; } ' & exit 0Now for shutdown/halt LEDs, to make green LED go off and the white LEDs to blink, we need to make a change to the /etc/init.d/halt file, here's how the section of mine that I changed looks :
# Make it possible to not shut down network interfaces, # needed to use wake-on-lan netdown="-i" if [ "$NETDOWN" = "no" ]; then netdown="" fi # for goflex green led echo none > /sys/class/leds/status\:green\:health/trigger # for goflex white leds echo timer | tee /sys/class/leds/status\:white\:*/trigger > /dev/null log_action_msg "Will now halt" halt -d -f $netdown $poweroff $hddown }That's it your done, enjoy:)
# Mount roofs mkdir /tmp/wheezy mount /dev/sda1 /tmp/wheezy cd /tmp/wheezy # Prepare chroot-environment mount -t proc proc proc/ mount -t sysfs sys sys/ mount -o bind /dev dev/ mount -t devpts pts dev/pts/ chroot /tmp/wheezy /bin/bash # Now here we go with the kernel install #Dependencies for a https wget apt-get update apt-get install dialog ca-certificates openssl wget https://dl.dropbox.com/sh/nwt2kbvetvgvroo/661x9b5PLg/Kirkwood/kernel/linux-image-3.3.2-kirkwood-dg_1.1_armel.deb?dl=1 -O linux-image-3.3.2-kirkwood-dg_1.1_armel.deb # Safety cp -r /boot /boot-backup # flash-kernel never installed for me successfully for me -> removing postinstall-script, otherways update-initramfs will bug around rm /etc/kernel/postinst.d/zz-flash-kernel # Install Kernel dpkg -i linux-image-3.3.2-kirkwood-dg_1.1_armel.deb # Build proper uboot images (neccessary because uBoot has to boot from images) cd /boot mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-3.3.2 -d vmlinuz-3.3.2-kirkwood-dg uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-3.3.2-kirkwood-dg -d initrd.img-3.3.2-kirkwood-dg uInitrd # Exit chroot exit # Unmount chroot-environment umount /tmp/wheezy/dev/pts umount /tmp/wheezy/dev umount /tmp/wheezy/sys umount /tmp/wheezy/proc cd / umount /tmp/wheezy #Reboot init 6TO DO
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault September 25, 2013 01:34AM |
Registered: 14 years ago Posts: 12 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault September 25, 2013 05:01AM |
Registered: 11 years ago Posts: 168 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault September 26, 2013 12:45PM |
Registered: 12 years ago Posts: 38 |
root@GoFlexHome:~# apt-get install openmediavault Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: openmediavault : Depends: php5-proctitle but it is not installable E: Broken packages
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault September 26, 2013 03:49PM |
Registered: 11 years ago Posts: 168 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault September 28, 2013 05:57PM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault September 28, 2013 08:18PM |
Registered: 12 years ago Posts: 38 |
Quote
update-initramfs: deferring update (trigger activated)
Setting up libdevmapper1.02.1 (2:1.02.48-5) ...
Setting up libparted0debian1 (2.3-5) ...
Setting up lvm2 (2.02.66-5) ...
Setting up LVM Volume Groups[ 1560.335679] device-mapper: uevent: version 1.0.3
[ 1560.341496] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
Reading all physical volumes. This may take a while...
No volume groups found
No volume groups found
No volume groups found
.
update-initramfs: deferring update (trigger activated)
Setting up parted (2.3-5) ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.3.2-kirkwood-dg
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
[ 1572.881652] scsi_verify_blk_ioctl: 26 callbacks suppressed
[ 1572.887171] mdadm: sending ioctl 1261 to a partition!
[ 1572.892289] mdadm: sending ioctl 1261 to a partition!
[ 1572.906830] mdadm: sending ioctl 1261 to a partition!
[ 1572.911943] mdadm: sending ioctl 1261 to a partition!
[ 1572.917528] mdadm: sending ioctl 1261 to a partition!
[ 1572.922624] mdadm: sending ioctl 1261 to a partition!
[ 1572.938067] mdadm: sending ioctl 1261 to a partition!
[ 1572.943145] mdadm: sending ioctl 1261 to a partition!
[ 1572.949013] mdadm: sending ioctl 800c0910 to a partition!
[ 1572.954437] mdadm: sending ioctl 800c0910 to a partition!
W: mdadm: no arrays defined in configuration file.
Errors were encountered while processing:
collectd
openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@GoFlexHome:~# ^C
root@GoFlexHome:~# dpkg -l |grep openmedia
iU openmediavault 0.5.11 Open network attached storage solution
ii openmediavault-keyring 0.2 GnuPG archive keys of the OpenMediaVault archive
root@GoFlexHome:~#
root@GoFlexHome:~#
root@GoFlexHome:~#
Quote
root@GoFlexHome:~# apt-get install openmediavault
Reading package lists... Done
Building dependency tree
Reading state information... Done
openmediavault is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up collectd (4.10.1-1+squeeze2) ...
Restarting statistics collection and monitoring daemon: collectdNot restarting collectd.
invoke-rc.d: initscript collectd, action "restart" failed.
dpkg: error processing collectd (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
dpkg: dependency problems prevent configuration of openmediavault:
openmediavault depends on collectd; however:
Package collectd is not configured yet.
dpkg: error processing openmediavault (--configure):
dependency problems - leaving unconfigured
configured to not write apport reports
Errors were encountered while processing:
collectd
openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@GoFlexHome:~#
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault September 29, 2013 12:06AM |
Registered: 12 years ago Posts: 38 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault September 29, 2013 12:40AM |
Registered: 12 years ago Posts: 38 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault September 30, 2013 09:45PM |
Registered: 13 years ago Posts: 23 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault October 01, 2013 02:51AM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault October 04, 2013 03:40PM |
Registered: 11 years ago Posts: 168 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault October 04, 2013 04:33PM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault October 08, 2013 10:53PM |
Registered: 11 years ago Posts: 168 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault October 09, 2013 01:10AM |
Admin Registered: 13 years ago Posts: 18,900 |
dinjo1
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault October 21, 2013 08:03AM |
dinjo1
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault October 21, 2013 11:37AM |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault November 06, 2013 01:08PM |
Registered: 11 years ago Posts: 168 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault November 07, 2013 04:23AM |
Registered: 11 years ago Posts: 93 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault August 22, 2014 04:39PM |
Registered: 10 years ago Posts: 54 |
IanD
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault September 17, 2014 02:36PM |
U-Boot 2011.12 (Apr 18 2012 - 23:08:20) Seagate GoFlexNet arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2009q3-67) 4.4.1 GNU ld (Sourcery G++ Lite 2009q3-67) 2.19.51.20090709 Hit any key to stop autoboot: 0 (Re)start USB... USB: Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found Loading file "/rescueme" from usb device 0:1 (usbda1) ** File not found /rescueme reading /rescueme.txt ** Unable to read "/rescueme.txt" from usb 0:1 ** Creating 1 MTD partitions on "nand0": 0x000002500000-0x000010000000 : "mtd=3" UBI: attaching mtd1 to ubi0 UBI: physical eraseblock size: 131072 bytes (128 KiB) UBI: logical eraseblock size: 129024 bytes UBI: smallest flash I/O unit: 2048 UBI: sub-page size: 512 UBI: VID header offset: 512 (aligned 512) UBI: data offset: 2048 UBI error: validate_ec_hdr: bad VID header offset 2048, expected 512 UBI error: validate_ec_hdr: bad EC header UBI error: ubi_io_read_ec_hdr: validation failed for PEB 0 UBI error: ubi_init: cannot attach mtd1 UBI error: ubi_init: UBI error: cannot initialize UBI, error -22 UBI init error 22 Loading file "/boot/uImage" from usb device 0:1 (usbda1) 1 bytes read Found bootable drive on usb 0:1 Loading file "/boot/uImage" from usb device 0:1 (usbda1) 2279256 bytes read Loading file "/boot/uInitrd" from usb device 0:1 (usbda1) 7004538 bytes read ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-3.3.2 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2279192 Bytes = 2.2 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-3.3.2-kirkwood-dg Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 7004474 Bytes = 6.7 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ...
GoFlexNet> printenv printenv arcNumber=3338 baudrate=115200 bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset bootdelay=10 console=ttyS0,115200 ethact=egiga0 ethaddr=02:50:43:1e:91:fa force_rescue=0 force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi if_netconsole=ping $serverip ipaddr=192.168.0.10 led_error=orange blinking led_exit=green off led_init=green blinking mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) ncip=192.168.0.3 partition=nand0,2 pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi preboot=run if_netconsole start_netconsole rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi rescue_installed=0 rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params serverip=192.168.0.3 start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=nc stdin=nc stdout=nc ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi ubifs_mtd=3 ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi usb_bootcmd=run usb_init; setenv usb_root LABEL=rootfs; run usb_set_bootargs; run usb_boot usb_device=0:1 usb_init=run usb_scan usb_root=/dev/sda1 usb_rootdelay=10 usb_rootfstype=ext2 usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done usb_scan_1=usb=0:1 dev=sda1 usb_scan_2=usb=1:1 dev=sdb1 usb_scan_3=usb=2:1 dev=sdc1 usb_scan_4=usb=3:1 dev=sdd1 usb_scan_list=1 2 3 4 usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params Environment size: 2626/131068 bytes GoFlexNet>
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault September 17, 2014 03:00PM |
Admin Registered: 13 years ago Posts: 18,900 |
IanD
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault September 17, 2014 03:46PM |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault September 17, 2014 04:40PM |
Registered: 10 years ago Posts: 6 |
... ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-3.16.0-kirkwood-tld-2 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2755976 Bytes = 2.6 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-3.16.0-kirkwood-tld-2 Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 6032401 Bytes = 5.8 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ...
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault September 17, 2014 05:40PM |
Admin Registered: 13 years ago Posts: 18,900 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault September 18, 2014 11:58AM |
Registered: 10 years ago Posts: 6 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault September 19, 2014 01:41AM |
Registered: 10 years ago Posts: 54 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault September 21, 2014 06:42AM |
Registered: 10 years ago Posts: 6 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault September 22, 2014 12:51PM |
Registered: 10 years ago Posts: 54 |
d2a
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault October 02, 2014 11:09AM |
Loading file "/boot/uImage" from ide device 0:1 (hda1) 2279256 bytes read Loading file "/boot/uInitrd" from ide device 0:1 (hda1) 7004538 bytes read ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-3.3.2 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2279192 Bytes = 2.2 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-3.3.2-kirkwood-dg Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 7004474 Bytes = 6.7 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ...