Slackware - Installation This forum is for the discussion of installation issues with Slackware. |
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.
|
 |
06-14-2004, 10:56 PM
|
#1
|
Member
Registered: Sep 2003
Location: 43° 8' N 89° 20' W
Distribution: SUSE primarily, but also Slackware, Fedora, Ubuntu, and KNOPPIX.
Posts: 59
Rep:
|
Fresh Slackware 9.1 installation requires boot disk to boot
Hi, I recently installed Slackware 9.1 successfully on one of my machines, but I think I may have picked the wrong option on the kernel selection screen during the installation. (I'm just guessing, I don't know that I actually picked the wrong option.) Anyway, now in order to boot the machine, I have to supply the boot disk that I made during the installation. Is there any way to reconfigure things so that it'll boot from a kernel on the HD? I'm assuming I can accomplish this without reinstalling. Thanks.
Todd
|
|
|
06-14-2004, 11:48 PM
|
#2
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep: 
|
You probably need to edit /etc/lilo.conf and run 'lilo' as root. If lilo's not even installed, you'd need to install that, then do the above. ...Try running /sbin/liloconfig, actually. I've never tried to install lilo on Slackware after an install (just Basic and maybe some other distros) but it should work. As always with this stuff, be careful.
|
|
|
06-20-2004, 07:01 PM
|
#3
|
Member
Registered: Apr 2001
Location: New Jersey
Distribution: Slackware
Posts: 222
Rep:
|
I, too, just did an install of Slackware 9.1. When it got to the part of installing Lilo, i got an error message of Lilo not being able to be installed. First I chose the Simple "Try to install LILO automatically" I chose to install to my /, which is hdb3. That didn't work, so i tried to install to a floppy: that didn't work either.
Any suggestions? It's slow booting from a floppy!
|
|
|
06-20-2004, 08:45 PM
|
#4
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep: 
|
As above, have you tried running liloconfig or editing lilo.conf manually and running lilo?
Also, what were the error messages; what type of filesystem are you using; what other systems are on your box; could BIOS settings be an issue? Have you run 'expert' and/or tried to install lilo to the MBR?
Also, there's suddenly been a burst of people seeming to have this sort of trouble, so search around, if you haven't yet, and see if any of their experiences help.
Lastly, if you installed from a CD, you should be able to boot from it, too - not as fast as hard drive, but faster than floppy. At the boot prompt, 'bare.i root=/dev/hdb3 noinitrd ro'. The Slack CD has extensive documentation (some somewhat out of date but essentially accurate).
|
|
|
06-21-2004, 08:30 AM
|
#5
|
Member
Registered: Apr 2001
Location: New Jersey
Distribution: Slackware
Posts: 222
Rep:
|
I think liloconfig is the command I used to get the menus described above. I tried it during the install, and again after everything was set up. I do have a boot disk, but that's all.
How do you "run" lilo? My error message said it was not installed, so can I even run it?
The error message was pretty much "Error #1 Lilo was not installed." I'll go back and write it down exactly, but each attempt got me the same error message.
I am running Slack 9.1, / on hdb3, and /boot on hdb1. On hda1 I have winxp. I don't really think Bios could be a problem, because I had Lilo working with another distro a few years ago.
I have tried "expert" but that did not work either. The ONLY thing I did not try was to install Lilo to my MBR. It actually surprised me that I could not install it to even a floppy.
Could you post what the lilo.conf should have on it? I have been reading a lot of posts about Lilo not working, too. I am wondering if it is a slack problem? I am following the Chapter 7 Booting instructions for Lilo. I go all the way through as described, but at the end it says Lilo was not installed. I'm going to go look at exactly what that message was... :-)
|
|
|
06-21-2004, 11:54 PM
|
#6
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep: 
|
I'm not sure about something. 'which lilo' (as root) does return a result, right? The 'not installed' is lilo's error message regarding 'installing' to a boot sector?
If it's not installed, just mount your installation medium and installpkg from there. By 'running it' I just mean issue the command at a prompt in order to reinstall it (or maybe in this case to install it.  )
If it's failing to install (which is what it sounds like) it probably is an error in the lilo.conf. Post that up.
As far as it goes, it's going to vary from setup to setup.
Code:
boot = /dev/hda # device containing the boot sector
default=Slack # default system to boot by label
message = /boot/boot_message.txt # eh...
prompt # means let me pick the system without keyboard gymnastics
timeout = 50 # but do Slack in 5 seconds
change-rules # something about not rewriting the boot-sector
reset
vga = 773 # gimme a big screen with the framebuffer
... # snip a zillion entries
image = /boot/vmlinuz-generic-2.6.7 # fullname of the kernel
label = slackwareB # what lilo's menu displays
root = /dev/hdb5 # where the root fs is
initrd = /boot/initrd.gz # need an initial ramdisk in this case
read-only # mount it read-only initially for fsck
other = /dev/hdb1 # call this other because it's not Linux
label = NT # lilo's menu again
table = /dev/hdb # device containing partition table
master-boot # make NT think it's on hda (or that's my intent)
So yours might be something like
Code:
boot = /dev/hda
default=Slack
message = /boot/boot_message.txt
prompt
timeout = 50
change-rules
reset
vga = 773
image = /boot/yourKernel
label = Slack
root = /dev/hdb3
read-only
other = /dev/hda1
label = NT
table = /dev/hda
That's probably not right but if lilo's installed and you run lilo.conf, it'll walk you through the steps of creating something similar.
|
|
|
06-23-2004, 08:33 PM
|
#7
|
Member
Registered: Apr 2001
Location: New Jersey
Distribution: Slackware
Posts: 222
Rep:
|
I can't believe it, it works! I actually got Lilo to install and then followed the directions to make my nt loader boot lilo, so I can boot Slack! Yes, I know it is a roundabout way, but I have installed Windows so many times I hate losing it accidentlly. I want to wipe it out, piece by piece! So I have my dual-boot system.
Thanks for all the patience and help!
Just in case someone else reads this, here was my problem (I think)...
"Simple" would not work. I had to use "Expert" (which I am not!)
I had to do the step named Begin, and then the step named Linux, and then the step named Install. I think I might have skipped the step named Linux, which actually adds the partition I wanted to boot, stupid me!
Next job: new kernel. Or maybe I should get the new version 10, since I just sort of proved to the world that i can't follow directions? :-)
|
|
|
06-23-2004, 09:06 PM
|
#8
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep: 
|
Glad you got it working. I've never gone the ntldr>lilo route - I prefer lilo running the show - but whatever works.
As far as the new kernel/new version, assuming that was a question and not thinking out loud, whatever makes you happy. It'd probably be better to just explore your new system as is for awhile and then if you get to feeling really comfortable with it (or break it completely  ) you could try upgrading it.
The other argument is that kernel 2.6, udev, and xorg and more makes for quite a bit of change. So you *could* look at as that you're learning things that won't apply in the next version and might as well go ahead and learn the latest first. Merit in either view, I suppose.
Flipside is, with an '01 registration, you've probably already picked up several things, so sticking with this and then making the transition to 10/2.6.7 later would be okay.
|
|
|
All times are GMT -5. The time now is 04:17 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
|
|