Displaying 3 results from an estimated 3 matches for "wipedisk".
Did you mean:
wipedisks
2016 Aug 20
2
Kickstart issue with UEFi
Hi,
I have a test system that booted fine using "Legacy Bios? mode and using the following Kickstart snippet configured the disks correctly:-
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --all --initlabel
# Disk partitioning information
part raid.01 --fstype="raid" --ondisk=sda --size=500
part raid.02 --fstype="raid" --grow
2016 Aug 21
0
Kickstart issue with UEFi
...a function in my kickstart file that I run
from the %pre script when I specify a keyword in the boot parameters.
You'll want to do something similar...
Stop logical volumes if present. Wipe filesystems with wipefs, and then
stop the RAID volumes. Finally, wipe the disk partition table.
wipedisks() {
vgchange -a n
test -b /dev/md/efi && wipefs -a /dev/md/efi && mdadm --stop
/dev/md/efi
test -b /dev/md/boot && wipefs -a /dev/md/boot && mdadm --stop
/dev/md/boot
test -b /dev/md/primary && wipefs -a /dev/md/primary...
2016 Aug 22
2
Kickstart issue with UEFi
...ile that I run
> from the %pre script when I specify a keyword in the boot parameters.
> You'll want to do something similar...
>
> Stop logical volumes if present. Wipe filesystems with wipefs, and then
> stop the RAID volumes. Finally, wipe the disk partition table.
>
> wipedisks() {
> vgchange -a n
> test -b /dev/md/efi && wipefs -a /dev/md/efi && mdadm --stop
> /dev/md/efi
> test -b /dev/md/boot && wipefs -a /dev/md/boot && mdadm --stop
> /dev/md/boot
> test -b /dev/md/primary &&...