On Tuesday 27 September 2005 07:05 pm, Jeremy Merritt wrote: > I have been having a problem getting my GRUB > bootloader to return on boot. No matter what I do, it > keeps going to XP. I consulted with other people on > this list and got some good input. But have run into a > dead end again. Can someone analyze these steps and > tell me what I'm doing wrong, or what I need to do to > get the GRUB menu to return the way it was when I > first installed Debian: > > Steps so far: > > 1. Boot up with live CD (Knoppix) > 2. Activate shell and go root > 3. Mount /dev/hda5 as /mnt/hda5 > 4. chroot /mnt/hda5 /bin/bash > 5. grub-install /dev/hda5 -- Reports successful > install but no results on bootup
i can't recall exactly what but i've had problems doing exactly what you described. and since, i've adopted a habit of keeping a GRUB boot disk around. (it's fairly trivial to create a bootable floppy. only slightly tougher to create a bootable CD.) i then use grub shell, to do a 'setup' of the drive. actually, it's easier to do this (i actually have a DHCP/network boot setup to launch grub should i not find my GRUB disk): 1) boot using the floppy/CD so that you have a GRUB screen. 2) type 'c' (i think) to get to the grub command line. 3) type 'root(hdX)' 4) type 'menu /boot/grub/menu.lst' 5) and boot like normal. once you get to your shell prompt, do a grub-install there. i wrote the instructions from memory so it might be a little our of wack. like i said, i can't remember the decisions that made me arrive at this solution but what i described above has bailed me out consistantly. hope it helps, anoop. [EMAIL PROTECTED] > > fdisk -l information (hda5=Mandrake, hdb2=Debian, > system is booting from hda1=XP): > > Disk /dev/hda: 40.0 GB, 40020664320 bytes > 255 heads, 63 sectors/track, 4865 cylinders > Units = cylinders of 16065 * 512 = 8225280 bytes > > Device Boot Start End Blocks Id System > /dev/hda1 * 1 2433 19543041 7 HPFS/NTFS > /dev/hda2 2434 4865 19535040 5 Extended > /dev/hda5 2434 3197 6136798+ 83 Linux > /dev/hda6 3198 3337 1124518+ 82 Linux swap > /dev/hda7 3338 4865 12273628+ 83 Linux > > Disk /dev/hdb: 61.4 GB, 61492838400 bytes > 255 heads, 63 sectors/track, 7476 cylinders > Units = cylinders of 16065 * 512 = 8225280 bytes > > Device Boot Start End Blocks Id System > /dev/hdb1 1 3188 25607578+ c W95 FAT32 (LBA) > /dev/hdb2 * 3189 7298 33013575 83 Linux > /dev/hdb3 7299 7476 1429785 5 Extended > /dev/hdb5 7299 7476 1429753+ 82 Linux swap > > Disk /dev/hdd: 30.0 GB, 30020272128 bytes > 255 heads, 63 sectors/track, 3649 cylinders > Units = cylinders of 16065 * 512 = 8225280 bytes > > Device Boot Start End Blocks Id System > /dev/hdd1 * 1 3649 29310561 83 Linux > > > > __________________________________ > Yahoo! Mail - PC Magazine Editors' Choice 2005 > http://mail.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]