LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 08-14-2009, 01:22 AM   #1
markg
LQ Newbie
 
Registered: Dec 2004
Distribution: Fedora
Posts: 7
Thanked: 0
Unhappy How to rewrite MBR???


[Log in to get rid of this advertisement]
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
markg is offline  
Tag This Post , ,
Reply With Quote
Old 08-14-2009, 01:44 AM   #2
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 9.04, fedora 11, slackware 12.2
Posts: 359
Thanked: 50
try reinstalling grub from some live cd...i think grub is normally written in MBR..
mobinskariya is offline     Reply With Quote
Old 08-14-2009, 01:56 AM   #3
markg
LQ Newbie
 
Registered: Dec 2004
Distribution: Fedora
Posts: 7
Thanked: 0

Original Poster
Unhappy 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?
markg is offline     Reply With Quote
Old 08-14-2009, 02:07 AM   #4
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 9.04, fedora 11, slackware 12.2
Posts: 359
Thanked: 50
try this..
http://www.google.co.in/url?sa=t&sou...qc5ej3OnR5q3JA
mobinskariya is offline     Reply With Quote
Old 08-14-2009, 02:44 AM   #5
markg
LQ Newbie
 
Registered: Dec 2004
Distribution: Fedora
Posts: 7
Thanked: 0

Original Poster
Unhappy restore grub?

Hi - when I do the find /boot/grub/stage1 as the page asks I get file not found!
markg is offline     Reply With Quote
Old 08-14-2009, 02:53 AM   #6
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 9.04, fedora 11, slackware 12.2
Posts: 359
Thanked: 50
try
Code:
sudo fdisk -l
find the partition in which you have installed fedora.
mobinskariya is offline     Reply With Quote
Old 08-14-2009, 03:19 AM   #7
saivin
Member
 
Registered: Dec 2008
Location: Bengaluru, India
Distribution: CentOS, openSUSE
Posts: 108
Thanked: 8
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.

Last edited by saivin; 08-14-2009 at 03:23 AM..
saivin is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MBR deleted,how to rewrite GRUB in it? jasdeep_js Red Hat 1 08-03-2006 01:38 AM
Disable GRUB to rewrite MBR subhranath Linux - Newbie 7 01-12-2006 05:08 PM
L 80 80 ... How to rewrite MBR? manudath Linux - Software 2 02-27-2005 11:00 AM
Can I rewrite lilo to mbr? spongebob Slackware 5 03-12-2003 11:20 AM
mbr had over write so lilo is gone how to rewrite lilo to mbr mch Linux - Software 4 10-25-2002 03:55 PM


All times are GMT -5. The time now is 01:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration