grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] ext4 extent support


From: Bean
Subject: Re: [PATCH] ext4 extent support
Date: Fri, 11 Jul 2008 23:34:42 +0800

On Fri, Jul 11, 2008 at 4:39 PM, Felix Zielcke <address@hidden> wrote:
> From: "Bean" <address@hidden>
> Sent: Friday, July 11, 2008 10:17 AM
> To: "The development of GRUB 2" <address@hidden>
> Subject: Re: [PATCH] ext4 extent support
>
>> Hi,
>>
>> Is the image empty ? Perhaps you can add a few files to it. Also, you
>> can use grub-fstest to check if grub can access it, For example:
>>
>
> Urm, yeah sorry, didn't think that it could be more helpful with files on it
> I copied now my /boot to it
> Seems like 1,9 MB is too big for the mailing list, message returned
> So i just uploaded to rapidshare
>
> http://rapidshare.com/files/128833892/ext4.img.bz2.html
>
> But if you like i'll send it to you offlist
>
>> grub-fstest ext4.img ls /
>> grub-fstest ext4.img ls /boot
>> grub-fstest ext4.img hex /boot/grub.cfg
>
> just with ext4.img it didn't worked, it complained about not using an
> absolute path
>
> # grub2/grub-fstest /root/ext4.img ls /
> lost+found/ grub/ System.map-2.6.26-rc9 config-2.6.26-rc9 vmlinuz-2.6.26-rc9
> # grub2/grub-fstest /root/ext4.img ls /grub/
> _linux.mod amiga.mod ascii.pff biosdisk.mod bitmap.mod cdboot.img [...]
> vbeinfo.mod video.mod
> # grub2/grub-fstest /root/ext4.img hex /grub/grub.cfg
> 00000000  23 0a 23 20 44 4f 20 4e  4f 54 20 45 44 49 54 20  |#.# DO NOT EDIT
> |
> 00000010  54 48 49 53 20 46 49 4c  45 0a 23 0a 23 20 49 74  |THIS FILE.#.#
> It|
> 00000020  20 69 73 20 61 75 74 6f  6d 61 74 69 63 61 6c 6c  | is
> automaticall|
> [...]
> 00000470  44 20 2f 65 74 63 2f 67  72 75 62 2e 64 2f 33 30  |D
> /etc/grub.d/30|
> 00000480  5f 6f 73 2d 70 72 6f 62  65 72 20 23 23 23 0a     |_os-prober
> ###.|
> # grub2/grub-fstest /root/ext4.img hex /vmlinuz-2.6.26-rc9
> grub-fstest: error: read error at offset 0.
> # grub2/grub-fstest /root/ext4.img ls /vmlinuz-2.6.26-rc9
> vmlinuz-2.6.26-rc9

Hi,

This patch should fix the problem.

-- 
Bean

Attachment: extent_2.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]