[pocket-linux] Chapter 2 Root Disk Problem
Roman Levandovsky
roman.levandovsky at guest-tek.com
Sat Sep 18 21:58:18 CDT 2004
Hi Dave,
I have just started on working with pocket linux because I would like to
learn how to make my own distribution, so this is the first problem I have
encountered during my trials.
I suppose I could get some free web space and add the things I have
mentioned there, but I think it would be more beneficial if they were part
of the troubleshooting section of the guide. What do you think? (I think it
does not have that section yet :) ).
Roman.
----- Original Message -----
From: "David Horton" <dhorton at speakeasy.net>
To: "Support for Pocket Linux Guide" <pocket-linux at ufo.chicago.il.us>
Sent: Saturday, September 18, 2004 7:38 PM
Subject: Re: [pocket-linux] Chapter 2 Root Disk Problem
> Roman Levandovsky wrote:
> >
> > Hello Pocket Linux Gurus,
> >
> > I have been trying to get Chapter 2 to work for about 5 days now, and
> > finally succeeded in doing so today.
> >
> > The problem was with the root disk, even though I have compiled the
> > Kernel properly and had the right things configured in it I would get
> > the Kernel Panic message telling me to specify init= parameter in order
> > to boot the file system.
> >
> > After a lot of digging I found the boot and root disk images on your web
> > site. I then used your root disk with my kernel and everything worked
> > properly, so that lead me to believe that my root disk was the problem.
> >
> > I tried compiling bash with --enable-static-link option but would get
> > the following error:
> >
> > In file included from shell.h:41,
> >
> > from shell.c:48:
> >
> > externs.h:163: conflicting types for `gethostname'
> >
> > /usr/include/unistd.h:734: previous declaration of `gethostname'
> >
> > externs.h:196: conflicting types for `strncasecmp'
> >
> > /usr/include/string.h:277: previous declaration of `strncasecmp'
> >
> > make: *** [shell.o] Error 1
> >
> > I finally found on one of the posts that this is related to not having
> > *glibc-static-devel* package installed. Once I have obtained the proper
> > rpm for my Mandrake 10 system, I was able to compile bash properly and
> > copy it to the root disk, after that everything went smoothly and I was
> > able to boot into my file system from the root disk.
> >
> > I hope this helps others that are trying to get through chapter 2 and
> > are having troubles compiling bash.
> > When I was not able to compile bash with --enable-static-link option, I
> > just dropped it and compiled it without it, needless to say that I was
> > not able to boot my file system from the root disk, however, the error
> > is quite obscure to why one would not be able to boot. It was Kernel
> > Panic and the fact that I needed to pass in the init parameter into the
> > kernel, it would be much more useful if it would say your file system is
> > corrupted or something of that nature to make life easier.
> >
> >
> > Roman.
> >
>
>
> Roman,
>
> Thanks for the tips. Chapters two and three seem to be the toughest
> ones to get through. It should be down hill after that.
>
> By the way, if you are keeping track of tips and tricks as you go and
> you can put them on a web page I would like to make a link to it from
> the Pocket Linux web site. It could be very helpful to people. Let me
> know your thoughts on that.
>
> Dave
>
>
> _______________________________________________
> Pocket-Linux mailing list
> Pocket-Linux at ufo.chicago.il.us
> http://ufo.chicago.il.us/cgi-bin/mailman/listinfo/pocket-linux
>
More information about the Pocket-Linux
mailing list