Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo seems to have killed the 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
thechris
Veteran
Veteran


Joined: 12 Oct 2003
Posts: 1203

PostPosted: Mon Jun 06, 2005 12:43 am    Post subject: gentoo seems to have killed the MBR... Reply with quote

ok, this may be partially my fault. here is what happened in order:
got new computer
moved hard disks around.
installed ubuntu 64bit version. this worked.
network card not detected in ubuntu64. not sure why.
attempted to install gentoo 32bit. upgraded to gcc3.4.4 and glibc2.3.5
attempted to use grub. segfault on: setup (hd0)
used LILO.
attempted to boot -- screen blacks out and goes inactive (sleep led)
attempted to install ubuntu 32
cannot use grub in ubuntu. cannot install lilo (again?) to /dev/hda
inserted universal boot cd
boot cd gets "devide by zero" errors when trying to use any fdisk tools.
running memtest86 currently.
cannot boot a windowsXP cd. I have a feeling this is MS's problem though...

Any idea how to get grub onto the MBR or fix this issue.
_________________
HW problems. It's a VIA thing.
Back to top
View user's profile Send private message
hardcore
l33t
l33t


Joined: 01 Nov 2003
Posts: 626
Location: MSU, MI

PostPosted: Mon Jun 06, 2005 6:45 am    Post subject: Reply with quote

Sounds as if your MBR is fubar, hopefully not a hardware problem. You could try using dd to zero the MBR, then try installing grub/lilo onto it.

I'm not near a command shell at the moment, so forgive me if there are errors in this command. Hopefully someone else can come along, and correct this:


where hdX is your harddrive
Code:
dd if=/dev/zero of=/dev/hdX b=1024


*note command is untested, so don't try this unless you have absolutely nothing to lose on your drive
_________________
Nothing can stop me now, cuz I just don't care.
Back to top
View user's profile Send private message
thechris
Veteran
Veteran


Joined: 12 Oct 2003
Posts: 1203

PostPosted: Wed Jun 22, 2005 6:11 am    Post subject: Reply with quote

complains about the b=1024.

i had fixed the issue by repartionining the drive needlessly. i'm stuck in the same position again... seems i need to modify the partition table and reboot to use grub.
_________________
HW problems. It's a VIA thing.
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