From 45e90cd0768d63dcaa30ac26c0a6f55f427a27d3 Mon Sep 17 00:00:00 2001 From: Garret Raziel Date: Fri, 13 Feb 2015 11:58:44 +0100 Subject: [PATCH] add file to second partition during creating disks --- createhdds.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/createhdds.sh b/createhdds.sh index f638a65..3aafc3e 100755 --- a/createhdds.sh +++ b/createhdds.sh @@ -9,6 +9,10 @@ mkfs ext4 /dev/sda1 mkfs ext4 /dev/sda2 mount /dev/sda1 / write /testfile "Hello, world!" +umount / +mount /dev/sda2 / +write /testfile "Oh, hi Mark" +umount / _EOF_ guestfish <<_EOF_