GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
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 am going to try to explain this the best way possible. I decided to install slack on my windows machine ( since I liked it soooo much, I have another machine just w/linux),
I made a partion in Windows using partition magic. I assigned 20 gigs for the new linux partition. Fine....
Installation went well until....LILO configuration.
Computer boot up only in SLACK, a friend told me to insert the XP cd and use the recovery consol to fix the MBR...which I did.. command fixmbr in windows recovery console...
BUT when I reboot, no slack, no windows...BOOT FAILED message.
SO I reinstalled Slack, reconfigured LILO, everything appeared fine again.
LILO boots. I see BOTH my OS. LInux & XP. so I choose XP and guess what...
NO BOOT>
then I reboot, and choose SLACK..it does BOOT!
atleast one of the two OS works.
SO finally my question is can I reinstall windows on the other partition without messing up my slack installation?
and how can I fix this? I do need windows on this machine for other people in my house who think that anything besides windows is alien.....
So PLEASE, PLEASE...can anyone help me out.
You're going to need to help us out by posting what you have in your /etc/lilo.conf
I suggest running lilo from when you boot off of the CD. For some reason LILO doesn't install properly when I try to install it when I boot off of my hard drive.
Disk Drive: /dev/hda
Size: 40037760000 bytes, 40.0 GB
Heads: 255 Sectors per Track: 63 Cylinders: 4867
Name Flags Part Type FS Type [Label] Size (MB)
-----------------------------------------------------------------------------
hda1 Boot Primary W95 FAT32 (LBA) 21188.33
hda2 Primary Linux ext2 9903.24
hda5 Logical Linux swap 1044.62
hda6 Logical Linux ext2 7896.27
Your lilo.conf looks okay. Here's what I suggest doing, since I have the same problem as you, or so it sounds:
Boot from your Slack9.1 CD, if you still have it. When it gives you any options as to what kernel or whatever, use bare.i (or is it barei.i?) and make sure that you set the proper partition as your / partition. I leave off the RO tags, so I end up getting errors, but that's the only way I've figured out how to get this to work properly. Once you're booted up with bare.i and have the proper partition mounted automatically (Key thing, when I try to run LILO with the -C flag, it doesn't like my partitions, saying something about an invalid partition or something, but as long as you get the root partition properly mounted right away, you shouldn't have any trouble). Anyway, once everything gets booted up, log in as root and issue lilo. Reboot, and viola, it should work.
Thanks for your help guys with the dual boot issue.
I read online on another linux forum to use the xp cd and run the command fixmbr in the recovery console, but it jacked up things more.
so I just reinstalled XP, then I used the slack cd and did the entire installation without formating my linux partitions (which left my KDE intact with all my own personal docs) and reinstalled LILO, Ta-da ! it worked now I have my dual boot system, and everyone else in my house is happy because now they have their XP back.
Thanks again for your help guys, sometimes the answer is obvious,. but noobs expect the answers to problems in Linux to be far more complicated, but they are not...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.