[Bug 1061255] Re: GRUB recognizes defunct LDM headers

João Rossa joao.rossa at gmail.com
Tue Nov 27 22:05:25 UTC 2012


Here's the initial command:

maxrunner at RossaPc:~$ sudo fdisk -lu /dev/sda
[sudo] password for maxrunner: 

Disk /dev/sda: 1000.2 GB, 1000203804160 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953523055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6a835856

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      206847      102400    7  HPFS/NTFS/exFAT
/dev/sda2          206848   252862463   126327808    7  HPFS/NTFS/exFAT
/dev/sda3       253841406  1953519615   849839105    f  W95 Ext'd (LBA)
/dev/sda4       252862464   253839026      488281+  83  Linux
/dev/sda5       488382464   976760831   244189184    7  HPFS/NTFS/exFAT
/dev/sda6       976760896  1953519615   488379360    7  HPFS/NTFS/exFAT
/dev/sda7       253841408   265558015     5858304   82  Linux swap / Solaris
/dev/sda8       265560064   324151295    29295616   83  Linux
/dev/sda9       324153344   488376319    82111488   83  Linux


So i just need to subtract 1 to 1953523055->1953523054 and use this value in the remaining commands?i'm using ubuntu 12.10 installed. this will make the windows 7 os work again when selected?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1061255

Title:
  GRUB recognizes defunct LDM headers

Status in “grub2” package in Ubuntu:
  Triaged

Bug description:
  GRUB recognizes stale LDM headers left on the disk after reformatting
  without LDM.  This causes grub to complain either that embedding is
  not possible, and/or to incorrectly use the ldm partition module
  instead of msdos.

  - This bug affect GRUB2.00 (default bootloader of Ubuntu12.10).
  - This bug completely breaks access to any operating system, either when installing a fresh 12.10, or when upgrading from 12.04 to 12.10.

  ********************
  WORKAROUND:
  Use Boot-Repair ( https://help.ubuntu.com/community/Boot-Repair ) from liveCD to replace GRUB2 by GRUB Legacy: run Boot-Repair --> Advanced options --> GRUB options tab --> tick "GRUB Legacy" --> Apply
  ********************

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1061255/+subscriptions




More information about the foundations-bugs mailing list