LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 05-11-2013, 01:57 AM   #1
potterius
Member
 
Registered: May 2013
Posts: 39

Rep: Reputation: Disabled
error when I finished lfs 7.3


I want to ask again.
I've finished to build lfs, and when I reboot.
in grub section, only lfs wrote, my ubuntu lost.
when I try to enter my lfs. the output like this
http://sphotos-f.ak.fbcdn.net/hphoto...09431160_n.jpg
http://sphotos-b.ak.fbcdn.net/hphoto...12146732_n.jpg
http://sphotos-c.ak.fbcdn.net/hphoto...59210094_n.jpg

and I also want to ask about the mount.
everytime i mount I always use ext4.
when I finished building lfs. and I check the partition that I use, it turns out my partition is ext3.
This is a fatal error?
do I have to start over again?
 
Old 05-11-2013, 08:23 AM   #2
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 465

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by potterius

...in grub section, only lfs wrote, my ubuntu lost.
Ubuntu is still there, probably. You merely busted its boot loader by installing the LFS system's GRUB boot loader in the master boot record. It happens all the time. The book warns you about this. I personally think it's a bad idea to disturb the existing boot loader until you know that the LFS system will boot (and yours didn't). This is why the book mentions creating a boot disk for in case this happens. Another precaution against this is not to install the LFS system's GRUB boot loader in the master boot record at this time and instead add an entry for LFS in the existing boot loader. Other people probably do other things.

You probably are going to need Ubuntu back today if it was your host system. You will need your host system to fix the other things you asked about. Try downloading and creating a Super GRUB 2 Disk (easy to find with Google). Use it to boot Ubuntu (easy to learn how). Once Ubuntu is running again, repair its boot loader to get back to the situation ante-busted-boot-loader. Leave it that way. Fix the things wrong with the LFS system. For now, boot LFS with Ubuntu's boot loader or even the SG2D. Decide later what the final boot loader arrangement should be. This is my opinion anyway.

IMO, you need to recompile the kernel to enable "Maintain a devtmpfs filesystem to mount at /dev" (CONFIG_DEVTMPFS=y). This happens all the time (I did it once myself). The book has a note reminding you of this in the section on compiling the kernel. Fixing that might take care of the problems in the first and third screenshots.

For the second screenshot, IMO you merely copied the example from the book for creating /etc/sysconfig/network. The <lfs> part of that command is a placeholder for you to replace with your hostname. You didn't do that. For the same reason, you also may have botched /etc/hosts. For example, you could put localhost.localdomain as the FQDN in /etc/hosts and localhost as the HOSTNAME in /etc/sysconfig/network. See what I mean? Other people use other things for those.

Anyway, I recommend that you fix that stuff and try booting LFS again. But expect other things to be wrong. I don't mean to be so negative about this, but there is no use in pretending either. I spent days and days working through stuff like this the first time. I keep detailed notes and don't have to do this kind of stuff nowadays (that's just to throw in something positive).

Last edited by stoat; 05-11-2013 at 09:52 AM.
 
  


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
Test suite for finished LFS? McZ Linux From Scratch 7 11-23-2012 03:48 AM
I'm getting an error while trying to boot into my finished lfs....Some PLEASE HELP!!! reclis94 Linux From Scratch 9 11-26-2009 03:23 PM
finished lfs 6.3.... @d4M Linux From Scratch 9 02-10-2009 09:07 AM
Finished on LFS But how to continue in BLFS MajesticX Linux From Scratch 5 09-17-2008 07:12 AM
Finished LFS - it's more than 1Gb ! Bert Linux From Scratch 4 12-06-2002 04:15 PM


All times are GMT -5. The time now is 09:26 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