LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-07-2004, 03:22 PM   #1
bopo119
LQ Newbie
 
Registered: Feb 2004
Location: Earth
Distribution: Mandrake 9.2
Posts: 14

Rep: Reputation: 0
Question Restore bootloader


Sorry, this is kind of a dumb question and I should probably already know this... but if I were to upgrade to say, a server version of Windows, and it erases my bootloader, is there any way to restore it? Like with the Mandrake 9.2 cds? Hehe... sorry.
 
Old 06-07-2004, 03:42 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Create a boot disk for your Linux, then you can still boot, and from there either re-run lilo or use grub setup to reinstall the bootloader.

You could check to see if yoyr installation CD has a recovery option ( most do ) and from their you could do the same thing.

Last edited by leonscape; 06-07-2004 at 03:43 PM.
 
Old 06-07-2004, 04:14 PM   #3
bopo119
LQ Newbie
 
Registered: Feb 2004
Location: Earth
Distribution: Mandrake 9.2
Posts: 14

Original Poster
Rep: Reputation: 0
Okay, thank you very much! Do you happen to know how to do that in Mandrake 9.2? or does anyone? or do the download CDs come with it?
 
Old 06-07-2004, 04:35 PM   #4
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
You can do the from the Mandrake control centre, I couldn't get more Info becuase I'm not int the Mandrake Club. If you are this is the link to the Instructions.
 
Old 06-08-2004, 06:09 AM   #5
v00d00101
Member
 
Registered: Jun 2003
Location: UK
Distribution: Fedora 8, Centos 5.1
Posts: 480

Rep: Reputation: 30
Or you could just copy the current mbr to a floppy disk and set up ntldr to let you boot to windows and linux.

dd if=/dev/hda of=/mnt/floppy/linux.mbr bs=512 count=1

then boot to windows and copy the linux.mbr to c:\

edit c:\boot.ini

add under the [operating systems] tag:

C:\linux.mbr="Linux"

Reboot and test it.

If you need to restore the linux mbr, simply change the dd command around.

dd if=/mnt/floppy/linux.mbr of=/dev/hda bs=512 count=1
 
Old 06-08-2004, 08:23 AM   #6
blinux1
Member
 
Registered: Nov 2002
Location: Pennsylvania
Distribution: Mandrake 9.1 and Redhat 9
Posts: 144

Rep: Reputation: 15
the mandrake 9.2 installation cds usually do to reinstall the bootloader. What you need to do is boot to the install cds, go thru a little of the setup until it prompts you what you want it to do: install mandrake fullly again, OR upgrade the box. If you choose upgrade your data won't be lost but your bootloader will be reinstalled, probably automatically configured properly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to remove LILO and restore Windows Bootloader RobertRBuce Linux - Newbie 14 10-20-2009 05:08 AM
Windows 2000 Bootloader vs. Mandriva LILO Bootloader Dregnan Mandriva 7 12-03-2007 09:55 PM
How can I restore my Linspire 4.0 bootloader mir_sheely Linspire/Freespire 1 08-05-2004 07:10 PM
Remove Linux, Restore WINXP Bootloader costasm Linux - General 2 07-31-2004 07:41 AM
Shut out and need to restore/rewrite a mis-configured bootloader!!! (PowerPC) sebyte Debian 2 06-09-2004 11:28 AM


All times are GMT -5. The time now is 07:26 AM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration