PDA

View Full Version : Bad Linux Karma


nihili
09-30-01, 09:14 AM
This thread is a break off of the Best Linux thread. I'm trying to get slackware up and running. If you have a different favorite distro, I've probably alread failed at installing it. I'd like to run slackware because this is ultimately destined to be a headless machine primarily doing router/firewall and httpd, ftpd, telnetd work. It's a P133 with about 4 gig of hd, 80 meg of ram, and only a meg of vram. So it should be fine for very light server duty, but it ain't so hot at graphical gewgaws.

Originally posted by Hack

I am a bit confused by what you mean by "first stage" in the boot. Sounds a lot to me like you don't have a kernel sitting there for it to boot, assuming you're telling me you already installed the system at this point. Which I think is the case since you mentioned using a lilo boot disk. Yes?

Now, if you are telling me that you "haven't" got the system installed and you can't get the second stage disk to load, then I ask, Did you format the disks before you made them?

If so, which files did you write to them? bare.i which goes on the first boot disk and color.gz which goes on the second disk? If those are the files you wrote to the disks and you DID format them, I'd kinda figure you've got a bad floppy disk.
Hack

Ok, the install process started with two freshly formatted floppies, bare.1 and color.gz, and the latest slackware cd burned from the .iso. Both floppies loaded into ram, it found the cd, did the partitioning, formatting, assigning mount points, selected software, waited while it loaded everything onto hd, did all the post install configuration stuff it asked about and made a lilo boot disk when it wanted to do that. Finally it said that it was all done and ready to reboot. So I took out the installation media and rebooted. After the bios, first thing on the screen is "Stage 1". That's also the last thing on the screen. I let it sit for an hour just in case. Nothing.

Things I've tried:

Booting from the LILO floppy made during the install -
Same behavior as booting from hd. Gets to Stage 1 and stops.
Booting from the bare

Booting from bare.i
It boots into install. If I pass it "mount root=/dev/hda1" then I can eventually get into a console.

Double checking hardware:
BIOS is updated, boot sequence is floppy then hd. I've since managed to install and boot Mandrake 8.1. But if there's anything I hate worse than a turgid confusing operating system, it's a turgid confusing operating system pretending to be user friendly. Everytime I try to configure something in Madrake it smiles colorfully at me, acts like it's doing something and then goes off for a cup of coffee. It's all very lovely I'm sure, but at least with a config file I know what I'm getting. Anyway, my point is that since mandrake boots fine (from GRUB if that matters) it's not the hardware preventing the boot.

Using a /boot partition.
On the advice of a friend, I reinstalled using a 30 meg /boot partition. Same behavior.

Ok, that's all I can think of for now. Questions? Comments? Suggestions? Taunts?

nihili

David
09-30-01, 10:00 AM
Have you double checked your lilo.conf config file? I once had a problem with GRUB and it just said 'Stage1 Stage2' and stopped.

If it is ultimately destinede to be an on all the time machone then you only need to boot it once. If you can set it up then just leave it to do your work. You aren't giong to reboot a web server that often, and a gateway/firewall/etc can also be left on all the time. I have tried a version of Slackware (7 or 8) and I have to say that I like it. It seemed more responsive and stabler than my fav distro - SuSE ( I can't get by without YaST!).

Debian is also similar to slackware. It is for the open source purists and is more flexible than ... a ... very flexible thing...

Hack
10-01-01, 01:16 PM
I'm kinda confused here. I really don't get why/where you are seeing "stage 1" in the process of booting to a hard drive. I can't honestly say I've ever seen it other than when using boot floppies, but then again, maybe I just haven't been paying enough attention ?















Sounds like the trouble you are seeing is with the Lilo configuration.. When lilo was installed, did you allow it to try using the vesa frame buffer? If so, and your video card isn't vesa compliant, that'd explain why the screen goes blank and it seems like nothing else happens.
You say you can boot from the bare.i floppy, but not the harddrive or Lilo boot disk, right? Being able to boot to the harddrive from bare.i and not either of the other 2 methods sounds an awful lot like a video mode problem to me.
Try this. Boot the system up, no floppies used. Wait a minute or two, and then try using ctrl-alt-del. If it beeps (you do have a speaker in the box, right?) and reboots, you can fairly safely assume it's a lilo/video problem. Either way, if it reboots, you'll know it has completed the boot as otherwise there'd be nothing there to intercept the ctrl-alt-del .. Failing that and the system doesn't reboot, then you can safely assume the kernel isn't loading, for whatever reason.



Lemme know how you make out. You've got me curious now.



Hack