Displaying 2 results from an estimated 2 matches for "swap_start".
Did you mean:
gap_start
2017 Feb 15
1
Kickstart - part ignore onpart ??
I'm ill, i'm german ...
the script is looks ok, copy from a slim installation of anaconda.
Insert only the "pre part"
and
part /boot --onpart=/dev/sda1
part / --onpart=/dev/sda2
part swap --onpart=/dev/sda3
As i wrote: Jump over to another console and the partitions are there.
Sincerely
Andy
Am Mittwoch, den 15.02.2017, 11:16 -0800 schrieb John R
2017 Feb 15
2
Kickstart - part ignore onpart ??
...ux --disabled
%packages
@^minimal
@core
chrony
kexec-tools
%end
%pre
# clear the MBR and partition table
dd if=/dev/zero of=/dev/sda bs=512 count=1
parted -s /dev/sda mklabel msdos
TOTAL=`parted -s /dev/sda unit mb print free | grep Free | awk '{print
$3}' | cut -d "M" -f1`
let SWAP_START=$TOTAL-820
let ROOT_END=$TOTAL-128-820
parted -s /dev/sda mkpart primary ext2 0 128
parted -s /dev/sda mkpart primary ext2 128 $ROOT_END
parted -s /dev/sda mkpart primary linux-swap $SWAP_START $TOTAL
mkfs.ext2 /dev/sda1
mkfs.ext2 /dev/sda2
mkswap /dev/sda3
%end
%addon com_redhat_kdump --enable...