From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NNgsY-0007zE-6e for mharc-grub-devel@gnu.org; Thu, 24 Dec 2009 01:08:54 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NNgsV-0007yp-U7 for grub-devel@gnu.org; Thu, 24 Dec 2009 01:08:51 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NNgsR-0007y7-4U for grub-devel@gnu.org; Thu, 24 Dec 2009 01:08:51 -0500 Received: from [199.232.76.173] (port=59704 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NNgsQ-0007y4-Sf for grub-devel@gnu.org; Thu, 24 Dec 2009 01:08:46 -0500 Received: from mail-yw0-f177.google.com ([209.85.211.177]:36175) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NNgsQ-0004MD-HE for grub-devel@gnu.org; Thu, 24 Dec 2009 01:08:46 -0500 Received: by ywh7 with SMTP id 7so488009ywh.24 for ; Wed, 23 Dec 2009 22:08:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=zdw/UYIROm496xc2YiASudEXWrL681MV2BGnoEJ/Hmc=; b=bLnIud6HPZZBGcalTFFhdE2X6rOSBjSexIdkxWDiaCKcsrZcoMZ9u1csMSM1CZ04zC dx4izHLtKNphlgB67l2BZUVzgCV9YEdxeXIo0X27tblWgh8hNSLoM0hjg0RwXUkRz1c3 tFf6BjBzOkDg9GwERoxMsHG0nCs8jonYi/Ayc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=eG3YAOH5UETMVBe12IBuMX3QvdGpogPbZDKUUGY3py8vkKpaZzZMrxk91gOkHyWU6d aNOMMvOHt4+4L1HywUC2zojY45Es6EYCtaHqnG46S/khw/mfGpsU3yc7iXEK5X0CPORJ z/vnnvMwmmf7yLkqrkAO21lzhvKwrTmP8fxOI= Received: by 10.90.8.28 with SMTP id 28mr1438477agh.31.1261634925829; Wed, 23 Dec 2009 22:08:45 -0800 (PST) Received: from ?192.168.0.75? (cpe-66-69-97-231.satx.res.rr.com [66.69.97.231]) by mx.google.com with ESMTPS id 34sm3558778yxf.65.2009.12.23.22.08.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 23 Dec 2009 22:08:45 -0800 (PST) Message-ID: <4B33056C.7060102@gmail.com> Date: Thu, 24 Dec 2009 00:08:44 -0600 From: Bruce Dubbs User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080722 SeaMonkey/1.1.11 MIME-Version: 1.0 To: The development of GNU GRUB References: <20091222170208.19290@gmx.net> <4B31095D.1030409@gmail.com> <20091223230542.287510@gmx.net> <4B32BC89.6090501@gmail.com> <20091224015905.168420@gmx.net> In-Reply-To: <20091224015905.168420@gmx.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: How to install grub on fakeraid (raid 0) which spans 2 TB? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2009 06:08:52 -0000 André Heynatz wrote: >> P ntfs 300 GB Windows XP SP3 32 Bit >> P ntfs 300 GB Windows 7 32 Bit >> P ext2 100 MB /boot >> E >> L swap 2 GB Linux swap >> L ext4 250 GB Ubuntu Linux 9.10 (Karmic) 32 Bit >> L ntfs 1100 GB data (for data exchange and storage) >> L ext4 48 GB spare space for testing of new OSes > I have applied the partition table mentioned above. Windows 7 Disk Management Tool does not allow to create an Extended Partition on the third Primary partition slot. Thus I used the Ubuntu installer to do it. At first I tried to install GRUB2 from Ubuntu 10.10 (Lucid), but the error message remains :-( Then I tried GRUB1 and succeeded, luckily. Probably there is a problem with the sector offset or the data partition is too large for GRUB1 to skip over. It is > 1 TB. In the actual scheme, the 1.1 TB data partition comes after the root partition (where GRUB is installed). > After a kernel update I have to call 'update-grub' manually, but I am > happily doing this, it is only a minor glitch of Ubuntu 9.10. > If there is a new version of GRUB2 which supports dmraid devices, I happily test it. Maybe it is only a configuration issue, as GRUB2 has become quite flexible. If you would like to test GRUB2 without installing it on the MBR, you can do that. Assuming that your drive is /dev/sda, you can try: grub-install --grub-setup=/bin/true /dev/sda This creates the files needed by your system in /boot/grub. You can now backup your /boot/grub/grub.cfg and try this instead: ### grub.cfg set default=0 set timeout=15 insmod ext2 set root=(hd0,3) menuentry "Ubuntu, with Linux 2.6.31-14-generic" { search --no-floppy --fs-uuid --set \ 9f8c8d2f-0f67-454c-aec0-affd8fa02fe9 linux vmlinuz-2.6.31-14-generic \ root=UUID=9f8c8d2f-0f67-454c-aec0-affd8fa02fe9 ro initrd initrd.img-2.6.31-14-generic } menuentry "Windows 7 (loader) (on /dev/mapper/isw_bfacafefej_Volume01)" { insmod ntfs search --no-floppy --fs-uuid --set 022834062833f6ef chainloader +1 } ### end grub.cfg I took the entries above from your original post. The continuation lines should work, but I haven't tried that. I didn't want them to wrap in this post. Note that since /boot/grub is a separate partition, we omit '/boot' from the start the linux and initrd lines. Now if you reboot to grub legacy, you can drop to the grub command line: grub> root (hd0,3) grub> kernel /grub/core.img grub> boot If it works, great. If not a simple reboot gets you back to grub legacy without changing the MBR. To install GRUB2 on the MBR, just: grub-setup /dev/sda Note that this procedure bypasses the distro setup. If you update the OS automatically, the distro will probably overwrite the grub.cfg file when it runs grub-mkconfig, possibly via the grub-pc script. -- Bruce