Pas de boot après installation

Bonjour à tous,

J’ai un problème de boot suite à l’installation de Debian 6 en dual boot avec seven.

Les deux OS sont installé sur le même DD, et j’ai installé le bootloader sur la partition racine de Debian.
J’ai remarqué au passage que lors du partitionnement assisté le drapeau de boot etait placé sur la partition /.
J’avais donc bon espoir de booter sur cette partition et d’avoir le choix ensuite entre seven et Debian.

En fait maintenant quand j’allume le pc j’ai ce message :

“Reboot and select proper boot device or insert boot media in selected boot device and press a key” :confused:

Je pense que je vais tenter de remettre le flag comme avant pour récupérer windows…

Voila, dans l’attente de vos conseil, je vous remercie.

Tu peux utiliser supergrub2 pour bouter sur ta Debian et remettre grub en place par la suite.

http://www.supergrubdisk.org/super-grub2-disk/

Si tu le remets “comme avant”, comment escompter démarrer debian:
par un support usb ? un live-cd d’appui ? une disquette de démarrage ? le réseau ? …

Le plus simple serait d’installer grub sur le MBR, c’est-à-dire sur /dev/sda sans numéro de partition en complément de grub sur la partition racine de debian.

edit : c’est bon pour remettre comme avant ça marche :smiley:

J’avais choisi de ne pas installer grub sur /dev/sda pour éviter les soucis en cas de réinstallation de windows ou même le problème d’un tatouage éventuel (je sais pas si ça se fait encore mais bon). Donc autant que possible j’aimerais éviter.

Je vais lancer supergrubdisk pour voir.

C’est super ce truc, limite je peux m’en servir pour booter à chaque fois :dance:

Enfin, maintenant que puis je faire si je veux que mon pc démarre avec grub, me propose Seven ou Debian et le tout sans toucher au bootloader de Windows ?

Je crois comprendre pourquoi ça n’a pas fonctionné en premier lieu… Ma partition racine se trouve être une partition étendue donc surement non bootable (?)

Si c’est le cas je sais ce qui me reste à faire, repartitionner proprement et réinstaller.
Sinon je ne sais pas.

Grand merci à vous en tout cas :023

Pertinent pour freeBSD, MacOS ou Microsoft, aucune incidence pour grub et linux. Grub et linux peuvent s’installer sur partitions primaires ou étendues, avec ou sans drapeau “boot”,

procédure Suse que je n’ai pas testée et dont je ne réponds pas à l’instar de : [quote]"Novell makes no explicit or implied claims to the validity of this information. "[/quote]
NTLDR boot de chez Suzette

novell.com/support/dynamickc … 50378.html

un copier-coller de sa teneur (si le lien tombe dans la minute, demain ou dans deux ans, le contenu perdurera).

[quote]
Situation
Any of the following situations apply in this case :

Microsoft Windows XP overwrites the Master Boot Record (MBR) portion of the hard disk causing the GRUB (GRand Unified Boot) loader to fail to start.
It is desired to bypass the GRUB boot platform and use the NTLDR boot mechanism provided with Microsoft Windows.

Resolution

Locate the primary hard drive that the workstation boots from (typically /boot, but may vary on the system). If this is notknown, consult the additional notes section of this document for a mechanism to locate this information. In the example commands, this document will be using an example where the root partition is stored on the /dev/hda5 partition, making the /dev/hda device name become the primary boot hard disk.
Copy the GRUB master boot record by running the command :

dd if=[PRIMARY PARTITION] bs=512 count=1 of=/root/linux.bin

In the example using /dev/hda, the command would read :

dd if=/dev/hda bs=512 count=1 of=/root/linux.bin

Copy the /root/linux.bin file to a location that can be read from within Windows (e.g. a USB storage device, a floppy disk, or a CD-ROM).
Boot into Microsoft Windows, and run the FIXMBR command to repair the master boot record as Microsoft Windows expects it to be. Note, this command may only be available via the Windows recovery console.
Copy the linux.bin file into the root of the C: drive.
Change directories to the root of the C: drive :

cd \

Alter the attributes of the boot.ini file :

attrib -s -h -r boot.ini

Open the boot.ini file to edit it. It will contain something similar to :

[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 Professional" /noexecute=optin /fastdetect

Add the following line :
c:\linux.bin="SUSE Linux Enterprise Desktop"
The resulting file should look similar to (added line in bold) :

[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 Professional" /noexecute=optin /fastdetect

c:\linux.bin="SUSE Linux Enterprise Desktop"

Save the file and exit.
Set the file attributes back to their original state with the following command:

attrib +s +h +r boot.ini

Reboot and test.[/quote]