You may try init=/bin/sh to get the bash prompt. This by passes the /etc/inittab. You can create one /etc/inittab or copy from a floppy.
Regards, Mukund Deshmukh Beta Computronics Pvt. Ltd. Web site - http://betacomp.com ----- Original Message ----- From: USM Bish <[EMAIL PROTECTED]> To: LIH <[EMAIL PROTECTED]> Sent: Sunday, June 30, 2002 1:04 PM Subject: Re: [LIH]inittab file > On Sat, Jun 29, 2002 at 10:17:59PM +0800, [EMAIL PROTECTED] wrote: > > > > I deleted my runlevel in the inittab leaving it null. When i > > restarted the machine it didnt ask me to go to which run level > > instead it switched to runlevel 9 (i dont know where it took) > > and hanged. I'm using a RH 7.2 version machine. How to change > > my runlevel again to the default value. > > > ---end quoted text--- > > o Problem here is that init does not know the run level to begin > with. Boot disks made with mkbootdisk may not work because it > depends upon the /etc/inittab from existing set up on HDD for > boot up ... You may face similar problems in "single" mode as > well. > > o I am afraid, you may have to go through a rescue disk (if you > have one) or a standalone distro like tomsrtbt to make editing > of existing /etc/inittab possible. > > o I am not sure of the init setup for RH. The conventional thing > in many distros is below, but may vary for RH. Initlevel 3 is > safe enough. Add a line towards the beginning something like: > > # Default runlevel. > id:3:initdefault: > > o Hopefully, this should do the trick ! > > HTH > > Bish > > -- > : > ####[ Linux One Stanza Tip (LOST) ]########################### > > Sub : 16-bit DOS partition thru Linux LOST #061 > > Formatting a DOS-16 bit partition in Linux: > a) Through Linux fdisk mark the partion predesignated for DOS > FAT-16 as Type 4 (if it is < 32 mb) or Type 6 (if > 32 mb). > b) mkdosfs (man mkdosfs for details). The minimum options are: > #mkdosfs -c -f FAT-16 -n volume-label /dev/hdxN > > ####<[EMAIL PROTECTED]>#################################### > : > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > linux-india-help mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/linux-india-help > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
