LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 03-29-2005, 07:58 AM   #16
vmlinuz101
Member
 
Registered: Mar 2005
Location: Ireland
Distribution: LFS, SuSE, Debian, gentoo
Posts: 93

Original Poster
Rep: Reputation: 15

i've recompiled the kernel and i've tried dropping suse's grub/menu.lst straight into LFS's menu.lst. Doesn't seem to work. When I try using the grub shell, I am unable to do anything at all, as no matter what option I choose for root, i get the error 21: no such disk error. the kernel now has support for reiser and xfs, but no luck. One thing that might be interesting is that the LFS partition is an extended partition, would that make any difference?
 
Old 03-29-2005, 08:09 AM   #17
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Debian, Mint, Puppy
Posts: 3,287

Rep: Reputation: 173Reputation: 173
oh dear.
so if you go into grub shell, from Host and try to set root
you get 21 whatever?

does find /boot/grub/menu.lst work?
 
Old 03-29-2005, 05:02 PM   #18
vmlinuz101
Member
 
Registered: Mar 2005
Location: Ireland
Distribution: LFS, SuSE, Debian, gentoo
Posts: 93

Original Poster
Rep: Reputation: 15
yes that'll work on suse no problem, and i can configure there ok. but not with LFS grub shell where i continuosly get the error 21
 
Old 03-30-2005, 02:45 AM   #19
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Debian, Mint, Puppy
Posts: 3,287

Rep: Reputation: 173Reputation: 173
well, you obviously ain't stoopid.

I would suggest, copy LFS to another partition.
delete hda7, recreate it. make it reiserfs. copy LFS back onto it
and try agin.

or maybe create it as ext2 and convert to ext3 later?

that's all I can think of.
 
Old 03-30-2005, 03:41 AM   #20
vmlinuz101
Member
 
Registered: Mar 2005
Location: Ireland
Distribution: LFS, SuSE, Debian, gentoo
Posts: 93

Original Poster
Rep: Reputation: 15
thanks billy, i was thinkin much the same, i think i'll take off FC3 (primary partition) and put LFS on it there on a reiser FS, maybe even build the whole thing again??
 
Old 03-30-2005, 03:47 AM   #21
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Debian, Mint, Puppy
Posts: 3,287

Rep: Reputation: 173Reputation: 173
I wouldn't have thought a rebuild would be strictly neccessary.
(I am lazy)

But i'd be interested to hear the outcome though.

Keep me posted!
 
Old 03-30-2005, 03:51 AM   #22
vmlinuz101
Member
 
Registered: Mar 2005
Location: Ireland
Distribution: LFS, SuSE, Debian, gentoo
Posts: 93

Original Poster
Rep: Reputation: 15
will do thanks for all your help too by the way
 
Old 04-18-2005, 05:13 AM   #23
Johnburrell
Member
 
Registered: May 2004
Distribution: FC3
Posts: 81

Rep: Reputation: 27
I don't know if it helps or gives you any comfort, but I get exactly the same error when I go through the LFS 6.0 instructions, so I think there is a problem in the book, either when using some host distros or perhaps it is with certain types of BIOS. I am using FC3 as the host.

The error interpretation in the grub manual suggests that the BIOS doesn't recognise hd0.

I had to use a rescue disk to set up grub. Linux rescue loaded LFS on hda4 and then I set up grub successfully from there. Very odd that it worked in this environment but not when chrooted to LFS from the host.

Did you get any further with your investigations? Did you post on the lfs mailing list?
 
Old 04-18-2005, 06:26 AM   #24
vmlinuz101
Member
 
Registered: Mar 2005
Location: Ireland
Distribution: LFS, SuSE, Debian, gentoo
Posts: 93

Original Poster
Rep: Reputation: 15
Yes. But I had to go and make the whole thing all over again. The first time, I reckon I'd missed something further back, maybe, but now all is well. On my first attempt, the grub shell in chroot was doing nothing at all, and gave me an error 21 for any configuration I tried. I posted to the LFS mailing list - excellent source I might add. I've finished LFS-6.0 now, and I at the X stage in BLFS. I'm having serious trouble here though, with detecting my mouse. Thanks for the reply too
 
Old 04-18-2005, 10:03 AM   #25
BNI
LQ Newbie
 
Registered: Sep 2004
Distribution: Linux from Scratch 6.0, ClarkConnect server/gateway
Posts: 21

Rep: Reputation: 15
I had the same problem when I went through LFS. In my case, I'm pretty sure it's because at that point /dev hadn't been populated.
My solution: put that entry for the LFS system into the host system's menu.lst. Reboot directly into LFS. /dev is now populated and you can configure grub properly.
 
  


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
GRUB configuration malaka56 Linux - Software 1 06-02-2005 03:23 AM
GRUB configuration mebrelith Fedora 2 11-29-2004 07:22 AM
Grub configuration unicef2k Red Hat 3 05-12-2004 06:25 AM
GRUB splashimage configuration / update GRUB rudL Linux - Software 1 05-10-2004 07:16 AM
Grub configuration ekoome Red Hat 1 02-14-2004 03:00 AM


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