Grub set up

Thomas Kaiser ubuntu at kaiser-linux.li
Tue Jul 4 16:03:43 UTC 2006


Richard E. Barmann wrote:
> When I tried to boot I got
> "NTLDR is missing" Had to change it backto orgiganal to boot and Email this.

This means the BIOS did execute the 1. stage of the NT bootloader, which 
is not so bad. As far as I know the 1. stage NT bootloader is looking 
for NTLDR which must be on the _active_ partition. This can be NTFS or 
FAT. It might be possible that the boot flag is not set for your Windoz, 
but if I look at your "fdisk -l", the boot flag is set :-(

You could boot from the Windoz cd and enter recovery mode. Then issue 
the command "fixmbr" and "fixboot" which should fix your Windoz boot 
problem. And check if you have really a file NTLDR in the root of the C: 
partition.

After you can boot Windoz, boot the box with a live cd. Mount your Linux 
root partition, chroot in there and run grub-install

example:
open terminal on the live boot
- sudo mkdir /media/root
- sudo mount -t ext3 /dev/hdb1 /media/root
- sudo chroot /media/root
- [sudo] grub-install

Then check /boot/grub/menu.lst. You should have entries for Linux and 
one for Windoz. Linux should be on hdb and Windoz on hda.

Good luck, Thomas



-- 
http://www.kaiser-linux.li




More information about the ubuntu-users mailing list