Slackware This 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.
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.
|
 |
|
08-17-2003, 03:05 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Posts: 20
Rep:
|
Installing lilo on slackware 9.0
Hi.
I just installed SW 9.0. At the config part of the setup it asked me if I wanted to install lilo. I wanted to intall it on a floppy and not on the hardrive.
It got to a point where It said it couldnt install lilo. SO I chose to SKIP installing it.
Now I have the system installed but I cant boot into it. I have the image install CD and a boot disk.
I want to install lilo so that when I turn my comp on I have the choice to boot into it. If I dont want to boot to SW and instead want to boot to my winXP then I just leave the floppy disk out.
Could someone help.
|
|
|
08-17-2003, 04:32 PM
|
#2
|
Member
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388
Rep:
|
Boot into slackware using the cd. So at the prompt to install what
kernel do, bare.i noinit ro bleh (it shows the example in the screen
so I suggest you read it). After you are booted into your slackware
partition, mount your slackware cdrom and do (as root)
"installpkg /mount/point/slackware/a/lilo-22.4.1-i386-2.tgz"
After it finishes installing lilo, type "liloconfig" in console and
voila, set it up the way you want it and after do a /sbin/lilo
reboot.
I would suggest you read up about dual-booting OR search
these forums for it because I know your next question will be
"Ok, lilo is installed but I have no option to get to windows XP".
And I know that the topic has been covered many a times.
-vexer
|
|
|
08-17-2003, 04:45 PM
|
#3
|
LQ Newbie
Registered: Aug 2003
Posts: 20
Original Poster
Rep:
|
Actually you are almost correct.
I eventually got myslef back into the lilo congif in the install program. I went throught the process and now it only shows the winXP as a choice but no slackware.
Edit: And where in your suggestion does it say how to install it onto the floppy drive.
Last edited by ThorsHamburger; 08-17-2003 at 04:49 PM.
|
|
|
08-17-2003, 05:04 PM
|
#4
|
Member
Registered: Jul 2003
Location: Mississippi
Distribution: Slack9.1
Posts: 159
Rep:
|
It will give you some menu options straight off the ISO CD. One of them is to add a linux partition and the other a dos partition. Well it looks like you may have told it to do the dos but not the linux. Although I don't think this is really what you are asking for anyway. I have no idea how to boot off a floopy drive. Mine is still in my PC, but it is broken. It should have asked you to make a linux boot disk at one point durring the Slackware Linux install.
|
|
|
08-17-2003, 05:15 PM
|
#5
|
LQ Newbie
Registered: Aug 2003
Posts: 20
Original Poster
Rep:
|
I actually did do the linux partition first, then the windows partition.
I think I know whre I messed up though. At the config section when it asks you to choose a kernel to make it boot properly I chose skip. I thought that meant that it would just load the default kernel from the cd. I guess skipping it menas it doesnt install one at all.
Only problem is imnot sure which kernel from the cd to tell it to load.
|
|
|
08-17-2003, 06:35 PM
|
#6
|
Member
Registered: Jul 2003
Location: Cincinnati, Ohio
Distribution: Slackware 9 (current), Gentoo 1.4, Redhat shrike
Posts: 86
Rep:
|
Boot the slackware kernel from the CD. At the command prompt, make a quick dumb mount point. Then mount your harddrive
mkdir /mnt/linux
mount /dev/hdaXY (where you installed) /mnt/linux
cd mnt
cd linux
Then edit your lilo.conf
pico /etc/lilo.conf
Make a block in front of or behind your windows config and add this in:
image=/boot/vmlinuz
root=/dev/hdaXY
label=Slack
read-only
This will load your default kernel and slack should run
|
|
|
08-17-2003, 06:36 PM
|
#7
|
LQ Newbie
Registered: Aug 2003
Posts: 20
Original Poster
Rep:
|
Well I got the system and Lilo installed proerly. I get to the section where it asks me which OS i want to boot, I choose linus , I see the beginning of the loading and thn I get nothing, blank screen and no action. Just hangs. 
|
|
|
08-17-2003, 10:55 PM
|
#8
|
Member
Registered: Jul 2003
Location: Cincinnati, Ohio
Distribution: Slackware 9 (current), Gentoo 1.4, Redhat shrike
Posts: 86
Rep:
|
Post your lilo.conf please
|
|
|
08-17-2003, 11:09 PM
|
#9
|
Member
Registered: Feb 2003
Location: Austin TX
Distribution: ArchLinux
Posts: 67
Rep:
|
hmm.. I think I had a BSOD (blank screen of death) like that once and it was because I had a VESA framebuffer setting in lilo.conf such as: vga=785 and that resolution/number of colors was not supported. If you have one of those, you might want to comment it out or set to a different number.
|
|
|
08-18-2003, 05:04 AM
|
#10
|
LQ Newbie
Registered: Aug 2003
Posts: 20
Original Poster
Rep:
|
Quote:
Originally posted by Zb7
Post your lilo.conf please
|
How do I do that? You need to spell it out like im a 5 year old.
But hold the lolipops.

|
|
|
08-18-2003, 11:09 AM
|
#11
|
Member
Registered: Jul 2003
Location: Cincinnati, Ohio
Distribution: Slackware 9 (current), Gentoo 1.4, Redhat shrike
Posts: 86
Rep:
|
If you are still unable to boot into slackware from lilo, boot from your slackware cd. Then once you get to a command prompt, here are the instructions:
mkdir /mnt/linux
mount /dev/hdaX /mnt/linux
cd /mnt/linux
cd etc
vi lilo.conf
And you will be looking at your lilo.conf, it probably won't be easy for you at that point to get to a browser that'd let you post it, so you might need to write it down for us.
And for all the framebuffer commented lines you can just leave those out and tell us what you vga looks like, and what your linux block of the lilo.conf file looks like. Those are the most important.
Last edited by Zb7; 08-18-2003 at 11:10 AM.
|
|
|
08-18-2003, 03:53 PM
|
#12
|
LQ Newbie
Registered: Aug 2003
Posts: 20
Original Poster
Rep:
|
I will do that.
Thank you .
Be back soon.
|
|
|
08-18-2003, 04:16 PM
|
#13
|
LQ Newbie
Registered: Aug 2003
Posts: 20
Original Poster
Rep:
|
Ok I follwed the commands exactly and this is what showed up on my screen
____________________________________________________
-( flashing cursor)
`
`
`
`
`
`
`
`
`
`
`
`
`
`
"lilo.cfg" line 1 of 1--100%--
___________________________________________________
I have my lilo.cfg installed on a floppy. Do I have to susstitute the drive I mount or use another command to view the floppy(fd0) ?

|
|
|
08-18-2003, 04:42 PM
|
#14
|
Member
Registered: Jul 2003
Location: Cincinnati, Ohio
Distribution: Slackware 9 (current), Gentoo 1.4, Redhat shrike
Posts: 86
Rep:
|
Oh, if you installed LILO on a floppy then yes we will need to see the lilo.conf from there, because that's where it's booting from of course!
|
|
|
08-18-2003, 04:49 PM
|
#15
|
LQ Newbie
Registered: Aug 2003
Posts: 20
Original Poster
Rep:
|
Quote:
Originally posted by Zb7
Oh, if you installed LILO on a floppy then yes we will need to see the lilo.conf from there, because that's where it's booting from of course!
|
So how would what you wrote be different now.
Thanks for your patience.
In other words what commands would I use.

Last edited by ThorsHamburger; 08-18-2003 at 04:58 PM.
|
|
|
All times are GMT -5. The time now is 12:10 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
|
|