-
Junior Member
registered user
use knoppix to save an existing installation
hi. i do have an installation of windows in partition 1 and debian sarge in partition 2. after a reinstallation of windows i lost grub since it wrote in the MBR. is there any way to use knoppix to boot and reinstall grub?if yes please tell me the process. i think it should become sticky.
-
Senior Member
registered user
This is from the Kanotix FAQ, but it should work with Knoppix too:
Windows overwrote my Bootsector. How can I reinstall Grub?
We assume there are 2 harddiscs in the PC: windows is installed on the first harddisc, and KANOTIX is installed on a partition on the second hd, e.g. on hdb5.
Now boot the Live-CD:
Open a Terminal and become root with $ sudo root.
Mount the partition where Kanotix is installed (in our example hdb5)
# mount /media/hdb5
Now rewrite Grub to MBR:
# grub-install --recheck --no-floppy --root-directory=/media/hdb5 /dev/hda
(for KANOTIX's version 2005-03 or older use mnt instead of media)
That's it!
Similar Threads
-
By CanuckFromBaku in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 03-06-2007, 05:31 PM
-
By Bruce Erlichman in forum Hardware & Booting
Replies: 2
Last Post: 06-14-2005, 05:53 PM
-
By soopaluvaman in forum Ideas
Replies: 0
Last Post: 10-08-2004, 09:45 PM
-
By ahfoo in forum General Support
Replies: 1
Last Post: 02-13-2004, 09:10 PM
-
By linuxgrilla in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 04-17-2003, 04:38 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Intel Core i7-3770K 3.5 GHz Processor
$39.00

Intel Core i5-11500 2.70 GHz LGA 1200 Desktop CPU Processor SRKNY
$94.99

Corsair RM750e 750W Fully Modular 80 Plus Gold ATX 3.1 PSU Certified Refurbished
$44.99

GAMING COMBO: ASUS Prime H470M-PLUS MOTHERBOARD + i5-10600KF CPU + 16GB DDR4
$229.95

Intel Core i7-7700 Kaby Lake Quad-Core 3.6 GHz Processor LGA 1151
$39.99

Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor
$69.99

Intel Core i7-7700T 2.9GHz 8MB Socket LGA1151 Quad Core Processor SR339
$39.99

Intel 4th Gen Core i7-4790 SR1QF 3.60GHz (Turbo 4.00GHz) 8M 4-Core LGA-1150 CPU
$39.99

COMBO: ASUS Prime H370M-PLUS MOTHERBOARD + i5-9400F CPU /w Heatsink + 16GB DDR4
$169.95

i9 13900K + Z790 F-Gaming + Rog Ryujin 2
$599.99