[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
partitioning in %pre
- From: James_Martin ao uscourts gov
- To: kickstart-list redhat com
- Subject: partitioning in %pre
- Date: Thu, 3 Apr 2003 12:35:51 -0500
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]