Created
October 15, 2015 13:22
-
-
Save lusis/d4c940a51e7f00df3400 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Disk partitioning information | |
clearpart --all --initlabel | |
part /boot --fstype ext4 --size 512 --asprimary | |
part swap --size 1024 | |
part pv.01 --size 1 --grow | |
volgroup sysvg pv.01 | |
logvol / --fstype ext4 --vgname=sysvg --size=20000 --name=root | |
logvol /tmp --fstype ext4 --vgname=sysvg --size=5000 --name=temp | |
logvol /home --fstype ext4 --vgname=sysvg --size=10000 --name=home | |
logvol /var --fstype ext4 --vgname=sysvg --size=100000 --name=var | |
logvol /fuckyoubuntu --fstype ext4 --vgname=sysvg --size=1 --grow --name=fuckyoubuntu | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "Cleaning up ubuntu daftness" | |
sed -i -e 's/^.*fuckyoubuntu.*$//g' /etc/fstab | |
umount /fuckyoubuntu | |
lvremove -v -f /dev/sysvg/fuckyoubuntu | |
rm -rf /fuckyoubuntu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the hint. Partman made me crazy.