Jump to content

Bad inittab entry


Guest delta_i
 Share

Recommended Posts

Guest delta_i

I have been running Limp from a live CD and kind of like it but I don't want to run it off a disk anymore so I decided to "install" it. I made new partition on a box running Mandriva One 2007 and copied the relevant Limp files over there. I directed grub to the kernel and initrd files and it begins to boot but then fails with the error:

Bad inittab entry: dflt:5:initdefault:

The confusing part to me is that the /etc/inittab file does not seem to have such an entry which makes me think I am misreading either the error or my /etc/inittab file which is as follows:

 

id:5:initdefault:

# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit

l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6

# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# When our UPS tells us power has failed, assume we have a few minutes
# of power left.  Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.  
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"

# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"


# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

# Single user mode
~~:S:wait:/bin/sh

 

I tried setting the default runlevel to 1,2,3 and 5 and even commenting out the id:5:initdefault: line and entering teh run level manually (as 1,2,3 and 5 on successive boots) and each of those 8 scenarios yielded the identical error. Finally, I tried renaming the inittab file (which turns out to have been a big mistake by the way) and got the same problem when booting Limp and rendered Mandriva unbootable :lol: ...

 

So, having reinstalled Mandriva and being back at square one, I can tell that there is obviously something here that I am missing. If anyone can suggest what I am doing wrong, I would appreciate it.

Thanks.

Link to comment
Share on other sites

according to http://www.murga-linux.com/puppy/viewtopic.php?t=8699

this kind of problem can happen if a distro is already present

 

I made new partition on a box running Mandriva One 2007 and copied the relevant Limp files over there

Am not familiar with this

 

Not sure what happened with your system.

Try to reinstall and format the new partition

Maybe try to install mandy 2007 free rather than the live cd?

Link to comment
Share on other sites

According to the linux install instructions:

 

Installation guide for Linux users using GRUB:

 

 

1. After unzipping the .tar file, just copy the “limp” folder to “/”.

 

2. Open the /boot/grub/menu.lst from above zip file and copy the 3 lines (title, kernel, initrd) to /boot/grub/grub.conf (may be menu.lst on your system).

 

3. Edit the kernel line, with ip=your_ip_address , hostname=your_hostname (if you intend to use LiMP with networking abilities. If unsure, leave unchanged).

 

 

[Make sure that the file and folder (grldr, grub, grub/menu.lst , limp/limp.img and limp/mpl_ker are in small case)

 

Whereas you installed on a separate partition. Try copying the limp folder to your mandriva /, reconfigure grub and see if that works.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...