[Bug 345488] Re: grub will only boot old kernels, new kernels lead to grub errors

2009-03-20 Thread Launchpad Bug Tracker
This bug was fixed in the package grub - 0.97-29ubuntu51 --- grub (0.97-29ubuntu51) jaunty; urgency=low [ Colin Watson ] * more_scsi_disks.diff: Add support for up to 256 SCSI disk devices on Linux (LP: #335174). Due to BIOS disk numbering only at most 128 can be bootable,

[Bug 345488] Re: grub will only boot old kernels, new kernels lead to grub errors

2009-03-20 Thread Andy Whitcroft
Colin built me a stage2 with this fix, which I installed (remember to grub-install) and tested. Works well here. -- grub will only boot old kernels, new kernels lead to grub errors https://bugs.launchpad.net/bugs/345488 You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 345488] Re: grub will only boot old kernels, new kernels lead to grub errors

2009-03-20 Thread Colin King
Attached is the patch to fix this ** Attachment added: "Grub patch to fix ext4 inodes of variable sizes" http://launchpadlibrarian.net/24152333/ext4-variable-inode-fix.diff -- grub will only boot old kernels, new kernels lead to grub errors https://bugs.launchpad.net/bugs/345488 You received

[Bug 345488] Re: grub will only boot old kernels, new kernels lead to grub errors

2009-03-20 Thread Colin King
The bug occurs because ext4 can have inodes > 128 bytes and grub is assuming that inodes are 128 bytes in size. -- grub will only boot old kernels, new kernels lead to grub errors https://bugs.launchpad.net/bugs/345488 You received this bug notification because you are a member of Ubuntu Bugs, wh

[Bug 345488] Re: grub will only boot old kernels, new kernels lead to grub errors

2009-03-19 Thread Andy Whitcroft
# dumpe2fs -h /dev/sda1 dumpe2fs 1.41.4 (27-Jan-2009) Filesystem volume name: Last mounted on: Filesystem UUID: 5fb55e5f-9697-4ad3-ba1f-ad86a6d2c0ef Filesystem magic number: 0xEF53 Filesystem revision #:1 (dynamic) Filesystem features: has_journal ext_attr resize_ino

[Bug 345488] Re: grub will only boot old kernels, new kernels lead to grub errors

2009-03-19 Thread Colin King
@Andy can you attached the output of dumpe2fs on this partition for me. Thanks! -- grub will only boot old kernels, new kernels lead to grub errors https://bugs.launchpad.net/bugs/345488 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. --

[Bug 345488] Re: grub will only boot old kernels, new kernels lead to grub errors

2009-03-19 Thread Stefan Bader
This is from a mkfs.ext4 on a 4MB logical partition and then copying one file to it: Inode: 12 Type: regularMode: 0644 Flags: 0x8 Generation: 740596109Version: 0x0001 User: 0 Group: 0 Size: 1871304 File ACL: 0Directory ACL: 0 Links: 1 Blockcount: 3658 Fragmen

[Bug 345488] Re: grub will only boot old kernels, new kernels lead to grub errors

2009-03-19 Thread Andy Whitcroft
debugfs ls /boot gives me: 12566529 (12) .2 (12) .. 12566559 (44) System.map-2.6.28-11-generic 12566582 (52) vmlinuz-2.6.28-8-generic12566562 (24) memtest86+.bin 12566583 (32) config-2.6.28-8-generic 12566584 (36) abi-2.6.28-8-generic12566537 (12) grub 1256

[Bug 345488] Re: grub will only boot old kernels, new kernels lead to grub errors

2009-03-19 Thread Andy Whitcroft
Debugging this we have found that grub is getting the block numbers wrong. vmlinuz-2.6.28-8-generic is the older good kerne, grub block dumpl: (hd0,0)402243640+96,402243744+6661 vmlinux-2.6.28-11-generic is the new broken kernel, grub block dump: (hd0,0)1546320+8,32+8,4096+8,402255872+8