View previous topic :: View next topic |
Author |
Message |
NathanZachary Moderator


Joined: 30 Jan 2007 Posts: 2613
|
Posted: Mon Sep 17, 2007 4:27 am Post subject: Mbr |
|
|
Hello all,
If I have to reinstall Window$ for some reason, and it is the primary partition on the primary HDD, I would imagine that it will overwrite the MBR. I was just wondering if the easiest way to get GRUB working again would be to:
1. Reboot using the installation disc.
2. chroot back into the installation environment.
3. Run the setup procedure for GRUB again.
Does that make sense? Are there other things about which I should know?
Thanks preemptively,
Zach _________________ “Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio--- |
|
Back to top |
|
 |
Etal Veteran


Joined: 15 Jul 2005 Posts: 1932
|
Posted: Mon Sep 17, 2007 4:33 am Post subject: |
|
|
Yep, I've done that 3 times and everything went fine
To be on the safe side, you might also want to back up your MBR:
Code: | dd if=/dev/hdx of=mbr.img bs=512 count=1 |
_________________ “And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010 |
|
Back to top |
|
 |
NathanZachary Moderator


Joined: 30 Jan 2007 Posts: 2613
|
Posted: Mon Sep 17, 2007 4:37 am Post subject: |
|
|
Ah, good advice; thank you.  _________________ “Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio--- |
|
Back to top |
|
 |
niceness Tux's lil' helper


Joined: 02 May 2006 Posts: 86 Location: NS, Serbia
|
Posted: Mon Sep 17, 2007 8:51 am Post subject: |
|
|
To backup the bootloader code (without partition table) use 446 bytes. |
|
Back to top |
|
 |
|