Am Mittwoch, den 05.01.2005, 18:00 +0100 schrieb Peter Sch�tt:
> Hallo,
> ich habe auf einem System, wo Win98 und Debian, Kernel 2.4, parallel
> installiert wurde, Win98 neu installiert.
> Jetzt ist nat�rlich der BootLoader weg, was ich vorher leider verga�.
>
> Wie kann ich den am einfachsten wieder herstellen?
Ich habe mir mal in einem Dokument festgehalten, wie es bei mir immer
funktioniert hat mit Windows XP:
Mit einer Installations-CD der Linux Distribution die Linux Installation
booten.
1. SuSE bringt im Startmen� der CDs einen entsprechenden Punkt mit.
Unter Debian kann man linuxbf26 o.�. booten.
2. Grub als root starten mit dem Kommando �grub�
3. Die Linux Partition ausfindig machen (find /boot/grub/stage1)
und Grub wieder in den MBR schreiben:
---------------------------8<----------------------------
GNU GRUB version 0.95 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For the first
word, TABblists possible command completions. Anywhere else TAB
lists the possible completions of a device/filename. ]
grub> find /boot/grub/stage1
(hd0,5)
grub> root (hd0,5)
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 16 sectors are
embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p
(hd0,5)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
---------------------------8<----------------------------
HTH,
Martin