Firmware - Save your firmware

From NAS-2000.org

(Redirected from Save your firmware)
Jump to: navigation, search

Contents

[edit] create dir

mkdir -p /mnt/IDE1/flash/dump
cd /mnt/IDE1/flash/dump

[edit] dump flash

dd </dev/mtd0 >redboot.bin (bootloader?)
dd </dev/mtd1 >zImage (kernel)
dd </dev/mtd2 >rd.gz (ramdisk ext2)
dd </dev/mtd3 >hddapp.tgz (samba and so on - rename to hddapp.tar.bz2 if you want to extract it)
dd </dev/mtd4 >VCTL.bin (??)
dd </dev/mtd5 >curconf.tgz (config)
dd </dev/mtd6 >fid.dat (??)

[edit] copy ImageInfo

cp /system/ImageInfo ./

[edit] create firmware

tar czf ../firm.tar.gz *

now you have your Firmware on /mnt/IDE1/flash/dump/firm.tar.gz
save this file on your pc!

[edit] telnetd

The above assumes you've got telnet access. If you can't get telnet access (firmware 2.x) then you can try Firmware_Backup_without_telnetd.

Personal tools