[pocket-linux] Chapter 3 : no shell

Bettes bettes at freegates.be
Sat Jun 19 09:29:30 CDT 2004


Some extra info,

1.When I use the ch3-root.image.gz with my boot disket it works.

2.When I copy ch3-root.image.gz to a ramdisk, and replace the lib files with 
my libfiles, I have te same problem: no shell

3.When I copy ch3-root.image.gz to a ramdisk, and replace the bash file with 
my bash file I got the following error:

RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem) readonly
Freeing unused kernel memory: 48k freed
/bin/sh: /lib/libc.so.6: version 'GLIBC_2.3' not found (required by /bin/sh)
Kernel panic: Attempted to kill init!

So now I have the feeling that it all boils down to a problem with the 
libraries.

All suggestions are welcome :-)

Bettes

On Friday 18 June 2004 11:23, Bettes wrote:
> Hi Tibberio,
>
> The last three lines are
>
> RAMDISK: COmpressed image found at block 0
> VFS: Mounted root (ext2 filesystem) readonly
> Freeing unused kernel memory: 48k freed
>
> then no shell appears
> There are no error messages in the output before these 3 lines
>
> Software:
> =======
> I am using GRUB, kernel 2.4.26 and bash 2.05a
> the root image has size 699K
> My ramdisk size 4096K
>
> The linked libraries are
> ldd /mnt/bin/bash
> 	libdl.so.2 => /lib/libdl.so.2 (0x40023000)
> 	libc.so.6 => /lib/libc.so.6 (0x40026000)
> 	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
>
> What works
> =========
> If I link the bash shell statically it works.
>
> What doesn't work
> ==============
> When I use the boot image of chapter 2, as given on the pocket-linux
> website, it still doesn't work. So I assume that my boot disk is OK and
> that the problem lies in the root disk.
>
>
> As said before, the same problem was mentioned at june 2003.
> But no solution was given :-(
>
>
> Bettes
>
> On Friday 18 June 2004 10:33, tibberio wrote:
> > Hi
> > I think, to solve the problem, you have to give us more informations
> > about your Pocket Linux system, for example:
> >
> > -size of image
> > -what's your distribution
> > -bash version and the output of "ldd bash" command
> > -notes about any strange messages at boot time (you can see that by
> > using SHIFT+up_arrow)
> > -permissions of console device
> >
> > On Thu 17 Jun, 21:14, Bettes wrote:
> > > Hi, I have the same problem as down below. All go well, but I don't
> > > have a shell at the end.
> > > Unfortunately, there is no solution given to this problem. Does anybody
> > > remembers the solution for this problem.
> > >
> > > Thanks
> > > Bettes
>
> _______________________________________________
> 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