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.

#101 Le 01/09/2007, à 21:01

flet

Re : [Résolu] problème au niveau de grub, xp et ubuntu ne marchent plus

Ok, Windows se lance maintenant et il n'y a plus de multiboot au démarrage. J'ai donc un WinXP sur une première partition hda1 ; Ubuntu sur une deuxième hda2, encore une partition de données ext2 en hda3 et une de swap en fin de disque. Sauf manip exotique (disque externe ou liveCD) je ne peux pas booter sur Ubuntu, et mon XP semble fonctionner sans pb...

Hors ligne

#102 Le 02/09/2007, à 10:51

belga

Re : [Résolu] problème au niveau de grub, xp et ubuntu ne marchent plus

ce soir je reviens,
fais déjà ceci en live

sudo grub
root (hd0,1)
setup (hd0,1) (hd0,1)

puis

sudo dd if=/dev/hda2 of=~/Desktop/grub.bin bs=512 count=1

ce qui va te donner un fichier grub.bin sur le bureau.
Place ce fichier, dans la racine de windows C:\.
puis on verra
A+


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

900s entre deux postes: mododoze

Hors ligne

#103 Le 02/09/2007, à 22:13

flet

Re : [Résolu] problème au niveau de grub, xp et ubuntu ne marchent plus

belga a écrit :

ce soir je reviens,
fais déjà ceci en live

sudo grub
root (hd0,1)
setup (hd0,1) (hd0,1)

puis

sudo dd if=/dev/hda2 of=~/Desktop/grub.bin bs=512 count=1

ce qui va te donner un fichier grub.bin sur le bureau.
Place ce fichier, dans la racine de windows C:\.
puis on verra
A+

Ok j'ai copié grub.bin sous c:\ . J'ai pris la liberté d'éditer le boot.ini et de rajouter une ligne c:\grub.bin="Ubuntu".

Au boot de la machine, j'ai bien un multiboot qui apparait, me proposant Windows et Ubuntu.
Si je choisis Ubuntu, je tombe sur le multiboot Grub (plusieurs choix, dont Ubuntu et Windows XP).
Si je choisis alors Ubuntu, ça plante (écran noir, curseur clignotant, rien ne se passe).

Dernière modification par flet (Le 02/09/2007, à 22:14)

Hors ligne

#104 Le 02/09/2007, à 22:29

belga

Re : [Résolu] problème au niveau de grub, xp et ubuntu ne marchent plus

Est ce que le menu.lst est correct??
avais tu créé des partitions ou effacer entre temps


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

900s entre deux postes: mododoze

Hors ligne

#105 Le 02/09/2007, à 23:03

flet

Re : [Résolu] problème au niveau de grub, xp et ubuntu ne marchent plus

Pas touché au menu.lst, ni aux partitions entre les 2 manips.

Hors ligne

#106 Le 02/09/2007, à 23:11

belga

Re : [Résolu] problème au niveau de grub, xp et ubuntu ne marchent plus

dans quel ordre est le démarrage dans le bios?


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

900s entre deux postes: mododoze

Hors ligne

#107 Le 02/09/2007, à 23:19

flet

Re : [Résolu] problème au niveau de grub, xp et ubuntu ne marchent plus

Removable devices
CD-ROM Drive
Hard drive

Hors ligne

#108 Le 02/09/2007, à 23:23

belga

Re : [Résolu] problème au niveau de grub, xp et ubuntu ne marchent plus

ok,
dans le menu grub,place toi sur la première entrée d'ubuntu
appui 2 fois sur la touche e
efface vga=xyz de la ligne kernel ...............
appui sur la touche enter
puis b pour booter


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

900s entre deux postes: mododoze

Hors ligne

#109 Le 02/09/2007, à 23:37

flet

Re : [Résolu] problème au niveau de grub, xp et ubuntu ne marchent plus

Hmmm... je n'ai pas de vga=... sur la ligne kernel. J'ai :
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=<un truc à coucher dehors> ro quiet splash

Hors ligne

#110 Le 02/09/2007, à 23:48

belga

Re : [Résolu] problème au niveau de grub, xp et ubuntu ne marchent plus

peux tu faire ceci en live

sudo mount -o rw /dev/hda2 /mnt

et poster
le retour de

cat /mnt/boot/grub/menu.lst

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

900s entre deux postes: mododoze

Hors ligne

#111 Le 03/09/2007, à 00:55

flet

Re : [Résolu] problème au niveau de grub, xp et ubuntu ne marchent plus

# 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=14fda15c-6fd2-43fd-81d0-3f8ee6710ed7 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-15-generic
root        (hd0,1)
kernel        /boot/vmlinuz-2.6.20-15-generic root=UUID=14fda15c-6fd2-43fd-81d0-3f8ee6710ed7 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        (hd0,1)
kernel        /boot/vmlinuz-2.6.20-15-generic root=UUID=14fda15c-6fd2-43fd-81d0-3f8ee6710ed7 ro single
initrd        /boot/initrd.img-2.6.20-15-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/hda1
title        Microsoft Windows XP Professionnel
root        (hd0,0)
savedefault
makeactive
chainloader    +1

Hors ligne

#112 Le 11/10/2007, à 02:20

flet

Re : [Résolu] problème au niveau de grub, xp et ubuntu ne marchent plus

Bon je continue à poster qq infos sur mes aventures. Mes déboires pourront peut-être servir, soit à d'autres qui ont les mêmes, soit à certains qui envisagent d'installer Ubuntu, soit à des développeurs impliqués dans la communauté, qui pourront apporter les contributions utiles à résoudre les problèmes.

Suite à l'échec de l'installation du dual boot Ubuntu/WinXP sur mon disque interne de TC1000, j'ai installé Ubuntu sur un externe USB autoalimenté de 10 Go. J'ai pris soin de demander l'instal de GRUB sur le disque externe, et configuré le bios pour booter en priorité sur l'externe.

La séquence de boot commence, et ô miracle, GRUB se lance. Il propose Ubuntu sur l'externe, XP, et Ubuntu interne (le vestige de ma tentative précédente). Le pb est qu'une fois Ubuntu externe choisi, le boot s'interromp immédiatement, le système se plaignant de ne pouvoir monter une partition (je ne sais pas laquelle, si c'est / ou swap).

Bon décidément, la distro "la plus ergonomique" reste un peu ch... à installer dans un contexte de dual boot...

Hors ligne

#113 Le 11/10/2007, à 03:27

belga

Re : [Résolu] problème au niveau de grub, xp et ubuntu ne marchent plus

place toi sur l'ubuntu externe
puis appui 2 fois sur e
change
root (hd1,X) en (hd0,X)
valide en appuyant sur enter
puis appui sur b

dis nous si ça marche


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

900s entre deux postes: mododoze

Hors ligne