From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1WvRoi-0001WD-HN for mharc-grub-devel@gnu.org; Fri, 13 Jun 2014 09:46:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvRoY-0001VA-1N for grub-devel@gnu.org; Fri, 13 Jun 2014 09:46:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WvRoP-0003NX-0f for grub-devel@gnu.org; Fri, 13 Jun 2014 09:46:41 -0400 Received: from mail-qa0-x22c.google.com ([2607:f8b0:400d:c00::22c]:57801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvRoO-0003NN-Rf for grub-devel@gnu.org; Fri, 13 Jun 2014 09:46:32 -0400 Received: by mail-qa0-f44.google.com with SMTP id hw13so2270540qab.17 for ; Fri, 13 Jun 2014 06:46:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=Qp2t8zyFpi8aMVeE4zRxYVCABbBlTIFmdKKqoXow8o0=; b=a9UF2pdqVPsJHZei4wq7AxyyQiCjTRwbm4ggoHhLP1i31NZ/3rdhOKMCTVkqSGiB/5 5WvMrgNGMJ71XGbb//1LvyrLxj1fAYmIjM1SiJtKHMO0QtfjuzJigLghgudMV/SgUgJD FC2lBA9HdAVvuZCjmi0Oy+Ch5uVqE3d8yfNgzAGM0Ss90P6x0mkbAHFe2QxlTuRt7p5l 4b/pXKFeogY2AzTet5dtYzIULqnKv7CFrgs0ksx6h9+NaUVP6q5rEQMhm5krzR9OChVi 9IN5q88bNznSnru9Wnp16Es5upxcI98H0Fo5cRsU6dcAu1/MZ9CkjieaP7pmV4/wldtL rD3g== X-Received: by 10.140.31.196 with SMTP id f62mr3493333qgf.59.1402667192185; Fri, 13 Jun 2014 06:46:32 -0700 (PDT) Received: from [192.168.18.176] (cpe-174-106-197-222.ec.res.rr.com. [174.106.197.222]) by mx.google.com with ESMTPSA id v20sm1042984qge.11.2014.06.13.06.46.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Jun 2014 06:46:31 -0700 (PDT) Message-ID: <539B00B7.9090208@gmail.com> Date: Fri, 13 Jun 2014 09:46:31 -0400 From: Gene Czarcinski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: How should 30_os-prober be working? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c00::22c X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2014 13:46:51 -0000 This deals with 30_os-prober and the os-prober package itself. In days of old, it was linux and initrd for linux systems (ignoring linuxefi and initrdefi). Fedora 21 is in the process of starting up and it brings in grub2-2.02-0.3 and os-prober-1.58-7. While these updates bring in improved support for /boot on btrfs subvols and LVMlvs, they also introduce using linux16 instead of linux and initrd16 instead of initrd. This last change breaks 30_os-prober so that no output is produced even when appropriate systems are identified. The problem is that os-prober was only recognizing linux/initrd and the grub.cfg had linux/16/initrd16. I have created an update for os-prober which now identifies the "type" of linux | linux16 (actually linux*) and initrd | initrd16 (actually initrd*) and linux-boot-prober now returns whatever linux* and initrd* matches to 30_os-prober. The question is: what should 30_os-prober do with this information? Currently, I simply use the "linux_type" and initrd_type" returned by linux-boot-prober (40grub2) as "operation" to be performed? Is this correct? Another approach would be to force the use of linux16 and initrd16 for the menuentry elements. BTW, since I have your attention, with GRUB_DISABLE_SUBMENU=true specified in /etc/default/grub, should 30_os-prober be generating submenus? Gene