http://wiki.bralug.de/index.php?title=GRUB_nach_Windowsinstallation_wieder_restaurieren&feed=atom&action=historyGRUB nach Windowsinstallation wieder restaurieren - Versionsgeschichte2024-03-29T05:59:50ZVersionsgeschichte dieser Seite in BraLUG-WikiMediaWiki 1.19.1http://wiki.bralug.de/index.php?title=GRUB_nach_Windowsinstallation_wieder_restaurieren&diff=2174&oldid=prevMaD: generischer Ansatz2005-08-31T13:02:07Z<p>generischer Ansatz</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">Nächstältere Version-></td>
<td colspan='2' style="background-color: white; color:black;">Version vom 31. August 2005, 13:02 Uhr</td>
</tr><tr><td colspan="2" class="diff-lineno">Zeile 1:</td>
<td colspan="2" class="diff-lineno">Zeile 1:</td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">[[Category:Tipps und Tricks]]</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Wird durch eine (immer mal wieder notwendig werdende) Windows-Neuinstallation der MBR überschrieben, kommt man nicht mehr an eine parallel existierende Linuxinstallation ran, weil der vorher im Bootsektor vorhandene GRUB-Aufruf eleminiert wurde.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Wird durch eine (immer mal wieder notwendig werdende) Windows-Neuinstallation der MBR überschrieben, kommt man nicht mehr an eine parallel existierende Linuxinstallation ran, weil der vorher im Bootsektor vorhandene GRUB-Aufruf eleminiert wurde.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">Zeile 12:</td>
<td colspan="2" class="diff-lineno">Zeile 14:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Nun sollte wieder bekanntes GRUB-Bootmenü erscheinen.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Nun sollte wieder bekanntes GRUB-Bootmenü erscheinen.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">==Knoppix==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">Das Ganze funktioniert auch mit einer Knoppix oder ähnlichen Live-CDs. Bei Knoppix muss man jedoch aufpassen,</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">die Root-Partition (bspw. <code>/dev/hda5</code>) nicht mit dem Automounter, sondern per Hand so zu mounten (Partition und Dateisystemtyp entsprechend angepasst):</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> mount -t ext3 -o dev,exec /dev/hda5 /mnt/hda5</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">Danach wie oben beschrieben:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> chroot /mnt/hda5</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> grub-install /dev/hda</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> '''^D'''</ins></div></td></tr>
</table>MaDhttp://wiki.bralug.de/index.php?title=GRUB_nach_Windowsinstallation_wieder_restaurieren&diff=630&oldid=prevBergeruw am 25. August 2005 um 12:51 Uhr2005-08-25T12:51:46Z<p></p>
<p><b>Neue Seite</b></p><div>Wird durch eine (immer mal wieder notwendig werdende) Windows-Neuinstallation der MBR überschrieben, kommt man nicht mehr an eine parallel existierende Linuxinstallation ran, weil der vorher im Bootsektor vorhandene GRUB-Aufruf eleminiert wurde.<br />
<br />
Was ist zu tun?<br />
* von der Linux-Setup-CD (o.ä.) booten und im rescure-Mode starten (z.B. bei RH9 im Boot-Prompt ''linux rescure'' eingeben)<br />
* mittels ''grub-install'' Bootsektor neu schreiben:<br />
<br />
chroot /mnt/sysimage <br />
grub-install /dev/hdx<br />
exit<br />
<br />
Für x ist die entsprechende Platte anzugeben (a - Master am 1. IDE-Kanal, b - Slave am 1. IDE-Kanal usw.)<br />
<br />
Nun sollte wieder bekanntes GRUB-Bootmenü erscheinen.</div>Bergeruw