Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hey druuna , Nevermind that problem . but its seems like i am facing another problem ...
when i type this command
grub-install --grub-setup=/bin/true /dev/hda <--with my boot drive being hda1 according to cfdisk command and fdisk -l
i get this error
EXT2-fs error (device dm-0): ext2_get_inode: unable to read inode block - inode=67043, block=131121
Installation finished. No error reported
When ran the command again ...it didn't show the error but after i follow the instruction through and shutdown n restart it works fine except it reaches to reading hda1 its says something like vfs.ext3 unable to read directory ....[fail]
n btw what did u mean by "Both sda and hda are used, but sda is more common. That's why sda is used in the LFS book (you using a virtual machine might complicate things a bit, but that is a later concern if it shows up at all).
"
Looking at your last screenshot (this one) I do believe that grub should point to sdaX and not hdaX. Check and edit your /boot/grub/grub.cfg file, do _not_ run the grub-install --grub-setup=/bin/t..... again!
I also assume that you need to edit your /etc/fstab file: Also change hda into sda.
Quote:
Originally Posted by adi_30stm
n btw what did u mean by "Both sda and hda are used, but sda is more common. That's why sda is used in the LFS book (you using a virtual machine might complicate things a bit, but that is a later concern if it shows up at all).
Depending on your kernel settings hard drives/partitions can show up as sda or hda. hda is the "old" way of representing hd's, sda is the newer preferred one.
Hey thanx figured it out awhile back and yeah you were right ...
You're welcome
Quote:
btw when booting it says " interface eth0 doesn't exist " should that be a problem ???
This probably points to the fact that your network card isn't found when booting. Check to see what your VM uses and check/edit your kernel configuration to activate that specific card.
Hope this helps.
Last edited by druuna; 11-05-2011 at 11:43 AM.
Reason: spelling
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.