-> darklord, dragon_cb_cz: mám problém s aktualizací OS v NAS. Přes web. rozhraní to skončí neznámou chybou, se kterou si neporadila ani podpora výrobce. Hledal jsem na netu dál a našel tento návod, tak se to podle něj snažím udělat:
forum.asustor.com/viewtop
ic.php?f=5&t=...
a skončím v kroku kde mám ty soubory namountovat. Ty soubory jsem v PC rozbalil, zkopíroval na flashku a z flashky připojené do NAS jsem je zkopíroval do NAS.
Postupoval jsem takto:
admin@AS6302T-EE20:/volum
e1/home/admin $ cd /dev
admin@AS6302T-EE20:/dev $ ls
0:0:0:0 loop27 sda3 tty54
1:0:0:0 loop28 sda4 tty55
2-1 loop29 sdb tty56
2:0:0:0 loop3 sdb1 tty57
btrfs-control loop30 sdb2 tty58
card0 loop31 sdb3 tty59
console loop4 sdb4 tty6
controlC0 loop5 sdc tty60
cpu_dma_latency loop6 seq tty61
crypto loop7 sg0 tty62
device-mapper loop8 sg1 tty63
dri/ loop9 sg2 tty7
event0 md0 shm@ tty8
event1 md1 snapshot tty9
event10 md126 timer ttyS0
event11 mem tty ttyS1
event12 memory_bandwidth tty0 ttyS10
event13 mice tty1 ttyS11
event14 microcode tty10 ttyS12
event15 mmcblk0 tty11 ttyS13
event16 mmcblk0boot0 tty12 ttyS14
event17 mmcblk0boot1 tty13 ttyS15
event2 mmcblk0p1 tty14 ttyS16
event3 mmcblk0p2 tty15 ttyS17
event4 mmcblk0p3 tty16 ttyS18
event5 mmcblk0p4 tty17 ttyS19
event6 mmcblk0rpmb tty18 ttyS2
event7 mouse0 tty19 ttyS20
event8 network_latency tty2 ttyS21
event9 network_throughput tty20 ttyS22
fnotify null tty21 ttyS23
full pcmC0D0c tty22 ttyS24
fuse pcmC0D0p tty23 ttyS25
hpet pcmC0D10p tty24 ttyS26
hwC0D0 pcmC0D1p tty25 ttyS27
hwC0D2 pcmC0D2c tty26 ttyS28
hw_random pcmC0D3p tty27 ttyS29
i2c-0 pcmC0D7p tty28 ttyS3
i2c-1 pcmC0D8p tty29 ttyS30
i2c-2 pcmC0D9p tty3 ttyS31
i2c-3 port tty30 ttyS4
i2c-4 psaux tty31 ttyS5
iscsi-scst-ctl ptmx tty32 ttyS6
kmsg pts/ tty33 ttyS7
log= ram0 tty34 ttyS8
loop-control ram1 tty35 ttyS9
loop0 ram10 tty36 ttyprintk
loop1 ram11 tty37 uinput
loop10 ram12 tty38 urandom
loop11 ram13 tty39 usb1
loop12 ram14 tty4 usb2
loop13 ram15 tty40 usbdev1.1
loop14 ram2 tty41 usbdev2.1
loop15 ram3 tty42 usbdev2.2
loop16 ram4 tty43 usbmon0
loop17 ram5 tty44 usbmon1
loop18 ram6 tty45 usbmon2
loop19 ram7 tty46 vcs
loop2 ram8 tty47 vcs1
loop20 ram9 tty48 vcsa
loop21 random tty49 vcsa1
loop22 renderD128 tty5 vga_arbiter
loop23 rtc0 tty50 zero
loop24 sda tty51
loop25 sda1 tty52
loop26 sda2 tty53
admin@AS6302T-EE20:/volum
e1/home/admin $ sudo -l
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
Password:
Matching Defaults entries for admin on AS6302T-EE20:
env_reset, mail_badpass,
secure_path=/usr/local/sb
in\:/usr/local/bin\:/usr/s
bin\:/usr/bin\:/sbin\:/bin
User admin may run the following commands on AS6302T-EE20:
(ALL : ALL) ALL
admin@AS6302T-EE20:/volum
e1/home/admin $ ls
Pre-update.tar.zip builtin.tgz.md5sum* bzImage.md5sum* initramfs.md5sum*
builtin.tgz* bzImage* initramfs*
builtin.tgz.cksum* bzImage.cksum* initramfs.cksum*
admin@AS6302T-EE20:/volum
e1/home/admin $ readlink -f bzImage
/volume1/home/admin/bzIma
ge
admin@AS6302T-EE20:/volum
e1/home/admin $ readlink -f initramfs
/volume1/home/admin/initr
amfs
admin@AS6302T-EE20:/dev $ mount /volume1/home/admin/bzIma
ge /dev/dev mmcblk0p2
BusyBox v1.19.3 (2019-07-26 01:12:03 CST) multi-call binary.
Usage: mount [OPTIONS] [-o OPTS] DEVICE NODE
Mount a filesystem. Filesystem autodetection requires /proc.
-a Mount all filesystems in fstab
-f Dry run
-r Read-only mount
-w Read-write mount (default)
-t FSTYPE Filesystem type
-O OPT Mount only filesystems with option OPT (-a only)
-o OPT:
loop Ignored (loop devices are autodetected)
[a]sync Writes are [a]synchronous
[no]atime Disable/enable updates to inode access times
[no]diratime Disable/enable atime updates to directories
[no]relatime Disable/enable atime updates relative to modification time
[no]dev (Dis)allow use of special device files
[no]exec (Dis)allow use of executable files
[no]suid (Dis)allow set-user-id-root programs
[r]shared Convert [recursively] to a shared subtree
[r]slave Convert [recursively] to a slave subtree
[r]private Convert [recursively] to a private subtree
[un]bindable Make mount point [un]able to be bind mounted
[r]bind Bind a file or directory [recursively] to another location
move Relocate an existing mount point
remount Remount a mounted filesystem, changing flags
ro/rw Same as -r/-w
There are filesystem-specific -o flags.