#26 Le 05/08/2007, à 00:49
- belga
Re : [Résolu] Probleme boot ubuntu et windows
grub> grub> find /boot/grub/stage1
évidemment tu ne dois pas avoir deux fois grub>
Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.
900s entre deux postes: mododoze
Hors ligne
#27 Le 05/08/2007, à 01:01
- theophile76
Re : [Résolu] Probleme boot ubuntu et windows
Ce n'est toujours pas ca ou quoi
Hors ligne
#28 Le 05/08/2007, à 01:13
- belga
Re : [Résolu] Probleme boot ubuntu et windows
tape
sudo grub
puis return puis tape
find /boot/grub/stage1
puis return (poste le retour)
puis tape
quit
puis return, puis
tu tapes
sudo mkdir /panne
puis return puis tape
sudo mount -o rw /dev/sdb1 /panne
puis return puis tape
cat /panne/boot/grub/menu.lst
puis return (poste le retour)
puis tape
cat /panne/etc/fstab
puis return (poste le retour)
puis tape
ls -l /dev/disk/by-uuid/
puis return (poste le retour)
ouf
Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.
900s entre deux postes: mododoze
Hors ligne
#29 Le 05/08/2007, à 01:15
- theophile76
Re : [Résolu] Probleme boot ubuntu et windows
Et ceux que je doi continuer en tapant les codes de cet case ou pas,
Code:
cat /panne/boot/grub/menu.lst
cat /panne/etc/fstab
ls -l /dev/disk/by-uuid/
Hors ligne
#30 Le 05/08/2007, à 01:20
- belga
Re : [Résolu] Probleme boot ubuntu et windows
tu oublies tout et tu regardes le message 28
Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.
900s entre deux postes: mododoze
Hors ligne
#31 Le 05/08/2007, à 01:22
- theophile76
Re : [Résolu] Probleme boot ubuntu et windows
Merci beacoup pour ton aide . j'obtiens :
ubuntu@ubuntu:~$ sudo grub
Probing devices to guess BIOS drives. This may take a long time.
find /boot/grub/stage1
quit
sudo mkdir /panne
sudo mount -o rw /dev/sdb1 /panne
cat /panne/boot/grub/menu.lst
cat /panne/etc/fstab
ls -l /dev/disk/by-uuid/
ubuntu@ubuntu:~$ sudo mkdir /panne
ubuntu@ubuntu:~$ sudo mount -o rw /dev/sdb1 /panne
ubuntu@ubuntu:~$ cat /panne/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=9e5a0c91-fcc6-4754-9e59-3212979249c8 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=9e5a0c91-fcc6-4754-9e59-3212979249c8 ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic
quiet
savedefaulttitle Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd1,0)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=9e5a0c91-fcc6-4754-9e59-3212979249c8 ro single
initrd /boot/initrd.img-2.6.20-15-generictitle 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/sda1
title Windows NT/2000/XP (loader)
root (hd0,0)
savedefault
makeactive
chainloader +1# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Microsoft Windows XP �dition familiale
root (hd0,1)
savedefault
makeactive
chainloader +1ubuntu@ubuntu:~$ cat /panne/etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sdb1
UUID=9e5a0c91-fcc6-4754-9e59-3212979249c8 / ext3 defaults,errors=remount-ro 0 1
# /dev/sdb5
UUID=78f34c68-d46f-4b8e-9471-08efc80edbdd none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
ubuntu@ubuntu:~$ ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 2007-08-05 00:22 58DC-8F3F -> ../../sda1
lrwxrwxrwx 1 root root 10 2007-08-05 00:22 6CF85629F855F236 -> ../../sda2
lrwxrwxrwx 1 root root 10 2007-08-05 00:22 78f34c68-d46f-4b8e-9471-08efc80edbdd -> ../../sdb5
lrwxrwxrwx 1 root root 10 2007-08-05 00:22 9e5a0c91-fcc6-4754-9e59-3212979249c8 -> ../../sdb1
lrwxrwxrwx 1 root root 10 2007-08-05 00:22 C4D04437D044324A -> ../../sda3
ubuntu@ubuntu:~$
Hors ligne
#32 Le 05/08/2007, à 01:31
- belga
Re : [Résolu] Probleme boot ubuntu et windows
Il ne reste que ceci qui a été mal fait
lorsque tape
sudo grub
puis return, attends de voir le message
grub> s'afficher avant de continuer
puis tape
find /boot/grub/stage1
puis return (poste le retour)
puis tape
quit
Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.
900s entre deux postes: mododoze
Hors ligne
#33 Le 05/08/2007, à 02:01
- theophile76
Re : [Résolu] Probleme boot ubuntu et windows
Sa fait maintenant 3/4 d'heure que ca m'affiche ca:
ubuntu@ubuntu:~$ sudo grub
Probing devices to guess BIOS drives. This may take a long time.
ubuntu@ubuntu:~$
C'est normale ou pas
Hors ligne
#34 Le 05/08/2007, à 02:01
- belga
Re : [Résolu] Probleme boot ubuntu et windows
tape
sudo grub-install /dev/sdb
et poste le retour
Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.
900s entre deux postes: mododoze
Hors ligne
#35 Le 05/08/2007, à 02:04
- theophile76
Re : [Résolu] Probleme boot ubuntu et windows
Ala suite de celui ci ou dans un nouveau terminal (dsl mon point dinterogation ne fonctionne pas ...)
Hors ligne
#36 Le 05/08/2007, à 02:13
- theophile76
Re : [Résolu] Probleme boot ubuntu et windows
En le mettant a la fin j'obtient
ubuntu@ubuntu:~$ sudo grub
Probing devices to guess BIOS drives. This may take a long time.
ubuntu@ubuntu:~$ sudo grub-install /dev/sdb
Probing devices to guess BIOS drives. This may take a long time.
Could not find device for /boot: Not found or not a block device.
ubuntu@ubuntu:~$ ~
Hors ligne
#37 Le 05/08/2007, à 02:16
- belga
Re : [Résolu] Probleme boot ubuntu et windows
Sa fait maintenant 3/4 d'heure que ca m'affiche ca:
ubuntu@ubuntu:~$ sudo grub
Probing devices to guess BIOS drives. This may take a long time.
ubuntu@ubuntu:~$C'est normale ou pas
non ce n'est pas normal.
Es tu en raid? bah j'imagine que tu ne sais pas, mais on dirait.
ouvre un terminal et tape ceci
sudo cp /proc/mounts /etc/mtab
return puis tape
sudo grub-install /dev/sdb
et poste le retour
Dernière modification par belga (Le 05/08/2007, à 02:22)
Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.
900s entre deux postes: mododoze
Hors ligne
#38 Le 05/08/2007, à 02:29
- theophile76
Re : [Résolu] Probleme boot ubuntu et windows
Je n'en sait rien mai je vais t'expliquer tous ce que j'ai fait:
J'ai brancher un dd usb (vide) sur ma tour pui j'ai installer ubuntu dans ce disque automatiquement en choisissant "instalation dans un disque entier" dans le menu d'instalation je croix . Je n'ai donc pas eu besoin de partitionner : céétait automatique et je n'ai donc pas toucher a mais 2 dd interne (windows) qui contienne encore toutes leur donner. Mais aucun message de boot ne s'affiche au debut ni pour windows ni pour ubuntu comme j'expliquer au debut de la discution. J'ai aussi esseyer de debrancher mon dd usb afin de demarrer windows xp ... sans succé. J'ai aussi egalment de demarer soi sur le dd usb soi le dd interne ... sans succe . J'ai don remis les parametre du bios par default et j'ai reinstaller ubuntu ... sans succé.
Voila ce que j'ai fait.
Hors ligne
#39 Le 05/08/2007, à 02:34
- theophile76
Re : [Résolu] Probleme boot ubuntu et windows
dsl ... correction (la prochaine fois je me relirer avant) l.7
J'ai egalement esseyer de booter soi le dd usb soi les dd interne avec bios .... sans succé.
Ce qui donne:
e n'en sait rien mai je vais t'expliquer tous ce que j'ai fait:
J'ai brancher un dd usb (vide) sur ma tour pui j'ai installer ubuntu dans ce disque automatiquement en choisissant "instalation dans un disque entier" dans le menu d'instalation je croix . Je n'ai donc pas eu besoin de partitionner : céétait automatique et je n'ai donc pas toucher a mais 2 dd interne (windows) qui contienne encore toutes leur donner. Mais aucun message de boot ne s'affiche au debut ni pour windows ni pour ubuntu comme j'expliquer au debut de la discution. J'ai aussi esseyer de debrancher mon dd usb afin de demarrer windows xp ... sans succé. J'ai egalement esseyer de booter soi le dd usb soi les dd interne avec bios .... sans succé. . J'ai don remis les parametre du bios par default et j'ai reinstaller ubuntu ... sans succé.
Voila ce que j'ai fait.
Hors ligne
#40 Le 05/08/2007, à 02:37
- theophile76
Re : [Résolu] Probleme boot ubuntu et windows
Aprés la manip que tu me demande page37 j'obtient :
ubuntu@ubuntu:~$ sudo cp /proc/mounts /etc/mtab
ubuntu@ubuntu:~$ sudo grub-install /dev/sdb
Could not find device for /boot: Not found or not a block device.
ubuntu@ubuntu:~$
Hors ligne
#41 Le 05/08/2007, à 02:38
- theophile76
Re : [Résolu] Probleme boot ubuntu et windows
Bon j'espere qu'on poura continuer demain cette discution , marci beaucouppppppppppppppppppppppppp pour ton aide car la il se fait tard...
Hors ligne
#42 Le 05/08/2007, à 02:40
- belga
Re : [Résolu] Probleme boot ubuntu et windows
ok, lorsque tu as donneé le retour de la commande
sudo fdisk -l
ton dd usb était-il branché?
Débranche le et poste le retour de
sudo fdisk -l
Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.
900s entre deux postes: mododoze
Hors ligne
#43 Le 05/08/2007, à 02:42
- theophile76
Re : [Résolu] Probleme boot ubuntu et windows
Je vien d'avoir un message me donnan accé a une page intenet surmen a cause de la manip page 32 : To continue, you must log in to Launchpad. a l'adresse : https://launchpad.net/ubuntu/+source/gn … gNQ/+login
Je ne sait pas de quoi il s'agit
Hors ligne
#44 Le 05/08/2007, à 02:46
- theophile76
Re : [Résolu] Probleme boot ubuntu et windows
I est debrancer et avec uniquement ce code j'obtient :
ubuntu@ubuntu:~$ sudo fdisk -l
Disque /dev/sda: 250.0 Go, 250059350016 octets
255 têtes, 63 secteurs/piste, 30401 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octetsPériphérique Amorce Début Fin Blocs Id Système
/dev/sda1 1 1019 8185086 1b Hidden W95 FAT32
/dev/sda2 * 1020 4934 31447237+ 7 HPFS/NTFS
/dev/sda3 4936 30401 204555645 7 HPFS/NTFS
ubuntu@ubuntu:~$
Hors ligne
#45 Le 05/08/2007, à 02:49
- theophile76
Re : [Résolu] Probleme boot ubuntu et windows
Je te reppond demain merci encor
Hors ligne
#46 Le 05/08/2007, à 10:56
- belga
Re : [Résolu] Probleme boot ubuntu et windows
Tu branches l'usb, tu boot dessus.
Arriver à grub, tu dois voir
Ubuntu, kernel 2.6.20-15-generic
tu appuies 2 fois sur la touche e
la tu changes
(hd1,0) en (hd0,0)
tu valides (appuyer sur return)
puis tu appuies sur la touche b
ça devrait booter.
S'il y a un message d'erreur note le.
Dernière modification par belga (Le 05/08/2007, à 10:57)
Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.
900s entre deux postes: mododoze
Hors ligne
#47 Le 05/08/2007, à 12:27
- theophile76
Re : [Résolu] Probleme boot ubuntu et windows
Alors quelqu'un peus m'aider
Hors ligne
#48 Le 05/08/2007, à 12:47
- belga
Re : [Résolu] Probleme boot ubuntu et windows
message 45
Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.
900s entre deux postes: mododoze
Hors ligne
#49 Le 05/08/2007, à 13:01
- theophile76
Re : [Résolu] Probleme boot ubuntu et windows
Alors pour booter sur mon dd usb j'ai apuyer sur f2 pour acceder au bios puis je suis aller dans "boot" et la je vois marquer "hard disk drives" donc je confirm pui option pui je confirme sur mon disque usb mais est - ce comme ca que l'on boot je ne sais pas ...
Au moment ou je voi le bios j'au egalemen apuyer f8 "to display boot order" et j'ai cliquer sur mon dd udb pui s'affiche ;"missing operating system"
Hors ligne
#50 Le 05/08/2007, à 13:16
- belga
Re : [Résolu] Probleme boot ubuntu et windows
tu dois changer l'ordre des démarrages pour que grub se lance comme
lorsque tu as eu l'erreur 2.
Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.
900s entre deux postes: mododoze
Hors ligne