initrd in menu and command line
Hi,
uups ... sorry, while copy&pasting my grub.cfg it seems, I have lost some lines ....
here is my full grub.cfg (this time completely)
set timeout=3
set default=0
insmod font
insmod terminal
insmod vbe
menuentry "Kubuntu 2.6.15" {
linux /vmlinuz-2.6.15-25-386 root=/dev/hda2 splash=silent quiet initrd /initrd-2.6.15-25-386
boot
}
menuentry "Kubuntu Rescue" {
linux /vmlinuz-2.6.15-25-386 root=/dev/hda2 splash=silent quiet rescue initrd /initrd-2.6.15-25-386
boot
}
Bye,
Christian
Quoted 19 lines · Christian Demmer
Quoted 4 lines
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/hda1aka. hd0,0 is grub's root and linux /boot,/dev/hda2aka. hd0,1 is linux rootMy grub.cfg:
set timeout=3
set defaultHere is an error. You should put "set default=0". Currently, the scripting engine is very fragile with an error.
Quoted 7 lines
Quoted 4 lines
menuentry "Linux" {
linux /vmlinuz quiet root=/dev/hda2
initrd /initrd
}Okuji
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000071
Quoted 2 lines · Christian Demmer
uups ... sorry, while copy&pasting my grub.cfg it seems, I have lost some lines ....
OK. Can you try the CVS version? I've already fixed some initrd issues.
Thanks,
Okuji
Am Dienstag, 27. Juni 2006 08:36 schrieb Yoshinori K. Okuji:
Quoted 5 lines · Christian Demmer
Quoted 2 lines
uups ... sorry, while copy&pasting my grub.cfg it seems, I have lost some lines ....
OK. Can you try the CVS version? I've already fixed some initrd issues.
Sorry, for jumping in this discussion so late.
I am using initrd heavily with grub 1.94 and here is my grub.cfg file:
set timeout=1
insmod font
insmod terminal
insmod vbe
insmod gfxterm
menuentry "Linux" {
linux /bzImage root=/dev/ram splash=silent vga=791 quiet initrd /loader.img
boot
}
menuentry "Reset to Factory defaults" {
linux /bzImage root=/dev/ram splash=silent vga=791 quiet
custom=reset-defaults
initrd /loader.img
boot
}
menuentry "Reset to Factory Video defaults" {
linux /bzImage root=/dev/ram splash=silent vga=791 quiet
custom=reset-video
initrd /loader.img
boot
}
menuentry "Complete Firmware upgrade ! ATTENTION ! ALL DATA WILL BE ERASED" {
linux /bzImage root=/dev/ram splash=silent vga=791 quiet
custom=firmware
initrd /loader.img
boot
}
The initrd is about ~15MB big,so Kernel is setup to be able to handle this big initrd files.
Best regards
Anes