[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Ext2fs support bug
From: |
Serbinenko Vladimir |
Subject: |
Ext2fs support bug |
Date: |
Sat, 18 Jun 2005 15:51:03 +0200 |
User-agent: |
Mozilla Thunderbird 1.0.2-1.3.2 (X11/20050324) |
I create grub image like:
I have: /home/vova/grub/mnt is a mount point of /home/vova/grub/grub.img
$prefix=/home/vova/grub/inst
I run:
from $prefix/sbin:
../bin/grub-mkimage -v -o ./core.img chain ext2
mount /home/vova/grub/mnt/
cp ../share/grub/i386-pc/* ../../mnt/boot/grub/
cp ./core.img ../../mnt/boot/grub
umount /home/vova/grub/mnt/
mount /home/vova/grub/mnt/
sync && ./grub-setup -m ./device.map --root-device=\(fd0\) \(fd0\) -d
/home/vova/grub/mnt/boot/grub/ && sync
umount /home/vova/grub/mnt
And from /home/vova/grub:
qemu -fda ./grub.img
And I recieve:
Welcome to GRUB
unaligned pointer 0x7fef8
When I reformat my image file like fat and replace ext2 with fat it
works fine so I suppose it's ext2fs bug.
Vladimir
P.S. I use GRUB2 CVS