Hi all. I am really stuck. Following the guide: HowTo: Stora - Debian Stretch and OMV4 I've been able to boot debian from USB stick. Everything fine. After a few minutes playing with my new debian, apt installs, etc, the USB started to show bad sector errors, well, it crashed.
I thought that I could do the same with usb but install rootfs to HDD and try to boot from there (keeping stock uboot), so I formatted the hdd just how it's done in the guide (2 partitions: 8Gb ext3 and 256Mb swap) copied rootfs to /dev/sda1 and I have changed the bootcmd this way:
just replacing the bootcmd_usb from the guide to bootcmd_ide
Now the console shows this error:
Do I miss something?
I thought that I could do the same with usb but install rootfs to HDD and try to boot from there (keeping stock uboot), so I formatted the hdd just how it's done in the guide (2 partitions: 8Gb ext3 and 256Mb swap) copied rootfs to /dev/sda1 and I have changed the bootcmd this way:
bootcmd_ide=ide reset; ext2load ide 0:1 0x800000 /boot/uImage; ext2load ide 0:1 0x1100000 /boot/uInitrd bootcmd=setenv bootargs $(console) root=/dev/sda1 rootdelay=10; run bootcmd_ide; bootm 0x800000 0x1100000; reset
just replacing the bootcmd_usb from the guide to bootcmd_ide
Now the console shows this error:
Reset IDE: Marvell Serial ATA Adapter Integrated Sata device found [0 1 0]: Enable DMA mode Device 1 @ 0 1: Model: WDC WD20EFRX-68EUZN0 Firm: 82.00A82 Ser#: WD-WCC4M6KXY9HR Type: Hard Disk Supports 48-bit addressing Capacity: 1907729.0 MB = 1863.0 GB (-387938128 x 512) ** Bad partition 1 ** ** Bad partition 1 ** ## Booting image at 00800000 ... Bad Magic Number
Do I miss something?