Pages : 1
#1 Le 07/04/2007, à 11:43
- lolo24
error 22 invalid device requested
bonjour je n'arrive plus a booter sur vista j'ai essayé de le rentrer dans le menu grub mais il me marque error 22 invalid device requested .
Si quelqu'un pouvais m'aider a booter sur vista merci
Hors ligne
#2 Le 07/04/2007, à 12:00
- michel2652
Re : error 22 invalid device requested
Bonjour,
Fais un copier/coller de ton /boot/grub/menu.lst, merci.
A+
#3 Le 07/04/2007, à 12:10
- lolo24
Re : error 22 invalid device requested
voici mon menu list
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 3
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=5b847759-37fc-479d-9709-31e59e43ec4b ro
# kopt_2_6=root=/dev/sda1 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash locale=fr_FR
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## ## End Default Options ##
title Ubuntu, kernel 2.6.17-11-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-11-generic root=/dev/sda1 ro quiet splash locale=fr_FR
initrd /boot/initrd.img-2.6.17-11-generic
quiet
savedefault
boot
title Ubuntu, kernel 2.6.17-11-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-11-generic root=/dev/sda1 ro single
initrd /boot/initrd.img-2.6.17-11-generic
boot
title Ubuntu, kernel 2.6.17-10-386
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-10-386 root=/dev/sda1 ro quiet splash locale=fr_FR
initrd /boot/initrd.img-2.6.17-10-386
quiet
savedefault
boot
title Ubuntu, kernel 2.6.17-10-386 (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-10-386 root=/dev/sda1 ro single
initrd /boot/initrd.img-2.6.17-10-386
boot
title Ubuntu, kernel 2.6.17-10-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda1 ro quiet splash locale=fr_FR
initrd /boot/initrd.img-2.6.17-10-generic
quiet
savedefault
boot
title Ubuntu, kernel 2.6.17-10-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda1 ro single
initrd /boot/initrd.img-2.6.17-10-generic
boot
title Ubuntu, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
boot
title Windows Vista
root (hd0,4)
savedefault
makeactive
chainloader +1
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
Hors ligne
#4 Le 09/04/2007, à 09:44
- michel2652
Re : error 22 invalid device requested
Bonjour,
Ton Vista est installé sur une partition logique ---> hd0,4 = hda5 ?
Pour être sûr que vista est bien sur cette partition fait un :
~$ sudo fdisk -l /dev/hda
A+
#5 Le 09/04/2007, à 14:03
- lolo24
Re : error 22 invalid device requested
bonjour et merci de me repondre michel2652
voila ce que j' ai quand je fais sudo fdisk -l /dev/hda
Disque /dev/sda: 81.9 Go, 81964302336 octets
255 têtes, 63 secteurs/piste, 9964 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets
Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 1 4462 35840983+ 83 Linux
/dev/sda2 4865 9964 40965750 f W95 Etendu (LBA)
/dev/sda3 * 4463 4519 457852+ 82 Linux swap / Solaris
/dev/sda5 4865 9964 40965718+ 7 HPFS/NTFS
Les entrées de la table de partitions ne sont pas dans l'ordre du disque
Disque /dev/sdb: 262 Mo, 262144000 octets
16 têtes, 32 secteurs/piste, 1000 cylindres
Unités = cylindres de 512 * 512 = 262144 octets
Périphérique Amorce Début Fin Blocs Id Système
/dev/sdb1 * 1 1000 255983+ 6 FAT16
Partition 1 a des fins différentes physique/logique:
phys=(998, 15, 32) logique=(999, 15, 31)
peux tu me repondre
Hors ligne
#6 Le 09/04/2007, à 15:49
- michel2652
Re : error 22 invalid device requested
Re,
Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 1 4462 35840983+ 83 Linux
/dev/sda2 4865 9964 40965750 f W95 Etendu (LBA)
/dev/sda3 * 4463 4519 457852+ 82 Linux swap / Solaris
/dev/sda5 4865 9964 40965718+ 7 HPFS/NTFS
Je ne saisis pas bien ton fstab.
Tu as installé Win après Ubuntu pour qu'il soit dans une partition étendue ?
Normalement il devrait être placé avant Ubuntu et sa devrait être la partition active.
Chez toi c'est la partition swap ---> * .
#7 Le 10/04/2007, à 07:10
- lolo24
Re : error 22 invalid device requested
re non j'avais vista avant ubuntu j' ai peut etre fais une erreur en partitionnant mon disque y a t' il une solution a mon pb
merci
Hors ligne
#8 Le 11/04/2007, à 12:27
- michel2652
Re : error 22 invalid device requested
Bonjour,
J'ai fait une install en dual-boot pour essayer de comprendre ...
Ça ne m'apporte pas plus.
Si ça peut t'être utile :
~$ sudo fdisk -l /dev/sda
Disque /dev/sda: 160.0 Go, 160041885696 octets
255 têtes, 63 secteurs/piste, 19457 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets
Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 * 1 4666 37479613+ 7 HPFS/NTFS
/dev/sda2 4667 6386 13815900 83 Linux
/dev/sda3 6387 6648 2104515 82 Linux swap / Solaris
/dev/sda4 6649 19457 102888292+ 83 Linux
::~$ cat /etc/fstab
proc /proc proc defaults 0 0
# Entry for /dev/sda2 :
UUID=4684c338-722c-4c62-86a2-83754570b8f9 / ext3 defaults,errors=remount-ro 0 1
# Entry for /dev/sda4 :
UUID=477d6618-e845-4ddd-a802-f96356d2cdce /home ext3 defaults 0 2
# Entry for /dev/sda1 :
UUID=732B96C82FC5D784 /media/Win_XP ntfs-3g defaults,locale=fr_FR.UTF-8 0 1
# Entry for /dev/sda3 :
UUID=6accf7ba-68ab-4fd7-8f50-e978708df8d9 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/boot/grub/menu.lst
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=4684c338-722c-4c62-86a2-83754570b8f9 ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,1)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## ## End Default Options ##
title Ubuntu, kernel 2.6.20-14-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.20-14-generic root=UUID=4684c338-722c-4c62-86a2-83754570b8f9 ro quiet splash
initrd /boot/initrd.img-2.6.20-14-generic
quiet
savedefault
title Ubuntu, kernel 2.6.20-14-generic (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.20-14-generic root=UUID=4684c338-722c-4c62-86a2-83754570b8f9 ro single
initrd /boot/initrd.img-2.6.20-14-generic
title Ubuntu, memtest86+
root (hd0,1)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professionnel
root (hd0,0)
savedefault
makeactive
chainloader +1
A+
#9 Le 11/04/2007, à 13:53
- VirtualWorker
Re : error 22 invalid device requested
Salut,
lolo24 tu es sur de l'ordre de tes disques au niveau de ton bios ?
Autrement dit que celui que tu penses être hda est bien detecté en premier ...
Et ton windoz, il démarre ?
@+
VtWk
Dernière modification par VirtualWorker (Le 11/04/2007, à 13:54)
Hors ligne
#10 Le 11/04/2007, à 17:22
- lolo24
Re : error 22 invalid device requested
VtWk bonjour
non il ne demarre pas et je suis de l'ordre que faut il faire
Hors ligne
#11 Le 12/04/2007, à 17:56
- Elder
Re : error 22 invalid device requested
Salut,
Dans le même ordre d'idée que mon poste précédent n'aurais-tu pas un périphérique connecté qui pourrais être vu par le bios comme un disque dur.
Au vu de tes configs et si tu es sur de ne pas avoir eu de casse (côté disque dur j'entend) ça devrait marcher sauf que ...
Comme michel2652 je suis surpris de voir windows dans une partition logique surtout après une install OEM. En général c'est un disque supplémentaire (D: par ex) qui est dans ce cas ... Es tu sur de ne pas avoir effacer ton C: ?
Parce que je ne vois pass comment une partiton primaire (comme ce devrait être le cas de ta partoche C:) a pu se transformer en partition logique.
Autre chose, ta partition de swap est marquée comme bootable (ce qui ne sert à rien !) alors que ce devrait être le cas de ta partition windoz...
Quand sous linux tu montes ta partoche NTFS, qu'est-ce que tu vois ?
Courage
@+
VtWk
Dernière modification par Elder (Le 12/04/2007, à 17:59)
Hors ligne
Pages : 1