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 10/09/2008, à 13:19

sebchris69

[RESOLU] Pb BOOT sur disque IDE - MBR ecraser ?

Bonjour, j'ai installé un nouveau disque dur SATA sur mon ordi et j'ai mis dessus Windows LSD et ubuntu.

A priori lors de l'install de ubuntu, je n'ai pas touché au disque IDE... Le truc c'est que je n'arrive pas à booter sur le disque IDE sur lequel j'avais un WINLSD mais avec tout bien configurer etc...

Dans le BIOS, il y a plusieurs options pour l'ordre de boot :

Quand je boot sur SATA, j'ai le GRUB avec ubuntu et winLSD (le nouveau à priori)...

Quand je met HDD0, je boote directement sur WINLSD mais le nouveau apparement puisque rien n'est installer etc...

Du coup je pense que je n'arrive plus à booter sur mon ancien winLSD, comment je peux faire pour le retrouver ?
Est-il possible que pour le bios le disque HDD0 soit maintenant la partition SATA où j'ai mis mon nouveau win LSD ? Dans ce cas comment je peux savoir à quel HDD correspond mon disque IDE ?

Dernière modification par sebchris69 (Le 17/09/2008, à 09:47)

Hors ligne

#2 Le 10/09/2008, à 14:36

sebchris69

Re : [RESOLU] Pb BOOT sur disque IDE - MBR ecraser ?

Up

Hors ligne

#3 Le 10/09/2008, à 14:42

Compte anonymisé

Re : [RESOLU] Pb BOOT sur disque IDE - MBR ecraser ?

Salut

Ce qui a pu se passer :
tu aurais installé le bootloader Grub sur le MBR du DD IDE.
Pour en être sûr, il faudrait lister le fichier menu.lst
sudo  gedit  /boot/grub/menu.lst  (entre balises Code pour + de lisibilité)
et donner le résultat, depuis un terminal, de:
sudo  fdisk  -l

@+

#4 Le 10/09/2008, à 14:44

sebchris69

Re : [RESOLU] Pb BOOT sur disque IDE - MBR ecraser ?

OK merci je fais cela ce soir... la je suis au boulot...

Hors ligne

#5 Le 10/09/2008, à 15:29

sebchris69

Re : [RESOLU] Pb BOOT sur disque IDE - MBR ecraser ?

Juste pour info :
Le nouveau WINLSD se situe sur la partition appelée WINDISK
l'ancien winLSD se situe sur le IDE monté sur /media/media je crois cela s'est fait tout seul (en passant le IDE est partitionné en 2 : C: et ZEUS D:)

Si j'efface winLSD nouveau (donc toute la partition WINDISK) et que je copie le c: -> windisk ... est ce que cela marcherait ?

Hors ligne

#6 Le 10/09/2008, à 17:02

sebchris69

Re : [RESOLU] Pb BOOT sur disque IDE - MBR ecraser ?

up +

Hors ligne

#7 Le 10/09/2008, à 20:49

sebchris69

Re : [RESOLU] Pb BOOT sur disque IDE - MBR ecraser ?

sudo gedit  /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		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=bd552dc2-e203-4103-9bb3-72a5b30bcc7e 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

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title		Ubuntu 8.04.1, kernel 2.6.24-19-generic
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=bd552dc2-e203-4103-9bb3-72a5b30bcc7e ro quiet splash
initrd		/boot/initrd.img-2.6.24-19-generic
quiet

title		Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=bd552dc2-e203-4103-9bb3-72a5b30bcc7e ro single
initrd		/boot/initrd.img-2.6.24-19-generic

#title		Ubuntu 8.04.1, kernel 2.6.24-16-generic
#root		(hd0,1)
##kernel		/boot/vmlinuz-2.6.24-16-generic root=UUID=bd552dc2-e203-4103-9bb3-72a5b30bcc7e ro quiet splash
#initrd		/boot/initrd.img-2.6.24-16-generic
#quiet

#title		Ubuntu 8.04.1, kernel 2.6.24-16-generic (recovery mode)
#root		(hd0,1)
#kernel		/boot/vmlinuz-2.6.24-16-generic root=UUID=bd552dc2-e203-4103-9bb3-72a5b30bcc7e ro single
#initrd		/boot/initrd.img-2.6.24-16-generic

title		Ubuntu 8.04.1, 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/sdb1
title		Windows NT/2000/XP (loader)
root		(hd1,0)
savedefault
makeactive
map		(hd0) (hd1)
map		(hd1) (hd0)
chainloader	+1

