Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262453AbUDDPoy (ORCPT ); Sun, 4 Apr 2004 11:44:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262443AbUDDPoy (ORCPT ); Sun, 4 Apr 2004 11:44:54 -0400 Received: from web41407.mail.yahoo.com ([66.218.93.73]:14264 "HELO web41407.mail.yahoo.com") by vger.kernel.org with SMTP id S262453AbUDDPov (ORCPT ); Sun, 4 Apr 2004 11:44:51 -0400 Message-ID: <20040404154450.58084.qmail@web41407.mail.yahoo.com> Date: Sun, 4 Apr 2004 08:44:50 -0700 (PDT) From: Parag Nemade Subject: How to add a entry after compiling a new kernel to grub? To: aussie , goa , hyd , jorge , kernerl mail , mumbai , nashik , rk , vipin sharma , stefan , linux technical , tiruchira , blug us MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1596 Lines: 52 hello, i downloaded a kernel 2.4.24 and compile it but it is not booting so i have to modify the line kernel and include root=/dev/hda9. why i required to do it and how by default kernel works without that parameter? my default installation is name set by me is PINIX. Also i want to know how the entry Red Hat Linux(2.4.24) is automatically added to grub? Also my previous experience remembers me that i have to manually add kernel entry to grub? my grub.conf file is # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,7) # kernel /vmlinuz-version ro root=/dev/hda9 # initrd /initrd-version.img #boot=/dev/hda default=2 timeout=10 splashimage=(hd0,7)/grub/splash.xpm.gz title Red Hat Linux(2.4.24) root (hd0,7) kernel /kernel-2.4.24 ro root=/dev/hda9 hdc=ide-scsi init 3 initrd /initrd-2.4.24.img title PINIX(2.4.20-8) root (hd0,7) kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi initrd /initrd-2.4.20-8.img title Windows 98 rootnoverify (hd0,0) chainloader +1 Parag. __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/