Mailinglist Archive: opensuse-autoinstall (72 mails)
| < Previous | Next > |
Re: [opensuse-autoinstall] lilo bug in SLES10 SP1 when using own kernel rpms
- From: Frank Steiner <fsteiner-mail1@xxxxxxxxxxxxxx>
- Date: Tue, 12 Feb 2008 12:36:37 +0100
- Message-id: <47B184C5.2030006@xxxxxxxxxxxxxx>
Frank Steiner wrote
Ok, got it. There is some new code in BootLoader.ycp compared to 10.1
to replace symlinks in lilo.conf. I've no idea why this makes sense,
why not leave "image=/boot/vmlinuz" in lilo.conf instead of replacing it with
"image=/boot/vmlinuz-bla-blu" etc.?
Anyway, the code fails when the link in /boot is absolute, although
the comment states that "readlink -m" should solve this. Our kernel.rpm
creates
lrwxrwxrwx 1 root root 35 Feb 12 13:07 vmlinuz ->
/boot/vmlinuz-2.6.16-12suse-bio-smp
But since /boot points to /mounts/instsys/boot, readlink -m returns this:
inst-sys:~ # readlink -m /mnt/boot/vmlinuz
/mounts/instsys/boot/vmlinuz-2.6.16-12suse-bio-smp
I will change our kernel.rpm to use relative links, but I guess the code
in Bootloader.ycp should be debugged :-)
cu,
Frank
--
Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17 Phone: +49 89 2180-4049
80333 Muenchen, Germany Fax: +49 89 2180-99-4049
* Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
Uwe, do you have any idea what could go wrong here?
Ok, got it. There is some new code in BootLoader.ycp compared to 10.1
to replace symlinks in lilo.conf. I've no idea why this makes sense,
why not leave "image=/boot/vmlinuz" in lilo.conf instead of replacing it with
"image=/boot/vmlinuz-bla-blu" etc.?
Anyway, the code fails when the link in /boot is absolute, although
the comment states that "readlink -m" should solve this. Our kernel.rpm
creates
lrwxrwxrwx 1 root root 35 Feb 12 13:07 vmlinuz ->
/boot/vmlinuz-2.6.16-12suse-bio-smp
But since /boot points to /mounts/instsys/boot, readlink -m returns this:
inst-sys:~ # readlink -m /mnt/boot/vmlinuz
/mounts/instsys/boot/vmlinuz-2.6.16-12suse-bio-smp
I will change our kernel.rpm to use relative links, but I guess the code
in Bootloader.ycp should be debugged :-)
cu,
Frank
--
Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17 Phone: +49 89 2180-4049
80333 Muenchen, Germany Fax: +49 89 2180-99-4049
* Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
| < Previous | Next > |