Thanks a lot for your help, I'm gonna try this on virtual box first as you recommended and see what it will result into.
but i have a question, in this case we mounted the drive on / directory.
and during installation we are reformatting the hard drive! is this ok? things are all loaded to ram removing them won't be a problem?
i have 2 hard drives on that machine so what would i modify in the grub.conf and the ks file to load the files from the other hard drive instead of the network?
now there is the other case i wish you to help me figure:
if say i want to do it in alternative way, i have the CentOS iso image, and i downloaded it on the second hard drive then mounted it.
i have KVM connected so i don't have problem following up the machine while it's booting.
how should i edit grub to make it boot from that iso image?
and after it boots from the iso image! will i be able to unmount the first hard drive so i can be able to partition it again?
i forgot to mention that i already have CentOs installed and all i want is clean re-installation.
so in brief:
i have debian live CD in the CD-ROM
i have KVM over IP
i have 2 hard drives sda and sdb
i have Centos isntalled on one sda
and i have Centos installation iso on sdb
i assume the procedure will be:
booting into my system normally and mounting the iso image:
Quote:
mount /hard2/centos.iso /mnt/iso/ -t iso9660 -o ro,loop=/dev/loop0
|
i can't figure how to edit grub though
then after that i will find the option in the grub loader? to boot from the iso file? after that i will be able to continue with the installation since I'm now booted from the iso image to format the first hard drive and reinstall the the centos.
when the installation is complete i should reboot to see the new grub loader and chose boot from the new system
is what i mention above possible? cos i did some search and found couple of ppl saying it's not possible to boot from iso image.
waiting for your replies
thanks