RHEL5.5 RHBZ #498856 - Create filesystem labels for existing partitions.

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

 



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.


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux