I have followed the steps in
http://trisquel.info/en/wiki/customizing-trisquel-iso . I have updated
successfully all packages except the kernel. When I try to update the
kernel I get this error:
root@cao-estacion:/# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
trisquel-base trisquel-base-recommended
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]?
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "es_EC:es_ES:C:en",
LC_ALL = (unset),
LANG = "es_EC.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up linux-image-2.6.35-28-generic (2.6.35-28.50trisquel2) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "es_EC:es_ES:C:en",
LC_ALL = (unset),
LANG = "es_EC.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.35-28-generic
cryptsetup: WARNING: could not determine root device from /etc/fstab
Not updating initrd symbolic links since we are being updated/reinstalled
(2.6.35-28.49trisquel1 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(2.6.35-28.49trisquel1 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools
2.6.35-28-generic /boot/vmlinuz-2.6.35-28-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.35-28-generic
/boot/vmlinuz-2.6.35-28-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier
2.6.35-28-generic /boot/vmlinuz-2.6.35-28-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub
2.6.35-28-generic /boot/vmlinuz-2.6.35-28-generic
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
Failed to process /etc/kernel/postinst.d at
/var/lib/dpkg/info/linux-image-2.6.35-28-generic.postinst line 1010.
dpkg: error processing linux-image-2.6.35-28-generic (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
linux-image-2.6.35-28-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@cao-estacion:/#
How can I have a customized iso with the newest version of the kernel?
--
Quiliro Ordóñez
08 836 2718
02 340 1517