20.04 LTS kickstart --asprimary
Jerry Geis
jerry.geis at gmail.com
Wed Jan 6 20:25:35 UTC 2021
I have 4 partitions in my %pre section.
Each one I have --asprimary however kickstart is making a sda5 partition
instead of sda4.
is there a reason why ?
Something like this:
echo "bootloader --location=mbr --driveorder=$HD1SHORT " >
/tmp/partition-information
echo "clearpart --all --initlabel
" >> /tmp/partition-information
echo "part /boot/efi --ondisk=$HD1SHORT --fstype efi --size=1000
--asprimary " >>
/tmp/partition-information
echo "part / --ondisk=$HD1SHORT --fstype ext4 --size=$ROOTSIZE
--asprimary " >>
/tmp/partition-information
echo "part swap --ondisk=$HD1SHORT --size=$SWAPSIZE
--asprimary $SWAPGROW " >>
/tmp/partition-information
if [ "$HOMEGROW" = "--grow" ]
then
echo "part /home --ondisk=$HD1SHORT --fstype ext4 --size=1
--asprimary $HOMEGROW " >> /tmp/partition-information
fi
I expected partions /sda1 to /sda4 no sda1-sda3 and then sda5. Anything I
can do ?
Thanks
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20210106/d5d17009/attachment.html>
More information about the Ubuntu-devel-discuss
mailing list