From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-54138-garchives=archives.gentoo.org@gentoo.org>)
	id 1GfKRH-0002vl-RQ
	for garchives@archives.gentoo.org; Wed, 01 Nov 2006 18:03:48 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kA1Hwvea006139;
	Wed, 1 Nov 2006 17:58:57 GMT
Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.193])
	by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kA1Hrfht022015
	for <gentoo-user@lists.gentoo.org>; Wed, 1 Nov 2006 17:53:41 GMT
Received: by nz-out-0102.google.com with SMTP id 9so2624051nzo
        for <gentoo-user@lists.gentoo.org>; Wed, 01 Nov 2006 09:53:41 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references;
        b=gQFUxYTrvwvbPU8DTznEN73qfzcqo178Ry6awigBkAv43B21oIEU6A7Xg22SrEzRS92YFg/tXBk/jrWXPTN6jl4ghnoKk6atMvPWMH2OBDsMYkDg+7wKxjoLsjtgCX/mzkrzBnbqD2q0xnOocGx7FC5NSOl8ydmeRtU9Pu6psMs=
Received: by 10.64.253.12 with SMTP id a12mr9346890qbi;
        Wed, 01 Nov 2006 09:53:31 -0800 (PST)
Received: by 10.65.218.13 with HTTP; Wed, 1 Nov 2006 09:53:30 -0800 (PST)
Message-ID: <642958cc0611010953r6e4d2ealf7c6212209c4e9c9@mail.gmail.com>
Date: Wed, 1 Nov 2006 12:53:31 -0500
From: "Mark Shields" <laebshade@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: dual boot: XP installed last?
In-Reply-To: <loom.20061030T224342-348@post.gmane.org>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_24980_3991446.1162403611065"
References: <loom.20061030T154701-316@post.gmane.org>
	 <1cc2dc830610300717k46316e15h22ff4d36eda2d0d@mail.gmail.com>
	 <loom.20061030T170436-804@post.gmane.org>
	 <20061030164914.0f0fbe37@krikkit.digimed.co.uk>
	 <loom.20061030T224342-348@post.gmane.org>
X-Archives-Salt: 23f58b1a-bd2a-41a2-a7f2-fa1e0153d7bc
X-Archives-Hash: 9f5845ce6800a3002ddc6df1a02af3b4

------=_Part_24980_3991446.1162403611065
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 10/30/06, James <wireless@tampabay.rr.com> wrote:
>
> Neil Bothwick <neil <at> digimed.co.uk> writes:
>
> > > If I install XP in the partition and it writes over the MBR,
> > > then, upon reboot, how do I get to grub.conf so I have the
> > > option to reboot the gentoo, then run grub setup?
>
> > Run it from the live CD.
>
>
> Ok here's what I did in case anyone else has to do this:
>
> Booted up ran a terminal session, when root and issued:
>
>
> grub-install /dev/hda  <did not work>
>
> so I mounted :   mkdir /mnt/boot
> mount /dev/hda2
> grub-install /dev/hda   <did not work>
>
> grub-install /mnt/dev/hda2 <did did not work>
>
> grub /mnt/dev/hda2   <throws me into 'grub>'>
> grub> root (hd0,1)
> grub> setup (hd0)
> grub> quit
>
>
> reboot Works great!
>
> Thanks Neil....
>
>
> James
>
>
>
> --
> gentoo-user@gentoo.org mailing list
>
>
Just so you know, it's possible to do a grub-install with just a minimal cd,
provided your existing gentoo environment works:

mount /dev/rootpart /mnt/gentoo
mount /dev/bootpart /mnt/gentoo/boot
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
env-update && source /etc/profile
grep -v rootfs /proc/mounts > /etc/mtab
grub-install /dev/hda (or whatever your hdd is called)


-- 
- Mark Shields

------=_Part_24980_3991446.1162403611065
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 10/30/06, <b class="gmail_sendername">James</b> &lt;<a href="mailto:wireless@tampabay.rr.com">wireless@tampabay.rr.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Neil Bothwick &lt;neil &lt;at&gt; <a href="http://digimed.co.uk">digimed.co.uk</a>&gt; writes:<br><br>&gt; &gt; If I install XP in the partition and it writes over the MBR,<br>&gt; &gt; then, upon reboot, how do I get to 
grub.conf so I have the<br>&gt; &gt; option to reboot the gentoo, then run grub setup?<br><br>&gt; Run it from the live CD.<br><br><br>Ok here's what I did in case anyone else has to do this:<br><br>Booted up ran a terminal session, when root and issued:
<br><br><br>grub-install /dev/hda&nbsp;&nbsp;&lt;did not work&gt;<br><br>so I mounted :&nbsp;&nbsp; mkdir /mnt/boot<br>mount /dev/hda2<br>grub-install /dev/hda&nbsp;&nbsp; &lt;did not work&gt;<br><br>grub-install /mnt/dev/hda2 &lt;did did not work&gt;
<br><br>grub /mnt/dev/hda2&nbsp;&nbsp; &lt;throws me into 'grub&gt;'&gt;<br>grub&gt; root (hd0,1)<br>grub&gt; setup (hd0)<br>grub&gt; quit<br><br><br>reboot Works great!<br><br>Thanks Neil....<br><br><br>James<br><br><br><br>--<br>
<a href="mailto:gentoo-user@gentoo.org">gentoo-user@gentoo.org</a> mailing list<br><br></blockquote></div><br>Just so you know, it's possible to do a grub-install with just a minimal cd, provided your existing gentoo environment works:  
<br><br>mount /dev/rootpart /mnt/gentoo<br>mount /dev/bootpart /mnt/gentoo/boot<br>mount -t proc none /mnt/gentoo/proc<br>mount -o bind /dev /mnt/gentoo/dev<br>chroot /mnt/gentoo /bin/bash<br>env-update &amp;&amp; source /etc/profile
<br>grep -v rootfs /proc/mounts &gt; /etc/mtab<br>grub-install /dev/hda (or whatever your hdd is called)<br><br clear="all"><br>-- <br>- Mark Shields

------=_Part_24980_3991446.1162403611065--
-- 
gentoo-user@gentoo.org mailing list