Codegen Share Posted August 14, 2004 I am wondering what the entry for GRUB is. My OS is SuSE 9.1, Thansk. Link to post Share on other sites
kjordan2001 Share Posted August 14, 2004 The only line you really need to change is the name of your kernel image. I'm not sure how SuSE names them, so I can't really help with that part. Link to post Share on other sites
Codegen Author Share Posted August 14, 2004 What do you mean by the name of the kernel image? Any idea on where I would find this Link to post Share on other sites
kjordan2001 Share Posted August 14, 2004 What do you mean by the name of the kernel image? Any idea on where I would find this In your /boot folder. If your /boot is on a separate partition, you may need to mount it first. Link to post Share on other sites
Codegen Author Share Posted August 14, 2004 This is my menu/lst. I assume that this is the file I have to edit? # Modified by YaST2. Last modification on Sat Aug 14 20:35:36 2004 color white/blue black/light-gray default 0 timeout 8 gfxmenu (hd0,5)/boot/message ###Don't change this comment - YaST2 identifier: Original name: linux### title Linux kernel (hd0,5)/boot/vmlinuz root=/dev/hdb6 vga=0x31a splash=silent desktop resume=/dev/hdb5 showopts initrd (hd0,5)/boot/initrd ###Don't change this comment - YaST2 identifier: Original name: windows### title Windows root (hd-1,0) chainloader +1 ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe kernel (hd0,5)/boot/vmlinuz root=/dev/hdb6 showopts ide=nodma apm=off acpi=off vga=normal noresume nosmp noapic maxcpus=0 3 initrd (hd0,5)/boot/initrd ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Link to post Share on other sites
hornett Share Posted August 14, 2004 Is it a standard kernel from kernel.org or is it from an RPM? Link to post Share on other sites
kjordan2001 Share Posted August 14, 2004 This is my menu/lst. I assume that this is the file I have to edit? Yes. What's in your /boot? How did you install your kernel? Link to post Share on other sites
Codegen Author Share Posted August 15, 2004 I haven't installed it yet. Just clarifying things before I **** it up again. It was a tar.bz2 that I got from kernel.org. I have it in my /usr/src directory. Link to post Share on other sites
Codegen Author Share Posted August 15, 2004 I ****** it up again. I think I forgot to run make install_modules. *insert cursing here* Link to post Share on other sites
Avian Share Posted August 15, 2004 You mean "make modules_install"? :) Link to post Share on other sites
Codegen Author Share Posted August 15, 2004 yeah, you get waht am trying to say. And I cannot access my usr/src in rescue mode, I can access everything else but. (PRICKS!) which of course is where my kernel files are. damn, damn, damn, dammit. Link to post Share on other sites
dduardo Share Posted August 15, 2004 Make sure you have kernel 2.6.8.1 and not 2.6.8.0. There was a screw up with the nfs code and they immediately patched it. Link to post Share on other sites
Codegen Author Share Posted August 15, 2004 That's what I am using. Link to post Share on other sites
vuerro Share Posted August 15, 2004 If u have installed from a rpm then first check the following: /boot -- is there a vmlinux-2.6.8.1-etc* then add the following to menu/lst; (Fedora Core 2 has the grub.conf in /boot/grub/grub.conf but who cares ;) ) title Linux new kernel version <- i guess u can give it a nice name kernel (hd0,5)/boot/vmlinuz-2.6.8.1-etc* root=/dev/hdb6 vga=0x31a splash=silent desktop resume=/dev/hdb5 showopts initrd (hd0,5)/boot/initrd if u don't have a SCSI or RAID card u don't have to worry about the third line, just change the vmlinux it uses to the new one on the second line Link to post Share on other sites
Codegen Author Share Posted August 15, 2004 I mentioned a few posts back that I didn't do it from the RPM. But anyway... There are 2 things that point to the 2.6.8.1 kernel, vmlinuz, and system.map Link to post Share on other sites
vuerro Share Posted August 15, 2004 title Linux new kernel version <- i guess u can give it a nice name kernel (hd0,5)/boot/vmlinuz-2.6.8.1-etc* root=/dev/hdb6 vga=0x31a splash=silent desktop resume=/dev/hdb5 showopts initrd (hd0,5)/boot/initrd i do not see a refence in your original menu/lst to a system.map so I guess u don't need to refer to it. Link to post Share on other sites
Codegen Author Share Posted August 15, 2004 All I get is a blank screen after selecting Linux 2.6.8.1 Link to post Share on other sites
vuerro Share Posted August 15, 2004 wat does your bootloader look like now? maybe u need make a new "initrd" I had to.. the only 2 things it references to is; vmlinuz and initrd and those are supposed to be in /boot Link to post Share on other sites
Codegen Author Share Posted August 15, 2004 I can get back in with the old kernel. Thank god I've gotten a bit more savy then I have been. Link to post Share on other sites
Codegen Author Share Posted August 15, 2004 Here, This is my new menu.lst # Modified by YaST2. Last modification on Sat Aug 14 20:35:36 2004 color white/blue black/light-gray default 0 timeout 8 gfxmenu (hd0,5)/boot/message ###Don't change this comment - YaST2 identifier: Original name: linux### title Linux.old kernel (hd0,5)/boot/vmlinuz-2.6.4-52-default root=/dev/hdb6 vga=0x31a splash=silent desktop resume=/dev/hdb5 showopts initrd (hd0,5)/boot/initrd-2.6.4-52-default ###Don't change this comment - YaST2 identifier: Original name: windows### title Windows root (hd0,0) chainloader +1 ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe kernel (hd0,5)/boot/vmlinuz root=/dev/hdb6 showopts ide=nodma apm=off acpi=off vga=normal noresume nosmp noapic maxcpus=0 3 initrd (hd0,5)/boot/initrd title Linux 2.6.8.1 kernel (hd0,5)/boot/vmlinuz-2.6.8.1 root=/dev/hdb6 vga=0x31a splash=silent desktop resume=/dev/hdb5 showopts Link to post Share on other sites
vuerro Share Posted August 15, 2004 i suggest u add initrd (hd0,5)/boot/initrd to: title Linux 2.6.8.1 kernel (hd0,5)/boot/vmlinuz-2.6.8.1 root=/dev/hdb6 vga=0x31a splash=silent desktop resume=/dev/hdb5 showopts to make ###Don't change this comment - YaST2 identifier: Original name: My 0wn### title Linux 2.6.8.1 kernel (hd0,5)/boot/vmlinuz-2.6.8.1 root=/dev/hdb6 vga=0x31a splash=silent desktop resume=/dev/hdb5 showopts initrd (hd0,5)/boot/initrd see if that works. Link to post Share on other sites
Codegen Author Share Posted August 15, 2004 Does it matter that it doesn't seem to have installed a new 2.6.8.1? I'll try it anyways, nothing to lose, and I'm bored anyways Link to post Share on other sites
kjordan2001 Share Posted August 16, 2004 Just to make sure...in your /boot you have a kernel image called vmlinuz-2.6.8.1 right? You did a "cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.8.1" or perhaps a "make install" right? Link to post Share on other sites
Recommended Posts