SOLVED: OMV on GoFlex Net and other booting problem September 14, 2015 11:58AM |
Registered: 9 years ago Posts: 14 |
ethact=egiga0 bootdelay=3 baudrate=115200 mainlineLinux=yes console=ttyS0,115200 led_init=green blinking led_exit=green off led_error=orange blinking mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) mtdids=nand0=orion_nand partition=nand0,2 stdin=serial stdout=serial stderr=serial rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params 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 pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi 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 ubifs_mtd=3 ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params 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 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_list=1 2 3 4 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_device=0:1 usb_root=/dev/sda1 usb_rootfstype=ext2 usb_rootdelay=10 usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_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 bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset ethaddr=00:10:75:26:71:9F rescue_installed=1 arcNumber=3089 usb_init=run usb_scan; setenv usb_root LABEL=rootfs usb_bootcmd=run usb_init; setenv usb_root LABEL=rootfs; run usb_set_bootargs; run usb_boot
Re: OMV on GoFlex Net and ohter booting problem September 14, 2015 12:11PM |
Admin Registered: 13 years ago Posts: 18,858 |
Re: OMV on GoFlex Net and ohter booting problem September 14, 2015 12:39PM |
Registered: 9 years ago Posts: 14 |
Re: OMV on GoFlex Net and ohter booting problem September 14, 2015 06:29PM |
Admin Registered: 13 years ago Posts: 18,858 |
Re: OMV on GoFlex Net and other booting problem September 15, 2015 08:26AM |
Registered: 9 years ago Posts: 14 |
[ 4.443576] scsi host0: usb-storage 1-1:1.0 [ 4.457539] scsi host1: sata_mv [ 4.461253] usbcore: registered new interface driver usb-storage [ 4.480813] scsi host2: sata_mv [ 4.489885] ata1: SATA max UDMA/133 irq 32 [ 4.497961] usbcore: registered new interface driver uas [ 4.517327] ata2: SATA max UDMA/133 irq 32 [ 4.863502] ata1: SATA link down (SStatus 0 SControl F300) [ 5.233486] ata2: SATA link down (SStatus 0 SControl F300) [ 5.454780] scsi 0:0:0:0: Direct-Access Corsair Voyager Mini 1100 PQ: 0 ANSI: 0 CCS [ 5.470384] sd 0:0:0:0: [sda] 7831552 512-byte logical blocks: (4.00 GB/3.73 GiB) [ 5.480213] sd 0:0:0:0: [sda] Write Protect is off [ 5.485701] sd 0:0:0:0: [sda] No Caching mode page found [ 5.491041] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 5.502448] sda: sda1 [ 5.508079] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 5.517276] sd 0:0:0:0: Attached scsi generic sg0 type 0 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. [ 15.340250] EXT2-fs (sda1): error: couldn't mount because of unsupported optional features (4) mount: mounting /dev/disk/by-label/rootfs on /root failed: Invalid argument Begin: Running /scripts/local-bottom ... done. done. Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory done. Target filesystem doesn't have requested /sbin/init. No init found. Try passing init= bootarg. modprobe: module i8042 not found in modules.dep [ 15.513917] uhci_hcd: USB Universal Host Controller Interface driver [ 15.528264] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 15.543323] usbcore: registered new interface driver usbhid [ 15.549027] usbhid: USB HID core driver BusyBox v1.22.1 (Debian 1:1.22.0-9+b1) built-in shell (ash) Enter 'help' for a list of built-in commands. /bin/sh: can't access tty; job control turned off (initramfs)
Re: OMV on GoFlex Net and other booting problem September 15, 2015 12:16PM |
Admin Registered: 13 years ago Posts: 18,858 |
Quote
mount: mounting /dev/disk/by-label/rootfs on /root failed: Invalid argument
usb_rootfstype=ext2
setenv usb_rootfstype boot
fw_setenv usb_rootfstype
Re: OMV on GoFlex Net and other booting problem September 16, 2015 02:33AM |
Registered: 9 years ago Posts: 14 |
>Quote
mount: mounting /dev/disk/by-label/rootfs
> on /root failed: Invalid argument
> usb_rootfstype=ext2 >>
> setenv usb_rootfstype > boot >>
> fw_setenv usb_rootfstype >
Re: OMV on GoFlex Net and other booting problem September 16, 2015 03:32AM |
Admin Registered: 13 years ago Posts: 18,858 |
Re: OMV on GoFlex Net and other booting problem September 17, 2015 09:10AM |
Registered: 9 years ago Posts: 14 |
Start with fresh install with latest rootfs (3.18.5 and kernel update 4.2.0) rm /etc/ssh/ssh_host* ssh-keygen -A echo "deb http://packages.openmediavault.org/public kralizec main" > /etc/apt/sources.list.d/openmediavault.list wget -O - http://packages.openmediavault.org/public/archive.key | apt-key add - apt-get update apt-get upgrade apt-get install acl acpid anacron bash-completion beep bootlogd bsd-mailx ca-certificates collectd collectd-core cpufrequtils cron cron-apt dh-python dmeventd fontconfig fontconfig-config fonts-dejavu-core fuse gdisk hdparm ifenslave iptables jfsutils libapparmor1 libasn1-8-heimdal libavahi-client3 libcairo2 libcpufreq0 libcups2 libdatrie1 libdbi1 libdevmapper-event1.02.1 libestr0 libfile-copy-recursive-perl libfile-slurp-perl libfontconfig1 libfreetype6 libfuse2 libgd3 libglib2.0-0 libgraphite2-3 libgssapi3-heimdal libharfbuzz0b libhcrypto4-heimdal libhdb9-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libjavascript-minifier-xs-perl libjbig0 libjpeg62-turbo libjs-extjs4 libjson-c2 libjson-perl libkdc2-heimdal libkrb5-26-heimdal libldb1 liblocale-po-perl liblockfile-bin liblockfile1 liblogging-stdlog0 liblognorm1 libltdl7 liblvm2cmd2.02 libmagic1 libmpdec2 libnewt0.52 libnfnetlink0 libnl-3-200 libnl-genl-3-200 libntdb1 libnss-mdns libonig2 libossp-uuid16 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libparted2 libpci3 libperl4-corelibs-perl libperl5.20 libpixman-1-0 libpython2.7 libpython3-stdlib libpython3.4-minimal libpython3.4-stdlib libqdbm14 libreadline5 libroken18-heimdal librrd4 libsasl2-modules libsensors4 libsnmp-base libsnmp30 libtalloc2 libtdb1 libtevent0 libthai-data libthai0 libtiff5 libvpx1 libwbclient0 libwind0-heimdal libx11-6 libx11-data libxau6 libxcb-render0 libxcb-shm0 libxcb1 libxdmcp6 libxext6 libxpm4 libxrender1 libxslt1.1 lsof lvm2 mdadm monit nginx nginx-common nginx-full ntfs-3g openssh-blacklist-extra php-json-schema php5-cgi php5-cli php5-fpm php5-json pm-utils parted perl perl-modules php5-common postfix powermgmt-base proftpd-basic psmisc python-apt-common python-crypto python-dnspython python-ldb python-ntdb python-samba python-talloc python-tdb python3 python3-apt python3-minimal python3.4 python3.4-minimal quota quotatool resolvconf rrdcached rrdtool rsyslog samba samba-common samba-common-bin samba-dsdb-modules samba-libs sdparm smartmontools snmpd socat ssl-cert sudo tdb-tools tftpd-hpa update-inetd uuid watchdog whiptail xfsprogs xmlstarlet
wget http://packages.openmediavault.org/public/pool/main/p/php5-pam/php5-pam_1.0.3-3_armel.deb wget http://packages.openmediavault.org/public/pool/main/p/php5-proctitle/php5-proctitle_0.1.2-3_armel.deb wget http://ftp.us.debian.org/debian/pool/main/p/proftpd-mod-vroot/proftpd-mod-vroot_0.9.2-2+b5_armel.deb dpkg -i php5-proctitle_0.1.2-3_armel.deb dpkg -i php5-pam_1.0.3-3_armel.deb dpkg -i proftpd-mod-vroot_0.9.2-2+b5_armel.deb
apt-get install openmediavault omv-initsystem
Re: OMV on GoFlex Net and other booting problem September 17, 2015 10:34AM |
Registered: 9 years ago Posts: 1,516 |
Re: OMV on GoFlex Net and other booting problem September 18, 2015 01:31AM |
Registered: 9 years ago Posts: 14 |
I stand corrected :-) September 18, 2015 03:29PM |
Registered: 9 years ago Posts: 1,516 |
SOLVED: Re: OMV on GoFlex Net and other booting problem September 21, 2015 08:50AM |
Registered: 9 years ago Posts: 14 |
rm /etc/ssh/ssh_host* ssh-keygen -A echo "deb http://packages.openmediavault.org/public kralizec main" > /etc/apt/sources.list.d/openmediavault.list wget -O - http://packages.openmediavault.org/public/archive.key | apt-key add - apt-get update
gpg --keyserver pgpkeys.mit.edu --recv-key 7638D0442B90D010 gpg --keyserver pgpkeys.mit.edu --recv-key 9D6D8F6BC857C906 gpg -a --export 7638D0442B90D010 | apt-key add - gpg -a --export 9D6D8F6BC857C906 | apt-key add - apt-get update
apt-get upgrade dpkg-reconfigure tzdata apt-get install openmediavault