Problème de boot ubuntu

Résolu
zeiks Messages postés 475 Date d'inscription   Statut Membre Dernière intervention   -  
zeiks Messages postés 475 Date d'inscription   Statut Membre Dernière intervention   -
Bonjour,
Nouveau petit problème, à la suite d'une tentative de modification du fichier /boot/grub/menu.lst de manière a booter sur ubuntu au démarrage, mon ordinateur ne boot toujours pas dessus et qui plus est il démare en recovery mode, si quelqu'un peut me donner un petit coup de main pour arranger ca...
Merci d'avance.


A voir également:

11 réponses

Ro&ri Messages postés 683 Date d'inscription   Statut Membre Dernière intervention   77
 
Salut, postes nous ton menu.lst et le retour de "fdisk -l" en root.
0
samy_id
 
tu as essayé la commande update-grub après la modification du fichier ?
0
Templier Nocturne Messages postés 7734 Date d'inscription   Statut Membre Dernière intervention   1 106
 
tu est en multiboot avec quel autre OS ?
0
zeiks Messages postés 475 Date d'inscription   Statut Membre Dernière intervention   61
 
Bonjour, je suis en multiboot avec vista (préinstallé sur mon acer), pour le menu.lst le voilà :

# 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 1 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 use 'savedefault' or your
# array will desync and will not let you boot your system.
default         1

## 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=823413E53413DB4D loop=/ubuntu/disks/root.disk ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=()/ubuntu/disks

## 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

## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa                                                                
  ## 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

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title           Ubuntu 9.10, kernel 2.6.31-21-generic
root            ()/ubuntu/disks
kernel          /boot/vmlinuz-2.6.31-21-generic root=UUID=823413E53413DB4D loop=/ubuntu/disks/root.disk ro quiet splash
initrd          /boot/initrd.img-2.6.31-21-generic
                                                                     
title           Ubuntu 9.10, kernel 2.6.31-21-generic (recovery mode)
root            ()/ubuntu/disks
kernel          /boot/vmlinuz-2.6.31-21-generic root=UUID=823413E53413DB4D loop=/ubuntu/disks/root.disk ro  single
initrd          /boot/initrd.img-2.6.31-21-generic

title           Ubuntu 9.10, kernel 2.6.28-18-generic
root            ()/ubuntu/disks
kernel          /boot/vmlinuz-2.6.28-18-generic root=UUID=823413E53413DB4D loop=/ubuntu/disks/root.disk ro quiet splash
initrd          /boot/initrd.img-2.6.28-18-generic

title           Ubuntu 9.10, kernel 2.6.28-18-generic (recovery mode)
root            ()/ubuntu/disks
kernel          /boot/vmlinuz-2.6.28-18-generic root=UUID=823413E53413DB4D loop=/ubuntu/disks/root.disk ro  single
initrd          /boot/initrd.img-2.6.28-18-generic

title           Ubuntu 9.10, memtest86+
root            ()/ubuntu/disks
kernel          /boot/memtest86+.bin
kernel          /boot/memtest86+.bin

### 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           Windows Vista (loader)
rootnoverify    (hd0,0)
savedefault
chainloader     +1


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title           Windows Vista (loader)
rootnoverify    (hd0,1)
savedefault
chainloader     +1




kernel          /boot/memtest86+.bin

### 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           Windows Vista (loader)
rootnoverify    (hd0,0)
savedefault
chainloader     +1


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title           Windows Vista (loader)
rootnoverify    (hd0,1)
savedefault
chainloader     +1

0
Ro&ri Messages postés 683 Date d'inscription   Statut Membre Dernière intervention   77
 
Wow, j'avais oublié à quel point c'est moche sans coloration ><
Je pense que ça vient de tes root.
Poste nous le résultat d'un fdisk -l
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
Templier Nocturne Messages postés 7734 Date d'inscription   Statut Membre Dernière intervention   1 106
 
essaye de modifier le boot.ini sous vista ;)

http://poloastucien.free.fr/boot-ini.html pour les détails :)
0
Ro&amp;ri Messages postés 683 Date d'inscription   Statut Membre Dernière intervention   77
 
Non, ça c'est pour le MBR de windows, il a été remplacé par grub.
0
zeiks Messages postés 475 Date d'inscription   Statut Membre Dernière intervention   61
 
Le résultat du fdisk -l :

Disque /dev/sda: 250.1 Go, 250059350016 octets 
255 têtes, 63 secteurs/piste, 30401 cylindres 
Unités = cylindres de 16065 * 512 = 8225280 octets 
Identifiant de disque : 0x0271d0e0 

Périphérique Amorce  Début        Fin      Blocs     Id  Système 
/dev/sda1               1        1529    12281661   27  Inconnu 
/dev/sda2   *        1530       15979   116068352    6  FAT16 
/dev/sda3           15979       30402   115847168    7  HPFS/NTFS
0
Ro&amp;ri Messages postés 683 Date d'inscription   Statut Membre Dernière intervention   77
 
Wow
Aucune partition linux et pas de swap :-/
Etrange. Comment as-tu installé ta distrib ? Au niveau des options de partitionnement ?
0
zeiks Messages postés 475 Date d'inscription   Statut Membre Dernière intervention   61
 
J'ai tout réinstaller hier car après MAJ vers la version 9.10 et Grub2 le système plantait au démarrage.
Nouvelle partition linux installée comme la précédente en dualboot avec Vista sur le même DD (espace dédié 20 Go). Installation faite à partir d'un CD.

Je vais réessayer les manips faites précédement et je vous tient au courant du résultat.
0
Ro&amp;ri Messages postés 683 Date d'inscription   Statut Membre Dernière intervention   77
 
Maintenant ça dois booter non ?
0
zeiks Messages postés 475 Date d'inscription   Statut Membre Dernière intervention   61
 
Toujours aucun résultat positif, malgré le temps passé dessus (ca fait une semaine que je suis sur le coup). Je peux néanmoins tirer les suppositions suivantes :
- Ca parait idiot mais Grub m'a tout l'air d'intervenir après le boot sur OS, avant ni Grub ni le MBR n'interviennent, ca m'a tout l'air d'être un sacré beans d'Acer.
- Mon ordi doit être tatoué et c'est ca qui me met le pet.
Je pense que je vais donc me résigner à choisir manuellement l'OS à chaque démarrage (c'est con j'utilise uniquement ubuntu) parce que c'est en train de me bouffer du temps et que le bac il va pas se bosser tout seul.
Je reporte donc ce problème d'un bon mois.
0
aimkone Messages postés 29 Date d'inscription   Statut Membre Dernière intervention   3
 
dis moi c'est ubuntu le dernier os que vous avez installer sur votre pc ,si c'est le cas dis le mois j'ai la solution .sinon je ne peux pas vraiment t'aider.
0
zeiks Messages postés 475 Date d'inscription   Statut Membre Dernière intervention   61
 
J'ai un peu de temps aujourd'hui donc je fais un petit up du post.
aimkone -> oui ubuntu est le dernier OS que j'ai installé sur mon PC

Par contre je suis à court d'idées...
0
zeiks Messages postés 475 Date d'inscription   Statut Membre Dernière intervention   61
 
UP du sujet.
0
Ro&amp;ri Messages postés 683 Date d'inscription   Statut Membre Dernière intervention   77
 
ce qui me choque c'est l'absence de partition linux ...
0
zeiks Messages postés 475 Date d'inscription   Statut Membre Dernière intervention   61
 
J'installe aujourd'hui la version 10.4 que j'ai sur un CD je vais voir ce qui se passe...
En fait il semblerait que grub ai été installé derrière le MBR de windows, le problème est que ma partition vista est instable et je n'y ai pas internet donc une modification du boot est difficile dans ces conditions.
Une fois la version 10.4 installée je reviens poster le résultat.
0
zeiks Messages postés 475 Date d'inscription   Statut Membre Dernière intervention   61
 
C'est bon après réinstallation de la version 10.04 tout marche au poil !
0