I have a GoFlex home. I had everything working including rescue boot. After upgrading via this: https://forum.doozan.com/read.php?3,12381 I can no longer completely boot to disk, usb, or rescue. Usb or rescue wont boot at all and hdd boots to kernel panic
I think I broke something.
This is archlinux on HDD
U-Boot via serial
printenv
I have a feeling I am missing the label on the HDD SDA1 partition, but thats just a guess. Im not sure how to confirm or fix. The GFH seems to ignore booting from usb (but does recognize its there).
This is a fresh OS install, so I dont mind wiping it. But how do I get back to either rescue or some linux cli to do that?
Thanks
I think I broke something.
This is archlinux on HDD
U-Boot via serial
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:21:31 -0700) Seagate GoFlex Home SoC: Kirkwood 88F6281_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 256 MiB In: serial Out: serial Err: serial Net: egiga0 88E1116 Initialized on egiga0 Hit any key to stop autoboot: 0 starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... Use USB retry period from the environment: 15 second(s) 1 Storage Device(s) found Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: ST3000DM001-9YN166 Firm: CC9F Ser#: W1F13E9D Type: Hard Disk Supports 48-bit addressing Capacity: 2861588.4 MB = 2794.5 GB (5860533168 x 512) Unknown command 'mmc' - try 'help' Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 30029202 00000000-01 83 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 loading envs from usb 0 ... ** File not found /boot/uEnv.txt ** Partition Map for IDE device 0 -- Partition Type: EFI Part Start LBA End LBA Name Attributes Type GUID Partition GUID 1 0x00000800 0x028007ff "Linux filesystem" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 type: linux guid: 41ba78b9-cb08-419e-9383-738a750e24ad 2 0x02800800 0x15d50a38e "Linux filesystem" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 type: linux guid: f9185ed6-b463-4fc5-bd8b-2be47709f6ce Unknown command 'mmc' - try 'help' running scan_disk ... Scan device usb device usb 0:1 1 bytes read in 323 ms (0 Bytes/s) Found bootable drive on usb 0 loading uImage ... 4600064 bytes read in 574 ms (7.6 MiB/s) loading uInitrd ... ** File not found /boot/uInitrd ** loading DTB /boot/dts/kirkwood-pogo_e02.dtb ... ** File not found /boot/dts/kirkwood-pogo_e02.dtb ** ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-4.4.97-1-ARCH Created: 2017-11-11 4:51:55 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4600000 Bytes = 4.4 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK Loading Kernel Image ... OK Starting kernel ...
[ 22.274945] VFS: Cannot open root device "LABEL=rootfs" or unknown-block(0,0): error -6 [ 22.282986] Please append a correct "root=" boot option; here are the available partitions: [ 22.291466] 0100 8192 ram0 (driver?) [ 22.296151] 0101 8192 ram1 (driver?) [ 22.300795] 0102 8192 ram2 (driver?) [ 22.305484] 0103 8192 ram3 (driver?) [ 22.310126] 0104 8192 ram4 (driver?) [ 22.314810] 0105 8192 ram5 (driver?) [ 22.319456] 0106 8192 ram6 (driver?) [ 22.324104] 0107 8192 ram7 (driver?) [ 22.328771] 0108 8192 ram8 (driver?) [ 22.333417] 0109 8192 ram9 (driver?) [ 22.338084] 010a 8192 ram10 (driver?) [ 22.342817] 010b 8192 ram11 (driver?) [ 22.347571] 010c 8192 ram12 (driver?) [ 22.352304] 010d 8192 ram13 (driver?) [ 22.357058] 010e 8192 ram14 (driver?) [ 22.361791] 010f 8192 ram15 (driver?) [ 22.366549] 0800 2930266584 sda driver: sd [ 22.371193] 0801 20971520 sda1 41ba78b9-cb08-419e-9383-738a750e24ad [ 22.378300] 0802 2909294023 sda2 f9185ed6-b463-4fc5-bd8b-2be47709f6ce [ 22.385406] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 22.393707] CPU: 0 PID: 1 Comm: swapper Not tainted 4.4.97-1-ARCH #1 [ 22.400086] Hardware name: Seagate GoFlex Home [ 22.404568] [<c001047c>] (unwind_backtrace) from [<c000d978>] (show_stack+0x10/0x14) [ 22.412348] [<c000d978>] (show_stack) from [<c00cd690>] (panic+0x88/0x208) [ 22.419264] [<c00cd690>] (panic) from [<c08512c0>] (mount_block_root+0x1b8/0x278) [ 22.426787] [<c08512c0>] (mount_block_root) from [<c0851570>] (mount_root+0xf4/0x120) [ 22.434650] [<c0851570>] (mount_root) from [<c08516f4>] (prepare_namespace+0x158/0x1b8) [ 22.442690] [<c08516f4>] (prepare_namespace) from [<c0850e98>] (kernel_init_freeable+0x1f8/0x24c) [ 22.451610] [<c0850e98>] (kernel_init_freeable) from [<c0646e40>] (kernel_init+0x8/0xe8) [ 22.459739] [<c0646e40>] (kernel_init) from [<c000a4b0>] (ret_from_fork+0x14/0x24) [ 22.467343] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
printenv
arcNumber=3338 bootargs=console=${console},${baudrate} ${optargs} root=/dev/sd${letter}1 rw rootwait ${mtdparts} bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $loa d_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_ dtb_addr; else bootm $load_uimage_addr; fi; fi bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi; sleep 3 bootdelay=10 bootdev=usb device=0:1 devices=usb ide mmc disks=0 1 2 3 dtb_file=/boot/dts/kirkwood-pogo_e02.dtb ethact=egiga0 ethaddr=00:10:75:xx:xx:xx if_netconsole=ping $serverip ipaddr=192.168.0.231 led_error=orange blinking led_exit=green off led_init=green blinking load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file load_dtb_addr=0x1c00000 load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd load_initrd_addr=0x1100000 load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage load_uimage_addr=0x800000 mainlineLinux=yes mtddevname=u-boot mtddevnum=0 mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:1M(u-boot),-(rootfs) partition=nand0,0 preboot_nc=run if_netconsole start_netconsole scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done serverip=192.168.0.220 set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params setargs=setenv bootargs console=${console},${baudrate} ${optargs} root=/dev/sd${letter}1 rw rootwait ${mtdparts} start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=serial stdin=serial stdout=serial uenv_addr=0x810000 uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done; uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done; uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi usb_ready_retry=15
I have a feeling I am missing the label on the HDD SDA1 partition, but thats just a guess. Im not sure how to confirm or fix. The GFH seems to ignore booting from usb (but does recognize its there).
This is a fresh OS install, so I dont mind wiping it. But how do I get back to either rescue or some linux cli to do that?
Thanks