Slackware This Forum is for the discussion of Slackware 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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-01-2006, 08:54 AM
|
#1
|
Member
Registered: Jan 2006
Location: Australia
Distribution: Slackware 12.1
Posts: 173
Rep:
|
Removing Linux/Lilo from MBR
I installed Slackware on my mothers computer because its better than Windows for what she needs (its an old PC) using one of my spare hard drives (/dev/hdb). I left XP on the original drive (/dev/hda), and told Lilo to be installed to the MBR.
I need my drive back, but when I pull it out it won't load Lilo or go to Windows. I understand that it needs the other drive in there to start. I was wondering how to remove it all so the computer boots straight to XP. If I have to format it and reinstall XP I can do that, I was just hoping someone could help me set the computer back to its original state.
Thanks!
|
|
|
09-01-2006, 09:13 AM
|
#2
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
This is asked a lot so if you had searched you could have got an answer quicker than starting a new thread. Take a look here and also search on google for "remove+lilo".
|
|
|
09-01-2006, 09:43 AM
|
#3
|
Member
Registered: Feb 2005
Location: London, UK
Distribution: Gentoo
Posts: 568
Rep:
|
If you have the windows install dvd, you can boot with it. Go to repair console and run fixmbr. That should sort it.
|
|
|
09-01-2006, 09:57 AM
|
#4
|
Member
Registered: Apr 2005
Location: Canada
Distribution: Slackware64-current on Thinkpad Carbon X1
Posts: 264
Rep:
|
If you have a win 98 boot disk (which everyone should imo)
boot with it then type
fdisk /MBR
and that should do it also.
|
|
|
09-01-2006, 01:09 PM
|
#5
|
Senior Member
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914
Rep:
|
Am I the only one in the world where "fdisk /mbr" leaves you with no bootloader what-so-ever? Supposedly, it's supposed wipe the MBR and then re-install the NT bootloader but that has NEVER happened the literal hundred or more times I've done it (I always use a 98 boot disk tho). It does exactally as it suggests. "Formats" the MBR. I always get a black screen after rebooting stating "No hard disks found..."
monsm's suggestion is the only thing that I've found that will re-install the NT bootloader to the MBR....
Last edited by jong357; 09-01-2006 at 01:11 PM.
|
|
|
09-01-2006, 04:54 PM
|
#6
|
Member
Registered: Jul 2006
Location: Suburbs of Lisbon, Portugal
Distribution: Slackware, FreeBSD
Posts: 75
Rep:
|
Hello guys;
The DOS utility "fdisk /mbr" writes a standard PC style Master Boot Record. This MBR will load the primary partition marked "active" ( there can be only one ).
If none of your primary partitions is marked active ( or holds a valid image for booting ) then you'll be unable to boot... Maybe that's the case, jong357?
In any case, if you already have a XP partition on your drive, run fdisk and make sure that that partition is marked "active" and make it active if it's not; after that run "fdisk /mbr" and you should be good to go...
Cheers
|
|
|
09-01-2006, 07:21 PM
|
#7
|
Senior Member
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914
Rep:
|
Ahhhhhh... You could be spot on there... Thanks for the info...
|
|
|
All times are GMT -5. The time now is 10:36 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
|
|