+ Reply to Thread
Results 1 to 2 of 2

Thread: EasyBCD, Grub2, ext4 and apt-get safe overwrite

  1. #1
    Join Date
    Jul 2010
    Posts
    1

    Default EasyBCD, Grub2, ext4 and apt-get safe overwrite

    I dual boot my computer into Windows 7 and Ubuntu 10.04 using EasyBCD 2.0 and Grub2. Since I'm affected by the infamous try hd(0,0) ext2 bug (it may have something to do with ext4 extents feature), I can't boot Grub2 directly with NeoGrub. So as a workaround I use the legacy option which simply chainloads a copy of my Linux partition Grub2 PBR. I.e. I installed Grub2 into Linux partition boot record and then use Grub (legacy) instead of Grub2 option. It worked great. One day I installed an update to Grub2 via apt-get and a few days later (not right away) it stopped working, simply hanging when I chose Ubuntu from Windows Boot Manager. I recreated my BCD entry (it started working again) and compared the new PBR snapshot with the old one using hex editor. Of course the hardcoded /boot/grub/core.img offset changed. But why did it still work for a couple of days and suddenly stopped? Strange, but I think I guess what's happening behind the scenes. Apt (for safety reasons) uses a overwrite scheme that creates a new temporary file, then deletes the old file and changes the new file's name to the old one. Apt updated Linux PBR to reflect the changes but the snapshot was not updated unitl I did so manually. The old file contents were intact for some time, so BCD was happy. When suddenly some process requested that free space, the stange problem apeeared.

    Hope this hepls someone.

  2. #2
    Join Date
    Apr 2006
    Location
    Chicago
    Posts
    11,913

     

    Hi jonie, welcome to NeoSmart Technologies.

    Thanks for sharing that info with us. I've been working on finding a solution to the "try (hdx,y)" problem for a while now, but haven't had any luck.
    Mahmoud Al-Qudsi, Director



    I'm sorry but I do not accept support requests via IM, email, or personal messages

    Follow us on twitter @neosmart or on Facebook!
    NeoSmart Technologies: EasyBCD:

+ Reply to Thread

Similar Threads

  1. EasyBCD will not boot Ubuntu Grub2
    By zenxoro in forum EasyBCD Support
    Replies: 0
    Last Post: May 8th, 2010, 04:09 PM
  2. will overwrite osx - Please!!
    By allj in forum EasyBCD Support
    Replies: 1
    Last Post: July 6th, 2009, 10:33 PM
  3. Neogrub and Ubuntu 9.04 ext4 fs supported?
    By zmalex in forum EasyBCD Support
    Replies: 5
    Last Post: May 5th, 2009, 12:47 PM
  4. Neogrub and Ext4
    By Capodastro in forum EasyBCD Support
    Replies: 3
    Last Post: January 14th, 2009, 12:12 PM
  5. Safe Mode Support in EasyBCD
    By Col in forum Ideas and Wishlists
    Replies: 6
    Last Post: November 9th, 2007, 06:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts