[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GRUB bootloader issue



Jeremy Merritt wrote:
I need help figuring out what is going on with my
Debian / GRUB bootloader. Because of some Windoze
issues, I had to re-install XP on my machine. It
discarded the grub loader and now you can only boot to
XP from hda1. I consulted with another Debian user who
said to simply run 'grub-install /dev/hda1' off of a
live CD. I tried that with hda, hda1, and hdb2 (debian
partition) just to be sure, and it gave the same error
every time. Here is an example of the error it gave.


root@ubuntu:/mnt/hdb2/sbin # grub-install /dev/hda1
Probing devices to guess BIOS drives. This may take
a long time.
Could not find device for /boot: Not found or not a
block device.


fdisk -l returns the following when run from the live
CD:

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

Any help is appreciated.


		
__________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com




There are some nice bootloaders on http://www.ultimatebootcd.com/ that I've used to boot up into my "real" linux system before to do rescue work. It's easier than ch'rooting and all that ;)


--
--------------------------------------------------------------------------------

BOFH excuse #158:

Defunct processes

Wednesday Sep 28, 2005

--------------------------------------------------------------------------------


begin:vcard
fn:Jay Zach
n:Zach;Jay
org:CBI;IS
adr;dom:;;1500 N. Ritter;Indianapolis;IN
email;internet:jayzach@verizon.net
title:NT Administrator
tel;work:(317) 355
tel;cell:(317) 339-3525
x-mozilla-html:FALSE
url:http://www.ecommunity.com
version:2.1
end:vcard


Reply to: