Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
initrd funciton in grub.conf
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
sigix
Apprentice
Apprentice


Joined: 25 Jul 2003
Posts: 192

PostPosted: Sun Feb 15, 2004 4:07 pm    Post subject: initrd funciton in grub.conf Reply with quote

Code:

initrd (hd0,1)/boot/initrd-2.6.1-gentoo-r1

what is the function of this line in grub.conf
i read that we have to add this line when kernel is compiled with genkernel untility.[/code]
Back to top
View user's profile Send private message
tmr777
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2003
Posts: 101
Location: Chicago, IL

PostPosted: Sun Feb 15, 2004 4:40 pm    Post subject: Reply with quote

This is a compressed file system that is loaded into a RAM drive by the kernel at boot. After loading , the kernel typically runs the linuxrc script contained in the root of the fs. For the purpose of a typical install with a local hard drive, it serves these purposes:

1. linuxrc provides bash script for recognizing scsi, usb, pcmcia, firewire devices for purpose of booting non-ide root partitions.
2. Determines the root partition, mounts it, and passes control to it using pivot_root, and chroot. (this is how the LIVECD root is determined as well).
3. Displays pretty boot splash.

None of which is needed if your root partition is recognized by the kernel (this is the case with normal ide). Long of the short -- you probably don't need it.

I do think this is a source of confusion in Gentoo's kernel building process. As genkernel stabilizes, I'm sure this will be a readily available option. OTOH, Gentoo may be attempting to standardize the process and needs initrd to provide the level of graphical install and device recognition they desire.

Good luck,

_Terry
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum