URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=14407>
Summary: partition table offset not reset when changing to CD Project: GNU GRUB Submitted by: None Submitted on: Mon 09/05/05 at 09:33 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 PROTECTED] Open/Closed: Open Release: 0.97 Reproducibility: Every Time Planned Release: _______________________________________________________ Details: 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. _______________________________________________________ Carbon-Copy List: CC Address | Comment ------------------------------------+----------------------------- tjd-gnugrub --AT-- phlegethon --DOT-- org | Originator Email _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=14407> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-grub mailing list Bug-grub@gnu.org http://lists.gnu.org/mailman/listinfo/bug-grub