diff options
Diffstat (limited to 'setupdisk.sh')
-rw-r--r-- | setupdisk.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/setupdisk.sh b/setupdisk.sh index 216388f..e9cd692 100644 --- a/setupdisk.sh +++ b/setupdisk.sh @@ -1,8 +1,5 @@ #!/bin/bash -LFS_DISK="$1" -LFS_ROOT="$2" - sudo fdisk "${LFS_DISK}" >/dev/null 2>&1 << EOF o n @@ -22,4 +19,4 @@ w q EOF -sudo /sbin/mkfs -t ext4 -L "${LFS_VER}" -F "${LFS_DISK}${LFS_ROOT}" >/dev/null 2>&1 +sudo /sbin/mkfs -t ext4 -L "${LFS_VER}" -F "${LFS_DISK}${LFS_PART}" >/dev/null 2>&1 |