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/06/2007, à 17:46

jajaX

problème de boot

hello

j'ai intallé ubuntu edgy sur mon acer aspire 5610. tout fonctionne bien, à part que windows démarre plus.

voici quelques infos :

sudo fdisk -l

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

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sda1               1         637     5116671   12  Compaq diagnostics
/dev/sda2   *         638        3248    20972857+   c  W95 FAT32 (LBA)
/dev/sda3            3249       14593    91128712+   5  Extended
/dev/sda5            3249        4553    10482381   83  Linux
/dev/sda6            4554        4684     1052226   82  Linux swap / Solaris
/dev/sda7            4685       14593    79594011   83  Linux

sda1 => système de restauration
sda2 => grub + windows XP
sda5 => partition racine
sda7 => home

mon 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=d6f4c462-25bd-4416-9995-f2734f7aa492 ro
# kopt_2_6=root=/dev/sda5 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,4)

## 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

## 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		Linux Mint (KDE), kernel 2.6.17-11-generic
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.17-11-generic root=/dev/sda5 ro quiet splash locale=fr_FR
initrd		/boot/initrd.img-2.6.17-11-generic
quiet
savedefault
boot

title		Linux Mint (KDE), kernel 2.6.17-11-generic (recovery mode)
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.17-11-generic root=/dev/sda5 ro single
initrd		/boot/initrd.img-2.6.17-11-generic
boot

title		Linux Mint (KDE), kernel 2.6.17-10-generic
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.17-10-generic root=/dev/sda5 ro quiet splash locale=fr_FR
initrd		/boot/initrd.img-2.6.17-10-generic
quiet
savedefault
boot

title		Linux Mint (KDE), kernel 2.6.17-10-generic (recovery mode)
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.17-10-generic root=/dev/sda5 ro single
initrd		/boot/initrd.img-2.6.17-10-generic
boot

title		Linux Mint (KDE), memtest86+
root		(hd0,4)
kernel		/boot/memtest86+.bin
quiet
boot

### 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		Acer Restore System
root		(hd0,0)
savedefault
chainloader	+1


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title		Windows XP Media Center Edition
root		(hd0,1)
savedefault
makeactive
chainloader	+1

quand je choisis windows media center (dernier choix), après 2 secondes, il revient sur le menu de grub et recommence son décompte...

note : j'ai cherché ici et dans la doc mais j'ai rien trouvé...


@+
jajaX
Asus X93SM-YZ157V / Asus X93SM-YZ065V sous KDE Neon
ASUS K95VB sous Kubuntu 22.04 Jammy Jellyfish (64 bits) / ACER Aspire 5612 WLMI sous Kubuntu 18.04 Bionic Beaver (32 bits)

Hors ligne

#2 Le 03/06/2007, à 18:28

Compte anonymisé

Re : problème de boot

Salut

Tu peux tenter de remplacer :
root        (hd0,1) par
rootnoverify        (hd0,1) mais je ne suis pas sûr du résultat.

@+

#3 Le 04/06/2007, à 18:31

jajaX

Re : problème de boot

helo

ça ne marche pas hmm

le message qui apparaît est le même qu'au démarrage de grub. il tourne en rond apparemment.


@+
jajaX
Asus X93SM-YZ157V / Asus X93SM-YZ065V sous KDE Neon
ASUS K95VB sous Kubuntu 22.04 Jammy Jellyfish (64 bits) / ACER Aspire 5612 WLMI sous Kubuntu 18.04 Bionic Beaver (32 bits)

Hors ligne

#4 Le 04/06/2007, à 20:05

...

Re : problème de boot

Salut

sda2 => grub + windows XP

Qu'entends tu par là ? Durant l'installation d'Ubuntu tu as installé Grub sur sda2 ?

sudo od -Ax -tx1z -v -N446 /dev/sda2 | grep -i rub

Pour être sûr

#5 Le 05/06/2007, à 00:04

jajaX

Re : problème de boot

hello

la réponse est oui vu qu'il y a le système de restauration sur sda1.

ta commande renvoie :

000180 52 55 42 20 00 47 65 6f 6d 00 48 61 72 64 20 44  >RUB .Geom.Hard D<

on m'avais parlé d'un autre "launcher" (GAG il me semble) mais comme le système est le même... j'ai préféré Grub.


@+
jajaX
Asus X93SM-YZ157V / Asus X93SM-YZ065V sous KDE Neon
ASUS K95VB sous Kubuntu 22.04 Jammy Jellyfish (64 bits) / ACER Aspire 5612 WLMI sous Kubuntu 18.04 Bionic Beaver (32 bits)

Hors ligne

#6 Le 05/06/2007, à 01:50

...

Re : problème de boot

Alors autant te le dire tout de suite, tu as fait une grosse bêtise : il ne faut jamais installer Grub sur une partition Windows. Par contre, on peut l'installer ailleurs et ensuite le copier dans un fichier que l'on place à la racine de la partition C: de Windows si l'on veut amorcer un système Linux avec NTLDR ou l'amorceur de Vista.

À ma connaissance, et si tu tiens vraiment à Windows, il te faut envisager une réparation voire une réinstallation de celui-ci.

Si tu tiens à ne pas installer Grub dans le MBR tu peux l'installer sur sda5 avant de réinstaller Windows, tu pourras ensuite te utiliser NTLDR pour lancer Ubuntu (voir la doc à se sujet) :

sudo -s
grub --batch
grub> find /boot/grub/stage1    --> la réponse devrait être  (hd0,4)
grub> root (hd0,4)                   --> si la réponse était (hd0,4)
grub> setup (hd0,4)
grub> quit

Si tu ne vois pas d'inconvénient à l'installer sur le MBR il te faudra le restaurer après la réparation/réinstallation de ton Windows. (Note, tu peux installer Grub à la fois sur le MBR et sur le BS de ta partition  /(racine) (sda5), ce n'est pas interdit et peut être utile parfois...)

Bon courage

#7 Le 05/06/2007, à 07:07

Compte anonymisé

Re : problème de boot

Salut

Vu les précisions que tu donnes (grub sur sda2) c'est normal que tu reboucles sans arret sur grub.

Pour réparer ça il faudrait te procurer un cd XP, lancer la console de récupération et lancer  fixboot sur ta partition Xp. Voir ici section réparer le secteur de boot. Si tout se passe bien Xp devrait repartir directement.

Ensuite pour retrouver Grub et ubuntu, la solution serait d'installer grub sur sda et non sda1, sda3 ou sda4 etc.. :
A l'aide du livecd :
sudo grub -> grub>   puis :
find /boot/grub/menu.lst -> (hd0,4) puis :
root (hd0,4) et
setup (hd0)  et enfin
quit

@+

#8 Le 05/06/2007, à 15:08

jajaX

Re : problème de boot

ok merci de vos infos. je ne suis pas embétant je veux juste que ça démarre big_smile

oui je veux garder windows, ca c'est portable pro. donc d'avoir les 2, ça peut m'être utile.

je teste tout ça et je vous tiens au courant smile


@+
jajaX
Asus X93SM-YZ157V / Asus X93SM-YZ065V sous KDE Neon
ASUS K95VB sous Kubuntu 22.04 Jammy Jellyfish (64 bits) / ACER Aspire 5612 WLMI sous Kubuntu 18.04 Bionic Beaver (32 bits)

Hors ligne

#9 Le 07/06/2007, à 00:13

jajaX

Re : problème de boot

hello

petit retour quand même pour vous annoncer que cela fonctionne nickel maintenant smile

j'ai donc essayé avec la console mais celle me demandant tout le temps un mot de passe, j'ai pas pu l'utiliser hmm

ensuite, la restauration de windows. j'avais un peu peur qu'elle repartitionne mais finalement non !! elle s'est juste contentée de restaurer les fichiers et le boot de windows.

par contre, j'avais copier coller les instructions de jeanjd63. je ne sais pas si tu l'as fait express pour le "setup (hd0)" mais du coup, je ne sais pas où il s'est installer l'ami Grub lol

enfin bref ça marche. un grand merci à vous 2 wink

edit => petit soucis d'édition du 1er post. il m'en bouffe un peu ce qui fait qu'il en manque des bouts et aussi une balise hmm

donc si un modo peu édité le titre, ça serait sympa merci wink

Dernière modification par jajaX (Le 07/06/2007, à 00:18)


@+
jajaX
Asus X93SM-YZ157V / Asus X93SM-YZ065V sous KDE Neon
ASUS K95VB sous Kubuntu 22.04 Jammy Jellyfish (64 bits) / ACER Aspire 5612 WLMI sous Kubuntu 18.04 Bionic Beaver (32 bits)

Hors ligne

#10 Le 07/06/2007, à 01:53

...

Re : problème de boot

Bravo à toi et merci pour le retour.

(hd0) = MBR

Bonne continuation

#11 Le 07/06/2007, à 23:04

jajaX

Re : problème de boot

... a écrit :

Bravo à toi et merci pour le retour.

wink

... a écrit :

(hd0) = MBR

je pensais bien que c'était ça

... a écrit :

Bonne continuation

merci à toi aussi smile


@+
jajaX
Asus X93SM-YZ157V / Asus X93SM-YZ065V sous KDE Neon
ASUS K95VB sous Kubuntu 22.04 Jammy Jellyfish (64 bits) / ACER Aspire 5612 WLMI sous Kubuntu 18.04 Bionic Beaver (32 bits)

Hors ligne