Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1HUlzu-0001N2-0m for mharc-grub-devel@gnu.org; Fri, 23 Mar 2007 11:48:10 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HUlzp-0001K0-IV for grub-devel@gnu.org; Fri, 23 Mar 2007 11:48:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HUlzo-0001JH-6E for grub-devel@gnu.org; Fri, 23 Mar 2007 11:48:05 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUlzn-0001JE-V5 for grub-devel@gnu.org; Fri, 23 Mar 2007 10:48:03 -0500 Received: from an-out-0708.google.com ([209.85.132.248]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HUlxs-0003EV-Be for grub-devel@gnu.org; Fri, 23 Mar 2007 11:46:04 -0400 Received: by an-out-0708.google.com with SMTP id b8so1221619ana for ; Fri, 23 Mar 2007 08:46:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=cn5DS0eg9zn8Hs5zu+vpl8xvWaoWGfpyZwsDlUQvp6r9R+GzbL4ysfF4wh7TSsNhqm8oHC55Pfn7EAorV7pO2vpFMETUfEErJgJvMuwI0NkvqLI0ojO4kgGqllhnAC894zakP/djgSPIzrTgNYprv6YCkofPI6eFIIOt5Ztz9SI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=DH0WOP2pO5sBhx0dZJ+WM99TMfUl4zzNdrirsC5futnltOnPq8blPNR7s+hciUyG2uK+CfN1uRSb2d0mkGHdk64E6o36Dfzd4nZQXU174E6N2Cd1cFSEFTNZ32z1V7C4iJxg4ClXs1thIiI9Y66J0XKRfLqiEOduMMsvj5xWMVY= Received: by 10.100.94.3 with SMTP id r3mr2804758anb.1174664762855; Fri, 23 Mar 2007 08:46:02 -0700 (PDT) Received: by 10.100.230.4 with HTTP; Fri, 23 Mar 2007 08:46:02 -0700 (PDT) Message-ID: Date: Fri, 23 Mar 2007 23:46:02 +0800 From: "Wei Shen" To: grub-devel@gnu.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_34815_5780226.1174664762823" References: X-detected-kernel: Linux 2.6 (newer, 2) Subject: Two SoC ideas 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: Fri, 23 Mar 2007 15:48:05 -0000 ------=_Part_34815_5780226.1174664762823 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I have two ideas and wonder whether they are welcome as SoC projects. 1) Simple file editing I think it is useful to add file edit function to Grub. Thus, if a config file which is required to boot the OS successfully is mistakenly written, we can still correct it in Grub and need not to reboot from the floppy or cdrom just for the correcting. I know it would greately increase the complexity of Grub to support a writable file system. However, if file writing does not change the block number of a file, things are much simpler. Since most config files are small (occupying only one block), I think the solution will work. 2) *addr* option for module command Add nn option: "*addr* = *value*" to the module command. If the *addr*option is specified, Grub will load the module to address *value* instead of the default address. Regards, Wei Shen ------=_Part_34815_5780226.1174664762823 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

Hi,

I have two ideas and wonder whether they are welcome as SoC projects.
 
1) Simple file editing

I think it is useful to add file edit function to Grub. Thus, if a config file which is required to boot the OS successfully is mistakenly written, we can still correct it in Grub and need not to reboot from the floppy or cdrom just for the correcting.

I know it would greately increase the complexity of Grub to support a writable file system. However, if file writing does not change the block number of a file, things are much simpler. Since most config files are small (occupying only one block), I think the solution will work.
 
2) addr option for module command
 
Add nn option: "addr = value" to the module command. If the addr option is specified, Grub will load the module to address value instead of the default address.
 
Regards,
 
Wei Shen
------=_Part_34815_5780226.1174664762823--