LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   How to rewrite MBR??? (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/how-to-rewrite-mbr-747456/)

markg 08-14-2009 01:22 AM

How to rewrite MBR???
 
Hi,

I have just tried to install Fedora 11 from the Live CD. I think it over-wrote my MBR, as now when I boot, I get "Non-system disk or disk error/ replace and strike any key when ready".

How do I reinstall a bootable MBR. Can grub do this from the live CD?

Laptop Specs:
HP Elitebook 2530p
2048 MB Ram
Intel Core Duo CPU L9400 1.86Ghz
BIOS: INTEL 1659

NB. I am trying to dual boot Windows and Fedora. Can't access Windows. Ideally I would like to get access to both (much as I love Linux :), pragmaticly, either will do to start with...

Regards, Mark

mobinskariya 08-14-2009 01:44 AM

try reinstalling grub from some live cd...i think grub is normally written in MBR..

markg 08-14-2009 01:56 AM

how to find my way around partition table?
 
Hi,

I am able to load the Fedora 11 live cd, and from there i can access the command grub-install, but I am a newbie and know v little about finding my way around the partitions, let alone the complex lvm structure the installer has set up. how do i find out what device to install grub to?

mobinskariya 08-14-2009 02:07 AM

try this..
http://www.google.co.in/url?sa=t&sou...qc5ej3OnR5q3JA

markg 08-14-2009 02:44 AM

restore grub?
 
Hi - when I do the find /boot/grub/stage1 as the page asks I get file not found!

mobinskariya 08-14-2009 02:53 AM

try
Code:

sudo fdisk -l
find the partition in which you have installed fedora.

saivin 08-14-2009 03:19 AM

Hi mark,
Did you complete the installation?

As suggested give the output of
Code:

su
fdisk -l

When you know your root partition say /dev/sda3 then as root do
Code:

mkdir /tmp/fed
mount /dev/sda3 /tmp/fed
chroot /tmp/fed
grub-install /dev/sda

If your installation was successful then when you reboot you would be able to boot.

Btw, have you got seperate /boot? I'm not updated but last time I tried Fedora11, it wanted a seperate /boot with ext3 filesystem and the / with ext4.


All times are GMT -5. The time now is 03:58 PM.