SlackwareThis 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.
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.
I orginally had WinXP installed. I then installed Slackware on a new partition. I now wish to remove Slackware and the LILO boot loader. When installing i wrote LILO to the MBR thinge. Now if i use lilo -u /dev/hda to uninstall LILO, i get an error on starting up "missing operating system". (Luckily i had a slackware boot disk lying around to replace lilo). So how can I get rid of Slackware and LILO, but leave WinXP?
You might be lucky and have the ability to check from another partition.
You might be looking at a bad sector on your MBR. In which case there is only one thing you can do... use the drive warranty and get it replaced.
If you can't restore the MBR, it sounds like your hard drive is borked or the IDE controller is gone.
Just by chance, have you used fdisk in linux to verify the windows partition is there? You might have removed your XP partitions by accident or simply corrupted the partition table.
fdisk /dev/hda
Then p for print and when done reading, q for quit (m for help)
yes im sure winXp exists, as im on it rite now! (slackware couldnt detect network card and neva got round 2 fixing it).
so far,
"lilo -u /dev/hda" gives an error on start-up missing operating system
"fixmbr" gives the same error
and im not doing fdisk /mbr incase something goes completely wrong.
EDIT:
If i have LILO boot straight to XP without showing the prompt/menu, is it safe to remove the linux partions? Plz be very sure when you answer me here as linux as been my way-out to reconfigure LILO wen something goes wrong!
Last edited by Pr0metheus; 03-19-2005 at 03:33 PM.
and im not doing fdisk /mbr incase something goes completely wrong.
I
I have done this a million times.. nothing will go wrong.. it simply takes everything out of your mbr and totally re-writes it with the microsoft defaults.. this is the only I have ever been able to remove lilo and it has worked for me at least 10 times (million was an exageration :P )
I found a solution! When slackware was installed, LILO was written to the MBR and the linux parition set as the "active" one. So when fixmbr was run, it did fix the MBR, but for the linux partition.
The solution was:
Boot on XP
Use the disk manager to set the WinXP partion to active
Restart to System Recovery
fixmbr
and thats it sorted (i hope)
I loads straight to XP without any mention of LILO, so im hoping that means I can get rid of the linux partions now!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.