what if it writes: root@debian# mknod /dev/mtdblock2 b 31 2 mknod: `/dev/mtdblock2': File exists adn after: root@debian# mount -t jffs2 -o ro /dev/mtdblock2 /mnt mount: /dev/mtdblock2: can't read superblockby dave.opc - uBoot
It must be a bit tricky to transfer system from usb stick to SATA. I executed command sudo tar cvzpf /media/SATAHDD/Backup.tgz --same-owner --exclude=/home/Backup.tgz --exclude=/home/error.log --exclude=/proc/* --exclude=/media/* --exclude=/dev/* --exclude=/mnt/* --exclude=/sys/* --exclude=/tmp/* / 2>/home/error.log Then cd /media/SATAHDD tar xvzf Backup.tgz Then tried to loadby dave.opc - Debian
can you tell how? and just for my knowledge how can i return to original FW ?by dave.opc - Debian
yeah root@debian-kirkwood-wide:~# udevadm info --query=all --name=/dev/sda1 | grep -i id_fs_type E: ID_FS_TYPE=ext3 So for now, how do i install debian onto goflex, so i will be able to boot from the SATA device itself without usb stick? Do i have to try debian squeeze installation?by dave.opc - Debian
Before i deleted all partiotions on SATA drive and made 1 partition. Then used mount /dev/sda1 /media/SATAHDD After reboot it was not mounted there (mount dosn't show it) After setting your envs (from last post) it boots from USB with SATA installed, but i have to manually mount SATA drive to /media/SATAHDD, because after reboot it shows this: root@debian-kirkwood-wide:~# mountby dave.opc - Debian
Sorry but i am stuck on this step. I did make 1 partition on sata drive using fdisk, used "w" to write changes. then rebooted the device. now to set those envs i should start loading goflex and when the countdown appears i should interrupt with CTRL+J and enter those commands you set in code? 2. set usb partition sda1 label to rootfs (use command tune2fs -L rootfs /dev/sda1) Thby dave.opc - Debian
hmmm... one more try and it loaded with SATA installed. Seems it has that error above, when it can't read from USB stick sometimes, removing and installing usb stick again, solves this. But still with SATA installed it loads without that error, but ssh dosnt start, i see that on my usb stick, it stops flashing after nc writes "Starting kernel". Without SATA after "Starting keby dave.opc - Debian
yes, several times. even if i create 1 partition it still says that error. but there is a problem if i start goflex with SATA in i got error in nc log U-Boot 2011.12 (Feb 12 2012 - 21:33:07) Seagate FreeAgent DockStar 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 USBby dave.opc - Debian
ok, good i have to do these: fdisk /dev/sdb delete all partitions make sdb1 linux (about 20gb) sdb2 swap (about 1gb) sdb3 linux ext3 (for files) after exiting i got this: root@debian-kirkwood-wide:~# fdisk -l Disk /dev/mtdblock0: 1 MB, 1048576 bytes 255 heads, 63 sectors/track, 0 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytby dave.opc - Debian
bodhi Wrote: ------------------------------------------------------- > @dave.opc, > > You are still running as Dockstar. The fw_setenv > in Debian does work (optim is correct that in > uBoot it is setenv and saveenv). In Debian prompt > > > fw_printenv arcNumber > will show if it is 3338. > > If is 3338, then you also need to set machid env: >by dave.opc - Debian
_Ok so i checked that i can interrupt console. I booted from USB stick, logged in root/root, entered fw_setenv arcNumber 3338, then shutdown -r now goflex rebooted i logged in Here is dmesg root@debian-kirkwood-wide:~# dmesg [ 0.000000] Booting Linux on physical CPU 0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linuxby dave.opc - Debian
at the nc when it began the countdown i pressed CTRL+J 3-4 time. The countdown stoped as we can see here root@dave:~# nc -u 192.168.11.22 6666 U-Boot 2011.12 (Feb 12 2012 - 21:33:07) Seagate FreeAgent DockStar 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: 7 ok my usb stick stopped reby dave.opc - Debian
ok here is what i did: 1. switched off and removed SATA drive from dockstation 2. started up with usb stick in. it loaded with IP 192.168.11.22 and some MAC address. 3. i connected via ssh to that IP with root/root 4. entered into ssh prompt following fw_setenv serverip 192.168.11.12 fw_setenv ipaddr 192.168.11.22 fw_setenv if_netconsole 'ping $serverip' fw_setenv start_netconby dave.opc - Debian
ok, here: dmesg root@debian-kirkwood-wide:~# dmesg [ 0.000000] Booting Linux on physical CPU 0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.3.2-kirkwood-dg (davygravy@bitbaker64) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70) ) #1 Mon Apr 23 17:09:27 CDT 2012 [ 0.000000] CPU: Feroceon 88FRby dave.opc - Debian
you can see IP adress in router ( i did find it there ) and enter with root/root ( login/password )by dave.opc - Debian
bodhi, thanx alot for your help So i managed these steps: Following your link i downloaded the package. Used instructions to transfer kirkwood_something.img file to usb stick. Inserted this stick into GoFlexHome and waited till it boots up. It did :) I found new ip in my router so i was able to connect to GoFlex via ssh My SATA drive was connected, so i decided to see fdisk: root@debiby dave.opc - Debian
Yes i did, but i didn't check the debootstrap.log for more info. Here is the log of installing: -bash-3.2# fdisk -l Disk /dev/sda: 8056 MB, 8056209408 bytes 255 heads, 63 sectors/track, 979 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 941 7558551 83 Linux /devby dave.opc - Debian
I try to load without USB stick, the light just goes blinking red and nothing happens as i guess, at least no IP address seen in myrouter just to try to ssh. This happens with SATA drive and without too. I tried to make a bootable usb stick with this: wget http://jeff.doozan.com/debian/goflex/v0.6/v2.6.37/boot.tar.gz wget http://jeff.doozan.com/debian/goflex/v0.6/uInitrd tar -xzvf boot.tby dave.opc - Debian
Hello I used the tutorial http://projects.doozan.com/debian/ to install Debian on my 2TB GoFlex Home. I disconnected the SATA drive from cradle, inserted ext3 formated usb flash into usb and booted the device. Logged in with my account, did sudo. Then did steps from tutorial: cd /tmp wget http://projects.doozan.com/debian/kirkwood.debian-wheezy.sh chmod +x kirkwood.debian-wheezy.shby dave.opc - Debian