From: "Mark Shields" <laebshade@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: dual boot: XP installed last?
Date: Wed, 1 Nov 2006 12:53:31 -0500 [thread overview]
Message-ID: <642958cc0611010953r6e4d2ealf7c6212209c4e9c9@mail.gmail.com> (raw)
In-Reply-To: <loom.20061030T224342-348@post.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1300 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1887 bytes --]
next prev parent reply other threads:[~2006-11-01 18:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-30 14:55 [gentoo-user] dual boot: XP installed last? James
2006-10-30 15:17 ` Allan Spagnol Comar
2006-10-30 16:11 ` [gentoo-user] " james
2006-10-30 16:48 ` Alan McKinnon
2006-10-30 16:49 ` Neil Bothwick
2006-10-30 21:57 ` James
2006-11-01 17:53 ` Mark Shields [this message]
2006-10-31 18:05 ` Régis Décamps
2006-11-01 19:28 ` Mick
-- strict thread matches above, loose matches on Subject: below --
2006-11-01 21:25 Eric Bohn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=642958cc0611010953r6e4d2ealf7c6212209c4e9c9@mail.gmail.com \
--to=laebshade@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox