LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 09-20-2003, 08:25 PM   #1
Tayl
LQ Newbie
 
Registered: Jul 2002
Location: IL, USA
Distribution: Debian
Posts: 26

Rep: Reputation: 15
Weird Lilo behavior


I am trying to install Slack 9 so it dual-boots with Windows XP, and the installation went fine. Then, after I rebooted, Lilo loads up, and it has the Slackware and Windows option, so I select Slackware....it says "Loading Slackware......" and then...blank. Confused, I tried again. Same behavior. Getting kind of scared, I tried the Windows option, and THAT booted, so at least I have something. Also, I tried using my Linux bootdisk, and THAT works. Works great. Just using Lilo doesn't let it boot.

So I did some searching, and found that Lilo has trouble working if the partition is a ways back in the disk...which I did. My main partition is Windows, which takes up 25 gigs of my 40 gig hard drive. Then Slack9 takes up the last 15 gigs. So I tried everything it said on the stuff I found through google, and still nothing. I have version 22.4.1 of Lilo, which is supposed to support the lba32 option and let it work.

I'll add my lilo.conf file at the end, so you can read it. Now, just a few minutes ago, I booted into Slackware, and let it run...I noticed that my CPU light on the front of my case was flashing, like Linux was actually loading. Intrigued, I waited until it stopped and typed "root" and then my root password. It flashes for a second, as if responding to my input. I then tried "reboot", and lo and behold, it rebooted! So I guess that it IS booting correctly, but just not displaying it to my screen? Also, after it rebooted, I selected Slackware again, and this time manually restarted it in the middle of the apparent boot-up process. I then used my bootdisk to get into the Slack partition, and while booting, said that the "partition was uncorrectly unmounted and had to be checked" or whatever that error message is when you don't shut down properly. So...it WAS loading? I don't know. I set the option in lilo to just do normal VGA, none of the extra stuff, so....

Here is my lilo.conf file:

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
#compact # faster, but won't work on all systems.
prompt
timeout = 300
lba32
# VESA framebuffer console @ 1024x768x256
#vga = 773
# Normal VGA console
vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda5
label = Slackware
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# DOS bootable partition config begins
other = /dev/hda1
label = Windoze
table = /dev/hda
# DOS bootable partition config ends


All of the partition targets are right....any suggestions? I'm stumped.
 
Old 09-21-2003, 01:13 AM   #2
tjm
Member
 
Registered: Oct 2002
Posts: 55

Rep: Reputation: 15
To check if it IS booting...

in one of the etc/rc.d files, run output something silly to a file, and check to see what happened.
alternatively you could check the last modified dates on /var/log entries.

I had a similar problem, without the possibly booting behaviour. My solution was as follows.
Using any Linux boot disk (freshmeat.org) I mounted by hard-drive, chrooted to /mnt/mylinuxdrive. Installed a new version of LILO (currently I use 22.5.7.2), ran lilo, and rebooted. Then everything was OK.

I have a 40gig HD, Laptop, with Windows taking the first 25 Gigs, so it should be a similar situation to you.

Cheers,

-tjm
 
Old 09-21-2003, 02:09 AM   #3
Tayl
LQ Newbie
 
Registered: Jul 2002
Location: IL, USA
Distribution: Debian
Posts: 26

Original Poster
Rep: Reputation: 15
Alright, well...I followed some instructions from another board. Turns out I wasn't running /sbin/lilo after I changed the lilo.conf file, which meant it wasn't using the new config file. It works now, although I still can't use the framebuffer version, I have to use the normal version, which is weird since I have a system plenty good enough to use it, and the 2.4.20 kernel should be able to do that, right?

Either way, I am able to boot into the command line of Slack 9 now. I'll set up my multihead display tomorrow(after I sober up...I am so drunk right now. ), and see if that works out. Thanks!
 
  


Reply



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
Weird behavior Bassy Linux - Software 2 10-20-2005 01:32 PM
iptables ... weird behavior, please help! matrixcubed Linux - Networking 0 05-09-2005 09:44 AM
Weird Behavior in KDE 3.3 haldara Linux - Newbie 3 09-24-2004 10:59 AM
weird behavior in firefox sether *BSD 5 09-06-2004 04:05 PM
Weird Knode behavior PapaNoHair Mandriva 0 11-09-2003 06:39 PM

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

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