mirror of
https://github.com/rocky-linux/createhdds.git
synced 2024-12-22 10:08:30 +00:00
changes in creahdds.sh, leave 1 MB at the beginning of disk
This commit is contained in:
parent
8c7a99fae8
commit
0a47a8b9e7
@ -19,7 +19,7 @@ guestfish <<_EOF_
|
|||||||
sparse disk_freespace.img 10G
|
sparse disk_freespace.img 10G
|
||||||
run
|
run
|
||||||
part-init /dev/sda mbr
|
part-init /dev/sda mbr
|
||||||
part-add /dev/sda p 1 2097152
|
part-add /dev/sda p 4096 2097152
|
||||||
mkfs ext4 /dev/sda1
|
mkfs ext4 /dev/sda1
|
||||||
mount /dev/sda1 /
|
mount /dev/sda1 /
|
||||||
write /testfile "Hello, world!"
|
write /testfile "Hello, world!"
|
||||||
|
Loading…
Reference in New Issue
Block a user