mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 11:04:02 -06:00
Update install.sh
This commit is contained in:
parent
bdebc5b8f0
commit
0ccf221ea0
1 changed files with 0 additions and 16 deletions
16
install.sh
16
install.sh
|
@ -15,22 +15,6 @@ echo ""
|
||||||
echo "Which drive do we want to use for this installation?"
|
echo "Which drive do we want to use for this installation?"
|
||||||
read driveName
|
read driveName
|
||||||
|
|
||||||
(
|
|
||||||
echo g # Create new GPT partition table
|
|
||||||
echo n # Create new partition (for EFI).
|
|
||||||
echo # Set default partition number.
|
|
||||||
echo # Set default first sector.
|
|
||||||
echo +1G # Set +1G as last sector.
|
|
||||||
echo n # Create new partition (for root).
|
|
||||||
echo # Set default partition number.
|
|
||||||
echo # Set default first sector.
|
|
||||||
echo # Set last sector.
|
|
||||||
echo t # Change partition type.
|
|
||||||
echo 1 # Pick first partition.
|
|
||||||
echo 1 # Change first partition to EFI system.
|
|
||||||
echo w # write changes.
|
|
||||||
) | sudo fdisk $driveName -w always -W always
|
|
||||||
|
|
||||||
# List the new partitions.
|
# List the new partitions.
|
||||||
lsblk -f
|
lsblk -f
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue