grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

procedure to build grub2.


From: sathiyadev T
Subject: procedure to build grub2.
Date: Wed, 28 Nov 2007 16:48:52 +0530

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.

  

reply via email to

[Prev in Thread] Current Thread [Next in Thread]