On Mon, Sep 19, 2011 at 7:40 PM, Hisham <hisham...@gmail.com> wrote: > On Mon, Sep 19, 2011 at 6:35 PM, Lucas C. Villa Real > <luca...@gobolinux.org> wrote: >> On Mon, Sep 19, 2011 at 1:33 PM, Hisham <hisham...@gmail.com> wrote: >>> On Mon, Sep 19, 2011 at 1:16 AM, Michael Homer <mich...@gobolinux.org> >>> wrote: >>>> On Mon, Sep 19, 2011 at 12:13 PM, Leandro Motta Barros >>>> <lmbar...@gmail.com> wrote: >>>>> Hello! >>>>> >>>>> I am using the packages from >>>>> http://mwh.geek.nz/files/gobo/014.10/packages/ to make a major update >>>>> to my system, which was presenting some problems after these years of >>>>> small updates over small updates. I am doing almost an installation >>>>> from scratch. I updated all the packages, disabled almost everything I >>>>> had installed and now I am recompiling the stuff I need. >>>>> >>>>> So far, so good. The packages mostly work out of the box. I found just >>>>> a few problems, which I am reporting now so that everyone else can be >>>>> aware of them. >>>>> >>>>> (BTW, thank you very much to take the time to prepare those packages. >>>>> They spared me a lot of trouble!) >>>>> >>>>> First, if this is going to be put into an updated ISO, there are some >>>>> missing dependencies. So far, I've found that the following packages >>>>> should be added: >>>>> >>>>> 1) Startup-Notification (Firefox needs it) >>>>> 2) Popt (Rsync needs it) >>>>> 3) PTH (GnuPG and LibAssuan need it) >>>> Thanks for that list, I've put those packages into the store now. >>>>> Second: when running traceroute and ping (from InetUtils), I get an >>>>> error message like "unknown protocol icmp". I've found that the >>>>> /s/s/protocols file is missing (crating a proper /s/s/protocols file >>>>> solved the problem) I suppose that this file (and perhaps others) >>>>> should have been distributed in the InetUtils' default settings. >>>> That file is part of Netkit-Base here. I don't know whether that >>>> program is suitable to use or not; I use InetUtils' ping but have >>>> Netkit-Base's inetd linked in. If Netkit-Base should be missed out >>>> /S/S/protocols will need to come from somewhere else. >>>>> Finally, for an ISO, a GRUB package would be needed, too. >>>> Yes. Grub is an issue - Grub2 is where all development happens now and >>>> the Grub series that was on the 014 CD is completely unsupported, but >>>> the installer relies on the configuration file used in the old series, >>>> which doesn't work now. I think we may be best off using a patched >>>> Grub 0.97, like the recipe that's in the store, but it is finicky, and >>>> I'm not an expert on the subject. If anyone has any input it would be >>>> helpful. >>> >>> So, an option is basically to update the Installer to use the Grub2 >>> syntax? Looks like something I could work on. >> >> Can you take a look at the ConfigTools code base to see if that's not >> checked in yet? I'm sure I've implemented that before.. I'll take a >> look at my local copy of the tree when I get home and will let you >> know if I have any pending commits related to that. > > The trunk seems to contain no GRUB2-related code; just the old menu > generator for Grub 0.9x: > > http://svn.gobolinux.org/tools/trunk/ConfigTools/bin/GenGrubMenu
Oh, that seems to be what I checked in ages ago. That's already using the GRUB-2 language (notice the "menuentry" keyword on that file, which is part of the new config file specification. Looking at the Subversion history we can see that our code is already supposed to be ready for the transition: $ svn log GenGrubMenu ------------------------------------------------------------------------ r4257 | lucasvr | 2009-12-23 23:52:15 -0200 (Wed, 23 Dec 2009) | 2 lines Fix GRUB config: the device name should no longer appear before the path to the kernel. ------------------------------------------------------------------------ r4176 | lucasvr | 2009-12-07 11:55:52 -0200 (Mon, 07 Dec 2009) | 1 line vga= is deprecated; use gfxpayload= instead. ------------------------------------------------------------------------ r4172 | lucasvr | 2009-12-04 19:38:41 -0200 (Fri, 04 Dec 2009) | 1 line The syntax of the config file changed in GRUB 2. ------------------------------------------------------------------------ r4169 | lucasvr | 2009-12-04 18:24:17 -0200 (Fri, 04 Dec 2009) | 1 line GRUB 2 doesn't recognize the gfxmenu keyword. Disable it for now. $ svn log dev2grub.sh ------------------------------------------------------------------------ r4351 | lucasvr | 2010-03-17 22:57:42 -0300 (Wed, 17 Mar 2010) | 1 line Throw warnings away; Force creation of /System/Kernel/Boot/grub if it doesn't exist. ------------------------------------------------------------------------ r4170 | lucasvr | 2009-12-04 18:37:27 -0200 (Fri, 04 Dec 2009) | 1 line The partition numbering has been changed to start from 1 in GRUB 2. ------------------------------------------------------------------------ r4168 | lucasvr | 2009-12-04 18:22:16 -0200 (Fri, 04 Dec 2009) | 1 line GRUB 2 executable for this is grub-mkdevicemap. The only thing that needs to be worked on is the GRUB package. The recipe can become a burden to maintain if we're to patch it. An alternative, which I said before, is to mount the dev stuff in /dev rather than in /S/K/Devices. I remember having started to work with another alternative based on LD_PRELOAD. The idea was to wrap the GRUB-2 executables around that to prevent having to patch the code or to move from our current /S/K/Devices layout. I never completed that, though. The code has been lost and would need to be written again (not a big deal). Playing with this will require one to set up a virtual machine under QEMU, and the inertia to set up that is mostly the reason why I haven't worked on the binary package myself yet. Please let me know if you feel like doing that on your end, otherwise I can look into finding some slots on my weekend. -- Lucas "If you're looking for a reason I've a reason to give: pleasure, little treasure" _______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel