Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LntpC-0001qS-Vr for mharc-grub-devel@gnu.org; Sun, 29 Mar 2009 08:09:15 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LntpC-0001pS-2W for grub-devel@gnu.org; Sun, 29 Mar 2009 08:09:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lntp6-0001o1-K5 for grub-devel@gnu.org; Sun, 29 Mar 2009 08:09:13 -0400 Received: from [199.232.76.173] (port=57570 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lntp6-0001np-HF for grub-devel@gnu.org; Sun, 29 Mar 2009 08:09:08 -0400 Received: from ti-out-0910.google.com ([209.85.142.187]:61047) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lntp6-0007dx-0x for grub-devel@gnu.org; Sun, 29 Mar 2009 08:09:08 -0400 Received: by ti-out-0910.google.com with SMTP id y8so1056907tia.10 for ; Sun, 29 Mar 2009 05:09:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=/GGM1CVCBAH+t+72Syfa/3fPer4nA6Qyg/aZQJgSIx0=; b=p+oCOnbcbdAhbEFbAaAi1q2vB4Hsj6+B8FPVNnZeoOC1oeV+5nAprcHDfijtc/+ynZ +KzYWWXUwhcRHun4Ii0wdAVkSyV+4sldJ/eQPKQTpgZsqJKw2rZKCmuRG44eXTuSgRci 1PTsszgHhlVATEflbm9oeSST4KyzSE+TJ8l0g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ZvXxuXZGy2s1bDgf1Ftdgm6yxBqOiOGEVAsgeDcnj0LXQo9cMMMD8XQQJHGE3wNJME suN05wUsP+ywXndE//kZFKHMc/6ERSCrOeDoaUlUYJpl4UOt1JNFMPb4HDRsHB0R+zHt 669cbl5zvE9G6F5/Hf5RDTdulGvRYoilJJZvY= MIME-Version: 1.0 Received: by 10.110.43.16 with SMTP id q16mr6490618tiq.34.1238328545863; Sun, 29 Mar 2009 05:09:05 -0700 (PDT) In-Reply-To: <200903292051.07210.okuji@enbug.org> References: <49CF5318.2070607@nic.fi> <49CF5C9C.20208@gmail.com> <200903292051.07210.okuji@enbug.org> Date: Sun, 29 Mar 2009 20:09:05 +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: Re: [PATCH] Split of the normal mode 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: Sun, 29 Mar 2009 12:09:14 -0000 Hi, Some of my consideration about splitting of normal mode. 1, In some environment, we have size limit of the boot image. Normal.mod is too big, and rescue mode has too little functionality. Using the split method, we could combine modules in anyway we wanted. 2, Speaking of linux, it's actually doing the same thing. The kernel is in vmlinuz, while the initialization script is in initrd.img. We don't want the user to enter those commands manually, a default boot.cfg should be used by grub-mkimage. 3. Currently, the structure of normal.mod just mix things together to a point that make modification difficult, if not impossible. For example, the current bash script engine is not quite suitable for gui interaction. With the split mode, we could develop a new parser without interfere with existing function. -- Bean