CentOS 5.5 installation on disk image

Posted by Dima on Server Fault See other posts from Server Fault or by Dima
Published on 2011-02-07T16:38:27Z Indexed on 2011/06/21 0:24 UTC
Read the original article Hit count: 441

Filed under:
|
|
|
|

Today, in order to install CentOS 5.5 I'm using kickstart script.

I would like to install CentOS on different way:

  1. Create disk image (using dd command)
  2. Create filesystem on this disk image using mkfs.ext3
  3. Install CentOS on this filesystem
  4. Make this disk image bootable (using grub-install)
  5. 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?

© Server Fault or respective owner

Related posts about linux

Related posts about installation