LinuxQuestions.org
Visit Jeremy's Blog.
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 07-06-2002, 03:08 PM   #1
Kellvyn
LQ Newbie
 
Registered: Jun 2002
Posts: 7

Rep: Reputation: 0
kernel hangs/loops when booting


I'm using a Dell Latitude LM (P90, circa 1996), and trying to make ZipSlack 8.1 work. The floppy drive is sketchy at best, so I copied the files directly onto the hard drive. When I was copying the files, I had trouble copying the driectories in
/lib/modules/2_4_18.{__/kernel/drivers/char/ftape/
so I just made the directories, left them empty, and hoped for the best.

Following the instructions in the readme.1st file, I restarted in ms-dos mode, went to the \linux directory, and ran "linux". When the kernel is loading, I get the following lines:

INIT: version 2.84 booting
INIT: cannot execute "etc/rc.d/rc.S"
INIT: Entering runlevel: 3
INIT: cannot execute "etc/rc.d/rc.M"

I get MANY lines saying:
INIT: cannot execute "/sbin/agetty"

and:
INIT: ID "x" respawning too fast: disabled for 5 minutes
(where x={c1,c2,c3,c4,c5,c6})

These two lines (with different ID's in the respawning line) just keep on coming (after 5 minutes, of course). I'm using the default inittab that ZipSlack came with. Those entries set up agetty for the 6 virtual consoles. inittab says that these are used for multi-user mode, so it seems that maybe if I were able to boot in single-user mode I could avoid these problems. However, a) I don't know how to boot this in single-user mode, b) I would like multi-user mode available, and c) this is frustrating and I want to figure it out.

Any ideas? My floppy drive is on the fritz, so a boot floppy isn't an option (and I don't even know if that would work).
 
Old 07-06-2002, 09:41 PM   #2
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
I will try to provide a solution the best that I can. Perhaps someone else here has more experience with ZipSlack than I do.

First, ZipSlack 8.1 is 37.5 MBytes or 28 floppy disk images compressed. So I am not sure about what exactly you mean by simply copying from the diskette certain files and subdirectories.

It does sounds like you are booting a kernel and the Init system is starting. But the root file system either cannot locate or execute the startup scripts. I would think the most likely is corruption. I would suggest that you start over and download the ZipSlack.zip file (37.5 MBytes) directly to the hard disk and unzip it. No floppy drive would be required.

But check the following items in any case.

Depending on how you decompressed the files, they needed to be handle with the complete directory structure. I think the DOS pkzip version required the "-d" option to be specified. Make sure you have directories like bin, etc, dev, usr with files and more directories below them. The rc.M and rc.S scripts are in the etc/rc.d directory I believe under the \linux directory. That is where init will look for them.

Edit the linux.bat file to verify that the proper root file system is being used. If your drive C:, then I would think it to be /dev/hda1 for the first IDE hard disk on the first partition. The first line of the IDE examples. Remove the "rem" statement in front of the line and be sure to "rem" out the /dev/sda4 line.

If it stills has problems then check your config.sys and autoexec.bat, you could try to rename them to something else. You didn't state what version DOS or Windows you were running or much RAM was installed so I am unable to comment on them.

Good luck!
 
Old 07-06-2002, 10:28 PM   #3
Kellvyn
LQ Newbie
 
Registered: Jun 2002
Posts: 7

Original Poster
Rep: Reputation: 0
I'm running Win95 on the computer I'm trying to make ZipSlack work on. I have 16M RAM.

To get ZipSlack, I did this: ftp'ed from sunset.se, extracted zipslack.zip, which created a directory "linux", and I burned that whole directory to a CD-R. I then went to the computer I'm now using, stuck in the CD-R, and copied the "linux" directory in the root directory of my c:\ drive (per the instructions in the readme.1st file). The only problems I had in copying the files were those directories mentioned in my first post.

What's confusing is that init is complaining about /etc/rc.d/rc.S and /etc/rc.d/rc.M, which seem to be intact. I browsed through them and they look fine. I mean, how can they be corrupted if I can read them?

Of course, maybe init itself is corrupted. That's one's binary, so if it were corrupted I'd never know it. But then again, init was the one that gave me those messages saying that it couldn't load rc.S or rc.M

Maybe I should just wait for the CD to be available at store.slackware.com. I was just hoping to do this sooner...
 
Old 07-06-2002, 11:29 PM   #4
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
So where is the floppy drive used in the process you described?

Anyway, why not burn the Zip file to the CDR instead of the directory tree. Or did you include it on the CDR to begin with all the other stuff? Copy the zip file to the hard disk an unzip it.

I know I have had problems in the past with copying from CD's under Windows with the Read-Only attribute being set. Maybe that is causing a problem here.

It may also be because the burn was to a CDR (ISO9660) probably under DOS/WIN machine the file names may have all been in uppercase or something that the init system can't find it. Don't know, but I would think that extracting the zip file directly would correct it. Just delete the old linux tree first ( deltree c:\linux ).

The Win95 shouldn't be a problem, just check the config and autoexec. Also, 16 MByte RAM should be OK I would think. I don't know how you could setup swap without a partition for it though.

Cheers.
 
Old 07-08-2002, 11:38 PM   #5
uc_creator
LQ Newbie
 
Registered: Jul 2002
Distribution: None as of right now... trying to use ZipSlack
Posts: 1

Rep: Reputation: 0
Finally, someone else who uses ZipSlack!

/sbin/agetty: error while loading shared libraries:libc.so.6:cannot open shared object file: no such file or directory
INIT: Id "c4" respawning too fast: disabled for 5 minutes
INIT:no more processes left in the run level

This message changes with some different options.

From what I understand, someone installed Slackware on their computer, then zipped it up. Something must have been wrong with their installation.

I am not going to re-download any distros of Linux, and I can't find Linux at any stores. I wouldn't mind a fix to this problem, or maybe that one file. I sent them an E-mail about the problem, and that was 2 weeks ago.
 
Old 07-09-2002, 07:06 PM   #6
xcp
LQ Newbie
 
Registered: Jul 2002
Location: Canada
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
Why not install linux on its own partition. The results are much more usable.
 
Old 07-12-2002, 12:39 AM   #7
mrdensity
Member
 
Registered: Apr 2002
Location: Central US
Distribution: Libranet 1.9.1 & 2.0, tinyX (2dskxwin) & WinLinux 2001
Posts: 83

Rep: Reputation: 15
DOS/Win95 cannot read all the files on the CD. Because they have a filename that doesnt match its naming convention ! (read - to long or inappropriate symbols) . I have run into this before also (files/folders cannot be seen from dos or "...dont exist"). Burn another copy this time dont unzip it.
Copy the *.zip to the cd and unzip it locally to the machine you intend to install it in. As mentioned earlier by Excalibur.
This way the filenames dont have to be less than a certain # of characters to be read.

Linux is still Linux regardless of the filesystem used. After you get your feet wet with it, you will be ready to take better advantage of the Native Linux filesystems.
 
  


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
Booting hangs jak4u Mandriva 1 03-26-2005 02:51 AM
Linux Install - Reboot Loops Forever (Kernel?) Cyber Strike Linux - Newbie 3 01-30-2005 07:59 PM
booting new kernel. Booting new kernel dies with INIT: VFS issue, really mus335 Linux - General 0 04-21-2004 11:52 AM
hangs on booting yisnixslow Slackware 5 03-26-2004 10:58 AM
RH 9 hangs on booting rtzra Linux - Hardware 1 05-29-2003 05:17 AM


All times are GMT -5. The time now is 03:12 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration