Bug#911242: grub-legacy - Fails to install on disk

Bastian Blank waldi at debian.org
Wed Oct 17 15:52:50 BST 2018


Package: grub-legacy
Version: 0.97-73
Severity: grave

grub-legacy fails to install a proper bootloader on disk.  Given the not
longer existing usefulness of this package, I intend to request removal
in a short time.

Regards,
Bastian

| # grub-install /dev/sda
| Searching for GRUB installation directory ... found: /boot/grub
| [   23.084254] grub[399]: segfault at ee8 ip 00000000080498b3 sp 00000000f7936000 error 6 in grub[8048000+2b000]
| [   23.085888] Code: 4f 07 08 8b 00 85 c0 74 0a c7 82 e8 0e 00 00 01 00 00 00 8b 44 24 0c 8b 80 e4 0e 00 00 89 c4 83 c 
| Segmentation fault
| cmp: EOF on /tmp/gruby39ghn which is empty
| [   24.107637] grub[404]: segfault at ee8 ip 00000000080498b3 sp 00000000f79d6000 error 6 in grub[8048000+2b000]
| [   24.109688] Code: 4f 07 08 8b 00 85 c0 74 0a c7 82 e8 0e 00 00 01 00 00 00 8b 44 24 0c 8b 80 e4 0e 00 00 89 c4 83 c 
| Segmentation fault
| cmp: EOF on /tmp/gruby39ghn which is empty
| [   25.122698] grub[409]: segfault at ee8 ip 00000000080498b3 sp 00000000f7953000 error 6 in grub[8048000+2b000]
| [   25.126343] Code: 4f 07 08 8b 00 85 c0 74 0a c7 82 e8 0e 00 00 01 00 00 00 8b 44 24 0c 8b 80 e4 0e 00 00 89 c4 83 c 
| Segmentation fault
| cmp: EOF on /tmp/gruby39ghn which is empty
| [   26.137539] grub[414]: segfault at ee8 ip 00000000080498b3 sp 00000000f790c000 error 6 in grub[8048000+2b000]
| [   26.139834] Code: 4f 07 08 8b 00 85 c0 74 0a c7 82 e8 0e 00 00 01 00 00 00 8b 44 24 0c 8b 80 e4 0e 00 00 89 c4 83 c 
| Segmentation fault
| cmp: EOF on /tmp/gruby39ghn which is empty
| [   27.153064] grub[419]: segfault at ee8 ip 00000000080498b3 sp 00000000f7950000 error 6 in grub[8048000+2b000]
| [   27.154898] Code: 4f 07 08 8b 00 85 c0 74 0a c7 82 e8 0e 00 00 01 00 00 00 8b 44 24 0c 8b 80 e4 0e 00 00 89 c4 83 c 
| Segmentation fault
| cmp: EOF on /tmp/gruby39ghn which is empty
| The file /boot/grub/stage1 not read correctly.

| # lsblk 
| NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
| sda      8:0    0    8G  0 disk 
| `-sda1   8:1    0    8G  0 part /
| sr0     11:0    1 1024M  0 rom  

| # sfdisk -l
| Disk /dev/sda: 8 GiB, 8589934592 bytes, 16777216 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
| Disklabel type: dos
| Disk identifier: 0xd6aa05a3
| 
| Device     Boot Start      End  Sectors Size Id Type
| /dev/sda1  *     2048 16777215 16775168   8G 83 Linux


-- 
Bones: "The man's DEAD, Jim!"



More information about the Pkg-grub-devel mailing list