[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: qnap 109, wipe disk and restore



Ok, it seems to be handy to have a working system for restore, which I haven't atm, cause I changed the UUIDs in fstab. I can restore the original fstab, how will I make sure it boots again?

Can I mount the disk on my 209 and flash the kernel again?
Something like this (only I do *not* have a boot partition)

mkdir -p /target
mount /dev/sda2 /target
mount /dev/sda1 /target/boot
mount --bind /dev /target/dev
mount -t proc none /target/proc
mount -t sysfs none /target/sys
chroot /target /bin/sh
# the prompt will change
# make modifications to the system and regenerate the initramfs
update-initramfs -u
exit
# the prompt will change again as you're leaving the chroot
umount /target/sys
umount /target/proc
umount /target/dev
umount /target/boot
umount /target
reboot


On 10/15/2012 01:11 PM, rosea.grammostola wrote:
Hi,

Atm I've Debian installed on my qnap 109 II. I want to restore the
original firmware of qnap and wipe the whole disk first. Can I just wipe
the whole disk and then follow the recovery instructions or are there
some things to take care for first?

Thanks in advance,
\r


PS: Debian is running in my Qnap 209, thx for support!


Reply to: