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

 
 

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

bug #32391: Grub will not install in Blocklist Mode

Submitted by:  Mocking Bird <mockingbird>
Submitted on:  Tue 08 Feb 2011 09:22:11 PM UTC  
 
Category: InstallationSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: mockingbird
Open/Closed: ClosedRelease: 
Release: 1.98Reproducibility: 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>
Project 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>
Project 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>

 

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
  • -unavailable- added by phcoder (Posted a comment)
  • -unavailable- added by mockingbird (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 11 May 2011 05:30:32 AM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sun 08 May 2011 11:30:45 PM UTCphcoderAttached File-=>Added 1.diff, #23375
    Tue 08 Feb 2011 09:22:11 PM UTCmockingbirdAttached File-=>Added squeeze.bin, #22631

    Back to the top


    Powered by Savane 3.1-cleanup