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 30/12/2009, à 15:46

Atric

installation d´Ubuntu 8.4 sur 9.1

Je viens d´installer la version 8.4 sur 9.1 mais cela n´a pas marché !!
Ubuntu 9.1 est toujours là !!
Comment peut-on virer la nouvelle version ?
Merci
Pat

Hors ligne

#2 Le 30/12/2009, à 16:09

Atric

Re : installation d´Ubuntu 8.4 sur 9.1

au démarrage de mon ordinateur je tombe sur ce message:

Grub loading
error: no such disk
Grub rescue>

Hors ligne

#3 Le 30/12/2009, à 16:17

Atric

Re : installation d´Ubuntu 8.4 sur 9.1

Salut
c' est mon grub : du chinois !!!
Par ou faut-il commencer ?


# 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 use 'savedefault' 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=ca124b63-2e4a-4b0b-94a2-233b54e666b6 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

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

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

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

## ## End Default Options ##

title        Ubuntu 8.04.3 LTS, kernel 2.6.24-24-generic
root        (hd0,0)
kernel        /boot/vmlinuz-2.6.24-24-generic root=UUID=ca124b63-2e4a-4b0b-94a2-233b54e666b6 ro quiet splash
initrd        /boot/initrd.img-2.6.24-24-generic
quiet

title        Ubuntu 8.04.3 LTS, kernel 2.6.24-24-generic (recovery mode)
root        (hd0,0)
kernel        /boot/vmlinuz-2.6.24-24-generic root=UUID=ca124b63-2e4a-4b0b-94a2-233b54e666b6 ro single
initrd        /boot/initrd.img-2.6.24-24-generic

title        Ubuntu 8.04.3 LTS, memtest86+
root        (hd0,0)
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 an existing
# linux installation on /dev/sdb6.
title        openSUSE 11.1 - 2.6.27.7-9 (on /dev/sdb6)
root        (hd1,5)
kernel        /boot/vmlinuz-2.6.27.7-9-pae root=/dev/disk/by-id/ata-WDC_WD800JB-00JJC0_WD-WCAM9F147061-part6 resume=/dev/disk/by-id/ata-WDC_WD800JB-00JJC0_WD-WCAM9F147061-part5 splash=silent showopts vga=0x346
initrd        /boot/initrd-2.6.27.7-9-pae
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdb6.
title        Failsafe -- openSUSE 11.1 - 2.6.27.7-9 (on /dev/sdb6)
root        (hd1,5)
kernel        /boot/vmlinuz-2.6.27.7-9-pae root=/dev/disk/by-id/ata-WDC_WD800JB-00JJC0_WD-WCAM9F147061-part6 showopts ide=nodma apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x346
initrd        /boot/initrd-2.6.27.7-9-pae
savedefault
boot


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sdc1
title        Microsoft Windows XP Professional
root        (hd2,0)
savedefault
makeactive
map        (hd0) (hd2)
map        (hd2) (hd0)
chainloader    +1

Hors ligne

#4 Le 30/12/2009, à 16:17

Atric

Re : installation d´Ubuntu 8.4 sur 9.1

J'ai une partition avec xp et normalement une avec ubuntu 8.4

Hors ligne

#5 Le 30/12/2009, à 16:32

compte supprimé

Re : installation d´Ubuntu 8.4 sur 9.1

D'après menu.lst il y a au moins 3 disques !
Le mieux serait de renvoyer le résultat de

sudo fdisk -l

après avoir démarré sur un liveCD, et en précisant, si possible, qui est sensé être où...

#6 Le 30/12/2009, à 16:36

Atric

Re : installation d´Ubuntu 8.4 sur 9.1

ubuntu@ubuntu:~$ sudo fdisk -l

Disque /dev/sda: 80.0 Go, 80026361856 octets
255 heads, 63 sectors/track, 9729 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Identifiant disque: 0x5618af08

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sda1   *           1        9327    74919096   83  Linux
/dev/sda2            9328        9729     3229065    5  Extended
/dev/sda5            9328        9729     3229033+  82  Linux swap / Solaris

Disque /dev/sdb: 80.0 Go, 80026361856 octets
255 heads, 63 sectors/track, 9729 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Identifiant disque: 0x6c70460c

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sdb1               1        3244    26049397    c  W95 FAT32 (LBA)
La partition 1 ne se termine pas sur une frontière de cylindre.
/dev/sdb2            3244        9729    52098764    f  W95 Etendu (LBA)
/dev/sdb5            3244        3505     2104483+  82  Linux swap / Solaris
/dev/sdb6            3506        6011    20129413+  83  Linux
/dev/sdb7            6012        9729    29864803+  83  Linux

Disque /dev/sdc: 160.0 Go, 160041885696 octets
255 heads, 63 sectors/track, 19457 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Identifiant disque: 0x1669c708

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sdc1   *           1        5100    40965718+   c  W95 FAT32 (LBA)
/dev/sdc2            5101       19457   115322602+   f  W95 Etendu (LBA)
/dev/sdc5            5101       14358    74364853+   7  HPFS/NTFS
/dev/sdc6           14359       19457    40957686    b  W95 FAT32
ubuntu@ubuntu:~$

Hors ligne

#7 Le 30/12/2009, à 16:42

Atric

Re : installation d´Ubuntu 8.4 sur 9.1

Comment faire pour virer :

# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdb6.
title        Failsafe -- openSUSE 11.1 - 2.6.27.7-9 (on /dev/sdb6)
root        (hd1,5)
kernel        /boot/vmlinuz-2.6.27.7-9-pae root=/dev/disk/by-id/ata-WDC_WD800JB-00JJC0_WD-WCAM9F147061-part6 showopts ide=nodma apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x346
initrd        /boot/initrd-2.6.27.7-9-pae
savedefault
boot

Hors ligne

#8 Le 30/12/2009, à 16:53

compte supprimé

Re : installation d´Ubuntu 8.4 sur 9.1

Tu veux virer quoi ? L'entrée de menu.lst ? Ou le linux correspondant ? Parce que l'entrée de menu.lst, il suffit de l'effacer (ou mieux de la commenter en mettant un # au début des lignes)... et elle n'apparaît plus !

#9 Le 30/12/2009, à 16:55

Atric

Re : installation d´Ubuntu 8.4 sur 9.1

Le linux correspondant ! Je vais mettre # devant.

Le problème est ce :

Grub loading
error: no such disk
Grub rescue>

Comment faire pour remettre tout en ordre de marche ?

Hors ligne

#10 Le 30/12/2009, à 17:05

Atric

Re : installation d´Ubuntu 8.4 sur 9.1

J'ai lu que l'on pouvait taper :
sudo update-grub

pour remettre tout dans l'ordre, c'est vrai ?
Est-ce que cela va bien me donner la possibilité d'accéder à Ubuntu et xp ?

Hors ligne

#11 Le 30/12/2009, à 17:14

compte supprimé

Re : installation d´Ubuntu 8.4 sur 9.1

Il faut aussi que ton disque qui contient ubuntu (sda, si j'ai bien compris) soit en premier dans l'ordre de démarrage du bios.
Si ça se trouve, ça suffira !
Si ça ne suffit pas, démarre sur le liveCD, puis :

sudo grub
root (hd0,0)
setup (hd0)
quit

Ça devrait le faire...

Dernière modification par faustus (Le 30/12/2009, à 17:17)

#12 Le 30/12/2009, à 17:15

Atric

Re : installation d´Ubuntu 8.4 sur 9.1

oui

Hors ligne

#13 Le 30/12/2009, à 17:17

Atric

Re : installation d´Ubuntu 8.4 sur 9.1

Faut-il modifier menu.lst pour corriger tout cela ?
ou faire un update-grub ?

Hors ligne

#14 Le 30/12/2009, à 17:18

compte supprimé

Re : installation d´Ubuntu 8.4 sur 9.1

Atric a écrit :

Faut-il modifier menu.lst pour corriger tout cela ?
ou faire un update-grub ?

De toutes façons, avant de "réparer", il faut d'abord comprendre la panne !

#15 Le 30/12/2009, à 17:19

Atric

Re : installation d´Ubuntu 8.4 sur 9.1

ok,
je reboote et j'essaye !
Merci

Hors ligne

#16 Le 30/12/2009, à 17:28

Atric

Re : installation d´Ubuntu 8.4 sur 9.1

Cela n'a pas marché :

Grub loading :sudo grub
unknown command "sudo"


J'ai booté sur le cd et lancé booter sur le premier DD et Ubuntu  8.4 s'est lancé
Je vais reboote pour voir si j'ai accès à xp

Hors ligne

#17 Le 30/12/2009, à 17:43

Atric

Re : installation d´Ubuntu 8.4 sur 9.1

Je peux booter sur xp ou sur ubutnu à partir du cd. (F12)

Sinon, cela ne marche pas, toujours la même erreur :

Grub loading
error: no such disk
Grub rescue>

Hors ligne

#18 Le 30/12/2009, à 18:21

Atric

Re : installation d´Ubuntu 8.4 sur 9.1

Un peu d'aide s'il vous plait !! tongue:P

Hors ligne

#19 Le 30/12/2009, à 18:40

Atric

Re : installation d´Ubuntu 8.4 sur 9.1

C'est nouveau :

Grub loading
Error : no such disk
grub rescue>

C'est quoi ?

Hors ligne

#20 Le 30/12/2009, à 19:06

compte supprimé

Re : installation d´Ubuntu 8.4 sur 9.1

Tu es sûr que ton disque ubuntu est en premier dans l'ordre de boot du bios ?
Et quand tu as fait ça :

sudo grub
root (hd0,0)
setup (hd0)
quit

ça a dit quoi ?

#21 Le 30/12/2009, à 19:09

Atric

Re : installation d´Ubuntu 8.4 sur 9.1

grub> root (hd0,0)

Error 21: Selected disk does not exist

grub> setup (hd0)

Error 12: Invalid device requested

grub>

Hors ligne

#22 Le 30/12/2009, à 19:17

Compte anonymisé

Re : installation d´Ubuntu 8.4 sur 9.1

Salut

Il faudrait déjà lancer ubuntu (si ce n'est pas déjà fait).

Ensuite tu tapes :
sudo  grub
puis :
grub>find   /boot/grub/menu.lst

Et tu donnes le résultat.

@+

#23 Le 30/12/2009, à 19:18

Atric

Re : installation d´Ubuntu 8.4 sur 9.1

(hd0,0)
(hd1,5)

Hors ligne

#24 Le 30/12/2009, à 19:22

Compte anonymisé

Re : installation d´Ubuntu 8.4 sur 9.1

Et toujours sous grub :
grub>root  (hd0,0)
puis
grub>setup  (hd0)

#25 Le 30/12/2009, à 19:22

Atric

Re : installation d´Ubuntu 8.4 sur 9.1

teuliere@teuliere-desktop:~$ grub>root  (hd0,0)
bash: Erreur de syntaxe près du symbole inattendu « ( »
teuliere@teuliere-desktop:~$

Hors ligne