Mais depuis hier matin, je n'arrive plus à démarrer dessus. Je pense que c'est suite à la mise à jour du kernel-x86_64-2.6.37 ou peut-être après avoir supprimé des paquets dont le système me disait qu'ils étaient obsolètes.
Voici le message d'erreur principal qu'il me retourne:
/bin/sed: Impossible d'ouvrir le fichier temporaire /etc/sed71Tbea: Système de fichiers accessible en lecture seulement
L'image ci-dessous montre l'écran que j'obtiens au démarrage avec le message d'erreur

J'ai tout de suite essayé de changer les droits du fichier indiqué pour relancer /bin/sed, mais le fichier avait déjà disparu.
Ensuite, je suis tombé sur ce poste http://forum.sabayon.org/viewtopic.php?f=86&t=23947&p=134083&hilit=bin%2Fsed#p134083 et je me suis dit que mon problème allait enfin être résolu, mais manque de chance, rien y fait.
Voilà ce que la commande me retourne:
- Code: Select all
~# fsck
fsck de util-linux-ng 2.18
e2fsck 1.41.12 (17-May-2010)
/dev/sda5: propre, 272818/1166880 fichier, 2174903/4659200 blocs
e2fsck 1.41.12 (17-May-2010)
/dev/sda6: propre, 23930/2564096 fichier, 2033100/10240000 blocs
Unsupported: replay_log()
Unsupported: check_volume()
Checking 53950 MFT records.
Unsupported: cases found.
Je fais suivre quelques commandes ou le contenu de certains fichiers qui pourrait peut-être mener vers une solution...
- Code: Select all
sabayon ~ # fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xaa6b6179
Device Boot Start End Blocks Id System
/dev/sda1 63 16386299 8193118+ 27 Unknown
/dev/sda2 * 16388096 16797695 204800 7 HPFS/NTFS
/dev/sda3 16797696 118788095 50995200 7 HPFS/NTFS
/dev/sda4 118788096 488396799 184804352 5 Extended
/dev/sda5 118792192 156065791 18636800 83 Linux
/dev/sda6 156067840 237987839 40960000 83 Linux
/dev/sda7 237989888 242085887 2048000 82 Linux swap / Solaris
/dev/sda8 242087936 488396799 123154432 7 HPFS/NTFS
Mon fichier fsck
- Code: Select all
sabayon ~ # cat /etc/init.d/fsck
#!/sbin/runscript
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
description="Check and repair filesystems according to /etc/fstab"
_IFS="
"
depend()
{
use dev clock modules
keyword -jail -openvz -prefix -timeout -vserver -lxc
}
_abort() {
rc-abort
return 1
}
# We should only reboot when first booting
_reboot() {
if [ "$RC_RUNLEVEL" = "$RC_BOOTLEVEL" ]; then
reboot "$@"
_abort || return 1
fi
}
_forcefsck()
{
[ -e /forcefsck ] || get_bootparam forcefsck
}
start()
{
local fsck_opts= p= check_extra=
if [ -e /fastboot ]; then
ewarn "Skipping fsck due to /fastboot"
return 0
fi
if _forcefsck; then
fsck_opts="$fsck_opts -f"
check_extra="(check forced)"
elif ! yesno ${fsck_on_battery:-YES} && ! on_ac_power; then
ewarn "Skipping fsck due to not being on AC power"
return 0
fi
if [ -n "$fsck_passno" ]; then
check_extra="[passno $fsck_passno] $check_extra"
fi
ebegin "Checking local filesystems $check_extra"
for p in $fsck_passno; do
local IFS="$_IFS"
case "$p" in
[0-9]*) p="=$p";;
esac
set -- "$@" $(fstabinfo --passno "$p")
unset IFS
done
if [ "$RC_UNAME" = Linux ]; then
fsck_opts="$fsck_opts -C0 -T"
if [ -z "$fsck_passno" ]; then
fsck_args=${fsck_args--A -p}
if echo 2>/dev/null >/.test.$$; then
rm -f /.test.$$
fsck_opts="$fsck_opts -R"
fi
fi
fi
trap : INT QUIT
fsck ${fsck_args--p} $fsck_opts "$@"
case $? in
0) eend 0; return 0;;
1) ewend 1 "Filesystems repaired"; return 0;;
2|3) if [ "$RC_UNAME" = Linux ]; then
ewend 1 "Filesystems repaired, but reboot needed"
_reboot -f
else
ewend 1 "Filesystems still have errors;" \
"manual fsck required"
_abort
fi;;
4) if [ "$RC_UNAME" = Linux ]; then
ewend 1 "Fileystem errors left uncorrected, aborting"
_abort
else
ewend 1 "Filesystems repaired, but reboot needed"
_reboot
fi;;
8) ewend 1 "Operational error"; return 0;;
12) ewend 1 "fsck interupted";;
*) eend 2 "Filesystems couldn't be fixed";;
esac
_abort || return 1
}
stop()
{
# Fake function so we always shutdown correctly.
_abort() { return 0; }
_reboot() { return 0; }
_forcefsck() { return 1; }
yesno $fsck_shutdown && start
return 0
}
Mon fichier grub.cfg
- Code: Select all
sabayon ~ # cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_fonts ###
### END /etc/grub.d/00_fonts ###
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="${saved_entry}"
if [ ${prev_saved_entry} ]; then
set saved_entry=${prev_saved_entry}
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z ${boot_once} ]; then
saved_entry=${chosen}
save_env saved_entry
fi
}
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 423a71c6-f999-4930-9cd9-f073d0d250bb
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=1024x768
# vga= is deprecated, grub2 handles this just fine
# making grub2 res == linux fb res
set gfxpayload=keep
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 423a71c6-f999-4930-9cd9-f073d0d250bb
set locale_dir=($root)/boot/grub/locale
set lang=fr
insmod gettext
if sleep --verbose --interruptible 3 ; then
set timeout=0
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_distro_theme ###
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 423a71c6-f999-4930-9cd9-f073d0d250bb
insmod png
if background_image /boot/grub/default-splash.png ; then
set color_normal=white/black
set color_highlight=magenta/black
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_distro_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Sabayon GNU/Linux, with Linux x86_64-2.6.37-sabayon" --class sabayon --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 423a71c6-f999-4930-9cd9-f073d0d250bb
echo Loading Linux x86_64-2.6.37-sabayon ...
linux /boot/kernel-genkernel-x86_64-2.6.37-sabayon ro init=/linuxrc splash=silent,theme:sabayon vga=791 console=tty1 quiet dokeymap keymap=fr resume=swap:UUID=e4fda026-c7d3-48bb-834d-a012e3d06b7b real_resume=UUID=e4fda026-c7d3-48bb-834d-a012e3d06b7b root=UUID=423a71c6-f999-4930-9cd9-f073d0d250bb docrypt
echo Loading initial ramdisk ...
initrd /boot/initramfs-genkernel-x86_64-2.6.37-sabayon
}
menuentry "Sabayon GNU/Linux, with Linux x86_64-2.6.37-sabayon (recovery mode)" --class sabayon --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 423a71c6-f999-4930-9cd9-f073d0d250bb
echo Loading Linux x86_64-2.6.37-sabayon ...
linux /boot/kernel-genkernel-x86_64-2.6.37-sabayon ro single init_opts=single init=/linuxrc splash=silent,theme:sabayon vga=791 console=tty1 quiet dokeymap keymap=fr resume=swap:UUID=e4fda026-c7d3-48bb-834d-a012e3d06b7b real_resume=UUID=e4fda026-c7d3-48bb-834d-a012e3d06b7b root=UUID=423a71c6-f999-4930-9cd9-f073d0d250bb docrypt
echo Loading initial ramdisk ...
initrd /boot/initramfs-genkernel-x86_64-2.6.37-sabayon
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda2)" {
insmod ntfs
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 78e8c976e8c932e4
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
J'attends vos indications avec impatience.
Munto
