partitioning in %pre

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to setup a 50MB partition in %pre that will house the Compaq
System Partition.  Here's what I've got so far:

####
%pre

#create the disk device

mknod /dev/cciss/c0d0

#wipe out current disk

echo | fdisk /dev/cciss/c0d0 << EOF
o
w
EOF

echo | fdisk /dev/cciss/c0d0 << EOF
n
p
1

+50M
t
1
12
w
EOF

###

Unfortunately when I do this, anaconda fails when it tries to partition the
disk.

Any pointers?

Thanks,

James S. Martin, RHCE
Contractor
Administrative Office of the United States Courts
Washington, DC
(202) 502-2394





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux