[opensource] My Windows ran over my GRUB
rumpf.6 at osu.edu
Tue Nov 28 18:18:51 EST 2006
Grab a rescue disk and get the machine booted to linux. The rescue disk will
probably attempt to mount your current image/partitions somewhere
RedHat/CentOS/Fedora does this at /mnt/sysimage, I'm not that familiar with
chroot to your installed image:
edit your grub.conf file and add the windows boot section:
at the bottom add:
title Windows XP
reinstall grub to the MBR:
reboot.... If you select the full boot menu and select "Windows XP", GRUB will
chain load the XP boot loader from the first partion (XP install partition)
which will subsequently load XP and start the boot process.
On Tuesday 28 November 2006 17:37, Steven James Samuel Stapleton wrote:
> Well, this goes back a while to when I dual booted (Back in the RH9
> What I had done was install Linux, and keep the install/boot CD, shouldn't
> be a problem with Ubuntu.
> Next I'd install Windows, which overwrote the MBR, as you well know.
> Finally, booted into Linux using the install/boot CD. I looked at the lilo
> configuration information, and adapted it to work with my setup, and then
> installed LILO to have give me the options to boot from Linux or Windows.
> On reboot, both Linux and Windows seemed to work fine.
> Sorry I can't give you more details than that, though I know Grub does give
> you the option to back up your MBR when you install it, so you shouldn't do
> too much harm if you keep the backup.
> ----- Original Message -----
> From: "Nate" <natrik at gmail.com>
> To: "OSU Open Source Group" <opensource at cse.ohio-state.edu>
> Sent: Tuesday, November 28, 2006 5:19 PM
> Subject: [opensource] My Windows ran over my GRUB
> > Well, there's a problem I'm working on with dual boot, someone might
> > have experience?
> > I installed Ubuntu on my laptop but I can't boot it ...
> > When I installed Ubuntu, I left the first partition /dev/sda1 empty in
> > order to later install winxp, which I hear really likes to be on the
> > first partition. Linux booted fine (I think grub was resident in the
> > MBR)
> > Now that windows is installed, it will only see itself to boot, and
> > grub is no more.
> > There are 2 solutions I've found.
> > 1) Do something screwy with windows, put grub in the MBR and have it
> > point to the screwy windows thing along with any other OSes.
> > 2) Leave NTLDR in the MBR and copy some .bin file or other from a
> > grub operation into a directory on the windows installation, which
> > will add the linux boot partition to the list of options that NTLDR
> > presents.
> > I'd rather use grub, if at all reasonable, just to play with the
> > interface and make it pretty.
> > Surely someone else has come across this situation!
> > Help!
> > -- Nate
> > _______________________________________________
> > Opensource mailing list
> > Opensource at cse.ohio-state.edu
> > http://mail.cse.ohio-state.edu/mailman/listinfo/opensource
> Opensource mailing list
> Opensource at cse.ohio-state.edu
More information about the Opensource