Loading bundle-gnulinux.txt +13 −17 Original line number Diff line number Diff line == Creating a Debian VM Set up Debian VMs for building bundles. You need one for i386 and one for amd64. for amd64. (Replace "X.X.X" with the current version number.) http://cdimage.debian.org/debian-cd/7.0.0/i386/iso-cd/debian-7.0.0-i386-netinst.iso http://cdimage.debian.org/debian-cd/7.0.0/i386/iso-cd/SHA256SUMS http://cdimage.debian.org/debian-cd/7.0.0/i386/iso-cd/SHA256SUMS.sign http://cdimage.debian.org/debian-cd/current/i386/iso-cd/debian-X.X.X-i386-netinst.iso http://cdimage.debian.org/debian-cd/current/i386/iso-cd/SHA256SUMS http://cdimage.debian.org/debian-cd/current/i386/iso-cd/SHA256SUMS.sign http://cdimage.debian.org/debian-cd/7.0.0/amd64/iso-cd/debian-7.0.0-amd64-netinst.iso http://cdimage.debian.org/debian-cd/7.0.0/amd64/iso-cd/SHA256SUMS http://cdimage.debian.org/debian-cd/7.0.0/amd64/iso-cd/SHA256SUMS.sign http://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-X.X.X-amd64-netinst.iso http://cdimage.debian.org/debian-cd/current/amd64/iso-cd/SHA256SUMS http://cdimage.debian.org/debian-cd/current/amd64/iso-cd/SHA256SUMS.sign Verify the digests. http://www.debian.org/CD/verify Loading @@ -20,26 +20,22 @@ to the gpg --verify command. $ gpg --verify SHA256SUMS.sign SHA256SUMS $ sha256sum debian-7.0.0-i386-netinst.iso e41fbf8a1691faba2eba1981f42503027d6793e8e9bb02afcf6836b76dbdbdb6 debian-7.0.0-i386-netinst.iso $ sha256sum debian-X.X.X-i386-netinst.iso $ grep netinst SHA256SUMS e41fbf8a1691faba2eba1981f42503027d6793e8e9bb02afcf6836b76dbdbdb6 debian-7.0.0-i386-netinst.iso $ sha256sum debian-7.0.0-amd64-netinst.iso a1f8bf08ac01ba44437482b0afa0676839a16a20d7d9f6cb1d8ea0fc2b383ac4 debian-7.0.0-amd64-netinst.iso $ sha256sum debian-X.X.X-amd64-netinst.iso $ grep netinst SHA256SUMS a1f8bf08ac01ba44437482b0afa0676839a16a20d7d9f6cb1d8ea0fc2b383ac4 debian-7.0.0-amd64-netinst.iso Create the disk images. $ qemu-img create -f qcow2 debian-7-i386-bundle.hda 10G $ qemu-img create -f qcow2 debian-7-amd64-bundle.hda 10G $ qemu-img create -f qcow2 debian-i386-bundle.hda 10G $ qemu-img create -f qcow2 debian-amd64-bundle.hda 10G Then boot the VM. You need your normal user to be in the "kvm" group for this to work (sudo usermod -a -G kvm user). $ kvm -hda debian-7-i386-bundle.hda -cdrom debian-7.0.0-i386-netinst.iso $ kvm -hda debian-7-amd64-bundle.hda -cdrom debian-7.0.0-amd64-netinst.iso $ kvm -hda debian-i386-bundle.hda -cdrom debian-X.X.X-i386-netinst.iso $ kvm -hda debian-amd64-bundle.hda -cdrom debian-X.X.X-amd64-netinst.iso Choose "Install" when it boots. Here are settings: Loading Loading
bundle-gnulinux.txt +13 −17 Original line number Diff line number Diff line == Creating a Debian VM Set up Debian VMs for building bundles. You need one for i386 and one for amd64. for amd64. (Replace "X.X.X" with the current version number.) http://cdimage.debian.org/debian-cd/7.0.0/i386/iso-cd/debian-7.0.0-i386-netinst.iso http://cdimage.debian.org/debian-cd/7.0.0/i386/iso-cd/SHA256SUMS http://cdimage.debian.org/debian-cd/7.0.0/i386/iso-cd/SHA256SUMS.sign http://cdimage.debian.org/debian-cd/current/i386/iso-cd/debian-X.X.X-i386-netinst.iso http://cdimage.debian.org/debian-cd/current/i386/iso-cd/SHA256SUMS http://cdimage.debian.org/debian-cd/current/i386/iso-cd/SHA256SUMS.sign http://cdimage.debian.org/debian-cd/7.0.0/amd64/iso-cd/debian-7.0.0-amd64-netinst.iso http://cdimage.debian.org/debian-cd/7.0.0/amd64/iso-cd/SHA256SUMS http://cdimage.debian.org/debian-cd/7.0.0/amd64/iso-cd/SHA256SUMS.sign http://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-X.X.X-amd64-netinst.iso http://cdimage.debian.org/debian-cd/current/amd64/iso-cd/SHA256SUMS http://cdimage.debian.org/debian-cd/current/amd64/iso-cd/SHA256SUMS.sign Verify the digests. http://www.debian.org/CD/verify Loading @@ -20,26 +20,22 @@ to the gpg --verify command. $ gpg --verify SHA256SUMS.sign SHA256SUMS $ sha256sum debian-7.0.0-i386-netinst.iso e41fbf8a1691faba2eba1981f42503027d6793e8e9bb02afcf6836b76dbdbdb6 debian-7.0.0-i386-netinst.iso $ sha256sum debian-X.X.X-i386-netinst.iso $ grep netinst SHA256SUMS e41fbf8a1691faba2eba1981f42503027d6793e8e9bb02afcf6836b76dbdbdb6 debian-7.0.0-i386-netinst.iso $ sha256sum debian-7.0.0-amd64-netinst.iso a1f8bf08ac01ba44437482b0afa0676839a16a20d7d9f6cb1d8ea0fc2b383ac4 debian-7.0.0-amd64-netinst.iso $ sha256sum debian-X.X.X-amd64-netinst.iso $ grep netinst SHA256SUMS a1f8bf08ac01ba44437482b0afa0676839a16a20d7d9f6cb1d8ea0fc2b383ac4 debian-7.0.0-amd64-netinst.iso Create the disk images. $ qemu-img create -f qcow2 debian-7-i386-bundle.hda 10G $ qemu-img create -f qcow2 debian-7-amd64-bundle.hda 10G $ qemu-img create -f qcow2 debian-i386-bundle.hda 10G $ qemu-img create -f qcow2 debian-amd64-bundle.hda 10G Then boot the VM. You need your normal user to be in the "kvm" group for this to work (sudo usermod -a -G kvm user). $ kvm -hda debian-7-i386-bundle.hda -cdrom debian-7.0.0-i386-netinst.iso $ kvm -hda debian-7-amd64-bundle.hda -cdrom debian-7.0.0-amd64-netinst.iso $ kvm -hda debian-i386-bundle.hda -cdrom debian-X.X.X-i386-netinst.iso $ kvm -hda debian-amd64-bundle.hda -cdrom debian-X.X.X-amd64-netinst.iso Choose "Install" when it boots. Here are settings: Loading