GRUB Error 16: Inconsistent filesystem structure when try toload core in Genode/NOVA demo

Alexander Boettcher alexander.boettcher at ...1...
Mon Nov 5 09:19:33 CET 2012


Hello,

it seems that Grub legacy never had ext4 support originally [0], however
there exists some patches according to [1] and Trusted Grub [2] seems to
have taken them.

I don't know whether the ext4 support of Trusted Grub is feature
complete to boot a recent ext4 setup (ext4 patch in TrustedGrub ~2009,
ext4 fs setup from 2012).

I would suggest to try to use a known to work fs for Legacy Grub like
ext2 and others. If this works, you know that the ext4 boot support
needs some adjustments to get it working again.

Your menu.lst looks good, so it just should boot.

Cheers,

Alex.

[0] http://www.gnu.org/software/grub/manual/legacy/grub.html
[1] https://ext4.wiki.kernel.org/index.php/Ext4_Howto "Booting from an
ext4 filesystem"
[2] http://sourceforge.net/projects/trustedgrub/files/TrustedGRUB-1.1.5

On 02.11.2012 20:35, chappewr at ...145... wrote:
> 1 - menu.lst - I can either include it in-line or as an attachment
>     (I hate to pound the mailing list with it) - I do not have a
>      place to post it at the moment.
> 2 - yes to all.  The Genode and kernel binaries are on the same harddisk
>     as /boot/grub/menu.lst.
> 3 - all binaries in same partition, including (just for completeness)
>     the vmlinuz-* kernels.
>     all same filesystem
>     filesystem is ext4
> 
> The hypervisor (NOVA) loads OK, so it is being found.
> Legacy GRUB halts with the error when it starts to
> load the core.
> The menu.lst code is based on a template in Genode
> documentation.
> The specific section preceded by the primary Linux
> section is this:
> title		Ubuntu 12.04.1 LTS, kernel 3.2.0-32-generic-pae
> uuid		2213d6b0-360e-450c-929a-b4ad2442322b
> kernel		/boot/vmlinuz-3.2.0-32-generic-pae
> root=UUID=2213d6b0-360e-450c-929a-b4ad2442322b ro quiet splash 
> initrd		/boot/initrd.img-3.2.0-32-generic-pae
> checkfile	/TG/check.file
> 
> title		Genode demo scenario
> uuid		2213d6b0-360e-450c-929a-b4ad2442322b
> kernel		/usr/local/src/genode-12.08/build.nova/kernel/hypervisor noapic
> module		/usr/local/src/genode-12.08/build.nova/core/core
> module		/usr/local/src/genode-12.08/build.nova/init/init
> module		/usr/local/src/genode-12.08/os/config/demo
> module		/usr/local/src/genode-12.08/build.nova/drivers/timer/nova/timer
> module		/usr/local/src/genode-12.08/build.nova/drivers/input/ps2/x86/ps2_drv
> module		/usr/local/src/genode-12.08/build.nova/drivers/pci/x86/pci_drv
> module		/usr/local/src/genode-12.08/build.nova/drivers/framebuffer/vesa/vesa
> _drv
> module		/usr/local/src/genode-12.08/build.nova/app/launchpad/launchpad
> module		/usr/local/src/genode-12.08/build.nova/server/nitpicker/genode/nitpi
> cker
> module		/usr/local/src/genode-12.08/build.nova/server/liquid_framebuffer/liq
> uid_fb
> module		/usr/local/src/genode-12.08/build.nova/server/nitlog/nitlog
> module		/usr/local/src/genode-12.08/build.nova/test/nitpicker/testnit
> module		/usr/local/src/genode-12.08/build.nova/app/scout/genode/scout
> 
> Thank you.
> Bill Chappell
> 
> 
> 
> 
> 
> Original Message:
> -----------------
> From: Alexander Boettcher alexander.boettcher at ...1...
> Date: Thu, 01 Nov 2012 10:29:08 +0100
> To: genode-main at lists.sourceforge.net
> Subject: Re: GRUB Error 16: Inconsistent filesystem structure when try
> toload core in Genode/NOVA demo
> 
> 
> Hello,
> 
> can you please put your grub menu.lst configurations somewhere and post
> a link, so we can have a look.
> 
> Do I understand it correctly, that you want to add a grub boot entry to
> an existing Linux installation ? That means that the Genode and Kernel
> binaries are located somewhere on a harddisk and not on a CDROM/ISO
> image anymore ?
> 
> If yes, are the kernel binary and the Genode binaries located on the
> same partition of the harddisk or they are on potential different
> partitions ? Do they have the same filesystem type ? Which filesystem
> you are using ?
> 
> Cheers,
> 
> Alex.
> 
> On 26.10.2012 11:34, Bill Chappell wrote:
>> I am trying to run the Genode(12.08)/NOVA demo as a boot option under
>> Legacy GRUB following the "official" Genode instructions.
>> When GRUB executes the line "module <path>/core", it halts
>> with Error 16 as in the subject line.  Also if I use full paths, no 
>> symlinks.
>> When I edit the Genode Demo entry as GRUB runs and delete everything
>> below the "kernel hypervisor" line, NOVA loads, reports 2 cores, and halts
>> because "no ELF".
>> "file core" reports that core is a 32 bit ELF.
>> I have successfully run the Genode demo on top of Ubuntu 12.04 LTS and the
>> Genode/NOVA demo on top of Ubuntu 12.04 LTS.
>> GRUB savedefault is false.
>> I tried the patch to stage2/fsys_iso9660.c with no luck.
>> I have used both an IBM ThinkCentre and an HP laptop (6530b) with both
>> Legacy GRUB and Legacy GRUB with Trusted GRUB patches.
>> "The Google" is out of suggestions.
>> Thank you.
>>
>>
> ----------------------------------------------------------------------------
> --
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://p.sf.net/sfu/appdyn_sfd2d_oct
>> _______________________________________________
>> Genode-main mailing list
>> Genode-main at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/genode-main
>>
> 
> 
> ----------------------------------------------------------------------------
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> _______________________________________________
> Genode-main mailing list
> Genode-main at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/genode-main
> 
> 
> --------------------------------------------------------------------
> mail2web.com – Enhanced email for the mobile individual based on Microsoft®
> Exchange - http://link.mail2web.com/Personal/EnhancedEmail
> 
> 
> 
> ------------------------------------------------------------------------------
> LogMeIn Central: Instant, anywhere, Remote PC access and management.
> Stay in control, update software, and manage PCs from one command center
> Diagnose problems and improve visibility into emerging IT issues
> Automate, monitor and manage. Do more in less time with Central
> http://p.sf.net/sfu/logmein12331_d2d
> _______________________________________________
> Genode-main mailing list
> Genode-main at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/genode-main
> 





More information about the users mailing list