View previous topic :: View next topic |
Author |
Message |
Aaragath n00b
Joined: 10 Apr 2004 Posts: 52
|
Posted: Sun Jan 02, 2005 1:38 am Post subject: Fixing the MBR so I can use gentoo again |
|
|
Ok, I've installed gentoo before, and the partitions are still on this computer, however, I had to reinstall windows so it re-wrote the MBR so grub is no longer what loads the OS, and therefore I have no way to get into my linux paritions. I was wondering if anyone knew if...
A: Gentoo will still work even though I upgraded my motherboard/proc/ram from an AMD 1800+ 512mb DDR pc 2100 RAM with an Epox 8KHA+ mobo (or something like that) to an AMD 3200+ with 1024mb DDR pc 3200 ram and an ASUS A7N8X Mobo
B: If the answer to A is yes, then how do I rewrite either the windows bootloader so that I can load my gentoo paritions or how do I go about re-doing grub (it was a while back that I did this, and I've tried to install gentoo about 7 times, only got it right once =/ ).
Hard drive setup:
Code: |
/dev/hda1 = Windows XP
/dev/hda2 = /boot
/dev/hda3 = /
/dev/hda4 = swap
|
thnx
-Aaragath
If you need more info, my AIM is FireHawkX427 and my msn is star_trekker27@hotmail.com (I made it when I was 12... go figure). My Yahoo! is Aaragath. I suppose you could just post here too, but sometimes realtime chatting is easier and faster. |
|
Back to top |
|
|
hardcore l33t
Joined: 01 Nov 2003 Posts: 626 Location: MSU, MI
|
Posted: Sun Jan 02, 2005 2:30 am Post subject: |
|
|
Ok, I'm guessing that the motherboards are both the same chipset (NFORCE2 w/ athlon-xp). So you should be fine booting up.
Did you happen to make a floppy boot disk? If so it's as easy as:
Code: |
grub
root (hd0, 0)
setup (hd0)
quit |
If not, boot the live cd or Knoppix or something similar that has grub on it, and do the above steps. _________________ Nothing can stop me now, cuz I just don't care. |
|
Back to top |
|
|
Aaragath n00b
Joined: 10 Apr 2004 Posts: 52
|
Posted: Sun Jan 02, 2005 3:09 am Post subject: |
|
|
I did that, but when I typed in "Setup (hd0)" it said "error 17: cannot mount partition"
any suggestions? I did the following to get into grub...
Code: |
mount /dev/hda3 /mnt/gentoo
mount /dev/hda2 /mnt/gentoo/boot
swapon /dev/hda4
chroot /mnt/gentoo /bin/bash
env-update
grub
|
from there I was into grub, is there something else I should have done? |
|
Back to top |
|
|
L.U. Tux's lil' helper
Joined: 28 Jun 2004 Posts: 119 Location: North Carolina, U.S.
|
Posted: Sun Jan 02, 2005 3:16 am Post subject: |
|
|
I may be wrong here, but should it be ? _________________ In linux, getting your computer to do what you want is a science. In windows, it's an art form... |
|
Back to top |
|
|
hardcore l33t
Joined: 01 Nov 2003 Posts: 626 Location: MSU, MI
|
Posted: Sun Jan 02, 2005 3:52 am Post subject: |
|
|
L.U. wrote: | I may be wrong here, but should it be ? |
You're correct. My apologies. _________________ Nothing can stop me now, cuz I just don't care. |
|
Back to top |
|
|
|
|
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
|
|