WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: mnttool - errors when used in another distro  (Read 2223 times)

Offline jrm7262

  • Newbie
  • *
  • Posts: 22
mnttool - errors when used in another distro
« on: May 15, 2014, 06:05:15 AM »
Hi,

    When using TinyCore I find the mount tool incredibly handy and thought I'd try to use in the Debian install I have.

Finally got it working, but there is one irritation left.

The mount tool works allowing me to mount and unmount media, but in the terminal window I get the following:

     fdisk: applet not found
     /usr/bin/getdisklabel: line 5: blkid: not found
     /usr/bin/getdisklabel: line 5: blkid: not found
     /usr/bin/getdisklabel: line 5: blkid: not found
     /usr/bin/getdisklabel: line 5: blkid: not found

I have fdisk installed, so I'm assuming mnttool is looking for it in a different location and that the 4 getdisklabel lines relate to fdisk not being found.

Any guidance greatly appreciated.


Kindest regards
James
j8-7

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: mnttool - errors when used in another distro
« Reply #1 on: May 15, 2014, 06:15:42 AM »
The TC tools are built around busybox, so if you want to use them on another distro with GNU tools, you'll need to remove the useBusybox calls.
The only barriers that can stop you are the ones you create yourself.

Offline jrm7262

  • Newbie
  • *
  • Posts: 22
Re: mnttool - errors when used in another distro
« Reply #2 on: May 15, 2014, 01:56:55 PM »
Thank you curaga.

Offline jrm7262

  • Newbie
  • *
  • Posts: 22
Re: mnttool - errors when used in another distro
« Reply #3 on: May 16, 2014, 08:34:00 AM »
As a quick follow up:

Installing 'busybox-syslogd'
got rid of the 'getdisklabel' errors
and just leaves me with the 'fdisk: applet not found' error
This doesn't seem to affect mnttools functionality, all seems to be working correctly.
I shall now look into removing the 'useBusybox calls'
I'm assuming these are in the source code?

Kindest regards
James
j8-7

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: mnttool - errors when used in another distro
« Reply #4 on: May 16, 2014, 01:03:10 PM »
In the helper shell scripts.
The only barriers that can stop you are the ones you create yourself.

Offline beerstein

  • Hero Member
  • *****
  • Posts: 530
Re: mnttool - errors when used in another distro
« Reply #5 on: October 12, 2014, 05:44:38 PM »
Hi: This topic came up when I searched for a fix of my problem:
I tried to create a microSD card with the a10Core to run Cubieboard1.
$ sudo ./mkSDcard sdc   worked fine at the beginning, but at the end there were the following
error message:
Select script.bin

         1. boards/cubieboard_script.bin
         2. boards/hyundai-a7hd-HDM_script.bin
         3. boards/hyundai-a7hd_script.bin
         4. boards/marsboard-script.bin
         5. boards/mele_HDMI_script.bin
         6. boards/mele_VGA_1280x720_script.bin
         7. boards/mele_VGA_script.bin
         8. boards/mini-x_original_script.bin
         9. boards/mk802-script.bin

Enter selection ( 1 - 9 ) or (q)uit: 1
Writing zero's to beginning of /dev/sdc
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.371272 s, 2.8 MB/s

Partitioning /dev/sdc

Copying u-boot & spl-bin
20+1 records in
20+1 records out
20992 bytes (21 kB) copied, 0.0116037 s, 1.8 MB/s
247+1 records in
247+1 records out
253296 bytes (253 kB) copied, 0.0936527 s, 2.7 MB/s

Formatting /dev/
mkfs.vfat 3.0.3 (18 May 2009)

/dev/sdc:
mount: applet not found
Mount failed! - Abort
tc@box:~/cb2$

Can somebody please help me // thank you
t(w)o be(ers) or not t(w)o be(ers) that is the question