On Wed, Oct 21, 2009 at 2:41 AM, kevin631012 <[email protected]> wrote:
> Hi Nathan,
> thanks for your time . follow the steps in hint is able to install . but I 
> got another problems when I did at Step 2 . following is my error message .
>
> ==========message begin====================
> root:/boot/grub# fdisk -l
>
> Disk /dev/sda: 320.1 GB, 320072933376 bytes
> 255 heads, 63 sectors/track, 38913 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x000764ec
>
>   Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *           1       38195   306801306   83  Linux
> /dev/sda2           38196       38913     5767335    5  Extended
> /dev/sda5           38196       38913     5767303+  82  Linux swap / Solaris
>
> Disk /dev/sdb: 320.1 GB, 320072933376 bytes
> 255 heads, 63 sectors/track, 38913 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x00000000
>
>   Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1               1         100      803218+  83  Linux
> /dev/sdb2             101       38913   311765422+  83  Linux
>
> root:/boot/grub# grub-install --grub-setup=/bin/true /dev/sdb1
> grub-probe: error: Cannot find a GRUB drive for /dev/sdb2.  Check your 
> device.map.
>
> Auto-detection of a filesystem module failed.
> Please specify the module with the option `--modules' explicitly.
>
>
>
> root:/boot/grub# grub-mkconfig -o /boot/grub/grub.cfg
> Generating grub.cfg ...
> Found linux image: /boot/lfskernel-2.6.30.5
> grub-probe: error: Cannot find a GRUB drive for /dev/sdb2.  Check your 
> device.map.
>
> grub-probe: error: Cannot find a GRUB drive for /dev/sdb2.  Check your 
> device.map.
>
> done
> ==========message end ====================
>
> /dev/sdb1 is partition (8xxM bytes) I except for grub as hint mention . I can 
> see a lot of mod under /boot/grub after grub-install . but I fail at 
> grub-mkconfig . the name of my kernel is lfskernel-2.6.30.5 and map is 
> lfskernel-2.6.30.5

/boot/device.map should contains a listing of all drives, and the
partition they map to.

ex:/ if you have 2 drives, and one floppy disk, it could contain.
(hd0) /dev/sda
(hd1) /dev/sdb
(fd0) /dev/floppy


I apologize, but I never did test to see if device.map is
automatically generated, or if I created it when I setup my grub2
system.  Either way, echo "(hd0) /dev/sda" > /boot/device.map should
fix it

-- 
Nathan Coulson (conathan)
------
Location: Brittish Columbia, Canada
Timezone: PST (-8)
Webpage: http://www.nathancoulson.com
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to