KS won't partition drives

Philip Rowlands phr at doc.ic.ac.uk
Tue Aug 17 19:26:04 UTC 2004


On Tue, 17 Aug 2004, Blair Lowe wrote:

>I tried "fdisk /dev/hda" but that resulted in "unable to open /dev/hda".
>
>Then I tried "fdisk hda" and of course that did not work either: infact
>there are no hd* devices during kickstart pre.

There's no populated /dev, but you can create one:

mknod /dev/hda b 3 0
mknod /dev/hda1 b 3 1

# create primary partition 1, full disk, make active, write
fdisk /dev/hda <<XXX
o
n
p
1
1

t
1
6
a
1
w
XXX



Cheers,
Phil





More information about the Kickstart-list mailing list