SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I want to replace the fdisk that is included on the busy box of the Slackware dvd, with the gnu fdisk. Trying to find something but not any luck till now.
I haven't a clue about that, but am curious. I guess if you're using an initrd you could put any program you want in the initrd.gz/bin, but otherwise I'm guessing you'd have some major busybox hacking, recompiling to do.... But why oh why would you want to do that? How does "gnu fdisk" differ from the fdisk in busybox and what is it that it offers?
I thought installing parted into the busy box and configure for use instead of fdisk. But since gnu fdisk uses the same commands, I thought just a replacement would need less work.
But things on busy box are a bit different. it is not just a compile. If you look at the structure of busybox you understand why.
No no, I don't want it to be merged, the replacement of the old fdisk with the gnu one it is just a possibility. And a big one. If the result is good, then it would be referered to the other thread as a step.
But it could be also different thread.
And well, yes some hacking, but I don't know how to do this on busybox (at least untill know), and something that it says inside about where is the location on how to use the command to create applets, that location it says is not there.
So I am a bit stacked, if anyone can help, or knows how to put software inside busybox, and documentation about using it. The one I found, it is not enough I think for newcomers on it.
Just remove the fdisk link to busbox and copy the real thing over if the installer initrd has glibc in it, or if the installer has no glibc, then compile and statically link fdisk and copy it over to the initrd. You can probaly even link against newlib, dietlib or uClibc to make it smaller. But, last I checked, the installer had glibc in there -for dialog and maybe some other things, so real fdisk should have no trouble running there either -excpet you may need to copy libuuid or whatever other depends of fdisk are not in there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.