From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IYIxK-000697-PS for mharc-grub-devel@gnu.org; Thu, 20 Sep 2007 06:08:22 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IYIxJ-000691-PQ for grub-devel@gnu.org; Thu, 20 Sep 2007 06:08:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IYIxI-00068p-RK for grub-devel@gnu.org; Thu, 20 Sep 2007 06:08:21 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IYIxI-00068m-NW for grub-devel@gnu.org; Thu, 20 Sep 2007 06:08:20 -0400 Received: from ug-out-1314.google.com ([66.249.92.171]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IYIxI-0008IC-Al for grub-devel@gnu.org; Thu, 20 Sep 2007 06:08:20 -0400 Received: by ug-out-1314.google.com with SMTP id m4so391285uge for ; Thu, 20 Sep 2007 03:08:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; bh=wCiHdN6EVT9rz73a9NobF+/TNN7aIkpk8m5c8o0RXek=; b=tbm1Bg+Oj50YGv6DkXEehO5hS5VG3IEct97hy9IDqxSw/BTFWlIR4YO5unPEG3EjxLYw/J37SEEOnvvUV3uoNcCvYT6KR5aQD8SP/RTwKnUVOp+sejb77h5AXqDlwuaUCMZXHHfBns70gurR0hYGZngSqoGh/TML9jbAD7u2/Pw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=MljqzsF9ZBCGePmrEdT9i8gbIVlZGiYppo1T+3yGuoweKNDO4oATR5JIaOaebdm3z/XATIghFgrrCUKBDd/z8YQpiBJ8+WPy8G9jNIscph8VnwYcD0HVg1qm0OylmNKYsjdF+S8PHCELQpT8la56cSt6x4APaXpG9Ae5HJZuzoU= Received: by 10.66.249.14 with SMTP id w14mr2761317ugh.1190282898766; Thu, 20 Sep 2007 03:08:18 -0700 (PDT) Received: from ?172.16.51.15? ( [193.144.12.226]) by mx.google.com with ESMTPS id j2sm1864326ugf.2007.09.20.03.08.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 20 Sep 2007 03:08:18 -0700 (PDT) Message-ID: <46F24690.5000408@gmail.com> Date: Thu, 20 Sep 2007 12:08:16 +0200 From: adrian15 User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Detected-Kernel: Linux 2.6 (newer, 2) Subject: hd0 grub and kernel mismatches possible solution 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: Thu, 20 Sep 2007 10:08:21 -0000 You might know from using grub with the linux kernel that sometimes installers do not have the same idea than the bios or grub about what hard disk is hd0 and what hard disk is hd1. I think one solution for live cds or installer cds should be to pass as a kernel argument the following string: bios=345344l-34-4,564l64645,455655 Where the first number is the hd0 UUID, the second number the hd1 one and so on. Thus we should have a function that prompts this information so that we could have something like: title Knoppix 7 root (cd) kernel /boot/grub/vmlinuz root=/dev/ram0 bios_drives() initrd /boot/grub/initrd boot I have used bios_drives() but I actually do not know how I am supposed to use a function ( I do not know its syntax yet.) What do you think about this solution ? adrian15