bugGNU GRUB - Bugs: bug #14407, partition table offset not reset...

 
 

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

bug #14407: partition table offset not reset when changing to CD

Submitted by:  None
Submitted on:  Mon 05 Sep 2005 09:33:58 AM UTC  
 
Category:  Disk & Partition Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  T Deegan
Originator Email:  -email is unavailable- Open/Closed:  Closed
Release:  0.97 Release:  None
Reproducibility:  Every Time Planned Release:  None

Sat 15 Dec 2007 09:04:21 PM UTC, comment #5:

We've moved to GRUB 2 as a development platform. Please can you check if this bug still applies there, and if it does, reopen it?

Thanks

Robert Millan <robertmh>
Project Administrator
Wed 07 Dec 2005 11:37:03 AM UTC, comment #4:

cur_part_offset isn't defined at all in stage 1.5 so doesn't need fixing. :)

Tim Deegan

Anonymous
Wed 07 Dec 2005 11:27:07 AM UTC, comment #3:

This is a great fix that will help Super Grub Disk Auto Restore Grub on MBR to work properly.

Thank you very much. I'll test it with my newbie audience and we'll see if everything works as expected.

Thank you very much.

BTW Looking at the code: Stage1_5 isn't supposed to be loaded when CD is loaded?

adrian15

Anonymous
Thu 01 Dec 2005 09:38:04 AM UTC, comment #2:

I had some time to look properly at this; a patch is attached which fixes the problem for me.

I believe this will resolve bug #14758 as well.

Cheers,

Tim Deegan

Anonymous
Mon 05 Sep 2005 09:37:58 AM UTC, comment #1:

Forgot to say:

Built on Fedora Core release 3 (Heidelberg)
gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)

Configured with ./configure --prefix=/anfs/nos1/tjd21/grub

Installed as stage2_eltorito on a CD image using mkisofs:
mkisofs -z -r -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -V "Test CD" -o test.iso src

Anonymous
Mon 05 Sep 2005 09:33:58 AM UTC, original submission:

Symptoms:

After reading a secondary partition, changing to the CD drive
returns an error, although GRUB can still read files from it.

To reproduce:

Select an extended partition on a large hard drive with a large
primary partition at the start of the disk. Then select a CD
with a smallish image on it:

grub> root (hd0,4)
Filesystem type unknown, partition type 0x83

grub> root (cd)

Error 25: Disk read error.

grub>

The cur_part_offset variable in disk_io.c is not being reset
during the execution of "root (cd)". AFAICT this is because
the CD-ROM doesn't have a partition table so some of the code
isn't getting exercised, but the disk IO code is sufficiently
twisty that I didn't attempt a patch.

I was using Grub 0.97, from CVS August 31 2005; I can reproduce
this problem on several machines and the qemu emulator.

Cheers,

Tim.

Anonymous

 

Attached Files
file #2508:  ptable-fix.patch added by None (963B - application/octet-stream - ptable-fix.patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by robertmh (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-12-15 robertmh Open/ClosedOpen => Closed
    2005-12-01 None Attached File- => Added ptable-fix.patch, #3155
    2005-09-05 None Carbon-Copy- => Added tjd-gnugrub --AT-- phlegethon --DOT-- org

    Back to the top


    Powered by Savane 3.3