[Grub] Error 22 (résolu)
Publié : dim. 09 oct. 2011, 10:39
Bonjour, depuis un livecd j'ai supprimé ma partition ubuntu, j'avais au préalable donc une partition ubuntu suivi d'une partition /boot une partition archlinux puis mon swap, grub à était installé par archlinux sur le mbr et le noyau sur /boot , après avoir supprimé la partition d'ubuntu j'ai donc tout déplacé vers la gauche et redémarrer, problème au démarrage j'ai le droit à un
J'ai essayé de changer le numéro des partitions dans le menu.lst mais bon rien
Voici mon grub.lst
et voici le fdisk
/dev/sda7 étant /boot
/dev/sda6 la partition /
Je me demande si c'est pas parce que /boot n'est pas bootable mais je vais attendre vos réponses avant de faire des bêtises =P
Merci d'avance
Code : Tout sélectionner
GRUB Loading stage1.5.
GRUB loading, please wait...
Error 22

Voici mon grub.lst
Code : Tout sélectionner
Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst
# DEVICE NAME CONVERSIONS
#
# Linux Grub
# -------------------------
# /dev/fd0 (fd0)
# /dev/sda (hd0)
# /dev/sdb2 (hd1,1)
# /dev/sda3 (hd0,2)
#
# FRAMEBUFFER RESOLUTION SETTINGS
# +-------------------------------------------------+
# | 640x480 800x600 1024x768 1280x1024
# ----+--------------------------------------------
# 256 | 0x301=769 0x303=771 0x305=773 0x307=775
# 32K | 0x310=784 0x313=787 0x316=790 0x319=793
# 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
# 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
# +-------------------------------------------------+
# for more details and different resolutions see
# https://wiki.archlinux.org/index.php/GRUB#Framebuffer_resolution
# general configuration:
timeout 5
default 0
color light-blue/black light-cyan/blue
# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*
# (0) Arch Linux
title Arch Linux
root (hd0,6)
kernel /vmlinuz-linux root=/dev/sda7 ro
initrd /initramfs-linux.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,6)
kernel /vmlinuz-linux root=/dev/sda7 ro
initrd /initramfs-linux-fallback.img
# (2) Windows
title Windows
rootnoverify (hd0,1)
#makeactive
chainloader +1
Code : Tout sélectionner
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x80000000
Device Boot Start End Blocks Id System
/dev/sda1 1 19 152586 de Dell Utility
/dev/sda2 * 20 115 768000 7 HPFS/NTFS
Partition 2 does not end on cylinder boundary.
/dev/sda3 115 6534 51562496 7 HPFS/NTFS
/dev/sda4 6535 30395 191654913 5 Extended
/dev/sda5 29630 30395 6144000 82 Linux swap / Solaris
/dev/sda6 6541 29630 185457664 83 Linux
/dev/sda7 6535 6541 50176 83 Linux
Partition table entries are not in disk order
Disk /dev/sdb: 4009 MB, 4009754624 bytes
124 heads, 62 sectors/track, 1018 cylinders
Units = cylinders of 7688 * 512 = 3936256 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0007d03c
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1018 3913161 c W95 FAT32 (LBA)
/dev/sda6 la partition /
Je me demande si c'est pas parce que /boot n'est pas bootable mais je vais attendre vos réponses avant de faire des bêtises =P
Merci d'avance
