DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-12-21 21:46:24

KimBP
Member
Registered: 2008-08-10
Posts: 8

cleanboot for DNS-313

Just discovered today that I need something called Cleanboot. Anyone has it running at DNS-313?

I have repartioned my disk and swapped HD_a2 and HD_a4 like suggested in another thread in here. Will this cause me problems.
I have some strange mount issue though. See this output

root@NAS:/mnt/HD_a2# df -k
Filesystem           1k-blocks      Used Available Use% Mounted on
rootfs                  490023     34326    430395   7% /
/dev/root               490023     34326    430395   7% /
tmpfs                    15080         0     15080   0% /var/spool
/dev/sda4               987997      8287    979710   1% /mnt/HD_a4
/dev/sda4            305694580  16622488 273543664   6% /mnt/HD_a2
/dev/sda2               987997      8287    979710   1% /mnt/HD_a4
root@NAS:/mnt/HD_a2#


/dev/sda4 seems to be mounted tvice (both the old and the new). Seems not to cause any problems though

Offline

 

#2 2009-01-25 21:52:26

KimBP
Member
Registered: 2008-08-10
Posts: 8

Re: cleanboot for DNS-313

I have tryed to figure out this my self and read I think everything I can find about it.

So far I have decided to go for a version modified by "SilentException". It is called version 2.0.5

So far I can see the only problem with this in DNS-313 context is cleanboot.sh calling /bin/swapoff. This program doesn't exist at DNS-313 so I've commented it out in the script.

Still though I can't reboot but get an error when I try.

root@NAS:~# reboot
-sh: reboot: not found
root@NAS:~#

root@NAS:~# which reboot
/sbin/reboot
root@NAS:~# ls -l /sbin/reboot
lrwxrwxrwx 1 root root 19 Jan 25 19:34 /sbin/reboot -> /usr/sbin/do_reboot
root@NAS:~# ls -l /usr/sbin/do_reboot
-rwxr-xr-x 1 root root 3632 Jan 25 19:34 /usr/sbin/do_reboot
root@NAS:~# file /usr/sbin/do_reboot
/usr/sbin/do_reboot: ELF 32-bit LSB executable, ARM, version 1, dynamically linked (uses shared libs), stripped
root@NAS:~#


My best guess is that do_reboot is supposed to call cleanboot.sh but apparantly it isn't called at all. Why is it necessary to go via this binary and not just call cleanboot.sh?

Is there anything in do_reboot that causes it not to run at DNS-313?

Offline

 

#3 2009-05-09 19:58:04

Geckozr
Member
Registered: 2009-04-02
Posts: 8

Re: cleanboot for DNS-313

Any news about that : cleanboot for dns 313 ???

I tried several versions :
2.0 2.04 2.05

and no one is working !

the error is :
reboot: not found
(or shudown not found...)

even when i remove cleanboot, the error is still present, and i cannot reboot from telnet sad

Offline

 

#4 2010-02-14 04:33:46

njoy
Member
Registered: 2008-07-05
Posts: 30

Re: cleanboot for DNS-313

I would love a clean boot script for my DNS-313 too.
I think DNS-323 uses EXT2 and DNS-313 NTFS. That may be a reason why the cleanboot plugin for dns-323 doesnt work in 313.


DNS-323 - Excellent in many cases.
DNS-313 - Love it, but hate that D-link only prior the DNS-323 development.
DSM-G600 - Noisy, slow, unstable and ugly. I simply hate it so far.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB