At 15:01 03/20/2005 -0800, Todd Walton wrote: >I'm using VMWare and I have a virtual machine with Linux installed. I >flubbed up the GRUB installation, and Linux refuses to boot. >(Specifically, I said "root (hd0,0)" and I believe it's supposed to >be "root (sd0,0)"). Using my computer normally, I could get to the >hard drive and edit grub.conf, either with a live CD or another Linux >installation. But since the hard drive is a vmdk file, I can't do >this. VMWare doesn't simulate booting an actual computer, it seems, >and so won't boot from my live CD. > >What can I do?
VMware has a utility to do a loopback mount of the virtual disk called vmware-loop, allowing you to access the partitions from the real machine and make changes, without having to be running VMware itself. You can run a live CDROM in VMware, and it works just the way you do an installation. On your virtual machine, before starting set the CDROM device to point to the actual CDROM of the host machine. Insert your rescue disk and then "power on" the virtual machine. The virtual machine will boot from the CDROM (if it's BIOS is set to boot from CDROM) and you will be able to access your virtual disks that way. Gus -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
