Re: dual boot - xp behaves strange
- From: Rares Vernica <rvernica@xxxxxxxxx>
- Date: Sat, 20 Jan 2007 12:04:29 -0800
Hi,
I ran "find /boot/grub/stage1" in grub console and the result was
(hd0,0). I think this means that grub is installed on the first
partition. The first partition is the Ubuntu partition.
Now, if I install grub on MBR, will I end up having 2 grubs?
Btw, just to clarify, I can boot both operating systems (Windows and
Ubuntu). The problem is that when I boot Windows, it disables to boot
flag from the Ubuntu partition. So, in order to be able to boot Ubuntu
again, I use "diskpart" in Windows and set back the boot flag on the
Ubuntu partition.
I would prefer a solution where I don't have to install any of the systems.
Thank you very much,
Ray
Clive Menzies wrote:
On (18/01/07 17:16), Rares Vernica wrote:
How can I repair the part that Grub needs and Windows overwrote?
There are probably a number of ways to do this and your need to know
which partition holds / and /boot (often they are one and the same).
Booting from the Ubuntu CD should allow your to mount the partitions and
verify where they are.
The way I do it is boot with D(ebian) F(rom) S(cratch)
http://people.debian.org/~jgoerzen/dfs/html/
and at the grub menu press 'c' to give you a grub prompt. at the prompt
type the following and check the responses; if there are errors you need
to work out what information you've entered incorrectly:
root (hd0,x) # where 0 is first disk and x is the partition number# minus 1 (eg if boot is on hda3, you type hd0,2)
kernel /vmlinuz root=/dev/hday # where y = / partition
initrd /initrd.img
boot
Once booted into your system run:
$ sudo grub-install /dev/hda
$ sudo update-grub
You should then have a dual boot system recovered.
YMMV
Regards
Clive
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: dual boot - xp behaves strange
- From: Clive Menzies
- Re: dual boot - xp behaves strange
- References:
- dual boot - xp behaves strange
- From: Rares Vernica
- Re: dual boot - xp behaves strange
- From: James Englert
- Re: dual boot - xp behaves strange
- From: Jeremy Thompson
- Re: dual boot - xp behaves strange
- From: Rares Vernica
- Re: dual boot - xp behaves strange
- From: Clive Menzies
- dual boot - xp behaves strange
- Prev by Date: grub menu strange resolution
- Next by Date: old battery?
- Previous by thread: Re: dual boot - xp behaves strange
- Next by thread: Re: dual boot - xp behaves strange
- Index(es):
Relevant Pages
|