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:/# 4. From OUTSIDE chroot: root [ / ]# mount /dev/mapper/lfs-cd on / type ext2 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=4,mode=620) /dev/hda1 on /mnt/lfs type ext3 (rw) /dev/hda3 on /home type ext3 (rw) proc on /mnt/lfs/proc type proc (rw) sysfs on /mnt/lfs/sys type sysfs (rw) root [ / ]# You can see that /mnt/lfs sits on /dev/hda1, that is: (hd0,0), as seen from OUTSIDE chroot. But, accordingly to my interpretation of the book, I entered grub from within chroot, and so at grub> root (hd0,0) the disk can not be seen there. What can I do to, finally !!, reach THE END of LFS ? Thank you!!, Rafael 2008/6/19, Perumal, Muralitharan (IE10) <[EMAIL PROTECTED]>: > Hi Rafael, > > Please check the following things: > > 1. Check how many hard drives you have? > 2. Is it PATA or SATA drive? SATA drives would be detected as > sda1,sda2... sdaN (first drive), sdb1, sdb2....sdbN (second drive) and > so on.. > 3. Check /dev to see the partitions and devices detected by your host. > (use df or mount command as well) > 4. check the partition where your LFS sits i.e., if you have one hard > drive and /mnt/lfs is in your 2nd partition, you should mention "root > (hd0,1)" or try typing tab after root (hd0, it will show you the > available partitions. > > I hope this helps. > > Best Regards, > Murali > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Rafael > Lopez > Sent: Thursday, June 19, 2008 10:13 AM > To: [email protected] > Subject: LFS 6.3 - Chapter 8.4 - Cannot install grub > > The kernel was installed and chapter 8.4 was reached. > After entering grub and issuing the root command -identifying the disk > and partition where /boot is located as said in the book- this is is > what I get: > > grub> root (hd0,0) > Error 21: Selected disk does not exist > > Actually, as long as I'm still within chroot, I cannot understand how > to "see" a disk and its partitions and/or how is grub going to "see" > the same. > Just in case you wonder about it, my box has only one hard disk with > three partitions: / is mounted on hda1 (hd0,0), swap on hda2 (hd0,1) > and /home on hda3 (hd0,2) (yes, of course, as seen from outside > chroot, which is LFS LiveCD). > Please advise how to get out from this hole. > Thank you !! - Rafael > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page > -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
