LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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


Reply
  Search this Thread
Old 11-03-2011, 12:12 PM   #16
adi_30stm
Member
 
Registered: Jul 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled

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]
 
Old 11-03-2011, 12:14 PM   #17
adi_30stm
Member
 
Registered: Jul 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
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).
"
 
Old 11-03-2011, 01:12 PM   #18
adi_30stm
Member
 
Registered: Jul 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
hey i got it to start up but after welcome grub n booting i get this error after awhile as shown in screenshot.jpg

http://www.freeimagehosting.net/3ff18

But after go edit grub n change root=/sda1 (sumthing lyk dat)


i get the following error as shown in screenshot1

http://www.freeimagehosting.net/8d2b2

Please HElp thank you again
 
Old 11-03-2011, 01:45 PM   #19
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

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.

Hope this helps.
 
1 members found this post helpful.
Old 11-05-2011, 07:14 AM   #20
adi_30stm
Member
 
Registered: Jul 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
Hey thanx figured it out awhile back and yeah you were right ...btw when booting it says " interface eth0 doesn't exist " should that be a problem ???
 
Old 11-05-2011, 07:26 AM   #21
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,
Quote:
Originally Posted by adi_30stm View Post
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 10:43 AM. Reason: spelling
 
1 members found this post helpful.
Old 11-06-2011, 02:42 PM   #22
adi_30stm
Member
 
Registered: Jul 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
ok i will do that and get back to you ....thank you again ...I am going to start over onces i am finished with this ...u to learn from my mistakes :P
 
Old 11-07-2011, 03:32 AM   #23
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
You're welcome
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LFS version 6.5, chapter 6.19 util-linux-ng-2.16 lunatik3904 Linux From Scratch 1 05-18-2010 01:51 PM
LFS version 6.5, chapter 6.19 util-linux-ng-2.16 lunatik3904 Linux - Distributions 0 05-18-2010 12:21 PM
Re-install Linux kernel from lfs 6.5 chapter 8.3 sathyanext Linux From Scratch 1 03-12-2010 09:54 PM
LFS 6.3, messed up somewhere prior to chapter 6.12 (gcc), how to restart chapter 6? Funkster Linux From Scratch 2 12-24-2008 06:30 AM
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration