Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 07/11/2009, à 17:44

bony

[Résolu]problème grub 2 ubuntu nutyx

Bponjours.

Je ne sais pas si je post sur le bon forum.

j'ai refais une install neuve de la 09.10 qui est avec grub 2 et depuis impossible de me connecter à Nutyx.

J'ai essayé de modifier grub.cfg mais je ne dois pas mettre les bons trucs.

#
# 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 ###
if [ -s /boot/grub/grubenv ]; then
  have_grubenv=true
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  saved_entry=${prev_saved_entry}
  save_env saved_entry
  prev_saved_entry=
  save_env prev_saved_entry
fi
insmod ext2
set root=(hd1,1)
search --no-floppy --fs-uuid --set 02fc75d9-107c-4beb-949f-01f3cc42e661
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  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
if [ ${recordfail} = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
	set quiet=1
	insmod ext2
	set root=(hd1,1)
	search --no-floppy --fs-uuid --set 02fc75d9-107c-4beb-949f-01f3cc42e661
	linux	/boot/vmlinuz-2.6.31-14-generic root=UUID=02fc75d9-107c-4beb-949f-01f3cc42e661 ro   quiet splash
	initrd	/boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
	insmod ext2
	set root=(hd1,1)
	search --no-floppy --fs-uuid --set 02fc75d9-107c-4beb-949f-01f3cc42e661
	linux	/boot/vmlinuz-2.6.31-14-generic root=UUID=02fc75d9-107c-4beb-949f-01f3cc42e661 ro single 
	initrd	/boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Debian GNU/Linux, kernel 2.6.26-2-686 (on /dev/sda2)" {
	insmod ext2
	set root=(hd0,2)
	search --no-floppy --fs-uuid --set 9142b8ed-f9dc-47c3-b136-97f3dcab51f6
	linux /boot/vmlinuz-2.6.26-2-686 root=/dev/hda2 ro quiet
	initrd /boot/initrd.img-2.6.26-2-686
}
menuentry "Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode) (on /dev/sda2)" {
	insmod ext2
	set root=(hd0,2)
	search --no-floppy --fs-uuid --set 9142b8ed-f9dc-47c3-b136-97f3dcab51f6
	linux /boot/vmlinuz-2.6.26-2-686 root=/dev/hda2 ro single
	initrd /boot/initrd.img-2.6.26-2-686
}
### 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.
menuentry "NuTyX 2009" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 4cf52307-24b4-463e-90ed-1cee266da12e
	linux /boot/vmlinuz-2.6.31-4 root=/dev/hda1 ro quiet
	initrd /boot/initrd.img-2.6.31-4
} 


### END /etc/grub.d/40_custom ###

UN sudo update-grub donne

Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.31-14-generic
Found initrd image: /boot/initrd.img-2.6.31-14-generic
Found memtest86+ image: /boot/memtest86+.bin
Found unknown Linux distribution on /dev/sda1
Found Debian GNU/Linux (5.0.3) on /dev/sda2
done

Inconnu pour nutyx.

fdisk -l

Disque /dev/sda: 20.0 Go, 20020396032 octets
255 têtes, 63 secteurs/piste, 2434 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets
Identifiant de disque : 0x90909090

Périphérique Amorce  Début        Fin      Blocs     Id  Système
/dev/sda1               1        1217     9775521   83  Linux
/dev/sda2            1218        2434     9775552+  83  Linux

Disque /dev/sdb: 120.0 Go, 120034123776 octets
255 têtes, 63 secteurs/piste, 14593 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets
Identifiant de disque : 0xe8d7e8d7

Périphérique Amorce  Début        Fin      Blocs     Id  Système
/dev/sdb1               1       13995   112414806   83  Linux
/dev/sdb2           13996       14593     4803435    5  Etendue
/dev/sdb5           13996       14593     4803403+  82  Linux swap / Solaris

Disque /dev/sdc: 160.0 Go, 160041885696 octets
255 têtes, 63 secteurs/piste, 19457 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets
Identifiant de disque : 0x19ff091e

Périphérique Amorce  Début        Fin      Blocs     Id  Système
/dev/sdc1               1       19457   156288321    b  W95 FAT32

Voilà je ne sais quoi dire de plus et si quelqu'un a une idée je suis preneur.


Par avance merci.

Dernière modification par bony (Le 09/11/2009, à 15:12)

Hors ligne

#2 Le 09/11/2009, à 15:11

bony

Re : [Résolu]problème grub 2 ubuntu nutyx

Résolu

menuentry "NuTyX 2009 sur sda1 {
    set root=(hd0,1)
    search --no-floppy --fs-uuid --set 4cf52307-24b4-463e-90ed-1cee266da12e
    linux /boot/kernel root=/dev/sda1 ro quiet
}

Hors ligne

#3 Le 09/11/2009, à 15:20

jmlaguiness

Re : [Résolu]problème grub 2 ubuntu nutyx

Merci bony, t'as cherché à ma place ;D.

Hors ligne