install grub on disk image
- by Dima
I have disk image with 2 partitions:
Partition 1 has cramfs file system (read only). This partition contains all system files of the OS
Partition 2 has ext3 file system. This partition has only configuration files that may be changed.
How can I install GRUB1 boot loader on MBR.
I tried to copy first 446 bytes of my hard disk and copy GRUB files to the /boot directory on the 1st (cramfs) partition.
I cannot use grub-install because I have disk image and not disk itself.
Any ideas?