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.
Hello!
I installed slackware 10.2 today and I'm full of questions! The most important to solve now is the booting... I used a new HDD 60GB. Using fdisk I created the partitons:
hda1 - 1GB - linux swap
hda2 - 10GB - linux *bootable
hda3 - 30GB - fat(windows)
hda4 - "the rest" - /home
My intention was to use hda4 to create an extented partiton and then creating a fith partition of 1GB for transfering files btw the two O/S but I couldn't work it out how to do it. Anyway, after I had my slackware installed and running I used LILO to load Linux (at this stage hda3 was empty). Now I installed windows and it has changed my boot and when I turn the computer on it loads Windows automatic! Does anyone know how to get my LILO back at boot and add windows to LILO?
The slackware handbook was useful during installation but it only covered very basic aspects. I still have a lot of problems ot solve, so if anyone knows a good slackware for begginers site let me know too !
Thanks!
Now I installed windows and it has changed my boot and when I turn the computer on it loads Windows automatic! Does anyone know how to get my LILO back at boot and add windows to LILO?
Yep. Windows overwrites the MBR upon installation.
Anyhow, getting onto your problem:
Step 1. Boot from the Slackware Install CD (Disc 1)
Step 2. At the 'boot:' prompt, enter this:
Code:
bare.i root=/dev/hda2 noinitrd ro 1
Don't worry if it complains about missing modules.
During the installation I could not install LILO in the MBR, it gave me some error. So I installed it in the root partition. I'll give it a go anyway and post the result ! Thanks
I tried to use the commands, I got no error messages but after reboot... Windows! No choice! I tryed boot part and I could not get it to work. I am thinking... What if I format the partition where I have slackware installed and re-install it? Will this get my LILO back at boot?
I tried to use the commands, I got no error messages but after reboot... Windows! No choice! I tryed boot part and I could not get it to work. I am thinking... What if I format the partition where I have slackware installed and re-install it? Will this get my LILO back at boot?
Reinstalling will not bring you any benefits. For one thing, you installed LILO on to your Linux partition, not the MBR.
Using bootpart will get you a working system without the need to reinstall. All it takes is a few minutes of your time to actually read through the documentation.
It took me barely five minutes to get mine working from download to booting... but then I'm a bloody genius :P. However, even for mere mortals, it wouldn't take more than 15-20 minutes. It really is that easy!
I actually read through the documentation and actually tryed to google out the answer but nothing. The problem with bootpart is that manage to get a boot option at the start, when I turn the computer on, but when I choose to boot Linux I get a message saying it could not boot from HDD please insert a disk and press any key to continue...
???????????????????????????????????????????????????????????????????????????
I installed Lilo to the root, not the MBR. But I could not get LILO to be the first boot screen. Maybe if I had installed in the MBR it would be. SO in this case added the bootsect.lnx line to boot.ini of windows. This gives me a first screen to choose from Windows or Linux, if I choose Linux I get the LILO screen asking me to choose the OS... So it works... not as i wanted but it works...
Ok, one more note... I just reformatted my computer and this time I installed Windows first, then Linux. This time there was no problem to install LILO in the MBR and being in the MBR LILO is the first thing I see at boot, and it gives me the choice btw the operating systems... So now it really works.
The general concensus I've noted in the various linux resources is to create your partitions using whatever fdisk program you desire... Then install Window *first*. Next, install Linux, and load lilo onto your MBR. In my own experience (and I'm guessing, with RKELSON, above) loading lilo anywhere else does not allow your computer to boot, none of mine ever ever have... unless I created a boot floppy. Installing Lilo to your MBR and adding a Windows segment to your /etc/lilo.conf file usually does the trick, with the least effort.
As stated prior... installing Windows after Linux, will 99% of the time, always rewrite your MBR to load windows without prompting to load another OS.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.