changes in creahdds.sh, leave 1 MB at the beginning of disk

This commit is contained in:
Garret Raziel 2015-03-05 11:03:23 +01:00
parent 8c7a99fae8
commit 0a47a8b9e7

View File

@ -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!"