Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1O3FRS-00009t-51 for mharc-grub-devel@gnu.org; Sat, 17 Apr 2010 17:20:42 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O3FRQ-00009m-WF for grub-devel@gnu.org; Sat, 17 Apr 2010 17:20:41 -0400 Received: from [140.186.70.92] (port=58205 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O3FRP-00009P-NO for grub-devel@gnu.org; Sat, 17 Apr 2010 17:20:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O3FRN-0006GY-TM for grub-devel@gnu.org; Sat, 17 Apr 2010 17:20:39 -0400 Received: from ananke.wxnz.net ([58.28.4.122]:39398) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3FRN-0006Fy-9I for grub-devel@gnu.org; Sat, 17 Apr 2010 17:20:37 -0400 Received: from [192.168.1.64] (ip-118-90-46-87.xdsl.xnet.co.nz [118.90.46.87]) by ananke.wxnz.net (Postfix) with ESMTP id 5D0A51708D6 for ; Sun, 18 Apr 2010 09:20:34 +1200 (NZST) From: Simon Kitching To: The development of GNU GRUB In-Reply-To: <4BC9D645.7000008@gmail.com> References: <1271482788.16191.4.camel@simon-laptop> <4BC9D645.7000008@gmail.com> Content-Type: text/plain; charset="UTF-8" Date: Sun, 18 Apr 2010 09:20:23 +1200 Message-ID: <1271539223.16191.60.camel@simon-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: Grub overview/tutorial available X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2010 21:20:41 -0000 On Sat, 2010-04-17 at 17:39 +0200, Vladimir '=CF=86-coder/phcoder' Serbin= enko wrote: > Simon Kitching wrote: > > Hi All, > > > > Just FYI, I've written up what I've learned about Grub during the las= t > > few weeks and put it up here: > > > > http://people.apache.org/~skitching/MineOfInformation/linux/Booting_L= inux_on_x86_with_Grub2.html > > > > This is more detailed than simple "user level", but doesn't get into = any > > code details. More at the "advanced sysadmin" level perhaps. > > > > Any feedback/corrections welcome; I'm fairly new to Grub so probably > > have some mistakes in there. > > =20 > "This tool(grub-emu) can be used to install Grub." <--- wrong (outdated= ) Fixed. > " Note also that there are a few commands that can be run in the =E2=80= =9Cgrub > shell=E2=80=9D that are not available in a real Grub environment (becau= se they > would be pointless)," <--- likewise Fixed. I wrote this because in the command list documentation (http://grub.enbug.org/CommandList), there is reference to a "loopback" command as a replacement for grub legacy 'device' command, and I can't see what use that would have in a real grub boot enviroment. But as I'm not really sure about this, I'll just delete this section. > insmod /boot/grub/normal.mod normal <-- only one of 2 arguments and it > won't set prefix resulting in further problems. Correct action is: >=20 > set prefix=3D()/boot/grub > insmod normal > normal >=20 > 'Grub =E2=80=9Clegacy=E2=80=9D (the 0.x series) could only boot kernels= that support the > =E2=80=9Cmultiboot=E2=80=9D specification.' <--- grub legacy has a linu= x loader too > 'As Grub2 boots kernels by invoking a helper module (=E2=80=9Clinux=E2=80= =9D, =E2=80=9Cxnu=E2=80=9D, > =E2=80=9Cbsd=E2=80=9D), it can boot any kernel for which the appropriat= e helper module > has been written. Of course if a kernel supports multiboot, then writin= g > such a helper module is much simpler!' > Modules are NOT ''helpers'. They are separate loaders. and multiboot > needs no 'helpers' Fixed. >=20 > linux $root/mykernel root=3Dxyz ----> linux ($root)/mykernel root=3D= xyz >=20 > ' search =E2=80=93set=3DMYDEV =E2=80=93 search.label mylabel MYDEV' at = very least actually > try the commands you supply Fixed. Grub-emu doesn't work for me, and I eventually got tired of rebooting my (only) PC to test things. Should have tried harder though :-(. Thanks for your comments. Thanks also to Seth... Regards, Simon