On Thu, Jun 19, 2008 at 5:04 AM, Rafael Lopez <[EMAIL PROTECTED]> wrote:
> Hi Murali,
>
> 1. Only one hard drive
>
> 2. & 3. From OUTSIDE chroot:
> root [ / ]# df
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/mapper/lfs-cd     1548144   1265408    204096  87% /
> /dev/hda1              3447108    823280   2448724  26% /mnt/lfs
> /dev/hda3              8396592    185140   7784928   3% /home
> root [ / ]#
>
> 2. & 3. From INSIDE chroot:
> root:/# df
> Filesystem           1K-blocks      Used Available Use% Mounted on
> none                    128264         0    128264   0% /dev/shm
> none                    128264         0    128264   0% /dev/shm
> none                    128264         0    128264   0% /dev/shm
> none                    128264         0    128264   0% /dev/shm
> none                    128264         0    128264   0% /dev/shm
> none                    128264         0    128264   0% /dev/shm
> none                    128264         0    128264   0% /dev/shm
> root:/#

Are you bind mounting the /dev partition when you enter the chroot? If
you can't see /dev/hd* from within the chroot, then neither can grub
and it can't determine your partition layout. Grub keeps your list of
partitions in the file /boot/grub/device.map.

To just have grub write the device.map file, run the command "echo
quit | grub --batch".

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to