[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RHEL5.5 RHBZ #498856 - Create filesystem labels for existing partitions.
- From: Wade Mealing <wmealing redhat com>
- To: anaconda-devel-list redhat com
- Subject: RHEL5.5 RHBZ #498856 - Create filesystem labels for existing partitions.
- Date: Wed, 1 Jul 2009 00:13:29 +1000
Problem:
The attributes for labeling the file system were ignored if kickstarting
with an existing partition.
Resources:
Simple kickstart file..
install
url --url http://192.168.122.1/rhel53/
lang en_US.UTF-8
key --skip
keyboard us
rootpw --iscrypted $6$lPFf5XTECAolzk44$Xsc64wSx9Yc9HSF8b9pXb0FF8pBPteoy/SBFVOvhmSEUYI0SJHZBXjhACM99H.9Bnp8D8LcRnV1gG6k8hJ6fk.
authconfig --enableshadow --passalgo=sha512
selinux --enforcing
timezone --utc Australia/Brisbane
bootloader --location=mbr
part /boot --onpart hda1 --fstype ext3 --label myboot
part swap --onpart hda2 --fstype swap
part / --onpart hda3 --fstype ext3 --label myroot
%packages
%pre
parted -s /dev/hda mktable msdos
sfdisk -uM -D /dev/hda << EOF
,100,L,*
,512,S
,1524,L
,0
EOF
Testing:
I have done initial testing with just kickstart file attached, the system reboots after
and seems to work fine. (linux text ks=http://url/ks.cfg updates=http://url/updates.img )
Going to let another few tests go overnight, will post fix if they fail.
First time using git-send-email, sorry if this ends up doing stupid things.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]