How to use fdisk for simple partitioning job

Bernhard Fischer rep.dot.nop at gmail.com
Fri Jul 25 12:03:20 UTC 2008


On Fri, Jul 25, 2008 at 12:28:33PM +0100, Cefn Hoile wrote:
>I have a USB key which I plan to format with 128M swap, and the remainder
>Linux native (ext2 or ext3) so it can host a debian OS, running as the
>external disk on a slug (NSLU2). However, I can't find any way to actually
>set up these partitions with busybox fdisk. Every route I try leads to an
>error.
>
>My procedure is to run...
>fdisk /dev/sda
>...then delete all existing partitions one by one until print (p) shows no
>partitions
>...then create two partitions, one labelled Linux Swap, and another labelled
>Linux Native (cyls 1-18, 19-122 respectively)
>
>However, trying to write these to disk always results in...
>fdisk: pcbios.c:300: pcbios_writeinfo: Assertion `part->nr_partitions <= 4 +
>1' failed.

busybox doesn not contain a "pcbios.c", are you sure that you really use
fdisk from busybox?



More information about the busybox mailing list