Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mbr
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2613

PostPosted: Mon Sep 17, 2007 4:27 am    Post subject: Mbr Reply with quote

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
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1932

PostPosted: Mon Sep 17, 2007 4:33 am    Post subject: Reply with quote

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
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2613

PostPosted: Mon Sep 17, 2007 4:37 am    Post subject: Reply with quote

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
View user's profile Send private message
niceness
Tux's lil' helper
Tux's lil' helper


Joined: 02 May 2006
Posts: 86
Location: NS, Serbia

PostPosted: Mon Sep 17, 2007 8:51 am    Post subject: Reply with quote

To backup the bootloader code (without partition table) use 446 bytes.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum