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 03/01/2009, à 19:07

ulysse63

[Résolu] problème après installation

j'ai installer Linux sans aucun problème sur un second disque dur interne pour pouvoir avoir xp et Linux a part l'un de l'autre.
par contre gros problème au démarrage de mon ordinateur, je n'ai pas le choix du système, c'est ubuntu qui démarre.

configuration de mes disques:
ubuntu sur un 160 giga en maitre
xp sur un 80 giga en esclave.

quelqu'un a une solution pour que je puisse avoir le choix entre mes deux système d'exploitation

Hors ligne

#2 Le 03/01/2009, à 19:26

denis_aec

Re : [Résolu] problème après installation

Alleï, donne nous le retour de :
sudo fdisk -l
cat /boot/grub/menu.lst                 (la fin surtout)

(le principal, c'est quand même qu'Ubuntu démarre, non ? tongue )

Dernière modification par denis_aec (Le 03/01/2009, à 19:34)

Hors ligne

#3 Le 03/01/2009, à 19:42

ulysse63

Re : [Résolu] problème après installation

j'ai rien compris
qu'est ce que tu me demande?

Hors ligne

#4 Le 03/01/2009, à 19:53

denis_aec

Re : [Résolu] problème après installation

Tu ouvres un terminal et tu y entres les 2 commandes, puis tu nous donnes le résultat

Hors ligne

#5 Le 03/01/2009, à 19:56

papillon41

Re : [Résolu] problème après installation

Bonjour,

denis_aec, te demande vite fait :
- d'ouvrir un terminal (l'équivalant  d'une fenêtre DOS). Tu vas trouver dans Applications/Accessoires/Terminal.
- D'y faire un copier/coller de "sudo fdisk -l" puis entrer.
- D'y faire un copier/coller de "cat /boot/grub/menu.lst" puis entrer.
- De nous retourner le resultat de cette commande. Qui va resembler à cela :

# boot


title Ubuntu (Wubi)
root (hd0,0)
makeactive
chainloader +1
boot


# title Windows 95/98/Me
# root (hd1,0)
# makeactive
# chainloader +1
# boot


# title Ubuntu 7.10 (7.10)
# root (hd1,3)
# makeactive
# chainloader +1
# boot

...
...

Dernière modification par papillon41 (Le 03/01/2009, à 19:59)


()Ï() Xubuntu 22.04.2 64bits - AMD A4-3400 sur carte mère MSI A55M-P33 - 4 Go de RAM - ATI HD6410D - 2 SSD 120Go + DD SATA 500Go
Balade à Saint Étienne de Lugdarès
Classification des vins de france
Déclaration, Conventions et Chartes

Hors ligne

#6 Le 03/01/2009, à 19:57

sinbad83

Re : [Résolu] problème après installation

ulysse63 a écrit :

j'ai rien compris
qu'est ce que tu me demandes?

Oui, on fait tous un peu de déformation Ubuntu. Tous les gens qui démarrent, n'ont pas encore forcément la culture de la ligne de commande.
Donc, ce qui t'est demandé est de lancer un Terminal (Applications/Accessoires/Terminal) et ensuite de rentrer la ou les commande(s) indiquée(s) et de fournir la réponse pour éclaicir la situation. Utilise le copier-coller pour assurer le coup. Valable dans les 2 sens.

Dernière modification par sinbad83 (Le 03/01/2009, à 20:11)


La connaissance n'est pas une denrée rare, il faut la partager avec les autres.
Linux registered #484707
Site: www.coursinforev.org/doku.php
Desktop AMD Ryzen 5-3600, RAM 16GB, Ubuntu 20.10,   HP Pavillon G6 Ubuntu 20.10 et Ten, Serveur Ubuntu 18.04

Hors ligne

#7 Le 03/01/2009, à 20:05

ulysse63

Re : [Résolu] problème après installation

ok je vais faire et je tiens au courant

Hors ligne

#8 Le 03/01/2009, à 20:19

ulysse63

Re : [Résolu] problème après installation

problème il me demande un mot de passe pour continuer après avoir rentrer la premiètre ligne de commande que vous m'avez donné

Hors ligne

#9 Le 03/01/2009, à 20:23

sinbad83

Re : [Résolu] problème après installation

ulysse63 a écrit :

problème il me demande un mot de passe pour continuer après avoir rentrer la premiètre ligne de commande que vous m'avez donné

Normal, la première commande commence par sudo pour avoir les droits d'administration, il faut alors donner ton mot de passe. Rien n'apparait à l'écran, et tu fais enter.


La connaissance n'est pas une denrée rare, il faut la partager avec les autres.
Linux registered #484707
Site: www.coursinforev.org/doku.php
Desktop AMD Ryzen 5-3600, RAM 16GB, Ubuntu 20.10,   HP Pavillon G6 Ubuntu 20.10 et Ten, Serveur Ubuntu 18.04

Hors ligne

#10 Le 03/01/2009, à 22:02

ulysse63

Re : [Résolu] problème après installation

voila c'est fait et ca donne ça:

xavier@ulysse63:~$ sudo fdisk -l
[sudo] password for xavier:

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

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sda1   *           1       18986   152505013+  83  Linux
/dev/sda2           18987       19457     3783307+   5  Extended
/dev/sda5           18987       19457     3783276   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: 0x44bb450c

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sdb1   *           1        9728    78140128+   7  HPFS/NTFS
xavier@ulysse63:~$ 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 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        3

## 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=b220a855-ba3b-41e7-ae53-e4b0f1c51895 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=b220a855-ba3b-41e7-ae53-e4b0f1c51895

## 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.10, kernel 2.6.27-9-generic
uuid        b220a855-ba3b-41e7-ae53-e4b0f1c51895
kernel        /boot/vmlinuz-2.6.27-9-generic root=UUID=b220a855-ba3b-41e7-ae53-e4b0f1c51895 ro quiet splash
initrd        /boot/initrd.img-2.6.27-9-generic
quiet

title        Ubuntu 8.10, kernel 2.6.27-9-generic (recovery mode)
uuid        b220a855-ba3b-41e7-ae53-e4b0f1c51895
kernel        /boot/vmlinuz-2.6.27-9-generic root=UUID=b220a855-ba3b-41e7-ae53-e4b0f1c51895 ro  single
initrd        /boot/initrd.img-2.6.27-9-generic

title        Ubuntu 8.10, kernel 2.6.27-7-generic
uuid        b220a855-ba3b-41e7-ae53-e4b0f1c51895
kernel        /boot/vmlinuz-2.6.27-7-generic root=UUID=b220a855-ba3b-41e7-ae53-e4b0f1c51895 ro quiet splash
initrd        /boot/initrd.img-2.6.27-7-generic
quiet

title        Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid        b220a855-ba3b-41e7-ae53-e4b0f1c51895
kernel        /boot/vmlinuz-2.6.27-7-generic root=UUID=b220a855-ba3b-41e7-ae53-e4b0f1c51895 ro  single
initrd        /boot/initrd.img-2.6.27-7-generic

title        Ubuntu 8.10, memtest86+
uuid        b220a855-ba3b-41e7-ae53-e4b0f1c51895
kernel        /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST
xavier@ulysse63:~$

Hors ligne

#11 Le 03/01/2009, à 22:39

denis_aec

Re : [Résolu] problème après installation

Bizarre que tu n'aies pas win dans le menu.lst ! Peux-tu faire :
sudo update-grub
toujours via le Terminal, puis rebooter et voir ce que ça donne.
Si le menu de grub n'apparait pas, redonne nous le résultat de :
cat /boot/grub/menu.lst    (il devrait avoir changé)
et on te dira ce qu'il faut y changer.

Hors ligne

#12 Le 03/01/2009, à 22:54

ulysse63

Re : [Résolu] problème après installation

ok je fais

Hors ligne

#13 Le 03/01/2009, à 22:59

ulysse63

Re : [Résolu] problème après installation

toujours pareil
je vous redonne la deuxième commande
xavier@ulysse63:~$ 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 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        3

## 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=b220a855-ba3b-41e7-ae53-e4b0f1c51895 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=b220a855-ba3b-41e7-ae53-e4b0f1c51895

## 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.10, kernel 2.6.27-9-generic
uuid        b220a855-ba3b-41e7-ae53-e4b0f1c51895
kernel        /boot/vmlinuz-2.6.27-9-generic root=UUID=b220a855-ba3b-41e7-ae53-e4b0f1c51895 ro quiet splash
initrd        /boot/initrd.img-2.6.27-9-generic
quiet

