OpenWrt Forum Archive

Topic: sfdisk does not work.. (DESIGNATED DRIVER (Bleeding Edge, 50104))

The content of this topic has been archived on 5 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/snapshots/ … ckages.gz.
.
.
.
Downloading http://downloads.openwrt.org/snapshots/ … ckages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_management.
Downloading http://downloads.openwrt.org/snapshots/ … kages.sig.
Signature check passed.
root@OpenWrt:~# opkg install sfdisk
Installing sfdisk (2.28-1) to root...
Downloading http://downloads.openwrt.org/snapshots/ … r71xx.ipk.
Installing librt (1.1.16-1) to root...
Downloading http://downloads.openwrt.org/snapshots/ … r71xx.ipk.
Installing libpthread (1.1.16-1) to root...
Downloading http://downloads.openwrt.org/snapshots/ … r71xx.ipk.
Configuring libpthread.
Configuring librt.
Configuring sfdisk.
root@OpenWrt:~# sfdisk
-ash: sfdisk: not found

root@OpenWrt:~#

Depending on how old your installed snapshot is you're probably seeing library mismatches

Ok..

git clone h..ps://github.com/openwrt/openwrt.git
cd op*
git pull
./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig
<utilites->disc->sfdisk [X]->save->exit>
make
write to router...

login...

root@OpenWrt:~# sfdisk
-ash: sfdisk: not found

print screen:
h..ps://drive.google.com/open?id=0BzXEq3NLPH3WRVlxRzNpRDZ5Unc

Maybe the executable is written to a (non-standard) location that is not in your $PATH? Can you run it with the full path?

In a previous message...
h..ps://drive.google.com/open?id=0BzXEq3NLPH3WRVlxRzNpRDZ5Unc

Replace in the link .. by tt

btw, if you're using trunk you probably want to switch to LEDE.

The discussion might have continued from here.