Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IxKwV-0000YE-QW for mharc-grub-devel@gnu.org; Wed, 28 Nov 2007 06:18:59 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IxKwT-0000Xd-OU for grub-devel@gnu.org; Wed, 28 Nov 2007 06:18:57 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IxKwT-0000XQ-AY for grub-devel@gnu.org; Wed, 28 Nov 2007 06:18:57 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IxKwT-0000XN-4z for grub-devel@gnu.org; Wed, 28 Nov 2007 06:18:57 -0500 Received: from ro-out-1112.google.com ([72.14.202.180]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IxKwS-0006Cj-Ji for grub-devel@gnu.org; Wed, 28 Nov 2007 06:18:57 -0500 Received: by ro-out-1112.google.com with SMTP id p7so2503793roc for ; Wed, 28 Nov 2007 03:18:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=yDgkCVQL17J/AoNYvgyag8Oc85KO3TlRYArbsU2D//E=; b=fqFwju0cW46o2IqLyc/icC20YYR9jangPj1Tmf7n464QqpOxThED5TZnQwM2H0XZFcItZywX5JkI1i/7h0Y5XPiGIh5bkbbadw7RuB4dTxHgDVTuZighZST51ySLrAG3aCvkHi0lcN2xNeRk4G1f4Hl3nxITtKLzEjaI9QftSFA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:mime-version:content-type; b=BUKZsqquyvXDTOSUYN0+PpCUq9tzKTPUodk0livWFuuROsuMd//0ZA7J1KDgrVkXo5KpxeSBv7X42Gz/a+phezW1UGszZ9pySaviH9bFTvOkCXLksdZDNu/LKFCtaojDrhVVV8Ccz2ycBcs5qUkWkP3Y4cpcjsDnPgbQG3CJMX0= Received: by 10.141.74.17 with SMTP id b17mr2478898rvl.1196248732766; Wed, 28 Nov 2007 03:18:52 -0800 (PST) Received: by 10.141.32.11 with HTTP; Wed, 28 Nov 2007 03:18:52 -0800 (PST) Message-ID: <4a50149f0711280318m9ccaf15rf523e5ebbb76d73e@mail.gmail.com> Date: Wed, 28 Nov 2007 16:48:52 +0530 From: "sathiyadev T" To: grub-devel@gnu.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3286_5189928.1196248732762" X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 (Google crawlbot) Subject: procedure to build grub2. 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, 28 Nov 2007 11:18:58 -0000 ------=_Part_3286_5189928.1196248732762 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline hi all, I am currently using Grub-1.95 and i installed the grub2 in my pc using following command. I mounted the one usb to /mnt, which i using as booting device, A\and the usb is detected as /dev/sdc in my linux machine. grub-install --root-directory=/mnt/boot '(hd3,1)', Installation finished. No error reported. This is the contents of the device map /mnt/boot/boot/grub/device.map. Check if this is correct or not. If any of the lines is incorrect, fix it and re-run the script `grub-install'. (fd0) /dev/fd0 (hd0) /dev/hda (hd1) /dev/sda (hd2) /dev/sdb (hd3) /dev/sdc and im using default grub.cfg saved in /boot/grub directory. content of grub.cfg is given for your verification. meout for menu set timeout=10 # Set default boot entry as Entry 0 set default=0 # Entry 0 - Load Linux kernel menuentry "My Linux Kernel on (hd0,1)" { set root=(hd0,1) linux /boot/vmlinuz-2.6.21.5 root=/dev/sda1 rootdealy=6 initrd /boot/initrd-2.6.21.5.img } # Entry 1 - Chainload another bootloader menuentry "Chainload my OS" { set root=(hd0,3) chainloader +1 } I try to boot the particular pc using particular device (in which i previously installed grub2). I am getting only grub recuse > console. Any one of you please guide me to install grub2 correctly and system boot automatically. Thanks in advance........ -regards, sathiyadev. ------=_Part_3286_5189928.1196248732762 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline hi all,

       I am currently using  Grub-1.95  and i installed the grub2 in my pc using following command. I mounted the one  usb to /mnt, which i using as booting device, A\and the usb is detected as /dev/sdc in my linux machine.

 grub-install --root-directory=/mnt/boot '(hd3,1)',
  
 Installation finished. No error reported.
This is the contents of the device map /mnt/boot/boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(fd0)   /dev/fd0
(hd0)   /dev/hda
(hd1)   /dev/sda
(hd2)   /dev/sdb
(hd3)   /dev/sdc
 
and im using default grub.cfg saved in /boot/grub directory. content of grub.cfg is given for your verification.

meout for menu
set timeout=10

# Set default boot entry as Entry 0
set default=0

# Entry 0 - Load Linux kernel
menuentry "My Linux Kernel on (hd0,1)" {
    set root=(hd0,1)
    linux /boot/vmlinuz-2.6.21.5 root=/dev/sda1 rootdealy=6
    initrd /boot/initrd-2.6.21.5.img
}

# Entry 1 - Chainload another bootloader
menuentry "Chainload my OS" {
    set root=(hd0,3)
    chainloader +1
}

   I try to boot the particular pc using particular device (in which i previously installed grub2). I am getting only grub recuse > console. Any one of you please guide me to install grub2 correctly and system boot automatically. Thanks in advance........

-regards,
sathiyadev.

  
------=_Part_3286_5189928.1196248732762--