fix
This commit is contained in:
parent
bc432ae80b
commit
5f7630d502
2 changed files with 12 additions and 1 deletions
|
@ -8,7 +8,16 @@ run_hook ()
|
||||||
read -p "Welches Laufwerk soll eine cow_device erhalten? /dev/sda : " formatdevice
|
read -p "Welches Laufwerk soll eine cow_device erhalten? /dev/sda : " formatdevice
|
||||||
[[ -z "${formatdevice}" ]] && formatdevice=/dev/sda
|
[[ -z "${formatdevice}" ]] && formatdevice=/dev/sda
|
||||||
|
|
||||||
sfdisk -a 2048 -n 3:: -c 3:"cow_device" -t 3:8300 ${formatdevice}
|
fdisk ${formatdevice} <<EOT
|
||||||
|
p
|
||||||
|
n
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
p
|
||||||
|
w
|
||||||
|
EOT
|
||||||
|
|
||||||
mkfs.btrfs -f -L cow_device ${formatdevice}3
|
mkfs.btrfs -f -L cow_device ${formatdevice}3
|
||||||
|
|
||||||
launch_interactive_shell
|
launch_interactive_shell
|
||||||
|
|
|
@ -17,6 +17,7 @@ build()
|
||||||
add_binary blockdev
|
add_binary blockdev
|
||||||
add_binary fdisk
|
add_binary fdisk
|
||||||
add_binary sfdisk
|
add_binary sfdisk
|
||||||
|
add_binary sgdisk
|
||||||
add_binary hexdump
|
add_binary hexdump
|
||||||
add_binary losetup
|
add_binary losetup
|
||||||
add_binary mkswap
|
add_binary mkswap
|
||||||
|
@ -29,6 +30,7 @@ build()
|
||||||
add_binary fsck.ext4
|
add_binary fsck.ext4
|
||||||
add_binary lsattr
|
add_binary lsattr
|
||||||
add_binary mkfs.ext4
|
add_binary mkfs.ext4
|
||||||
|
add_binary mkfs.btrfs
|
||||||
add_binary tune2fs
|
add_binary tune2fs
|
||||||
|
|
||||||
# xfsprogs
|
# xfsprogs
|
||||||
|
|
Loading…
Reference in a new issue