[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problème grub suite à maj du noyaux



On 14/12/2009 01:03, Goldy wrote:

> Je vous tiens au courant si c'est concluant, de toute façon j'avais pas
> prévu de me coucher tôt se soir.
> 

Je n'arrive à rien, il n'y a rien que je puisse modifier dans la
partition /boot, le problème semble bien venir du fait qu'au moment de
la mise à jour de grub, celui-ci ai été corrompu par le fait que la clé
usb qui héberge /boot était visiblement monté dans un autre chemin que
/dev/sdg1 (probablement /dev/sdf1).

Je copie le contenu du fichier grub.cfg dans le cas où je me tromperais
et que je ne sache finalement pas quoi modifier :


> #
> # DO NOT EDIT THIS FILE
> #
> # It is automatically generated by /usr/sbin/grub-mkconfig using templates
> # from /etc/grub.d and settings from /etc/default/grub
> #
> 
> ### BEGIN /etc/grub.d/00_header ###
> set default=0
> insmod raid
> insmod raid5rec
> insmod mdraid
> insmod lvm
> insmod reiserfs
> set root=(lolicon-system)
> search --no-floppy --fs-uuid --set 0d4ef1ed-cfb1-4e63-b2b3-374982dc74bc
> if loadfont /usr/share/grub/unicode.pf2 ; then
>   set gfxmode=800x600
>   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
> set timeout=3
> ### END /etc/grub.d/00_header ###
> 
> ### BEGIN /etc/grub.d/05_debian_theme ###
> set menu_color_normal=cyan/blue
> set menu_color_highlight=white/blue
> ### END /etc/grub.d/05_debian_theme ###
> 
> ### BEGIN /etc/grub.d/10_linux ###
> menuentry "Debian GNU/Linux, Linux 2.6.30-2-amd64" {
> 	linux	/vmlinuz-2.6.30-2-amd64 root=/dev/mapper/lolicon-system ro vga=789 
> 	initrd	/initrd.img-2.6.30-2-amd64
> }
> menuentry "Debian GNU/Linux, Linux 2.6.30-2-amd64 (recovery mode)" {
> 	linux	/vmlinuz-2.6.30-2-amd64 root=/dev/mapper/lolicon-system ro single vga=789
> 	initrd	/initrd.img-2.6.30-2-amd64
> }
> menuentry "Debian GNU/Linux, Linux 2.6.30-1-amd64" {
> 	linux	/vmlinuz-2.6.30-1-amd64 root=/dev/mapper/lolicon-system ro vga=789 
> 	initrd	/initrd.img-2.6.30-1-amd64
> }
> menuentry "Debian GNU/Linux, Linux 2.6.30-1-amd64 (recovery mode)" {
> 	linux	/vmlinuz-2.6.30-1-amd64 root=/dev/mapper/lolicon-system ro single vga=789
> 	initrd	/initrd.img-2.6.30-1-amd64
> }
> menuentry "Debian GNU/Linux, Linux 2.6.26-2-amd64" {
> 	linux	/vmlinuz-2.6.26-2-amd64 root=/dev/mapper/lolicon-system ro vga=789 
> 	initrd	/initrd.img-2.6.26-2-amd64
> }
> menuentry "Debian GNU/Linux, Linux 2.6.26-2-amd64 (recovery mode)" {
> 	linux	/vmlinuz-2.6.26-2-amd64 root=/dev/mapper/lolicon-system ro single vga=789
> 	initrd	/initrd.img-2.6.26-2-amd64
> }
> menuentry "Debian GNU/Linux, Linux 2.6.24-1-amd64" {
> 	linux	/vmlinuz-2.6.24-1-amd64 root=/dev/mapper/lolicon-system ro vga=789 
> 	initrd	/initrd.img-2.6.24-1-amd64
> }
> menuentry "Debian GNU/Linux, Linux 2.6.24-1-amd64 (recovery mode)" {
> 	linux	/vmlinuz-2.6.24-1-amd64 root=/dev/mapper/lolicon-system ro single vga=789
> 	initrd	/initrd.img-2.6.24-1-amd64
> }
> ### END /etc/grub.d/10_linux ###
> 
> ### BEGIN /etc/grub.d/30_os-prober ###
> ### 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 ###

Je ne comprends également pas pourquoi je ne peux pas chrooter.
Peut-être à cause du live cd ubuntu ? Si je n'arrive pas à réparer grub
sans chroot, j'essairai un live cd gentoo, parrait que c'est mieux.


Reply to: