Using username "admin". admin@xxx.xxx.xxx.xxx's password: Send automatic password Linux debian-nas 3.2.0-5-nas5xx #50984 SMP Debian 3.2.96-3 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. admin@debian-nas:~$ sudo dru-resize.sh sda2 GPT fdisk (gdisk) version 1.0.1 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Command (? for help): Disk /dev/sda: 15257600 sectors, 7.3 GiB Logical sector size: 512 bytes Disk identifier (GUID): 62B79830-7F65-4C1C-A913-21F48B7A6919 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 15257566 Partitions will be aligned on 2048-sector boundaries Total free space is 11407293 sectors (5.4 GiB) Number Start (sector) End (sector) Size Code Name 1 2048 133119 64.0 MiB 0700 TC_BOOT 2 133120 3852287 1.8 GiB 8300 TC_ROOT Command (? for help): Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING PARTITIONS!! Do you want to proceed? (Y/N): OK; writing new GUID partition table (GPT) to /dev/sda. Warning: The kernel is still using the old partition table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) The operation has completed successfully. GPT fdisk (gdisk) version 1.0.1 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Command (? for help): Disk /dev/sda: 15257600 sectors, 7.3 GiB Logical sector size: 512 bytes Disk identifier (GUID): 62B79830-7F65-4C1C-A913-21F48B7A6919 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 15257566 Partitions will be aligned on 2048-sector boundaries Total free space is 11407293 sectors (5.4 GiB) Number Start (sector) End (sector) Size Code Name 1 2048 133119 64.0 MiB 0700 TC_BOOT 2 133120 3852287 1.8 GiB 8300 TC_ROOT Command (? for help): Partition number (1-2): Command (? for help): Partition number (2-128, default 2): First sector (34-15257566, default = 133120) or {+-}size{KMGTP}: Last sector (133120-15257566, default = 15257566) or {+-}size{KMGTP}: Current type is 'Linux filesystem' Hex code or GUID (L to show codes, Enter = 8300): Changed type of partition to 'Linux filesystem' Command (? for help): Disk /dev/sda: 15257600 sectors, 7.3 GiB Logical sector size: 512 bytes Disk identifier (GUID): 62B79830-7F65-4C1C-A913-21F48B7A6919 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 15257566 Partitions will be aligned on 2048-sector boundaries Total free space is 2014 sectors (1007.0 KiB) Number Start (sector) End (sector) Size Code Name 1 2048 133119 64.0 MiB 0700 TC_BOOT 2 133120 15257566 7.2 GiB 8300 Linux filesystem Command (? for help): Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING PARTITIONS!! Do you want to proceed? (Y/N): OK; writing new GUID partition table (GPT) to /dev/sda. Warning: The kernel is still using the old partition table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) The operation has completed successfully. GPT fdisk (gdisk) version 1.0.1 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Command (? for help): Partition number (1-2): Enter name: Command (? for help): Expert command (? for help): Partition number (1-2): Enter the partition's new unique GUID ('R' to randomize): New GUID is 54CDF5DA-DEB1-F007-A694-32880502EF34 Expert command (? for help): Disk /dev/sda: 15257600 sectors, 7.3 GiB Logical sector size: 512 bytes Disk identifier (GUID): 62B79830-7F65-4C1C-A913-21F48B7A6919 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 15257566 Partitions will be aligned on 2048-sector boundaries Total free space is 2014 sectors (1007.0 KiB) Number Start (sector) End (sector) Size Code Name 1 2048 133119 64.0 MiB 0700 TC_BOOT 2 133120 15257566 7.2 GiB 8300 TC_ROOT Expert command (? for help): Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING PARTITIONS!! Do you want to proceed? (Y/N): OK; writing new GUID partition table (GPT) to /dev/sda. Warning: The kernel is still using the old partition table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) The operation has completed successfully. admin@debian-nas:~$ sudo reboot Using username "admin". admin@xxx.xxx.xxx.xxx's password: Send automatic password Linux debian-nas 3.2.0-5-nas5xx #50984 SMP Debian 3.2.96-3 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed Nov 28 21:58:00 2018 from 192.168.123.25 admin@debian-nas:~$ sudo fdisk -l /dev/sda GPT PMBR size mismatch (3854335 != 15257599) will be corrected by w(rite). Disk /dev/sda: 7,3 GiB, 7811891200 bytes, 15257600 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 62B79830-7F65-4C1C-A913-21F48B7A6919 Device Start End Sectors Size Type /dev/sda1 2048 133119 131072 64M Microsoft basic data /dev/sda2 133120 15257566 15124447 7,2G Linux filesystem admin@debian-nas:~$ sudo fdisk -u /dev/sda Welcome to fdisk (util-linux 2.29.2). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. GPT PMBR size mismatch (3854335 != 15257599) will be corrected by w(rite). GPT PMBR size mismatch (3854335 != 15257599) will be corrected by w(rite). Command (m for help): w GPT PMBR size mismatch (3854335 != 15257599) will be corrected by w(rite). The partition table has been altered. Calling ioctl() to re-read partition table. Re-reading the partition table failed.: Das Gerät oder die Ressource ist belegt The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8). admin@debian-nas:~$ sudo reboot Using username "admin". admin@xxx.xxx.xxx.xxx's password: Send automatic password Linux debian-nas 3.2.0-5-nas5xx #50984 SMP Debian 3.2.96-3 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed Nov 28 22:00:08 2018 from 192.168.123.25 admin@debian-nas:~$ sudo fdisk -l /dev/sda Disk /dev/sda: 7,3 GiB, 7811891200 bytes, 15257600 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 62B79830-7F65-4C1C-A913-21F48B7A6919 Device Start End Sectors Size Type /dev/sda1 2048 133119 131072 64M Microsoft basic data /dev/sda2 133120 15257566 15124447 7,2G Linux filesystem admin@debian-nas:~$ wget http://seafile.servator.de/nas/zyxel/kernel/linux-image-3.2.96-3-nas5xx-armhf.zip --2018-11-28 22:05:27-- http://seafile.servator.de/nas/zyxel/kernel/linux-image-3.2.96-3-nas5xx-armhf.zip Auflösen des Hostnamens »seafile.servator.de (seafile.servator.de)« … 193.41.144.157 Verbindungsaufbau zu seafile.servator.de (seafile.servator.de)|193.41.144.157|:80 … verbunden. HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK Länge: 14164015 (14M) [application/zip] Wird in »»linux-image-3.2.96-3-nas5xx-armhf.zip«« gespeichert. linux-image-3.2.96- 100%[===================>] 13,51M 1,99MB/s in 6,2s 2018-11-28 22:05:33 (2,19 MB/s) - »»linux-image-3.2.96-3-nas5xx-armhf.zip«« gespeichert [14164015/14164015] admin@debian-nas:~$ unzip linux-image-3.2.96-3-nas5xx-armhf.zip Archive: linux-image-3.2.96-3-nas5xx-armhf.zip inflating: flash-bb-env-and-kernel2.sh inflating: install-linux.sh inflating: linux-bsp-nas5xx_5.21_armhf.deb inflating: linux-headers-armhf_3.2+46_armhf.deb inflating: linux-image-armhf_3.2+46_armhf.deb inflating: linux-headers-3.2.0-5-common_3.2.96-3_armhf.deb inflating: linux-headers-3.2.0-5-nas5xx_3.2.96-3_armhf.deb inflating: linux-image-3.2.0-5-nas5xx_3.2.96-3_armhf.deb inflating: linux-kbuild-3.2_3.2.17-1_armhf.deb inflating: linux-kbuild-3.2-dbgsym_3.2.17-1_armhf.deb inflating: nas540-barebox-boot.tar.gz admin@debian-nas:~$ sudo bash flash-bb-env-and-kernel2.sh Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig i2c-tools ist schon die neueste Version (3.1.2-3). mtd-utils ist schon die neueste Version (1:2.0.0-1). 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 114 nicht aktualisiert. (Lese Datenbank ... 56692 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von linux-bsp-nas5xx_5.21_armhf.deb ... Entpacken von linux-bsp-nas5xx (5.21) über (5.21) ... linux-bsp-nas5xx (5.21) wird eingerichtet ... Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig gcc-4.9 ist schon die neueste Version (4.9.2-10). cpp-4.9 ist schon die neueste Version (4.9.2-10). 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 114 nicht aktualisiert. Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig E: Paket linux-compiler-gcc-4.9-arm kann nicht gefunden werden. E: Mittels des Musters »linux-compiler-gcc-4.9-arm« konnte kein Paket gefunden werden. E: Mittels regulärem Ausdruck »linux-compiler-gcc-4.9-arm« konnte kein Paket gefunden werden. Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig linux-kbuild-3.2 ist schon die neueste Version (3.2.17-1). 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 114 nicht aktualisiert. Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig linux-headers-3.2.0-5-common ist schon die neueste Version (3.2.96-3). 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 114 nicht aktualisiert. (Lese Datenbank ... 56692 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von linux-headers-3.2.0-5-common_3.2.96-3_armhf.deb ... Entpacken von linux-headers-3.2.0-5-common (3.2.96-3) über (3.2.96-3) ... Vorbereitung zum Entpacken von linux-headers-3.2.0-5-nas5xx_3.2.96-3_armhf.deb ... Entpacken von linux-headers-3.2.0-5-nas5xx (3.2.96-3) über (3.2.96-3) ... Vorbereitung zum Entpacken von linux-image-3.2.0-5-nas5xx_3.2.96-3_armhf.deb ... Entpacken von linux-image-3.2.0-5-nas5xx (3.2.96-3) über (3.2.96-3) ... Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.2.0-5-nas5xx /boot/vmlinuz-3.2.0-5-nas5xx linux-headers-3.2.0-5-common (3.2.96-3) wird eingerichtet ... linux-headers-3.2.0-5-nas5xx (3.2.96-3) wird eingerichtet ... linux-image-3.2.0-5-nas5xx (3.2.96-3) wird eingerichtet ... Running depmod. Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.2.0-5-nas5xx /boot/vmlinuz-3.2.0-5-nas5xx run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-5-nas5xx /boot/vmlinuz-3.2.0-5-nas5xx update-initramfs: Generating /boot/initrd.img-3.2.0-5-nas5xx W: mdadm: /etc/mdadm/mdadm.conf defines no arrays. run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-5-nas5xx /boot/vmlinuz-3.2.0-5-nas5xx (Lese Datenbank ... 56692 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von linux-headers-armhf_3.2+46_armhf.deb ... Entpacken von linux-headers-armhf (3.2+46) über (3.2+46) ... Vorbereitung zum Entpacken von linux-image-armhf_3.2+46_armhf.deb ... Entpacken von linux-image-armhf (3.2+46) über (3.2+46) ... linux-headers-armhf (3.2+46) wird eingerichtet ... linux-image-armhf (3.2+46) wird eingerichtet ... /home/admin CONFIG_COMCERTO_WATCHDOG=y NAS540: drive_bays=4 using root PARTUUID=54cdf5da-deb1-f007-a694-32880502ef34 *** Creating bb.env *** *** Erasing *** Erasing 64 Kibyte @ 300000064 -- 1996259560 % complete mplete *** Writing *** *** Erasing **** Erasing 128 Kibyte @ 300000064 -- 1996464360 % complete mplete *** Writing *** Writing data to block 0 at offset 0x0 Writing data to block 1 at offset 0x20000 Writing data to block 2 at offset 0x40000 Writing data to block 3 at offset 0x60000 Writing data to block 4 at offset 0x80000 Writing data to block 5 at offset 0xa0000 Writing data to block 6 at offset 0xc0000 Writing data to block 7 at offset 0xe0000 Writing data to block 8 at offset 0x100000 Writing data to block 9 at offset 0x120000 Writing data to block 10 at offset 0x140000 Writing data to block 11 at offset 0x160000 Writing data to block 12 at offset 0x180000 Writing data to block 13 at offset 0x1a0000 Writing data to block 14 at offset 0x1c0000 Writing data to block 15 at offset 0x1e0000 Writing data to block 16 at offset 0x200000 Writing data to block 17 at offset 0x220000 Writing data to block 18 at offset 0x240000 Writing data to block 19 at offset 0x260000 Writing data to block 20 at offset 0x280000 Writing data to block 21 at offset 0x2a0000 Writing data to block 22 at offset 0x2c0000 Writing data to block 23 at offset 0x2e0000 Writing data to block 24 at offset 0x300000 Writing data to block 25 at offset 0x320000 Writing data to block 26 at offset 0x340000 Writing data to block 27 at offset 0x360000 Writing data to block 28 at offset 0x380000 Writing data to block 29 at offset 0x3a0000 Writing data to block 30 at offset 0x3c0000 *** Set next_bootfrom *** Erasing 64 Kibyte @ 300000064 -- 1996194024 % complete mplete admin@debian-nas:~$ sudo reboot