[plug] Debian kernel upgrade (was Re: symbolic links)

Laurie Anderson vautin at aijv.com.au
Wed Dec 31 13:00:57 WST 2003


On Wed, 31 Dec 2003 11:32:54 +0800
Nick Bannon <nick at ucc.gu.uwa.edu.au> wrote:

> Laurie Anderson wrote:
> >  the output came out as follows
> >  /bin/sh: /lib/ld-linux,so.2: version 'GLIB_PRIVATE' not found (required by /target/lib/libc.so.6)
> [...]
> >  df -h
> >  Filesystem             Size      used  Available  Used  Mounted on
> >  /dev/ram0              6.4m      4.7m       1.6M    75%  /
> >  /dev/hda2             18.2G      1.6G      15.8G     9%  /target
> 
> Ah - it's clear now that you're running the installer from CD - your
> machine is not booting on its own off the hard disc, right now, is that
> right?
> 
> I know that you've tried something like this, but I would have expected
> it to run if you booted off the Woody installer disc with:
>   rescbf24 root=/dev/hda2
> 
> If that fails, which error does it give?
> 
> If that works, then this may finish your upgrade:
> >   cd /
> >   ln -s /boot/vmlinuz-2.4.22-1-k7 vmlinuz
> >   ln -s /boot/initrd.img-2.4.22-1-k7 initrd.img
> >   lilo -v
> 
> ***** Otherwise ***** follow this:
> 
> On Wed, Dec 31, 2003 at 01:25:56PM +1100, Onno Benschop wrote:
> >     df -h
> >     cat /target/etc/fstab
> >     ls -l /target/
> >     ls -l /target/boot/
> >     cat /target/etc/lilo.conf
> 
> We want the part of lilo.conf that says this;
> image=/vmlinuz
>         label=Linux
>         read-only
> 
> ...or possibly this:
> image=/vmlinuz
> 	initrd=/initrd.img
>         label=Linux
>         read-only
> 
> When that part is right, one of these should work:
>   lilo -v -r /target
>   chroot /target lilo -v
> 
> Nick.

 Here is the bit of lilo.conf you want

  # Boot up Linux by default.
  #
  default=Linux

  image=/vmlinuz
	label=Linux
	initrd=/initrd.img
	read-only
  #	restricted
  #	alias=1

  image=/vmlinuz.old
	label=LinuxOLD
	initrd=/initrd.img.old
	read-only
        optional
  #	restricted
  #	alias=2
 

  This is the bit you want

  Thanks

  Laurie



More information about the plug mailing list