VMware and physical drives (was Re: Sharing files between Ubuntu 6.06 and Windows XP)

Eric Dunbar eric.dunbar at gmail.com
Mon Feb 5 22:34:45 UTC 2007


On 05/02/07, Derek Broughton <news at pointerstop.ca> wrote:
> Eric Dunbar wrote:
>
> > Well, I managed to get my Linux back by using grub-install and
> > over-writing the windows boot loader but this means I've now lost the
> > windows partition that I just installed.
>
> No you didn't.  You just need a "chainloader" entry in /boot/grub/menu.lst.
> There _should_ be one there, that's commented out, but if there isn't, put
> this in there (the "hd0,0" option to "root" means the first partition of
> the first hard drive - adjust if necessary).  Nothing else is necessary,
> just reboot.
>
> # This entry automatically added by the Debian installer for a non-linux OS
> # on /dev/sda1
> title           Windows NT/2000/XP (loader)
> root            (hd0,0)
> savedefault
> makeactive
> chainloader     +1

I do have a chainloader entry in the grub menu but, when I select it
it actually displays the last few lines you wrote above and goes right
back into the grub menu ;-).

Thanks for your thoughts -- I'll have to play with it in a few days
when I have time (provided I have the discipline to stay away from the
computer ;-).

Eric.




More information about the ubuntu-users mailing list