Re: fresh install for dual boot with winxp : grub hangs

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

 



All drives use 'auto' on everything in the bios.

After making all the changes you recommend and issuing 'grub-install /dev/hda', it tells me
'/dev/hdd3 does not have any corresponding BIOS drive'.


Did I miss something?

here's what fdisk tells me now and the content of the few files that I have edited:

------------------------------
fdisk /dev/hda <p>

Disk /dev/hdb: 200.0 GB, 200049647616 bytes
150 heads, 63 sectors/track, 41346 cylinders
Units = cylinders of 9450 * 512 = 4838400 bytes

 Device  Boot    Start    End      Blocks    Id    System
/dev/hda1             1     991    4682553+   1b    Hidden W95 FAT32
/dev/hda2  *        991   41346  190680210+    7    HPFS/NTFS

------------------------------
fdisk /dev/hdb <p>

Disk /dev/hdb: 46.1 GB, 46115758080 bytes
16 heads, 63 sectors/track, 89355 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

 Device  Boot    Start    End      Blocks    Id    System
/dev/hdb1         85282   89346    2048287+   82    Linux swap
/dev/hdb2             1   50793   25599640+    c    W95 FAT32 (LBA)
/dev/hdb3  *      50793   85282   17382330+   83    Linux

------------------------------
/boot/grub/device.map:

(fd0) /dev/fd0
(hd0) /dev/hdb
(hd1) /dev/hda

------------------------------
/etc/fstab:

LABEL=LINUX   /         ext3    defaults        1 1
none          /dev/pts  devpts  gid=5,mode=620  0 0
none          /dev/shm  tmpfs   defaults        0 0
none          /proc     proc    defaults        0 0
none          /sys      sysfs   defaults        0 0
none          /proc     sysfs   defaults        0 0
/dev/hdb1     swap      swap    defaults        0 0

------------------------------
/boot/grub/grub.conf:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,2)
#          kernel /vmlinuz-version ro root=/dev/hdb2
#          initrd /initrd-version.img
#
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,2)/grub/splash.xpm.gz
title Fedora Core (2.6.5-1.358)
       root (hd0,2)
       kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
       initrd /initrd-2.6.5-1.358.img
title WinXP
       rootnoverify (hd1,1)
       chainloader +1


H.

So FC2 is on hdd3? Assuming that...

master: hda
slave1: nothing
master2: dvd/cd
slave2: hdd
...
recommendations?

I still suspect grub is getting confused. May still want to check BIOS setting for hard drives. On some systems should be "LBA" or "OTHER" rather than "DOS". If that doesn't help, given that nothing is on IDE0 slave, easiest would be to move hdd to hdb. Assuming use of labels in / etc/fstab, should only have one Linux filesystem partition entry requiring no changes:

LABEL=/    /      ext3       defaults        1 1

and for swap, change to

/dev/hdb1  swap   swap       defaults        0 0

grub.conf should then look something like:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd1,2)
# kernel /vmlinuz-version ro root=/dev/sda2
# initrd /initrd-version.img
#
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,2)/grub/splash.xpm.gz
title Fedora Core (2.6.5-1.358)
root (hd0,2)
kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.5-1.358.img
title WinXP on hda2
rootnoverify (hd1,0)
chainloader +1


and /boot/grub/device.map should have

hd0    /dev/hda
hd1    /dev/hdb


Sooooo, boot to rescue mode (presumably - after HW change of 2nd HD from IDE0 slave to IDE1 slave and given assumption of / now on hdb3) and with /dev/hdb3 mounted on /mnt/sysimage, "chroot /mnt/sysimage", edit /etc/fstab and /boot/grub/grub.conf and /boot/grub/device.map as above, (or adjusted for reality), and "grub-install /dev/hda" (may not really be necessary but could help). Reboot and hope for the best!

Good luck,
Phil





--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux