Re: grub/dual-boot problem
Just a small update, since I'm sure someone will
someday search and find this thread ...
I got it working. The grub configuration in menu.1st
was fine; windows had overwritten the MBR. I don't
know if it's possible, but I *may* not have installed
grub to the MBR the first time (I don't recall running
install-grub /dev/hda) -- by marking the partition as
bootable, it sort of worked.
To fix it, I booted using gnoppix, mounted my /root
directory and chroot'ed to it, mounted my /boot
partition from there, then I ran install-grub and
update-grub. Useful resources: HOWTO on Debianplanet,
the discussion below it, and the rescue FAQ for
Everything now works, but I do have a question: I have
boot on a separate partition from /, so according to
what I've read, I should have done:
grub-install --root-directory=/boot /dev/hda
This then installs into /boot/boot/grub, which seems
sort of silly.
So, I just did grub-install /dev/hda and it installs
Is there a problem with this?
--- Derek Broughton <email@example.com> wrote:
> Chris Metzler wrote:
> > Alex Malinovich <firstname.lastname@example.org>
> > > bootloader. This happened to me before, but you
> said you installed
> > > Debian AFTER you installed Windows, so this
> shouldn't be an issue.
> > I agree that it shouldn't be an issue; but that's
> very much what
> > this smells like. If he's not seeing "GRUB" or
> even briefly seeing
> > the menu he's set up for grub, I bet the copy of
> grub in the MBR
> > got trashed by Windows somehow.
> I'd agree his grub partition numbering must be right
> - he managed to get
> grub to boot into Linux and XP at least once.
> I can't help wondering if the fact that his /boot
> partition was _marked_
> bootable is a problem. Linux certainly doesn't need
> to have a partition
> marked bootable, and iirc Windows (at least use to)
> have a problem with
> multiple bootable partitions. I though earlier
> versions simply refused to
> boot. Perhaps XP noted the "wrong" bootable
> partition and merrily rewrote
> things to match its version of reality.
> To UNSUBSCRIBE, email to
> with a subject of "unsubscribe". Trouble? Contact
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