LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-17-2003, 03:05 PM   #1
ThorsHamburger
LQ Newbie
 
Registered: Aug 2003
Posts: 20

Rep: Reputation: 0
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.
 
Old 08-17-2003, 04:32 PM   #2
vexer
Member
 
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
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
 
Old 08-17-2003, 04:45 PM   #3
ThorsHamburger
LQ Newbie
 
Registered: Aug 2003
Posts: 20

Original Poster
Rep: Reputation: 0
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.
 
Old 08-17-2003, 05:04 PM   #4
At0mic_PC
Member
 
Registered: Jul 2003
Location: Mississippi
Distribution: Slack9.1
Posts: 159

Rep: Reputation: 30
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.
 
Old 08-17-2003, 05:15 PM   #5
ThorsHamburger
LQ Newbie
 
Registered: Aug 2003
Posts: 20

Original Poster
Rep: Reputation: 0
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.
 
Old 08-17-2003, 06:35 PM   #6
Zb7
Member
 
Registered: Jul 2003
Location: Cincinnati, Ohio
Distribution: Slackware 9 (current), Gentoo 1.4, Redhat shrike
Posts: 86

Rep: Reputation: 15
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
 
Old 08-17-2003, 06:36 PM   #7
ThorsHamburger
LQ Newbie
 
Registered: Aug 2003
Posts: 20

Original Poster
Rep: Reputation: 0
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.
 
Old 08-17-2003, 10:55 PM   #8
Zb7
Member
 
Registered: Jul 2003
Location: Cincinnati, Ohio
Distribution: Slackware 9 (current), Gentoo 1.4, Redhat shrike
Posts: 86

Rep: Reputation: 15
Post your lilo.conf please
 
Old 08-17-2003, 11:09 PM   #9
GOBY
Member
 
Registered: Feb 2003
Location: Austin TX
Distribution: ArchLinux
Posts: 67

Rep: Reputation: 15
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.
 
Old 08-18-2003, 05:04 AM   #10
ThorsHamburger
LQ Newbie
 
Registered: Aug 2003
Posts: 20

Original Poster
Rep: Reputation: 0
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.
 
Old 08-18-2003, 11:09 AM   #11
Zb7
Member
 
Registered: Jul 2003
Location: Cincinnati, Ohio
Distribution: Slackware 9 (current), Gentoo 1.4, Redhat shrike
Posts: 86

Rep: Reputation: 15
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.
 
Old 08-18-2003, 03:53 PM   #12
ThorsHamburger
LQ Newbie
 
Registered: Aug 2003
Posts: 20

Original Poster
Rep: Reputation: 0
I will do that.

Thank you .

Be back soon.
 
Old 08-18-2003, 04:16 PM   #13
ThorsHamburger
LQ Newbie
 
Registered: Aug 2003
Posts: 20

Original Poster
Rep: Reputation: 0
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) ?
 
Old 08-18-2003, 04:42 PM   #14
Zb7
Member
 
Registered: Jul 2003
Location: Cincinnati, Ohio
Distribution: Slackware 9 (current), Gentoo 1.4, Redhat shrike
Posts: 86

Rep: Reputation: 15
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!
 
Old 08-18-2003, 04:49 PM   #15
ThorsHamburger
LQ Newbie
 
Registered: Aug 2003
Posts: 20

Original Poster
Rep: Reputation: 0
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.
 
  


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
Open bsd messed up my MBR, problem with installing Slackware lilo klemen Slackware 2 04-06-2005 05:37 AM
Installing Lilo with Slackware Hell Cheese Slackware 2 05-02-2004 03:21 PM
Problems installing slackware 9.1 and Lilo Lgoat Linux - Newbie 6 03-13-2004 12:31 PM
Installing lilo on Slackware 9.0 ThorsHamburger Linux - Newbie 1 08-17-2003 03:09 PM
Lilo not working correctly after installing slackware. jpierce09 Slackware 5 07-15-2003 01:04 PM

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

All times are GMT -5. The time now is 10:32 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