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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
03-29-2005, 07:58 AM
|
#16
|
Member
Registered: Mar 2005
Location: Ireland
Distribution: LFS, SuSE, Debian, gentoo
Posts: 93
Original Poster
Rep:
|
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?
|
|
|
03-29-2005, 08:09 AM
|
#17
|
Senior Member
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,516
|
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?
|
|
|
03-29-2005, 05:02 PM
|
#18
|
Member
Registered: Mar 2005
Location: Ireland
Distribution: LFS, SuSE, Debian, gentoo
Posts: 93
Original Poster
Rep:
|
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
|
|
|
03-30-2005, 02:45 AM
|
#19
|
Senior Member
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,516
|
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.
|
|
|
03-30-2005, 03:41 AM
|
#20
|
Member
Registered: Mar 2005
Location: Ireland
Distribution: LFS, SuSE, Debian, gentoo
Posts: 93
Original Poster
Rep:
|
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??
|
|
|
03-30-2005, 03:47 AM
|
#21
|
Senior Member
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,516
|
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!
|
|
|
03-30-2005, 03:51 AM
|
#22
|
Member
Registered: Mar 2005
Location: Ireland
Distribution: LFS, SuSE, Debian, gentoo
Posts: 93
Original Poster
Rep:
|
will do thanks for all your help too by the way
|
|
|
04-18-2005, 05:13 AM
|
#23
|
Member
Registered: May 2004
Distribution: FC3
Posts: 87
Rep:
|
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?
|
|
|
04-18-2005, 06:26 AM
|
#24
|
Member
Registered: Mar 2005
Location: Ireland
Distribution: LFS, SuSE, Debian, gentoo
Posts: 93
Original Poster
Rep:
|
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
|
|
|
04-18-2005, 10:03 AM
|
#25
|
LQ Newbie
Registered: Sep 2004
Distribution: Linux from Scratch 6.0, ClarkConnect server/gateway
Posts: 21
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 11:13 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|