bugGNU GRUB - Bugs: bug #28256, grub2 not bootable by chainload...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #28256: grub2 not bootable by chainload from legacy grub

Submitter:  Barry Jackson <barjac>
Submitted:  Fri 11 Dec 2009 01:59:23 PM UTC
   
 
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Invalid Privacy:  Public
Assigned to:  None Originator Name:  barjac
Open/Closed:  Closed Release:  1.97
Release:  Reproducibility:  Every Time
Planned Release:  None

Sat 12 Dec 2009 08:49:14 PM UTC, comment #2: 

Thanks
root (hdx,y)
kernel /boot/grub/core.img
boots to the grub2 menu and that boots Ubuntu 9.10 OK.
I re-installed Ubuntu to a re-formatted sda14 (ext3 this time) and told the installer to put the boot loader in sda14.
Chainloading with :-
root (hd0,13)
chainloader +1
still fails with error 13 as per original report.
From within Ubuntu I then ran:-
sudo grub-install /dev/sda14
that reported success and device.map looked OK.
Chainloading still fails.
Any ideas?

Barry Jackson <barjac>
Fri 11 Dec 2009 06:58:20 PM UTC, comment #1: 

Use:
  root (hdx,y)
  kernel /boot/grub/core.img
to load grub2.

If you really want to chainload the MBR/boot sector code run grub-install onto that hd0,13 partition, so it's really installed there.

Felix Zielcke <fzielcke>
Group Member
Fri 11 Dec 2009 01:59:23 PM UTC, original submission:  

I installed Ubuntu 9.10 (Grub2) and put the bootloader in the root intending to chainload from my Mandriva legacy grub (which supports ext4).
This fails with:
"error 13 invalid or unsupported executable format"
Surely legacy grub should be able to chainload into any operating system boot sector - even Windows, so why not grub2?

menu.lst entry :-

title Ubuntu 9.10
root (hd0,13)
chainloader +1

Result:-

"error 13 invalid or unsupported executable format"

Barry Jackson <barjac>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by fzielcke (Posted a comment)
  • -email is unavailable- added by barjac (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-12-11 fzielcke StatusNone Invalid
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code