linux boot recovery
Bill Holt
william_holt at speakeasy.net
Mon Aug 25 22:09:37 EDT 2003
For grub users;
get yourself to another linux system:
cd /usr/share/grub/i386-pc
now make a raw boot floppy:
dd if=stage1 of=/dev/fd0 bs=512 count=1
dd if=stage2 of=/dev/fd0 bs=512 seek=1
boot with the disk and enter these three commands:
(note * I am assuming winME is first, swap second, extX third, adjust accordingly, also your kernel is probably called vmlinuz-2.something)
root (hd0,2)
kernel /boot/vmlinuz root=/dev/hda3
boot
Now once you have your system booted, go to /usr/share/grub and run:
grub-install /dev/hda
(note * I am assuming your first ide disk 'hda')
More information about the Discuss
mailing list