"Sorry, this script currently doesn't work with GNU Fdisk" Error

Hi,

I’m a newbie, trying to run Debian Squeeze on BeagleBone. I tried to follow the instruction on http://elinux.org/BeagleBoardDebian but ran into this error. Anyone please help me resolve this issue, thanks. Below is a screen info when I tried it. Thanks again!

test@LinuxDev:~$ git clone git://github.com/RobertCNelson/netinstall.git
Cloning into netinstall…
remote: Counting objects: 1749, done.
remote: Compressing objects: 100% (598/598), done.
remote: Total 1749 (delta 1173), reused 1720 (delta 1144)
Receiving objects: 100% (1749/1749), 290.11 KiB | 513 KiB/s, done.
Resolving deltas: 100% (1173/1173), done.
test@LinuxDev:~$ ls
Desktop Downloads netinstall Pictures Templates
Documents Music netinstall2 Public Videos
test@LinuxDev:~$ cd netinstall
test@LinuxDev:~/netinstall$ ls
INSTALL.Debian mk_mmc.sh README scripts test.Ubuntu TODO

test@LinuxDev:~/netinstall$ sudo ./mk_mmc.sh --mmc /dev/sdd --uboot bone --distro squeeze
[sudo] password for test:

I see…
fdisk -l:
Disk /dev/sda: 1000 GB, 1000202273280 bytes
Disk /dev/sdd: 3 GB, 3898782720 bytes

mount:
/dev/sda1 on / type ext3 (rw,errors=remount-ro)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sr0 on /media/cdrom0 type iso9660 (ro,noexec,nosuid,nodev,user=test)

Are you 100% sure, on selecting [/dev/sdd] (y/n)? y

mount:
/dev/sda1 on / type ext3 (rw,errors=remount-ro)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sr0 on /media/cdrom0 type iso9660 (ro,noexec,nosuid,nodev,user=test)

Are you 100% sure, on selecting [/dev/sdd] (y/n)? y

Script Version git: f148f99

This will fix that:

sudo apt-get install util-linux

Regards,

Thanks for the quick response Robert. I did what said and I got the message below.

test@LinuxDev:~/netinstall$ sudo apt-get install util-linux
[sudo] password for test:
Reading package lists… Done
Building dependency tree
Reading state information… Done
util-linux is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
test@LinuxDev:~/netinstall$

So, what does "dpkg-divert --list" show?

I'm guessing something like this?

"diversion of /sbin/fdisk to /sbin/fdisk.distrib by gnu-fdisk"

In which case i'd do:

sudo apt-get remove gnu-fdisk --purge ; sudo apt-get install
util-linux --reinstall

Regards,

Many Thanks Robert! I’m able to boot my BeagleBone.