update-initramfs error

decibel83

Renowned Member
Oct 15, 2008
210
1
83
Hi.

When I run "update-initramfs -u" to update the initramfs image I get this error:

Code:
proxmox:~# update-initramfs -u
/boot/initrd.img-proxmox_initrd.img does not exist. Cannot update.
How I can solve this problem?

Thank you very much!
Bye!
 
Again, we do not support software RAID. We think that LVM2 ontop of MDRAID is to complex to handle.

- Dietmar
 
Ok, don't worry.
Can I only know with what modules did you build the provided initrd.img image (/boot/proxmox_initrd.img), please?
 
I looked at that script but I didn't found anything interesting for me.
Could you help me to understand what features I have to specify in the /etc/mkinitrd directory to remake the initrd.img to support RAID, please?
 
Take a look at the initramfs documentation - we don't use initramfs, so i do not know whats needed.

- Dietmar
 
Ok, thank you very much.
What you used to build initrd.img?
Could you help me to rebuild it to support RAID software for the root partition (which is in /dev/md1 in my configuration), please?
 
There is a perl script called 'create-initrd-dir' shipped with our kernel.

I don't know what needed for MDRAID - i guess you need to include and start mdadm somehow.

- Dietmar