LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 06-14-2004, 10:56 PM   #1
smithtodda
Member
 
Registered: Sep 2003
Location: 43° 8' N 89° 20' W
Distribution: SUSE primarily, but also Slackware, Fedora, Ubuntu, and KNOPPIX.
Posts: 59

Rep: Reputation: 15
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
 
Old 06-14-2004, 11:48 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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.
 
Old 06-20-2004, 07:01 PM   #3
linda
Member
 
Registered: Apr 2001
Location: New Jersey
Distribution: Slackware
Posts: 222

Rep: Reputation: 30
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!
 
Old 06-20-2004, 08:45 PM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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).
 
Old 06-21-2004, 08:30 AM   #5
linda
Member
 
Registered: Apr 2001
Location: New Jersey
Distribution: Slackware
Posts: 222

Rep: Reputation: 30
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... :-)
 
Old 06-21-2004, 11:54 PM   #6
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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.
 
Old 06-23-2004, 08:33 PM   #7
linda
Member
 
Registered: Apr 2001
Location: New Jersey
Distribution: Slackware
Posts: 222

Rep: Reputation: 30
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? :-)
 
Old 06-23-2004, 09:06 PM   #8
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't boot installation disk RayQ Slackware 25 12-28-2004 08:18 PM
Slackware freezes during boot up after fresh install Dachy Linux - Laptop and Netbook 1 08-23-2004 08:18 AM
using installation disk to boot slackware 9.1 paul62 Slackware 3 07-02-2004 08:21 AM
Fresh Fedora Installation wont boot up? don_dimo Linux - Software 1 01-19-2004 06:54 PM
Can't boot after fresh install of Slackware Darvocet Linux - General 2 02-22-2003 10:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 01:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration