On Tue, Nov 9, 2010 at 1:28 PM, Nigel Horne <email address hidden> wrote:
> Stefan,
>> Would it be possible to share your the kernel image (vmlinuz) and
>> initrd file? That's all we need to reproduce the bug.
>>
>
> Sure - how do I create them from the Image file I have? (I don't use an
> external kernel image and initrd file to boot)
$ /sbin/fdisk -lu ~njh/qemu/sparc/debian.img
...hopefully this displays the slices/partitions... Device Boot Start End Blocks
Id System
test.raw1 * 2048 1026047 512000 83 Linux
$ mount -o loop,offset=$((2048 * 512)) /mnt
(The offset is calculated by taking the start block number from fdisk
and multiplying it by 512 bytes)
$ ls /mnt/boot
...there should be a vmlinuz and initrd, you could check the silo.conf
or other boot configuration if you don't know the exact kernel/initrd
filenames.
On Tue, Nov 9, 2010 at 1:28 PM, Nigel Horne <email address hidden> wrote:
> Stefan,
>> Would it be possible to share your the kernel image (vmlinuz) and
>> initrd file? That's all we need to reproduce the bug.
>>
>
> Sure - how do I create them from the Image file I have? (I don't use an
> external kernel image and initrd file to boot)
$ /sbin/fdisk -lu ~njh/qemu/ sparc/debian. img partitions. ..
Device Boot Start End Blocks
...hopefully this displays the slices/
Id System
test.raw1 * 2048 1026047 512000 83 Linux
$ mount -o loop,offset=$((2048 * 512)) /mnt
(The offset is calculated by taking the start block number from fdisk
and multiplying it by 512 bytes)
$ ls /mnt/boot
...there should be a vmlinuz and initrd, you could check the silo.conf
or other boot configuration if you don't know the exact kernel/initrd
filenames.
$ cp /mnt/boot/ {vmlinuz, initrd} /tmp
$ umount /mnt
Stefan