[Eisfair] Kernelupdate
Thomas Bork
tom at eisfair.org
Mi Jan 30 21:14:13 CET 2013
Am 30.01.2013 20:58, schrieb Fabian Törner:
>> Das kann schon mal nicht sein. In preinstall.sh wird versucht, das
>> _Modul_ loop zu laden. Wenn das fehl schlägt, wird abgebrochen.
> Du, keine Ahnung ... ich sags nur so wies war...
Ich auch (preinstall.sh):
[...]
modprobe loop >/dev/null 2>&1
if [ $? != 0 ]
then
echo
echo
mecho -error "Cannot modprobe loop device, cancelling installation."
echo
echo
anykey
exit 1
fi
[...]
>> Es wird vorher eine Sicherung der normalen eisfair-Boot-Konfiguration
>> erstellt. Im Fehlerfall wird die zurück gesichert.
> s.o. evtl. zu wenig Platz - wo wird die hingesichert?
Steht in dem von Dir wieder mit zitierten Text hier drunter:
>>> tar (child): /tmp/kernel-backup.tar.gz: Cannot open: No such file or
>>> directory
> Das einzige was mich wirklich gewundert hat war dass /boot plötzlich
> leer war.. das ist für mich nicht zu erklären...
Für mich auch nicht, denn es wird abgebrochen, wenn die Sicherung nicht
erstellt werden kann (preinstall.sh):
[...]
echo "Saving your kernel configuration in /tmp/kernel-backup.tar.gz ..."
cd /
tarfiles='boot etc/lilo.conf'
for tarnewfile in System.map-2.4.35-wt1 \
System.map-2.4.35-wt1-SMP \
System.map-2.6.32-eisfair-1 \
System.map-2.6.32-eisfair-1-SMP \
System.map-2.6.32-eisfair-1-PAE \
var/install/packages/eiskernel* \
lib/modules/2.4.35-wt1 \
lib/modules/2.4.35-wt1-SMP \
lib/modules/2.6.32-eisfair-1-SMP # backup own modules dir
do
if [ -e "$tarnewfile" ]
then
tarfiles="$tarfiles $tarnewfile"
fi
done
for tarstring in $tarfiles
do
echo " /$tarstring"
done
tar czf /tmp/kernel-backup.tar.gz $tarfiles
if [ $? != 0 ]
then
echo
echo
mecho -error "Error occured during taring your kernel
configuration, cancelling installation."
mecho -error "Kernel update failed."
echo
echo
anykey
exit 1
fi
[...]
--
der tom
[eisfair-team]
Mehr Informationen über die Mailingliste Eisfair