Re: mondo

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

mondo

I still can not boot from a mindi floppy disk. I run mindi, it creates 1 boot floppy and 5 data disks. It runs fine. When I boot from the floppy I get ---

"kernel panic: no init found try passing init= option to kernel.

I upgraded the kernel and made sure I have initrd support the best I could. Here is the output from uname -a and ls -l /boot/init*

root@pompano root]# uname -a
Linux pompano 2.4.20-19.8 #1 Tue Jul 15 15:25:37 EDT 2003 i686 i686 i386 GNU/Linux
[root@pompano root]# ll /boot/init*
-rw-r--r-- 1 root root 233653 Jul 28 14:39 /boot/initrd-2.4.20-19.8.img

Has anyone had this problem before?
Any ideas?

I am running RH8 using grub.
UNIX IS GOOD
7 REPLIES 7
Jerome Baron
Respected Contributor

Re: mondo

Hi,

You can try to give runlevel to the kernel (1 2 3 ...)

Regards,
Jerome
Nobody's Hero
Valued Contributor

Re: mondo

JEROME,

EXCUSE MY NOVICENESS WITH LINUX. COULD YOU BE MORE DETAILED. I HAVE NO IDEA WHAT YOU MEAN.

10X
UNIX IS GOOD
Sergejs Svitnevs
Honored Contributor

Re: mondo

Some versions of mondo are broken. Try to download from mondorescue.com the latest stable (Mondo v1.65, Mindi v0.85) rpms.

Regards,
Sergejs
Jerome Baron
Respected Contributor

Re: mondo

at boot it's different runlevel with different status of the system. single user (runlevel 1) standart (runlevel 3) with graphic interface (runlevel 5) so you can specify this at boot. Exit grub and donr "init 1" (or 2 or 3, ....).

Regards,
Jerome
Steven E. Protter
Exalted Contributor
Solution

Re: mondo

A standard Linux system has five run levels.

/etc/rc1.d
/etc/rc2.d
/etc/rc3.d
/etc/rc4.d
/etc/rc5.d

They are executed in order when a machine starts, 1 through five. run level 0 exists but is essentially shutdown as in not running.

In those directories are soft links to scripts in /etc/init.d

Anything starting with a capital S will start when the run level is acheived. Anything starting with a K will run when the sysetm is stepping down.

A shutdown command (shutdown -ry now) will shtut the system down, it will go from run level 5 to 4 to 3 to 2 to 1 then 0.

Example

/etc/rc4.d

Contains say four files.

S80httpd
S85oracle

K50nfsd
k55samba

this is not how it really is but its a simple example

The default run level of a machine is controlled in the file /etc/inititab

Its pretty intuitive.

Say you system is running at run level 5 after a normal boot.

as root, you type:

init 3

K50nfsd will run
K55samba will run

This will run the following two scripts.

/etc/init.d/nfsd stop
/etc/init.d/samba stop

The system will then go on and run the K scripts in /etc/rc3.d

Now you type as root:

init 4

When the run level starts these two softlinks will execute

S80httpd
S85oracle

Which run
/etc/init.d/httpd start
/etc/init.d/oracle start

Notice that oracle is not a standard script delivered with Linux. You can designate hour own programs to start at various run levels.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Balaji N
Honored Contributor

Re: mondo

try passing init=/bin/bash at the boot prompt when booting from the floppy to see if this helps.

-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Caesar_3
Esteemed Contributor

Re: mondo

Hello!

In grub press "e" on the wanted boot line
then go to line with the kernel (vmunixXXXXX)
and press "e" then write in the end of line
number of runlevel that you want (1-5)
press ENTER and then "b" for boot.
You will boot to the wanted runlevel.

* Runlevel is set of services that acrive.

Caesar