From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1GV5zV-0005t4-Af for mharc-grub-devel@gnu.org; Wed, 04 Oct 2006 08:36:49 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GV5zT-0005sl-Ts for grub-devel@gnu.org; Wed, 04 Oct 2006 08:36:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GV5zR-0005s6-2S for grub-devel@gnu.org; Wed, 04 Oct 2006 08:36:47 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GV5zQ-0005rz-UM for grub-devel@gnu.org; Wed, 04 Oct 2006 08:36:44 -0400 Received: from [193.144.10.29] (helo=relay2.udl.es) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GV65r-0005VI-7u for grub-devel@gnu.org; Wed, 04 Oct 2006 08:43:23 -0400 Received: from jupiter.udl.net (jupiter.udl.net [172.16.2.2]) by relay2.udl.es (8.13.7/8.13.4) with ESMTP id k94CaGv2026914 for ; Wed, 4 Oct 2006 14:36:25 +0200 Received: from [172.16.103.32] (aules-103-032.udl.net [172.16.103.32]) by jupiter.udl.net (8.11.7p1+Sun/8.11.6) with ESMTP id k94CMpa28137 for ; Wed, 4 Oct 2006 14:22:55 +0200 (MET DST) Message-ID: <4523A766.5010808@raulete.net> Date: Wed, 04 Oct 2006 14:21:58 +0200 From: adrian15 User-Agent: Thunderbird 1.5.0.5 (X11/20060808) MIME-Version: 1.0 To: grub-devel@gnu.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/1994/Wed Oct 4 06:10:39 2006 on relay2.udl.es X-Virus-Status: Clean Subject: grub2 file browser draft X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2006 12:36:48 -0000 Marco Gerards you asked me the other day about scripting. If there was something missing or any other thing that he could do. This draft about a grub2 file draft can help him thinking about how powerful is his scripting or not. The user sees inside a menu: Floppy1 Floppy2 HardDisk1 HardDisk2 He selects HardDisk1. He sees another menu: View Save as Argument 1 Save as Argument 2 Setup Grub Here This is Grub Root (Only if the hard disk/device has no partitions) He selects View. He sees another menu: hda1 hda2 hda3 hda4 hda5 He selects hda1. He sees another menu: View Save as Argument 1 Save as Argument 2 Setup Grub Here This is Grub Root (Only if partition filesystem is grub readable) He selects View. He sees another menu: /boot /etc /var He selects /etc. He sees another menu: View Save as Argument 1 Save as Argument 2 He selects View. He sees another menu: fstab config1 config2 He select fstab. He sees another menu: View Save as Argument 1 Save as Argument 2 Let's say he returns to previous menu where he is seeing /etc folder. He select my_index.html. He sees another menu: View inside a web browser (GRUB2 will have a module with basic html reading I suppose) View Save as Argument 1 Save as Argument 2 So Marco Gerards.... Do you think that this can be done with your grub scripting? Or the grub2 scripting needs more hacking? adrian15