Skip to contentSkip to conversation

Initrd, usefull ?

linux-lvm Georges Giralt 3 participants 3 messages Nov 14, 2001 – Nov 16, 2001

lore
Share & tools
lore
#0 lore raw

Hello !
I plan to convert my Redhat 7.1 (ugraded from RH 4.2 through all versions in between....) to a root LVM.
I've got the latest LVM code, patched my 2.4.5 kernel, compiled without optimization to make lvcreate run ;-)
And wonder if I _really_ need an initrd, if I put the LVM code straight into the kernel.
I'm of course aware that I need a modified Lilo able to understant the LVM meta data, in order to find the kernel. But once this is done, what will the initrd be used for ?
Any information, hints, tips would be greatly appreciated !

#1 lore raw
Quoted 1 line · Georges Giralt

But once this is done, what will the initrd be used for ?

initrd (initial ramdisk) is generally used to load dynamic modules needed
to mount the root filesystem. So your LVM, filesystem, storage controller, and any other needed drivers are all compiled statically into the kernel, you should be all set.

Signature · 4 lines
Ben Scott <[email protected]>
| The opinions expressed in this message are those of the author and do not |
| necessarily represent the views or policy of any other person, entity or  |
| organization.  All information is provided without warranty of any kind.  |
#2 lore raw
In reply to Georges Giralt

Hello,

When you compile the kernel, the best thing is to compile scis drivers in the kernel, After that use lvmcreate_initrd to create the initial ramdisk file. BUT you probably have to change the ramdisk size. This can be done by changing the lvmcreate_initrd script. There is an option INITRDSIZE. A value of 8192 should be sufficient.

Greetings

Joost van der Locht
Technisch Directeur

E*Cube BV
Toernooiveld 214 - 6525 EC Nijmegen
T: 024-3500437 - F: 024-3500613
http://www.e-cube.nl
e-mail: [email protected] ICQ UIN: 494145

Quoted 29 lines

-----Oorspronkelijk bericht-----
Van: [email protected] [mailto:[email protected]]Namens Georges Giralt
Verzonden: woensdag 14 november 2001 17:10
Aan: [email protected]
Onderwerp: [linux-lvm] Initrd, usefull ?

Hello !
I plan to convert my Redhat 7.1 (ugraded from RH 4.2 through all versions in between....) to a root LVM.
I've got the latest LVM code, patched my 2.4.5 kernel, compiled without optimization to make lvcreate run ;-)
And wonder if I _really_ need an initrd, if I put the LVM code straight into the
kernel.
I'm of course aware that I need a modified Lilo able to understant the LVM meta
data, in order to find the kernel. But once this is done, what will the initrd
be used for ?
Any information, hints, tips would be greatly appreciated !

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html