bugGNU GRUB - Bugs: bug #32391, Grub will not install in Blocklist...

 
 

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

bug #32391: Grub will not install in Blocklist Mode

Submitter:  Mocking Bird <mockingbird>
Submitted:  Tue 08 Feb 2011 09:22:11 PM UTC
   
 
Category:  Installation Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name:  mockingbird
Open/Closed:  Closed Release:  1.98
Release:  Reproducibility:  Every Time
Planned Release:  None

Wed 11 May 2011 12:41:01 AM UTC, comment #3: 

Thanks Vlad.

Your patch did the trick, and I see it has been integrated with Trunk, so no need to patch if you download with bzr.

Please close this bug.

Mocking Bird <mockingbird>
Sun 08 May 2011 11:30:45 PM UTC, comment #2: 

Please try attached patch

(file #23375)

Vladimir Serbinenko <phcoder>
Group administrator
Sat 02 Apr 2011 10:59:27 PM UTC, comment #1: 

The blocklists are unreliable because the filesystems can move the files around at will and so the exact sectors are subject to change. Any such change creates both a reliability and security problem. Previously the blocks were only rarely moved around. However, now, with features like tail repacking and online defragmenter it will become increasingly of a problem. LILO always relied on the blocklists and hence isn't a viable option in future. However, I agree that this bug should be fixed. Can you try dd if=/dev/sda skip=<START SECTOR OF sda5> of=squeeze.bin bs=512 count=1. Could you come to #grub on freenode so we can make a quicker exchange?

Vladimir Serbinenko <phcoder>
Group administrator
Tue 08 Feb 2011 09:22:11 PM UTC, original submission:  

When installing Grub in the beginning of a partition, later verification of the first 512 bytes of the partition shows nothing there, i.e., Grub is is installing to the Linux distro fine (In this case Debian Squeeze KDE AMD64), but is not writing itself to the parition table.

The version in question is 1.98+20100804-14.

The purpose of such an installation is to be able to boot Grub from the NT Loader (Windows XP Boot Menu), and this has not been a problem in previous versions/attempts.

The system in question is using an Intel ICH7 Southbridge, with one harddrive attached to the ICH7 SATA.  The drive is split into three partitions, the primary for Windows, and the other Two for Linux EXT3 and Swap.

The install completes "successfuly" from the Debian Advanced Graphical Install, and the subsequent shell installation via "grub-install --force /dev/sda5" produce equal results.  The "--force" must be used because Grub says something about installing it in this fashion being UNRELIABLE and not a good idea, but this has not been a problem at all previously, and what more, LILO installs in this manner just fine and boots fine from NT Loader.

For more information, please see this thread:
"http://forums.debian.net/viewtopic.php?f=17&t=59981"

Thanks

Mocking Bird <mockingbird>

 

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

Attached Files
file #23375:  1.diff added by phcoder (346B - text/x-diff)
file #22631:  squeeze.bin added by mockingbird (512B - application/octet-stream - This is the empty 512-byte file extracted via "dd if=/dev/sda5 of=squeeze.bin bs=512 count=1")

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by phcoder (Posted a comment)
  • -email is unavailable- added by mockingbird (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-05-11 phcoder StatusNone Fixed
        Open/ClosedOpen Closed
    2011-05-08 phcoder Attached File- Added 1.diff, #23375
    2011-02-08 mockingbird Attached File- Added squeeze.bin, #22631

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code