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 2009-01-19 22:09:49

azrael
New member
Registered: 2009-01-19
Posts: 2

problems with fdisk

Hi there,
my dns-323 (fw 1.06, ffp 0.5 with fonz extra packages) is running well, except of a problem:

While trying to format an usb stick correctly recognized as /dev/sdc, the busybox fdisk throws a seg fault. So i tried downloading a debian arm udeb of fdisk and transferred the binary to the dns. so in my ffp/sbin i got (fdisk2 is the new one):

lrwxrwxrwx    1 root     root           14 Jan 16 22:16 fdisk -> ../bin/busybox
-rwxrwxrwx    1 root     root        81140 Jan  2  2008 fdisk2


Strangely it worked exactly once, segfaulting still. Now, i cant run the binary because


root@DNS-323:/mnt/HD_a2/ffp/sbin# fdisk2
-sh: fdisk2: not found


though i set the attributes correctly (a+x). Did anybody get fdisk working with the dns-323 ? Would you mind providing some spoilers?

Offline

 

#2 2009-01-19 23:16:53

dilettanti
Member
Registered: 2008-11-30
Posts: 9

Re: problems with fdisk

This version of fdisk posted by wirbel worked for me.  But I've only used it once.  Good luck!

Offline

 

#3 2009-01-19 23:32:22

azrael
New member
Registered: 2009-01-19
Posts: 2

Re: problems with fdisk

strange, i think it is a rights problem or smth? I cant start the mentioned fdisk:

root@DNS-323:/mnt/HD_a2/www# ls -l
-rw-r--r--    1 root     root       181440 Jan 19 22:29 attachment.php?item=393
-rwxr-xr-x    1 root     root        81140 Jan 19 22:08 fdisk
lrwxrwxrwx    1 root     root            5 Jan 19 22:11 fdiskSC -> fdisk
drwxr-xr-x    2 root     root         4096 Jan 16 23:37 logs
drwxr-xr-x    2 root     root         4096 Jan 19 21:06 pages
root@DNS-323:/mnt/HD_a2/www# ./fdisk
-sh: ./fdisk: not found
root@DNS-323:/mnt/HD_a2/www#

Anyone know why the "not found" appears? (linux noob..)

Offline

 

#4 2009-01-20 09:34:33

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: problems with fdisk

maybe a library is missing. try 'ldd fdisk'

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB