LinuxQuestions.org
Visit Jeremy's Blog.
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 04-02-2011, 01:45 PM   #1
illusionoflife
LQ Newbie
 
Registered: Apr 2011
Location: Russia, Moscow
Distribution: Debian, working on LFS
Posts: 14

Rep: Reputation: 0
error : symbol not found : 'grub_putchar'


I get that error on step 8.4 of the Book.
instead of grub prompt i gets grub-rescue prompt.
ls returns (hd0) (hd0,msdos{1,3,4,5,6})
Yes, i did grub-install, as Book says. Any suggestions?
 
Old 04-02-2011, 01:53 PM   #2
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,

Details please......

Which part of 8.4, which lfs version, which command fails.
 
Old 04-03-2011, 12:29 AM   #3
illusionoflife
LQ Newbie
 
Registered: Apr 2011
Location: Russia, Moscow
Distribution: Debian, working on LFS
Posts: 14

Original Poster
Rep: Reputation: 0
LFS-6.8
8.4.3 After /sbin/reboot
I use separate partition for boot.
 
Old 04-03-2011, 02:51 AM   #4
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,

Your host probably uses grub 1 (assumption, you don't mention the host you used), lfs uses grub 2. The error shown could be related to that.

8.4.3 is for testing and uses the hosts grub/mbr, I would suggest skipping 8.4.3 and go straight to 8.4.4

Hope this helps.
 
1 members found this post helpful.
Old 04-03-2011, 03:25 AM   #5
illusionoflife
LQ Newbie
 
Registered: Apr 2011
Location: Russia, Moscow
Distribution: Debian, working on LFS
Posts: 14

Original Poster
Rep: Reputation: 0
I tried part 8.4 with 2 hosts-installed Debian and live-cd Kububtu.
Well, will try to continue using live-cd. Thank.
 
Old 04-03-2011, 03:32 AM   #6
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 illusionoflife View Post
I tried part 8.4 with 2 hosts-installed Debian and live-cd Kububtu.
Well, will try to continue using live-cd. Thank.
????

1) Stick to the host you build LFS on,

2) Why change at this point (chapter 8)? The only thing the host is used for now is the installed grub.

3) Have you tried my suggestion?
 
Old 04-03-2011, 04:18 AM   #7
illusionoflife
LQ Newbie
 
Registered: Apr 2011
Location: Russia, Moscow
Distribution: Debian, working on LFS
Posts: 14

Original Poster
Rep: Reputation: 0
Because now i cant boot my Debian.
yahoo!! Grub works! Thanks you!
The next problem is that its dont boot)
It says /sysmount: only root can do that(effective UID is 113)
...
FALITURE:

Unable to create devices without a SysFS filesystem.

Can it be relates to fact that boot-scripts owned not by root(i use user-based package style)?
 
Old 04-03-2011, 06:28 AM   #8
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,

Please put some effort in correctly describing your problem and what it is you tried! Your reply is confusing at best!

Quote:
Originally Posted by illusionoflife View Post
Because now i cant boot my Debian.
"Because". Because of what?
Quote:
yahoo!! Grub works! Thanks you!
So debian does boot now? Or are you talking about LFS or both?
Quote:
The next problem is that its dont boot)
So the previous remark is incorrect? It (whatever "it" might be) does not boot? Or does Debian boot and LFS does not (maybe vice versa?).
Quote:
It says /sysmount: only root can do that(effective UID is 113)
...
FALITURE:

Unable to create devices without a SysFS filesystem.

Can it be relates to fact that boot-scripts owned not by root(i use user-based package style)?
If you are talking about LFS and the files in /etc/rc.d/init.d: Those need to be owned by root.
 
Old 04-03-2011, 06:55 AM   #9
illusionoflife
LQ Newbie
 
Registered: Apr 2011
Location: Russia, Moscow
Distribution: Debian, working on LFS
Posts: 14

Original Poster
Rep: Reputation: 0
Sorry my english.
With problem i described about grub-rescue i was'nt able to boot anything, so i was forced to use live-cd to make changes to my system. After your suggestions to skip 8.4.3 part and executing 8.4.4 part i got beauty grub ncurses interface, offering to boot either my Debian or new LFS system. If i choose to boot LFS, i get error described above, if i select Debian, it mention about UID=113 also and stuck at kernel log daemon starting. I chowned /etc/rc.d/init.d/* to root:root, also fstab, mtab and inittab. It seems that bootsripts missing commands to mount virtual filesystems. Making experiment now)
Edit: No, i was wrong. System try mount virtual fs, but fail at it.:
Mounting kernel-based file systems: /procmount: only root can do that(effective UID is 113) Strange, all scripts belong to root. Going to check who 113 is.
Add:113 is linux-utils.
In mountkernfs script i found "Mounting kernel-based file systems". It uses mountpoint command, but it belongs to sysvinit! I chowned it to root, didnt helped. Nothing linux-utils related found. Some more suggestions?

Last edited by illusionoflife; 04-03-2011 at 08:26 AM. Reason: A few more reboots
 
Old 04-03-2011, 09:44 AM   #10
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,

I can only assume that something went wrong while installing util-linux and/or Sysvinit using the user-based package style.

I've only tried this method once, a long time ago (2006?) and decided pretty quick that I did not like it, especially the ownership/permission changes that were needed. My knowledge about this install method is basic at best....

Only thing I can come up with right now is: Double check the owner/permissions of the executables as mentioned by the user-based package style. Also check the directories.

Hope this helps.
 
Old 04-03-2011, 10:12 AM   #11
illusionoflife
LQ Newbie
 
Registered: Apr 2011
Location: Russia, Moscow
Distribution: Debian, working on LFS
Posts: 14

Original Poster
Rep: Reputation: 0
But are'n boot-scripts of lvl 0 execute themself with root privilegies?
Edit: Like with all Linux problems, i feel stupid when solve them. chown 0:0 /bin/mount
Thank for help!

Last edited by illusionoflife; 04-03-2011 at 10:47 AM.
 
  


Reply

Tags
grub, lfs



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
glib error while installing patch: symbol lookup error undefined symbol: g_dgettext mthakare Linux - Software 1 06-14-2010 04:01 AM
[SOLVED] Trouble updating grub? Error: the symbol 'grub_getcharwidth' not found. mrbenson Linux - Newbie 2 05-04-2010 04:27 PM
symbol lookup error: /usr/lib/libavcodec.so.51: undefined symbol: av_crc04C11DB7 priceey Linux - Software 0 05-06-2009 08:14 AM
./firefox-bin :symbol lookup error:/lib/libgthread-2.0.so.0: undefined symbol: arulupsaras Linux - General 1 11-08-2008 04:48 AM
symbol lookup error: /usr/lib/libgtk-x11.2.0.so.0: undefined symbol:... IamI Slackware 17 02-29-2008 11:10 AM

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

All times are GMT -5. The time now is 08:00 PM.

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