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 28/08/2007, à 16:19

nekotarie

[résolu] Grub ne me propose que "Ubuntu, memtest" et XP

Bonjour à tous,

Grand novice linux, j'essaye d'installer Kubuntu 7.04 sur une machine qui possède déjà Win Xp.

J'ai deux disques : le master qui contient win XP et le slave qui est entièrement dispo pour Kubuntu.

Le LiveCD fonctionne correctement, j'ai lancé l'install depuis le liveCD, elle s'est passée sans problème, j'ai laissé l'install me faire le partitionnement automatique.

Le souci arrive quand je boote, grub ne me propose que XP (qui fonctionne bien) et "Ubuntu, memtest86+".

Je ne comprends pas pourquoi il ne me permet pas de lancer un noyau ?

[dans l'état actuel des choses, je tente la technique habituelle : je recommence !]

Merci d'avance pour votre aide;

David

Dernière modification par nekotarie (Le 28/08/2007, à 22:09)

Hors ligne

#2 Le 28/08/2007, à 16:35

belga

Re : [résolu] Grub ne me propose que "Ubuntu, memtest" et XP

es tu sûr de voir grub? ou c'est xp qui démarre toute  de suite.
Regarde dans le bios si ton deuxième disque est reconnu et
change l'ordre des démarrages: disque 2>disque1


Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne

#3 Le 28/08/2007, à 16:44

nekotarie

Re : [résolu] Grub ne me propose que "Ubuntu, memtest" et XP

belga a écrit :

es tu sûr de voir grub? ou c'est xp qui démarre toute  de suite.
Regarde dans le bios si ton deuxième disque est reconnu et
change l'ordre des démarrages: disque 2>disque1

Oui c'est bien grub.

Mon deuxième disque est bien reconnu dans le BIOS.

Si j'essaye de booter dessus directement, ça ne fonctionne pas (genre "pas de système d'exploitation").

David

Hors ligne

#4 Le 28/08/2007, à 16:54

xelator

Re : [résolu] Grub ne me propose que "Ubuntu, memtest" et XP

va sur le livecd et dans un terminal tape :

sudo fdisk -l

et poste ici le résultat de la commande

Hors ligne

#5 Le 28/08/2007, à 17:14

belga

Re : [résolu] Grub ne me propose que "Ubuntu, memtest" et XP

poste aussi le retour
de

sudo grub
find /boot/grub/stage1
quit

Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne

#6 Le 28/08/2007, à 18:42

nekotarie

Re : [résolu] Grub ne me propose que "Ubuntu, memtest" et XP

belga a écrit :

poste aussi le retour
de

sudo grub
find /boot/grub/stage1
quit

Merci de ton attention !

Alors pour fdisk :

Disk /dev/hdc: 20.5 GB, 20525137920 bytes
255 heads, 63 sectors/track, 2495 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdc1   *           1        1529    12281661    7  HPFS/NTFS
/dev/hdc2            1530        2495     7759395    f  W95 Ext'd (LBA)
/dev/hdc5            1530        2495     7759363+   7  HPFS/NTFS

Disk /dev/hdd: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdd1   *           1        4678    37576003+  83  Linux
/dev/hdd2            4679        4865     1502077+   5  Extended
/dev/hdd5            4679        4865     1502046   82  Linux swap / Solaris

Pour find stage 1 :
(hd1,0)

Par ailleurs voici mon menu.lst (après réinstall, il a l'air de contenir les options pour booter sur le noyau), je teste ça dans l'instant :

# 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=c99a31e8-95a9-4031-b179-e6b94e6deddf ro

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

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,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

## ## End Default Options ##

title        Ubuntu, kernel 2.6.20-15-generic
root        (hd1,0)
kernel        /boot/vmlinuz-2.6.20-15-generic root=UUID=c99a31e8-95a9-4031-b179-e6b94e6deddf ro quiet splash
initrd        /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title        Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root        (hd1,0)
kernel        /boot/vmlinuz-2.6.20-15-generic root=UUID=c99a31e8-95a9-4031-b179-e6b94e6deddf ro single
initrd        /boot/initrd.img-2.6.20-15-generic

title        Ubuntu, memtest86+
root        (hd1,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 a non-linux OS
# on /dev/hdc1
title        Microsoft Windows XP Professionnel
root        (hd0,0)
savedefault
makeactive
chainloader    +1

Hors ligne

#7 Le 28/08/2007, à 18:48

belga

Re : [résolu] Grub ne me propose que "Ubuntu, memtest" et XP

tape

sudo grub
root (hd1,0)
setup (hd1) (hd1,0)              #on installe grub sur le mbr du disque 2
quit

Configure le bios pour booter sur le disque 2.
Démarre, tu devrais voir la liste d'entrée de grub qui commence par
Ubuntu, kernel 2.6.20-15-generic

essaye cette entrée, si ça donne une erreur
redémarre, replace toi sur cette entrée
appui 2 fois sur e
change root (hd1,0) en root (hd0,0)
valide puis appui sur b pour booter.


Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne

#8 Le 28/08/2007, à 22:08

nekotarie

Re : [résolu] Grub ne me propose que "Ubuntu, memtest" et XP

Alors le problème a été résolu par la méthode "habituelle".

J'ai recommencé l'installation et - moyennant moults incantations, quelques invocations et un ou deux sacrifices rituels - cette fois-ci grub me propose bien de booter sur le noyau, en normal ou recovery mode et de booter avec memdisk.

Donc ce problème est "résolu", maintenant un autre commence...

Hors ligne

#9 Le 29/08/2007, à 10:57

belga

Re : [résolu] Grub ne me propose que "Ubuntu, memtest" et XP

réinstaller

oulala
réflex windowsien
lol

Dernière modification par belga (Le 29/08/2007, à 10:57)


Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne