It looks like grub isn''t entirely happy with the following construction: title Xen 2.0 / Xenolinux 2.6.9-1.658_FC4 root (hd0,0) kernel /xen-2.6.9-2.gz dom0_mem=180000 module /vmlinuz-debug root=/dev/hda2 ro debug 3 verbose xencons=off initrd /initrd-2.6.9-prep.img It refuses to boot up, giving the error message: Error 19: Linux kernel must be loaded before initrd I''m looking at the grub sources to figure out how to work around this... -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
You don''t specify the initrd with ''initrd'' but as another module. That is, this line: initrd /initrd-2.6.9-prep.img should be: module /initrd-2.6.9-prep.img GRUB only groks ''initrd'' lines for Linux kernels -- not for multiboot kernels. :-) -- Keir> It looks like grub isn''t entirely happy with the following > construction: > > title Xen 2.0 / Xenolinux 2.6.9-1.658_FC4 > root (hd0,0) > kernel /xen-2.6.9-2.gz dom0_mem=180000 > module /vmlinuz-debug root=/dev/hda2 ro debug 3 verbose xencons=off > initrd /initrd-2.6.9-prep.img > > It refuses to boot up, giving the error message: > > Error 19: Linux kernel must be loaded before initrd > > I''m looking at the grub sources to figure out how to work > around this... > > -- > "Debugging is twice as hard as writing the code in the first place. > Therefore, if you write the code as cleverly as possible, you are, > by definition, not smart enough to debug it." - Brian W. Kernighan > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> It looks like grub isn''t entirely happy with the following > construction: > > title Xen 2.0 / Xenolinux 2.6.9-1.658_FC4 > root (hd0,0) > kernel /xen-2.6.9-2.gz dom0_mem=180000 > module /vmlinuz-debug root=/dev/hda2 ro debug 3 verbose xencons=off > initrd /initrd-2.6.9-prep.img > > It refuses to boot up, giving the error message: > > Error 19: Linux kernel must be loaded before initrdDo you still get this if you use a second ''module'' line rather than ''initrd''? Ian ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Tue, 23 Nov 2004, Keir Fraser wrote:> You don''t specify the initrd with ''initrd'' but as another module. That > is, this line: > initrd /initrd-2.6.9-prep.img > should be: > module /initrd-2.6.9-prep.imgIan, Keir, thanks for the hint. I ended up playing a bit with X together with Alan, and we got it to run fine on my laptop. We also looked at the AGP patch and it appears that it should be harmless on native Linux, so might be mergeable upstream. kind regards, Rik -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel