Today, in order to install CentOS 5.5 I'm using kickstart script.
I would like to install CentOS on different way:
- Create disk image (using dd command)
- Create filesystem on this disk image using mkfs.ext3
- Install CentOS on this filesystem
- Make this disk image bootable (using grub-install)
- Copy the disk image to the physical hard disk (using dd command)
I know to do all these items except 3. Is it possible to do it? If yes, how can I install CentOS on the disk image?
CentOS uses several mounted filesystems. Typically /, /usr, /var, /home are each on different partitions. This complicates the idea of doing a normal CentOS install.
If you are after disk images, then your best bet is to install CentOS on a 'test' computer manually. Then use a disk-imaging bootdisk to create images of each of the partitions in /etc/fstab.
Perhaps if you shared more information on what your are trying to accomplish, or why you think you need to install CentOS differently than it's designers had intended; then I could provide a better answer.
the way to install Linux on CF card is described here: http://julian.coccia.com/article-37.html after the installation it is possible to create an image of the CF card
I'm still to looking a way to install Linux without using CF card