Hors ligne

#8 Le 10/09/2008, à 20:50

sebchris69

Re : [RESOLU] Pb BOOT sur disque IDE - MBR ecraser ?

sudo  fdisk  -l

Disque /dev/sda: 82.3 Go, 82348277760 octets
255 heads, 63 sectors/track, 10011 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Identifiant disque: 0x78007800

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sda1   *           1        3824    30716248+   7  HPFS/NTFS
/dev/sda2            3825       10010    49689045    f  W95 Etendu (LBA)
/dev/sda5            3825       10010    49689013+   7  HPFS/NTFS

Disque /dev/sdb: 250.0 Go, 250059350016 octets
255 heads, 63 sectors/track, 30401 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Identifiant disque: 0x0fec1037

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sdb1               1        3824    30716248+   7  HPFS/NTFS
/dev/sdb2   *        3825        6256    19535040   83  Linux
/dev/sdb3            6257       30158   191992815    5  Extended
/dev/sdb4           30159       30401     1951897+  82  Linux swap / Solaris
/dev/sdb5            6257        9903    29294496   83  Linux
/dev/sdb6            9904       30158   162698256   83  Linux

Hors ligne

#9 Le 10/09/2008, à 20:56

sebchris69

Re : [RESOLU] Pb BOOT sur disque IDE - MBR ecraser ?

Moi ça ne me parle pas trop ... sad quelqu'un a une idée ?

Hors ligne

#10 Le 10/09/2008, à 22:04

Compte anonymisé

Re : [RESOLU] Pb BOOT sur disque IDE - MBR ecraser ?

Quand tu bootes sur le SATA le bootloader Grub te donne le choix entre ubuntu du SATA  et l'Xp du disque IDE (est-ce le nouveau, l'ancien ???)
Quand tu bootes  sur l'IDE c'est l'XP de l'IDE qui est lancé.

Maintenant il faut lister le boot.ini qui se trouve sur la partition C:\ de l'IDE (de l'Xp qui boote) pour vérifier qu'est-ce qui est réellement lancé.

Tu peux aussi ajouter un pavé Xp en fin de menu.lst pour tester :

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

@+

#11 Le 11/09/2008, à 09:34

sebchris69

Re : [RESOLU] Pb BOOT sur disque IDE - MBR ecraser ?

Tu es sur car que je boote sur le sata et que je choisisse dans le grub XP ou que je boote sur IDE, je me retrouve toujours avec le XP tout neuf non parametré...

Disque /dev/sda: 82.3 Go, 82348277760 octets
255 heads, 63 sectors/track, 10011 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Identifiant disque: 0x78007800

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sda1   *           1        3824    30716248+   7  HPFS/NTFS          => ANCIEN WINLSD
/dev/sda2            3825       10010    49689045    f  W95 Etendu (LBA)
/dev/sda5            3825       10010    49689013+   7  HPFS/NTFS

Disque /dev/sdb: 250.0 Go, 250059350016 octets
255 heads, 63 sectors/track, 30401 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Identifiant disque: 0x0fec1037

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sdb1               1        3824    30716248+   7  HPFS/NTFS           => NOUVEAU WINLSD
/dev/sdb2   *        3825        6256    19535040   83  Linux                 => UBUNTU
/dev/sdb3            6257       30158   191992815    5  Extended
/dev/sdb4           30159       30401     1951897+  82  Linux swap / Solaris
/dev/sdb5            6257        9903    29294496   83  Linux
/dev/sdb6            9904       30158   162698256   83  Linux

Normallement c'est ce que j'ai essayé de faire (ct pour conservé winLSD ancien histoire de le gardé si cela se passé mal et aussi recuperer mes certificats, marque pages etc...

Hors ligne

#12 Le 11/09/2008, à 09:37

sebchris69

Re : [RESOLU] Pb BOOT sur disque IDE - MBR ecraser ?

Ah oui et aussi pour garder les jeux installés dans l'ancien winLSD... mais la comme je n'arrive que a lancer le LSD tout beau tout nouveau, pour lui rien n'est installer... même si quand je vais dans C: je tombe sur mon ancien PROGRAM FILES
...

Bref je comprend plus rien...

Bon je vais lister le boot.ini ce soir...

Hors ligne

#13 Le 11/09/2008, à 10:26

sebchris69

Re : [RESOLU] Pb BOOT sur disque IDE - MBR ecraser ?

Pour moi j'ai l'impression de faire ceci :

quand je boot sur l'IDE (HDD0) =>
/dev/sdb1               1        3824    30716248+   7  HPFS/NTFS           => NOUVEAU WINLSD

quand je boot sur SATA =>
/dev/sdb2   *        3825        6256    19535040   83  Linux                 => UBUNTU
ou
/dev/sdb1               1        3824    30716248+   7  HPFS/NTFS           => NOUVEAU WINLSD

mais j'ai peut être tout faux...

Dernière modification par sebchris69 (Le 11/09/2008, à 10:27)

Hors ligne

#14 Le 12/09/2008, à 08:01

sebchris69

Re : [RESOLU] Pb BOOT sur disque IDE - MBR ecraser ?

J'ai pas eu le temps hier de lister le boot.ini... je ferais cela ce soir je pense...

Entre temps si quelqu'un a une idée ?

Hors ligne

#15 Le 15/09/2008, à 20:15

sebchris69

Re : [RESOLU] Pb BOOT sur disque IDE - MBR ecraser ?

Voici le boot.ini de l'XP sur le disque IDE :

[boot loader]

timeout=0

default=multi(0)disk(0)rdisk(1)partition(1)\WINDOWS

[operating systems]

multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="Microsoft Windows XP Professionnel" /noexecute=optin /fastdetect /kernel=oemkrnl.exe

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professionnel" /noexecute=optin /fastdetect /kernel=oemkrnl.exe

Alors il est ou mon ancien XP???

Hors ligne

#16 Le 15/09/2008, à 20:17

sebchris69

Re : [RESOLU] Pb BOOT sur disque IDE - MBR ecraser ?

Sinon j'ai trouvé aussi un fichier boot.ini.backup :

[boot loader]

timeout=3

default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

[operating systems]

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professionnel" /noexecute=optin /fastdetect /kernel=oemkrnl.exe

Hors ligne

#17 Le 15/09/2008, à 20:28

sebchris69

Re : [RESOLU] Pb BOOT sur disque IDE - MBR ecraser ?

J'ai aussi rajouté les lignes :

]
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title        Windows NT/2000/XP sur SATA
root        (hd0,0)
savedefault
makeactive
chainloader    +1

Donc lors du choix de l'os il y a marqué XP sur SATA puis quand je lance :

starting up
NTLDR manquant...
CTRL + AlT + sup pour redemarrer

Hors ligne

#18 Le 16/09/2008, à 06:03

Compte anonymisé

Re : [RESOLU] Pb BOOT sur disque IDE - MBR ecraser ?

sebchris69 a écrit :

Voici le boot.ini de l'XP sur le disque IDE :

[boot loader]
timeout=0
default=multi(0)disk(0)rdisk(1)partition(1)\WINDOWS

[operating systems]
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="Microsoft Windows XP Professionnel" /noexecute=optin /fastdetect /kernel=oemkrnl.exe
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professionnel" /noexecute=optin /fastdetect /kernel=oemkrnl.exe

Salut
J'ai mis en gras les causes du démarrage de ton nouveau Xp (sur sata) sur le disque IDE.

Si tu veux que le boot sur ce disque ide te fasse démarrer sur ton ancien Xp il faut le modifier ainsi :

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professionnel IDE" /noexecute=optin /fastdetect /kernel=oemkrnl.exe
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="Microsoft Windows XP Professionnel SATA" /noexecute=optin /fastdetect /kernel=oemkrnl.exe

@+

Dernière modification par Compte anonymisé (Le 16/09/2008, à 06:04)

#19 Le 16/09/2008, à 08:10

sebchris69

Re : [RESOLU] Pb BOOT sur disque IDE - MBR ecraser ?

OK je vais essayer ce soir...

Merci beaucoup jeanjd63...

En fait je me demande même pourquoi j'ai fait une nouvelle install de winXP... je crois que c'était pour que celui ci soit sur le SATA (plus rapide) mais bon comme normallement je devrais l'utiliser de moins en moins... enfin si j'arrive à résoudre mes problèmes avec HARDY...

Dernière modification par sebchris69 (Le 16/09/2008, à 08:12)

Hors ligne

#20 Le 17/09/2008, à 09:46

sebchris69

Re : [RESOLU] Pb BOOT sur disque IDE - MBR ecraser ?

Ok Merci Ca Marche !!!!

Super...:p

Hors ligne