| Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-19-2004, 03:28 AM
|
#1
|
|
LQ Newbie
Registered: Aug 2004
Posts: 6
Rep:
|
Using the installation CD to boot and repair the MBR in Mandrake 10
Hi all,
I have a dual boot PC with WinME and Mandrake 10.
My problem is that I have to reinstall WinME. I understand that this will erase the MBR, so I need a way to boot into linux
and repair the MBR (actually reinstall the LILO boot loader).
I tried creating a floppy boot disk, but (as you may know) the floppy sixe is not enough to host the necessary files.
So, I wonder if I could boot from the installation CD (maybe in rescue mode?) and then fix lilo, so I can have the dual boot choice again.
Has anyone tried this?
Please HELP!
|
|
|
|
08-19-2004, 03:48 AM
|
#2
|
|
Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
You can either chroot into your current Mandrake setup (after installing winme of course) and run "lilo" if it is lilo or "grub-install /dev/hda" if it's grub. Another method I sometimes use is to run the GUI installer, select upgrade but not select any packages. It runs as if it's updating the current Mandrake system but doesn't change anything and you get the option of installing a bootloader, so you can just choose the one you want.
|
|
|
|
08-19-2004, 03:58 AM
|
#3
|
|
Member
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611
Rep:
|
boot from the MDK install CD (CD 1 or 2, whichever works for you), let it load, hit F1 for more options at the first screen. that will put you at a login prompt. type rescue, then choose the repair bootloader option. that will reinstall lilo & make MDK bootable again.
otis
|
|
|
|
08-19-2004, 03:59 AM
|
#4
|
|
LQ Newbie
Registered: Aug 2004
Posts: 6
Original Poster
Rep:
|
Thanks,
Can you please explain what you mean here
"You can either chroot into your current Mandrake setup ......."
|
|
|
|
08-19-2004, 04:02 AM
|
#5
|
|
LQ Newbie
Registered: Aug 2004
Posts: 6
Original Poster
Rep:
|
Thanks otish1000c.
I' ll try this
|
|
|
|
08-19-2004, 09:17 AM
|
#6
|
|
Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
chroot
The chroot method is similar to what otish1000c described, but I'll give you a rough guide if it didn't work. You run your installation disk, press F1 for advanced options, type rescue. You will be asked a few questions e.g. "your mandrake root partition". When you are dropped in to a terminal type "chroot /mnt/sysimage" and then "cd /mnt/sysimage/sbin" then run "lilo" or "./lilo". Reboot your PC by using Ctrl-Alt-Del and lilo should be reinstalled.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:10 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|