Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1EAHIM-0001dr-ER for mharc-grub-devel@gnu.org; Tue, 30 Aug 2005 21:21:44 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EAHII-0001bQ-Q8 for grub-devel@gnu.org; Tue, 30 Aug 2005 21:21:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EAHID-0001Yz-S5 for grub-devel@gnu.org; Tue, 30 Aug 2005 21:21:35 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EAHID-0001Yo-PV for grub-devel@gnu.org; Tue, 30 Aug 2005 21:21:33 -0400 Received: from [209.86.89.66] (helo=smtpauth06.mail.atl.earthlink.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EAHGU-00065c-Tx for grub-devel@gnu.org; Tue, 30 Aug 2005 21:19:47 -0400 Received: from [63.246.184.80] (helo=[192.168.0.101]) by smtpauth06.mail.atl.earthlink.net with asmtp (Exim 4.34) id 1EAHDy-0001sD-Sj for grub-devel@gnu.org; Tue, 30 Aug 2005 21:17:11 -0400 Mime-Version: 1.0 (Apple Message framework v622) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Hollis Blanchard Date: Tue, 30 Aug 2005 20:17:09 -0500 To: The development of GRUB 2 X-Mailer: Apple Mail (2.622) X-ELNK-Trace: 77a46389d001b1f223bcf3e39c2f8b5f1aa676d7e74259b7b3291a7d08dfec790ee8be5f1faaced92b4d2c7cdc3ed892350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 63.246.184.80 Subject: Re: gsd grub2 option proposal 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, 31 Aug 2005 01:21:40 -0000 On Aug 30, 2005, at 1:28 PM, adrian15 wrote: > > I wanted to talk about user interaction. > User Interaction is very important on Grub Super Disk. First you need to define "Grub Super Disk," because I really don't know what you're talking about... > # Default values of swapped disks and devices to boot > > swapped_hd=2nd hard disk > swapped_hd_value=(hd1) > boot_dev=(fd0) > > # grub_title is the variable for showing the grub title (in place of > free > mem and grub version) > grub_title=Swap 1st hard disk with $swapped_hd and boot $boot_dev > > title Select Swapped hard disk > option 2nd hard disk > swapped_hd=2nd hard disk > swapped_hd_value=(hd1) > option 3rd hard disk > swapped_hd=3rd hard disk > swapped_hd_value=(hd2) > option 4th hard disk > swapped_hd_value=(hd3) > swapped_hd=4th hard disk > > title Select device to boot > option 1st partition 2nd hard disk > boot_dev=(hd1,0) > option floppy > boot_dev=(fd0) > option cdrom > boot_dev=(cd) > > title Go! > map (hd0) $swap_hd_value > map $swap_hd_value (hd0) > rootnoverify $boot_dev > boot This might even work now, although obviously you would need to select two entries: some hard disk, and then "Go!". Doesn't seem very convenient to me. If you're just trying to avoid typing that stuff under "Go!", I guess a script function would be useful here. -Hollis