Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1I3eNM-0007FI-Qg for mharc-grub-devel@gnu.org; Wed, 27 Jun 2007 16:44:32 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I3eNK-0007Dy-CB for grub-devel@gnu.org; Wed, 27 Jun 2007 16:44:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I3eNJ-0007DV-SM for grub-devel@gnu.org; Wed, 27 Jun 2007 16:44:29 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I3eNJ-0007DQ-Fj for grub-devel@gnu.org; Wed, 27 Jun 2007 16:44:29 -0400 Received: from ug-out-1314.google.com ([66.249.92.174]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I3eNJ-0008DG-1d for grub-devel@gnu.org; Wed, 27 Jun 2007 16:44:29 -0400 Received: by ug-out-1314.google.com with SMTP id 34so501835ugf for ; Wed, 27 Jun 2007 13:44:28 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=jxos58+SfkT7Rpyd8r2E8wF8EwFp98v1XGuZ176bIWF2152ngYEfJ3Hstczheq8ip/4hah5Jg8aTsZ8GszKDqwXRf9JGNlxwjjQdT9cmsGmzNLxUK2LsKHGmSaazLp6zTgSMJRLQnI25cYqIzg0MltAmgivEtaos/BqSePmZ/Zk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=scEoIugfrO8Yu7xNiNBroVivGbjyWTT/A3ICeMKhpP7/h5BsOq79TqA/SyJ+uJ9+G7c3LTSPuuIbV/k8fSXCes1Haq+YjZI4P57c1fA9vxtNsznklzQHTTNqWFFeehB8Y3VNMkRtxErsngFvP6UzocLyZHS6rrDTb+vCIUm/DPw= Received: by 10.78.175.14 with SMTP id x14mr538885hue.1182977067824; Wed, 27 Jun 2007 13:44:27 -0700 (PDT) Received: by 10.78.90.10 with HTTP; Wed, 27 Jun 2007 13:44:27 -0700 (PDT) Message-ID: <511f47f50706271344y2197d9dv2ed96caafe26abef@mail.gmail.com> Date: Thu, 28 Jun 2007 02:14:27 +0530 From: shirish To: grub-devel@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) Subject: Re: GRUB 2 does not show new kernel :( X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2007 20:44:30 -0000 Hi all, Mr. Bean I shutdown the comp. Cold-booted the comp. & waited for GRUB to kick in. I chainloaded to GRUB 2 ( it shows up as GRUB version 1.95) and while the entries are there they are not working. Some things which might give pointer are :- title Chainload into GRUB 2 root (hd0,0) kernel /boot/grub/core.img savedefault title Debian GNU/Linux, kernel 2.6.22-6-generic root (hd0,0) kernel /boot/vmlinuz-2.6.22-6-generic root=UUID=7eedd8c9-0471-4a63-af65-939402ec5b4e ro quiet splash initrd /boot/initrd.img-2.6.22-6-generic savedefault title Debian GNU/Linux, kernel 2.6.22-6-generic (recovery mode) root (hd0,0) kernel /boot/vmlinuz-2.6.22-6-generic root=UUID=7eedd8c9-0471-4a63-af65-939402ec5b4e ro single initrd /boot/initrd.img-2.6.22-6-generic savedefault title Debian GNU/Linux, kernel memtest86+ root (hd0,0) kernel /boot/memtest86+.bin Grub legacy ### BEGIN /etc/grub.d/00_header ### set default=0 set timeout=100 set root=(hd1,1) ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/10_linux ### menuentry "Debian GNU/Linux, linux 2.6.22-7-generic" { linux (hd1,1)/boot/vmlinuz-2.6.22-7-generic root=/dev/sdb1 ro initrd (hd1,1)/boot/initrd.img-2.6.22-7-generic } menuentry "Debian GNU/Linux, linux 2.6.22-7-generic (single-user mode)" { linux (hd1,1)/boot/vmlinuz-2.6.22-7-generic root=/dev/sdb1 ro single initrd (hd1,1)/boot/initrd.img-2.6.22-7-generic } menuentry "Debian GNU/Linux, linux 2.6.22-6-generic" { linux (hd1,1)/boot/vmlinuz-2.6.22-6-generic root=/dev/sdb1 ro initrd (hd1,1)/boot/initrd.img-2.6.22-6-generic } menuentry "Debian GNU/Linux, linux 2.6.22-6-generic (single-user mode)" { linux (hd1,1)/boot/vmlinuz-2.6.22-6-generic root=/dev/sdb1 ro single initrd (hd1,1)/boot/initrd.img-2.6.22-6-generic } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_memtest86+ ### menuentry "Memory test (memtest86+)" { linux (hd1,1)/boot/memtest86+.bin } ### END /etc/grub.d/20_memtest86+ ### Grub 1.95 version Ok the first thing is GRUB legacy starts at the MBR. from where I guess it finds which place to jump to the hdd to start booting & reading stuff . ( IIRC this is called bootstrapping) while the newer one shows location of the hdd. The simplest way would be perhaps to just change something like :- linux (hd1,1)/boot/vmlinuz-2.6.22-7-generic root=/dev/sdb1 ro to linux (hd0,0)/boot/vmlinuz-2.6.22-7-generic root=/dev/sdb1 ro although should root=/dev/sdb1 is good enough or should it have the full UUID as given in grub legacy above ? linux (hd0,0)/boot/vmlinuz-2.6.22-7-generic root=UUID=7eedd8c9-0471-4a63-af65-939402ec5b4e ro Would that be the correct way? I ask because ubuntu now uses UUID labels https://help.ubuntu.com/community/UsingUUID I'm sure quite a few of the things which I have asked would be standard FAQs for the new GRUB. Hopefully Khaled Hosny is also listening and can add to his list of things if he feels like doing documentation :) Another thing I found out is a simple grub-update is able to change the grub.cfg to its previous state of 444 . With a simple sudo chmod was able to change that :) Lemme know how to proceed & would do accordingly. -- Shirish Agarwal This email is licensed under http://creativecommons.org/licenses/by-nc/3.0/ 065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17