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

Derek Broughton news at pointerstop.ca
Mon Feb 5 13:53:42 UTC 2007


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
-- 
derek





More information about the ubuntu-users mailing list