Bug 83142 - Grub fails to boot Linux installed on second harddisk
Grub fails to boot Linux installed on second harddisk
Status: CLOSED WONTFIX
Product: Red Hat Public Beta
Classification: Retired
Component: grub (Show other bugs)
phoebe
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-01-30 13:24 EST by Tom Conder
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-01-30 22:14:37 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
/boot/grub/grub.conf (566 bytes, text/plain)
2003-01-30 20:16 EST, Tom Conder
no flags Details
/boot/grub/device.map (30 bytes, text/plain)
2003-01-30 20:17 EST, Tom Conder
no flags Details

  None (edit)
Description Tom Conder 2003-01-30 13:24:00 EST
Description of problem:
I have another operating system (Windows XP) installed on the first harddisk. I
installed a second harddisk and installed Phoebe on it. When I boot to Linux on
the second HD (from the Windows bootloader), the screen just displays "GRUB" and
freezes. There is no discernable disk activity.

I can get to the Linux installation using the Linux rescue mode on the Phoebe
installation disk. I have tried:

grub-install forcing lba32
modifying the grub.conf giving the device name /dev/hdb3 instead of label
modifying the grub.conf removing the hdc option: hdc=ide-scsi

I have not tried:

booting from boot floppy
LILO

Version-Release number of selected component (if applicable):
grub installed by Phoebe on pristine harddrive

How reproducible:
install phoebe on 2nd hd and try to boot to it

Steps to Reproduce:
1. Install phoebe on 2nd hd
2. Using rescue mode, boot Linux and mount filesystems on 2nd HD
3. Grab a copy of the boot sector. Eg. dd if=/dev/hdb1 of=/root/bootsect bs=512
count=1
4. Save a copy of the boot sector. Eg. scp /root/bootsect.lnx
user@machine:/home/user/bootsect.lnx
5. Reboot PC to *cough* Windows
6. Copy boot sector to c:\
7. Modify c:\boot.ini. Add the line: C:\bootsect.lnx="Redhat Linux"
8. Reboot PC
9. Choose "Redhat Linux" in boot loader.
10. GRUB appears and machine freezes
    
Actual results:
GRUB freezes

Expected results:
GRUB should boot Linux on 2nd HD

Additional info:
Comment 1 Jeremy Katz 2003-01-30 14:30:20 EST
Could you attach your /boot/grub/grub.conf and /boot/grub/device.map?
Comment 2 Tom Conder 2003-01-30 20:16:45 EST
Created attachment 89726 [details]
/boot/grub/grub.conf
Comment 3 Tom Conder 2003-01-30 20:17:27 EST
Created attachment 89727 [details]
/boot/grub/device.map
Comment 4 Jeremy Katz 2003-01-30 22:14:37 EST
Windows is probably mangling the boot process somehow so that it's not like
booting directly from the BIOS.  I'd recommend instead installing GRUB to your
MBR and booting Windows from that instead of the other way around.

Note You need to log in before you can comment on or make changes to this bug.