Skip to contentSkip to conversation

initrd in menu and command line

DISCUSSION Christian Demmer 2 participants 2 messages Jun 25, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

I have the same problem as mentioned earlier regarding initrd:

If I place initrd in the grub.cfg file, it will not be loaded. Using the command line, I can easily boot my system:

Athlon XP with 1 GB memory booting of the first IDE drive, /dev/hda1 aka. hd0,0 is grub's root and linux /boot, /dev/hda2 aka. hd0,1 is linux root

My grub.cfg:

set timeout=3
set default

menuentry "Linux" {
linux /vmlinuz quiet root=/dev/hda2
initrd /initrd
}

I tried to use the mem= option discussed in an earlier thread, but couldn't find any docs about it ...

Any suggestions?

Bye,

Christian

P.S.: I am only a user of grub2 ... and have very limited coding knowledge .. however I use a EPOX board with SATA which does not work with legcy grub ....
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193

#1 lore raw
Quoted 4 lines · Christian Demmer

I have the same problem as mentioned earlier regarding initrd:

If I place initrd in the grub.cfg file, it will not be loaded. Using the command line, I can easily boot my system:

It is not the same problem, if you can boot it from the command line.

Quoted 7 lines

Athlon XP with 1 GB memory booting of the first IDE drive, /dev/hda1 aka. hd0,0 is grub's root and linux /boot, /dev/hda2 aka. hd0,1 is linux root

My grub.cfg:

set timeout=3
set default

Here is an error. You should put "set default=0". Currently, the scripting engine is very fragile with an error.

Quoted 4 lines

menuentry "Linux" {
linux /vmlinuz quiet root=/dev/hda2
initrd /initrd
}

Okuji