Talk:Untarring a fresh OS image

From PrgmrWiki

I boot the CentOS rescue disk, then paste the following into the console:

mkfs.ext3 -L PRGMRDISK1 /dev/xvda1
mount -n /dev/xvda1 /mnt 
tar xzf /distros/debian32.tar.gz -C /mnt
#--------------------------------------#
cat<<EOF>/mnt/root/setpass.sh
#!/bin/bash
passwd=\$(dd if=/dev/urandom bs=12 count=1|base64)
echo "root:\${passwd}"|chpasswd
echo "The password is [ \${passwd} ]"
exit;
EOF
#--------------------------------------#
chmod 750 /mnt/root/setpass.sh
chroot /mnt /root/setpass.sh
umount -n /mnt
shutdown -h now

option 2 then boots grub, starts to boot my kernel then dies with

  Booting 'Debian GNU/Linux, kernel 2.6.32-5-686-bigmem'

root  (hd0,0)
 Filesystem type is ext2fs, partition type 0x83
kernel  /boot/vmlinuz-2.6.32-5-686-bigmem root=/dev/xvda1 
initrd  /boot/initrd.img-2.6.32-5-686-bigmem

close blk: backend at /local/domain/0/backend/vbd/244/51712
close blk: backend at /local/domain/0/backend/vbd/244/51776
close blk: backend at /local/domain/0/backend/vbd/244/51792
Error: Domain 'fapestniegd' does not exist.


Options for fapestniegd
1. console
2. create/start
3. shutdown
4. destroy/hard shutdown
5. reboot
6. swap i386/amd64 bootloaders (pvgrub) currently i386
7. exit
press the number> 

What did I miss?

Newly joined

Greetings everyone, I'm a brand-new participant on this bb board and I think I should say a few things about myself. Er, I am 27 years of age, a girl, plus I read oriental studies at my uni. I really look forward chatting with you guys. Goodbye for now