bug-grub
[Top][All Lists]
Advanced

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

[Bug #565] kernel command returns error 18 when grub loads from ntldr.


From: nobody
Subject: [Bug #565] kernel command returns error 18 when grub loads from ntldr.
Date: Wed, 12 Jun 2002 07:45:28 -0400

=================== BUG #565: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=565&group_id=68

Changes by: Yoshinori K. Okuji <address@hidden>
Date: 2002-Jun-12 11:45 (GMT)

------------------ Additional Follow-up Comments ----------------------------
Could you show me results when executing these:

1) Run "geometry (hd1)" when booting GRUB from a floppy.
2) Run "geometry (hd1)" when booting GRUB from NTLDR.
3) Run "blocklist (hd1,4)/bzImage" when booting GRUB from
   a floppy.
4) Run "debug" and "kernel (hd1,4)/bzImage" when booting
   GRUB from NTLDR.

Thanks,
Okuji



=================== BUG #565: FULL BUG SNAPSHOT ===================


Submitted by: chrispe                   Project: grub                           
Submitted on: 2002-Jun-08 16:41
Category:  Booting                      Severity:  Major                        
Priority:  None                         Bug Group:  Software Error              
Resolution:  None                       Assigned to:  None                      
Status:  Open                           Release:  0.90                          
Reproducibility:  Every Time            Planned Release:                        

Summary:  kernel command returns error 18 when grub loads from ntldr.

Original Submission:  I'm trying to load Linux from the Win2k bootloader 
(NTLDR), via Grub.

I installed grub stage1 onto a floppy using the following commands:

grub> root (hd1,4)
grub> setup (fd0)
grub> quit

setup found my grub files, failed to embbed stage 1.5 and used the following 
install command:

install /boot/grub/stage1 d (fd0) /boot/grub/stage2 p /boot/grub/menu.lst

This boot floppy successfully boots, runs stage2, pops up the graphical menu, 
with a splash screen and boots Linux from (hd1,4)/bzImage.

Next, I copied this working grub stage 1 from the floppy to my Windows C drive 
(using dd) and set up C:\boot.ini to run it from NTLDR.

Grub runs okay from NTLDR and successfully loads stage2, pops up the graphical 
menu, with a splash screen, but fails to boot Linux from (hd1,4)/bzImage with 
error 18.

This seems strange. How come it can't load bzImage, when it can load the menu & 
splash screen just fine from the same partition?

I used the testload command on (hd1,4)/bzImage and it worked fine (the numbers 
at the end matched). However, when I execute the kernel command, I get error 
18...

grub> kernel (hd1,4)/bzImage root=/dev/hdb7

Error 18: Selected cylinder exceeds max supported by BIOS

I can't find any differences between booting from the floppy MBR & from NTLDR. 
The geometry command returns the same numbers, testload returns the same 
numbers. It is just that the kernel command fails in the NTLDR case.

Chris.

Follow-up Comments
*******************

-------------------------------------------------------
Date: 2002-Jun-12 11:45             By: okuji
Could you show me results when executing these:

1) Run "geometry (hd1)" when booting GRUB from a floppy.
2) Run "geometry (hd1)" when booting GRUB from NTLDR.
3) Run "blocklist (hd1,4)/bzImage" when booting GRUB from
   a floppy.
4) Run "debug" and "kernel (hd1,4)/bzImage" when booting
   GRUB from NTLDR.

Thanks,
Okuji




No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=565&group_id=68



reply via email to

[Prev in Thread] Current Thread [Next in Thread]