IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Debian Discussion :

Problème avec grub et Windows


Sujet :

Debian

  1. #1
    Membre du Club
    Inscrit en
    Avril 2005
    Messages
    127
    Détails du profil
    Informations forums :
    Inscription : Avril 2005
    Messages : 127
    Points : 46
    Points
    46
    Par défaut Problème avec grub et Windows
    Bonjour j'ai bien lu la faq ici dans le site à fin de pouvoir reinstaller grub apres une installation de windows,

    mais apres que je tape grub-install /dev/sda j'ai un message qui dit que
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    /dev/hde3 does not have any configured BIOS drive.
    j'ai débranché tous les disques durs à fin de ne pas formatter par accident car j'ai besoin les données, en ce moment je n'ai qu'un disque sata connecte.
    normalement j'ai un disque dur IDE comme secondary master, primary master est un dvd rom plextor. j'ai encore un autre disque dur sata connecté dans un autre port sata. mais il n'est pas branché pour l'instant.
    peut etre que le fichier menu.lst qui est dans la partition root de mon installation linux est mal configuré, comment puis je le regenerer? sans devoir rien effasser ou formater?
    merci de votre aide.
    mario

  2. #2
    Membre expérimenté
    Avatar de narmataru
    Profil pro
    Inscrit en
    Décembre 2002
    Messages
    1 548
    Détails du profil
    Informations personnelles :
    Âge : 43
    Localisation : France, Loire Atlantique (Pays de la Loire)

    Informations forums :
    Inscription : Décembre 2002
    Messages : 1 548
    Points : 1 680
    Points
    1 680
    Par défaut
    bonjour,
    Si tu as tout débranché sur quoi démarres-tu ?
    à quoi correspond ton périphérique /dev/hde2 ??
    tu poster le fichier menu.lst ici pour qu'on le regarde si tu veux.

  3. #3
    Membre du Club
    Inscrit en
    Avril 2005
    Messages
    127
    Détails du profil
    Informations forums :
    Inscription : Avril 2005
    Messages : 127
    Points : 46
    Points
    46
    Par défaut
    il n'y a pas de disque dur hde, ni hde2, et encore moins de hde3

    je un seul disque dur branché. sda et linux est installe sur sda3

    quand je fais grub-install il me dit que /dev/hde3 n'as pas de correspondant dans bios

    device.map n'as pas de hde non plus...
    hda = dvdrom
    hdc = disque dur IDE
    sda = premier disque sata ou windows et linux sont installes, sda1= windows, sda2 swap; sda3= debian
    sdb = second disque dur sata.

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    # 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'.           
    default		0
     
    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout		15
     
    # 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 specifiv 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=root=/dev/sda3 ro
     
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=(hd1,2)
     
    ## 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
     
    ## altoption boot targets option
    ## multiple altoptions lines are allowed
    ## e.g. altoptions=(extra menu suffix) extra boot options
    ##      altoptions=(recovery mode) 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
     
    ## ## End Default Options ##
     
    title		Debian GNU/Linux, kernel 2.6.17.1-mariogarcia 
    root		(hd1,2)
    kernel		/boot/vmlinuz-2.6.17.1-mariogarcia root=/dev/sda3 ro 
    savedefault
    boot
     
    title		Debian GNU/Linux, kernel 2.6.17.1-mariogarcia (recovery mode)
    root		(hd1,2)
    kernel		/boot/vmlinuz-2.6.17.1-mariogarcia root=/dev/sda3 ro single
    savedefault
    boot
     
    title		Debian GNU/Linux, kernel 2.6.8-2-386 
    root		(hd1,2)
    kernel		/boot/vmlinuz-2.6.8-2-386 root=/dev/sda3 ro 
    initrd		/boot/initrd.img-2.6.8-2-386
    savedefault
    boot
     
    title		Debian GNU/Linux, kernel 2.6.8-2-386 (recovery mode)
    root		(hd1,2)
    kernel		/boot/vmlinuz-2.6.8-2-386 root=/dev/sda3 ro single
    initrd		/boot/initrd.img-2.6.8-2-386
    savedefault
    boot
     
    ### END DEBIAN AUTOMAGIC KERNELS LIST
     
    ##This is a divider used to separate the menu itemps 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/hda1
    title	       Microsoft Windows XP Professional
    root	       (hd1,0)
    savedefault
    makeactive
    chainloader   +1
    voice mon fdisk -l
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    Disk /dev/hdc: 164.6 GB, 164696555520 bytes
    255 heads, 63 sectors/track, 20023 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
     
       Device Boot      Start         End      Blocks   Id  System
    /dev/hdc1   *           1        7189    57745611    7  HPFS/NTFS
    /dev/hdc2            7190       20023   103089105    7  HPFS/NTFS
     
    Disk /dev/sda: 163.9 GB, 163928604672 bytes
    255 heads, 63 sectors/track, 19929 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
     
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1       12823   103000716    7  HPFS/NTFS
    /dev/sda2           12824       12945      979965   82  Linux swap / Solaris
    /dev/sda3           12946       19929    56098980   83  Linux
     
    Disk /dev/sdb: 164.6 GB, 164696555520 bytes
    255 heads, 63 sectors/track, 20023 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
     
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           1        9982    80180383+   7  HPFS/NTFS
    /dev/sdb2            9983       20023    80654332+   7  HPFS/NTFS

Discussions similaires

  1. Réponses: 3
    Dernier message: 09/11/2004, 10h44
  2. [CDT]C++ avec Eclipse sous Windows
    Par Invité dans le forum Eclipse Java
    Réponses: 8
    Dernier message: 22/10/2004, 08h32
  3. attaquer base sql server avec easyphp sous windows
    Par jarod71 dans le forum MS SQL Server
    Réponses: 7
    Dernier message: 11/12/2003, 14h17
  4. Besoin d'aide avec postgresql sous windows NT
    Par Chihuahua dans le forum PostgreSQL
    Réponses: 3
    Dernier message: 18/07/2003, 08h29
  5. Utiliser Borland C++ avec Emacs sous Windows
    Par Eikichi dans le forum Autres éditeurs
    Réponses: 2
    Dernier message: 02/03/2003, 08h40

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo