Results 1 to 3 of 3

Thread: Can Knoppix be used to install grub in the MBR

  1. #1
    Junior Member
    Join Date
    Jun 2004
    Posts
    3

    Can Knoppix be used to install grub in the MBR

    Can Knoppix be used to install grub in the MBR for recovery in case of a corrupted MBR, assuming that the same version of grub is also installed in the /boot/grub/ directory of a known boot partition? If yes, what might be the procedure?

  2. #2
    Member registered user
    Join Date
    Dec 2003
    Posts
    41
    Yes. Start grub. At the grub prompt type (for example):

    root (hd2,0)
    setup (hd2)
    quit

    The command root tells grub on which partition /boot/grub can be found. The command setup tells grub where to write the MBR.

    After entering root (hd typing <TAB> shows the possible disks.

    Good luck

  3. #3
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900

    Re: Can Knoppix be used to install grub in the MBR

    Quote Originally Posted by cykick
    Can Knoppix be used to install grub in the MBR for recovery in case of a corrupted MBR, assuming that the same version of grub is also installed in the /boot/grub/ directory of a known boot partition? If yes, what might be the procedure?
    Well first of all....you don't need any partitions marked as bootable. That's a DOS/ntldr thing. Secondly you don't need to have grub already installed.

    It's easy. You need to mount your /root partition.

    mount /dev/hda1 /mnt/hda1
    grub-install --root-partition=/mnt/hda1
    chroot /mnt/hda1
    update-grub
    ctrl+d

    voila!

Similar Threads

  1. How can I install Knoppix without installing Lilo or Grub?
    By Mustang64 in forum Hdd Install / Debian / Apt
    Replies: 9
    Last Post: 05-18-2005, 12:32 PM
  2. Help with install... grub.
    By xlr8r in forum Hdd Install / Debian / Apt
    Replies: 17
    Last Post: 07-30-2004, 03:30 PM
  3. Try to install KNOPPIX 3.3. on my HDD - result was GRUB ;(
    By mike22 in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 04-10-2004, 10:58 AM
  4. I try install KNOPPIX 3.3. on HDD. Result was - GRUB ! :(
    By mike22 in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 03-24-2004, 08:22 AM
  5. how do i install grub?
    By djmihow in forum General Support
    Replies: 3
    Last Post: 02-25-2004, 07:44 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
  •  


AMD EPYC 7282 CPU Processor 16 Cores 32 Threads 2.8GHZ up to 3.2GHZ 120W no lock picture

AMD EPYC 7282 CPU Processor 16 Cores 32 Threads 2.8GHZ up to 3.2GHZ 120W no lock

$76.00



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$419.99



AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor picture

AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor

$319.99



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



AMD Ryzen 5 5600X CPU Processor (4.6GHz, 6 Cores, Socket AM4) picture

AMD Ryzen 5 5600X CPU Processor (4.6GHz, 6 Cores, Socket AM4)

$119.99



Intel Xeon E5-2697 v2 2.7GHz 30M 12-Core LGA2011 CPU Processor SR19H picture

Intel Xeon E5-2697 v2 2.7GHz 30M 12-Core LGA2011 CPU Processor SR19H

$27.99



Intel Core i5-12600KF Desktop Processor 10 (6P+4E) Cores up to 4.9 GHz Unlocked. picture

Intel Core i5-12600KF Desktop Processor 10 (6P+4E) Cores up to 4.9 GHz Unlocked.

$145.59



Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc... picture

Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc...

$444.99



Intel Core i3-10105 10th Gen Comet Lake 4 Quad-Core 3.70 GHz Processor FCLGA1200 picture

Intel Core i3-10105 10th Gen Comet Lake 4 Quad-Core 3.70 GHz Processor FCLGA1200

$31.32



Intel Quad Core i3-12100 3.3GHz 12MB LGA1700 12th Gen. CPU Processor SRL62 picture

Intel Quad Core i3-12100 3.3GHz 12MB LGA1700 12th Gen. CPU Processor SRL62

$45.89