LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-15-2008, 01:36 AM   #1
luckybtn
LQ Newbie
 
Registered: Jul 2008
Posts: 24

Rep: Reputation: 15
Unable to boot the newly built LFS.


Hi,

Dear i have build my lfs and reboot the system but it doesn't boot it gives me the grub > prompt. i have tried to boot the sytem manually by root,kernel and boot command but it stops on the message that unable to mount the rootfs
Do you any suggestion please forward it to me

thank you very much.
 
Old 08-15-2008, 02:26 AM   #2
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,684

Rep: Reputation: 54
I think I have seen this too when I forgot to adapt /etc/fstab. (I forgot to change the examples to the real device names)
Are all the devices in there?
 
Old 09-05-2008, 08:40 PM   #3
claytonjohnroby
LQ Newbie
 
Registered: Oct 2006
Posts: 19

Rep: Reputation: 0
Grub errors?

What error message did grub provide?

Grub can fail at the reboot stage of LFS if the partition that LFS is on was formatted using an inode size greater than 128. This can happen with recent versions of e2fsprogs, which uses 256 by default. To format your partition with inodes that have a size of 128 using mkfs.ext2 or mkfs.ext3 use the -I switch with a value of 128.

mkfs.ext2 -I 128
mkfs.ext3 -I 128

Hope this helps.
 
Old 09-13-2008, 05:53 PM   #4
Drevb
LQ Newbie
 
Registered: Sep 2008
Location: Tremelo (belgium)
Distribution: Fedora, Mandrake, Linux From Scratch, FreeBSD
Posts: 3

Rep: Reputation: 0
Wink

Possibly you forgot to update /etc/fstab. Another thing i sometimes ran into is that a serial-ata hdd is found as for example /dev/sda under your commercial distro, but depending on your kernel configuration (the ata/sata/scsi drivers) it is possible that LFS kernel detects your harddisk and gives it a /dev/hda link...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
dual boot on newly built desktop toyarmy Linux - Desktop 4 05-08-2007 06:23 PM
unable to boot from lfs 6.2 after kernel compilation pannet1 Linux From Scratch 25 04-05-2007 11:21 PM
Newly Built and no Ethernet grimlaur Mandriva 6 06-11-2005 10:34 PM
Newly-Built Kernel Won't Boot, Old One Fails Kenji Miyamoto Slackware 6 05-27-2005 10:30 PM
debian appending 'n' to newly built kernel name? antonyhilliard Linux - Newbie 5 12-20-2004 03:04 PM


All times are GMT -5. The time now is 04:49 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration