From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IluCe-0004Cy-KL for garchives@archives.gentoo.org; Sat, 27 Oct 2007 22:32:25 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l9RMUPnD014710; Sat, 27 Oct 2007 22:30:25 GMT Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.188]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l9RMUPEr014704 for ; Sat, 27 Oct 2007 22:30:25 GMT Received: by fk-out-0910.google.com with SMTP id 19so2186697fkr for ; Sat, 27 Oct 2007 15:30:25 -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:to:subject:in-reply-to:mime-version:content-type:references; bh=df+sOWcFEhS8GAq8kc9qmv3LbpC0C3c+U7gONkNI24k=; b=OB5Sj3JnZ9Vyt8jL4QDHeUQpGDvkmar1aZXdSMt5yvtqLco1pBH+E2wwZXSm2BeCAJojHvHlFXv5s0VyKWiaHi0pcGvIh0J7Qv10f/c4JKTeq3B+OlU9Ds9J7GzGLCVIdO8O5c4UpEYanz0BRJxf0DoI8D48g+LvDSDvJBVpyDA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ckqClCg9eLK0H13Lm3VGpGd4hJWv2LvJSfFzRW0LSSz5JiJdHPWIv1O9K6gGsca+PUACVPaiNhDmI2l19wHNGxhzty3Qky+F7NfnBBIXRDmwpBbyP4epjyt8F/nQZoT9yMbEVXJhN4/6L05AwTMmaW+69If04q50mV2XLVtaxYo= Received: by 10.82.112.3 with SMTP id k3mr8955689buc.1193524224603; Sat, 27 Oct 2007 15:30:24 -0700 (PDT) Received: by 10.82.135.4 with HTTP; Sat, 27 Oct 2007 15:30:24 -0700 (PDT) Message-ID: Date: Sun, 28 Oct 2007 00:30:24 +0200 From: Beso To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] Load NTLDR from GRUB? In-Reply-To: <5c4f3a5c0710271514o35d0bd57n2d877c3cfb0d6297@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_14691_26473938.1193524224597" References: <5c4f3a5c0710271514o35d0bd57n2d877c3cfb0d6297@mail.gmail.com> X-Archives-Salt: e2a5a7e1-d2d9-43ed-b1fd-06b5f4c09a73 X-Archives-Hash: b5823cdaa3a1dcf24239a17a42aa2644 ------=_Part_14691_26473938.1193524224597 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline to boot windows you have to write: title Windows root (hd0,1) chainloader +1 this will boot your winxp. you have to boot the ntldr partition which then loads xp as for the other linux distro use boot partition as root. 2007/10/28, Julien Cassette : > > Hello, > I needed to install Windows XP on a logical partition, but I found that it > can't boot from such a partition because NTLDR needs to be installed on a > primary one. > So I set up the following partition scheme: > /dev/sda1 ext3 Gentoo root > /dev/sda2 ntfs NTLDR > /dev/sda4 Extended > /dev/sda5 ext2 Gentoo portage > /dev/sda6 swap Gentoo swap > /dev/sda7 ext3 Gentoo home > /dev/sda8 ntfs Windows XP > > Win xp installed and booted without problem but now that I need to restore > GRUB, I am wondering if I need to write "root (hd0,1)" or "root (hd0,7)" > into the grub.conf to boot windows. > > Thanks for your help > Julien. > -- dott. ing. beso ------=_Part_14691_26473938.1193524224597 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline to boot windows you have to write:
title Windows
root (hd0,1)
chainloader +1
this will boot your winxp. you have to boot the ntldr partition which then loads xp

as for the other linux distro use boot partition as root.

2007/10/28, Julien Cassette <hazynrg@gmail.com>:
Hello,
I needed to install Windows XP on a logical partition, but I found that it can't boot from such a partition because NTLDR needs to be installed on a primary one.
So I set up the following partition scheme:
  /dev/sda1 ext3 Gentoo root
  /dev/sda2 ntfs NTLDR
  /dev/sda4 Extended
    /dev/sda5 ext2 Gentoo portage
    /dev/sda6 swap Gentoo swap
    /dev/sda7 ext3 Gentoo home
    /dev/sda8 ntfs Windows XP

Win xp installed and booted without problem but now that I need to restore GRUB, I am wondering if I need to write "root (hd0,1)" or "root (hd0,7)" into the grub.conf to boot windows.

Thanks for your help
Julien.



--
dott. ing. beso ------=_Part_14691_26473938.1193524224597-- -- gentoo-amd64@gentoo.org mailing list