title        Ubuntu 8.10, kernel 2.6.27-9-generic (recovery mode)
uuid        b220a855-ba3b-41e7-ae53-e4b0f1c51895
kernel        /boot/vmlinuz-2.6.27-9-generic root=UUID=b220a855-ba3b-41e7-ae53-e4b0f1c51895 ro  single
initrd        /boot/initrd.img-2.6.27-9-generic

title        Ubuntu 8.10, kernel 2.6.27-7-generic
uuid        b220a855-ba3b-41e7-ae53-e4b0f1c51895
kernel        /boot/vmlinuz-2.6.27-7-generic root=UUID=b220a855-ba3b-41e7-ae53-e4b0f1c51895 ro quiet splash
initrd        /boot/initrd.img-2.6.27-7-generic
quiet

title        Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid        b220a855-ba3b-41e7-ae53-e4b0f1c51895
kernel        /boot/vmlinuz-2.6.27-7-generic root=UUID=b220a855-ba3b-41e7-ae53-e4b0f1c51895 ro  single
initrd        /boot/initrd.img-2.6.27-7-generic

title        Ubuntu 8.10, memtest86+
uuid        b220a855-ba3b-41e7-ae53-e4b0f1c51895
kernel        /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST
xavier@ulysse63:~$

Hors ligne

#14 Le 03/01/2009, à 23:21

sinbad83

Re : [Résolu] problème après installation

Pour voir ton Grub passer au démarrage, il faut modifier ton fichier comme ceci:

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout        [b]10[/b]

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
[b]# hiddenmenu[/b]

Il faut lui laisser 10 secondes d'affichage au lieu de 3 et in ne faut pas le masquer (hiddenmenu à commenter pae un dièze en début de ligne). Ceci ne règle pas le pb, mais au moins, tu vois ce qui passe.
Pour faire apparaitre Windows, il faut peut-être l'ajouter en finale:

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

Tu vérifies que c'est cohérent avec ta config. Tu enregistres et tu rebootes.


La connaissance n'est pas une denrée rare, il faut la partager avec les autres.
Linux registered #484707
Site: www.coursinforev.org/doku.php
Desktop AMD Ryzen 5-3600, RAM 16GB, Ubuntu 20.10,   HP Pavillon G6 Ubuntu 20.10 et Ten, Serveur Ubuntu 18.04

Hors ligne

#15 Le 04/01/2009, à 09:57

ulysse63

Re : [Résolu] problème après installation

je veux bien mais ou je vais pour faire tout ca

Hors ligne

#16 Le 04/01/2009, à 10:11

Compte anonymisé

Re : [Résolu] problème après installation

Salut

Tu tapes dans un terminal la commande :
sudo  gedit  /boot/grub/menu.lst
là comme indiqué ci-dessus tu modifies :
timeout    10
et
#  hiddenmenu    en mettant  le # devant
Ensuite tu ajoutes en fin de fichier après la ligne ### 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
root        (hd1,0)
map  (hd0)  (hd1)
map  (hd1)  (hd0)
savedefault
makeactive
chainloader    +1

@+

#17 Le 04/01/2009, à 11:30

ulysse63

Re : [Résolu] problème après installation

ça y est ça marche
merci a tous pour votre aide.
maintenant j'ai accès a mes deux système au démarrage de mon PC.
je vais pouvoir découvrir ubuntu tranquillement.

merci merci merci beaucoup.

Hors ligne

#18 Le 04/01/2009, à 12:23

sinbad83

Re : [Résolu] problème après installation

Parfait, tu peux marquer Résolu dans le titre de ton post.


La connaissance n'est pas une denrée rare, il faut la partager avec les autres.
Linux registered #484707
Site: www.coursinforev.org/doku.php
Desktop AMD Ryzen 5-3600, RAM 16GB, Ubuntu 20.10,   HP Pavillon G6 Ubuntu 20.10 et Ten, Serveur Ubuntu 18.04

Hors ligne

#19 Le 04/01/2009, à 14:07

ulysse63

Re : [Résolu] problème après installation

comment je marque que c'est résolu

Hors ligne

#20 Le 04/01/2009, à 14:17

®om

Re : [Résolu] problème après installation

ulysse63 a écrit :

comment je marque que c'est résolu

Tu peux éditer ton premier post et rajouter [Résolu] devant le titre.

Pour cette fois, je l'ai fait smile

Hors ligne