Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MMHyc-00022H-0a for mharc-grub-devel@gnu.org; Thu, 02 Jul 2009 04:49:06 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MMHya-00021c-F3 for grub-devel@gnu.org; Thu, 02 Jul 2009 04:49:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MMHyU-00020H-T6 for grub-devel@gnu.org; Thu, 02 Jul 2009 04:49:03 -0400 Received: from [199.232.76.173] (port=42875 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMHyU-00020A-G9 for grub-devel@gnu.org; Thu, 02 Jul 2009 04:48:58 -0400 Received: from wa-out-1112.google.com ([209.85.146.179]:9901) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MMHyU-0006On-4z for grub-devel@gnu.org; Thu, 02 Jul 2009 04:48:58 -0400 Received: by wa-out-1112.google.com with SMTP id n7so150416wag.26 for ; Thu, 02 Jul 2009 01:48:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=KgXnf/m0AU3sWgQQLquNIyi6xdBH0TjIoSCB85il4lM=; b=J2GdpXBVFPluF3+qD2t6xQz/rf7S3Bx0s9asUN1hzG5FNaCQg8v1avnI5bYEaJRo+o lBz9j9CbmJCofLW03k1SozEJmWRWreWFwEYaRWtezS6CFHxCsiUr/PKjAas64GX2Quum StY3ta0wNHoh6zY7g4GRJuWIZJcVP5l8uoCxI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=Wtlx/R/LmOLDfEE/6hvz4gtrk8Q22k4iASF5eZm7RGtossUoPnqAFLd/a3N0xFMPKc mwq3GXvpi995GdNnMgetH5JzUQZrZ5het0RWm1yQLNcUWeQO5d8DN+2wkn5fbS/ABVYY jrVDBOO5MGaEH0a4XDY1yk0pqsoDuFRd4+Tjk= MIME-Version: 1.0 Received: by 10.114.108.10 with SMTP id g10mr16605340wac.78.1246524536431; Thu, 02 Jul 2009 01:48:56 -0700 (PDT) Date: Thu, 2 Jul 2009 16:48:56 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Some ideas about new features of grub 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: Thu, 02 Jul 2009 08:49:05 -0000 Hi, Here are some of my ideas about the new features of grub. Move kernel to a module. This make it possible to relocate the kernel. For example, we can use it to move grub-pc to upper memory, and free conventional memory for use by real mode os such as MS-DOS. grub can resides in memory even after os take overs, and we can invoke it through interrupt hooks. LUA integration. LUA is quite powerful, it's more suitable to do complicated task than sh script. For example, we can use it to detect os at runtime, implement simple commands, or draw the graphic menu. Read/Write file system support We can implement two kind of fs drivers. The boot time driver is read-only, but after entering normal mode, we can optionally load another driver for write support. This approach has been used by EFI. For example, it has a default FAT driver, but you can also load an extended FAT driver later. Disk emulation. Now that it has drivemap command, we can extended it to map hard disk or cdrom image file, roughly equivalent to the memdisk of syslinux. -- Bean