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 07/10/2007, à 11:14

jeff65

problème multiboot

Bonjour à tous,
j'ai un problème de boot mais contrairement aux autre, ubuntu boote bien mais plus windows XP pro Lsd 3.5 que je voulais garder en second usage pour certaines applications car j'avais cru comprendre que l'on pouvait faire cohabiter les 2 systèmes et d'ailleurs au départ du boot sur ubuntu la fenetre de choix apparait bien , je chisis windows et crac retour au depart du boot, fenetre MSI de démarrage. au départ j'ai partitionné pour faire 2 partitions, j'ai du oublier quinque chose, pouvez vous m'aiguiller sur une solution ou une piste de façon à ce que le choix soit réel et non théorique , sinon sur ubuntu tout gaze du tonnère, je suis super content !!!
merci à vous tous, @+ jeff65

#2 Le 07/10/2007, à 11:19

Sir Na Kraïou

Re : problème multiboot

salut smile
Essaie avec ça : http://doc.ubuntu-fr.org/Grub
et si tu n'y arrives pas, poste nous le retour de ces deux commandes (sous Ubuntu, tu les tapes dans un terminal et copie colle les résultats ici, entre deux balises "code")

sudo fdisk -l
cat /boot/grub/menu.lst

Dernière modification par la 'tite gogole (Le 07/10/2007, à 11:19)


Descendant de Charlemagne et de LUCA.
Bleu, en l'hommage d'un truc bleu. :'(
C'est pas du bleu.
C'est pas le lac de Genève, c'est le Lac Léman.

Hors ligne

#3 Le 07/10/2007, à 19:41

jeff65

Re : problème multiboot

jeff@jeff:~$ sudo fdisk -l

Disque /dev/sda: 41.1 Go, 41174138880 octets
255 têtes, 63 secteurs/piste, 5005 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sda1               1        5005    40202631    7  HPFS/NTFS

Disque /dev/sdb: 500.1 Go, 500107862016 octets
255 têtes, 63 secteurs/piste, 60801 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sdb1   *           1       60800   488375968+   c  W95 FAT32 (LBA)

Disque /dev/sdc: 80.0 Go, 80026361856 octets
255 têtes, 63 secteurs/piste, 9729 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sdc1   *           1        1912    15358108+   7  HPFS/NTFS
/dev/sdc2            3739        6841    24924847+   b  W95 FAT32
/dev/sdc3            1913        3738    14667345   83  Linux
/dev/sdc4            6842        9729    23197860    7  HPFS/NTFS

Les entrées de la table de partitions ne sont pas dans l'ordre du disque

#4 Le 07/10/2007, à 19:48

jeff65

Re : problème multiboot

le résultat du 2° test, affolant mais en fait j'ai 4 disques prestous partitionnés                                jeff@jeff:~$ cat /boot/grub/menu.lst
# 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=2266590e-3a7d-407b-82d8-457face4fcc0 ro

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

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

## 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 locale=fr_FR

## 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-16-generic
root            (hd0,2)
kernel          /boot/vmlinuz-2.6.20-16-generic root=UUID=2266590e-3a7d-407b-82d8-457face4fcc0 ro quiet splash locale=fr_FR
initrd          /boot/initrd.img-2.6.20-16-generic
quiet
savedefault

title           Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root            (hd0,2)
kernel          /boot/vmlinuz-2.6.20-16-generic root=UUID=2266590e-3a7d-407b-82d8-457face4fcc0 ro single
initrd          /boot/initrd.img-2.6.20-16-generic

title           Ubuntu, kernel 2.6.20-15-generic
root            (hd0,2)
kernel          /boot/vmlinuz-2.6.20-15-generic root=UUID=2266590e-3a7d-407b-82d8-457face4fcc0 ro quiet splash locale=fr_FR
initrd          /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title           Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root            (hd0,2)
kernel          /boot/vmlinuz-2.6.20-15-generic root=UUID=2266590e-3a7d-407b-82d8-457face4fcc0 ro single
initrd          /boot/initrd.img-2.6.20-15-generic

title           Ubuntu, memtest86+
root            (hd0,2)
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/sdb1
title           Microsoft Windows XP Professionnel
root            (hd0,0)
savedefault
makeactive
chainloader     +1


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdb2.
title           Ubuntu, kernel 2.6.20-15-generic (on /dev/sdb2)
root            (hd0,1)
kernel          /boot/vmlinuz-2.6.20-15-generic root=UUID=72df28f8-5b7b-413f-8449-806f5f464bad ro quiet splash locale=fr_FR
initrd          /boot/initrd.img-2.6.20-15-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdb2.
title           Ubuntu, kernel 2.6.20-15-generic (recovery mode) (on /dev/sdb2)
root            (hd0,1)
kernel          /boot/vmlinuz-2.6.20-15-generic root=UUID=72df28f8-5b7b-413f-8449-806f5f464bad ro single
initrd          /boot/initrd.img-2.6.20-15-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdb2.
title           Ubuntu, memtest86+ (on /dev/sdb2)
root            (hd0,1)
kernel          /boot/memtest86+.bin 
savedefault
boot

jeff@jeff:~$

#5 Le 07/10/2007, à 19:49

Sir Na Kraïou

Re : problème multiboot

Windows est installé sur le second disque ?

Dernière modification par la 'tite gogole (Le 07/10/2007, à 19:51)


Descendant de Charlemagne et de LUCA.
Bleu, en l'hommage d'un truc bleu. :'(
C'est pas du bleu.
C'est pas le lac de Genève, c'est le Lac Léman.

Hors ligne

#6 Le 07/10/2007, à 19:56

Sir Na Kraïou

Re : problème multiboot

Si oui, fais
sudo gedit /boot/grub/menu.lst
tu dois retomber sur ce que tu as copié collé ci-dessus.
repère ce passage :

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

Efface-le et mets à la place :

title		Windows
root		(hd1,0)
makeactive
map		(hd0) (hd1)
map		(hd1) (hd0)
chainloader	+1

sauvegarde les modifications, quitte et reboote sur Windows, voir si ça change quelque chose.


Descendant de Charlemagne et de LUCA.
Bleu, en l'hommage d'un truc bleu. :'(
C'est pas du bleu.
C'est pas le lac de Genève, c'est le Lac Léman.

Hors ligne

#7 Le 08/10/2007, à 15:43

jeff65

Re : problème multiboot

Bonjour la 'tite gogole,
bon alors, windows XP est sue le disque principal partionné en 4:
part1=windows,part2=ubuntu,part3=images,part4=musique
2° disque : externe 500Go 3°=externe 40Go les 2 en usb et le 4°,je l'ai enlevé , il a fumé.
j'ai essayé ton truc là, message d'erreur, disque inexistant ou quelque chose comme ça.
maintenant en plus le live cd ne veur plus booter avec message:
/bin/sh:can't access tty; job control turned off
(initramfs)
Comme je suis tout débutant sur linux et ses commandes sur la console, j'avoues que je n'y comprends pas grand chose à vrai dire, je me fais la main comme on dit car depuis les premiers pc en commandes DOS, je n'ais plua refait des trucs comme ça, mais je ne demande qu'à appredre car linux me plait vraiment beaucoup, hélas je ne tapes pas très vite au clavier, c'est un frein aussi !!!
merci pour ton aide , jeff65