<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Bad Shell - System didn't boot!!!! in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553392#M28429</link>
    <description>Thank you for the tips.&lt;BR /&gt;&lt;BR /&gt;It will be simple if I had a shell available. There is nothing available (vi, ls, mount, vgchange, ...). &lt;BR /&gt;&lt;BR /&gt;What should I do now?&lt;BR /&gt;&lt;BR /&gt;Stenio.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-----------------------------------------------&lt;BR /&gt;Hello Everybody, &lt;BR /&gt;&lt;BR /&gt;I've made some changes in the 10.20 aiming enable the "bash" shell. Unfortunately, when the system rebooted, the following message appeared: &lt;BR /&gt;&lt;BR /&gt;" &lt;BR /&gt;/sbin/ioinitrc: &lt;BR /&gt;&lt;BR /&gt;INIT: SINGLE USER MODE &lt;BR /&gt;&lt;BR /&gt;INIT: WARNING: Bad shell "/usr/bin/bash" for root &lt;BR /&gt;FIX root ENTRY in /etc/passwd AND REBOOT !!! &lt;BR /&gt;" &lt;BR /&gt;&lt;BR /&gt;Could somebody give me a clue ? &lt;BR /&gt;&lt;BR /&gt;Stenio &lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Do NOT EVER use any shell other than /sbin/sh for root. If you do you will have MAJOR problems rebooting the system. &lt;BR /&gt;&lt;BR /&gt;To correct this, boot into single-user mode, which you may already be at, activate the vg00 volume group (vgchange -a y /dev/vg00) mount your root filesystems (mount -a -- don't worry about failures of other volume groups) and use the vipw command to edit the password file and fix the root user. &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;  melvyn burnard   &lt;BR /&gt;&lt;BR /&gt;  &lt;BR /&gt;---------------------------------&lt;BR /&gt;The clue is in the error message you got. &lt;BR /&gt;You should not change the root shell to anything other than POSIX /sbin/sh shell. &lt;BR /&gt;&lt;BR /&gt;As posted already, you need to fix this.  &lt;BR /&gt;</description>
    <pubDate>Mon, 16 Jul 2001 19:36:25 GMT</pubDate>
    <dc:creator>GTI</dc:creator>
    <dc:date>2001-07-16T19:36:25Z</dc:date>
    <item>
      <title>Bad Shell - System didn't boot!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553387#M28424</link>
      <description>Hello Everybody,&lt;BR /&gt;&lt;BR /&gt;I've made some changes in the 10.20 aiming enable the "bash" shell. Unfortunately, when the system rebooted, the following message appeared:&lt;BR /&gt;&lt;BR /&gt;"&lt;BR /&gt;/sbin/ioinitrc:&lt;BR /&gt;&lt;BR /&gt;INIT: SINGLE USER MODE&lt;BR /&gt;&lt;BR /&gt;INIT: WARNING: Bad shell "/usr/bin/bash" for root&lt;BR /&gt;FIX root ENTRY in /etc/passwd AND REBOOT !!!&lt;BR /&gt;"&lt;BR /&gt;&lt;BR /&gt;Could somebody give me a clue ?&lt;BR /&gt;&lt;BR /&gt;Stenio&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Jul 2001 19:16:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553387#M28424</guid>
      <dc:creator>GTI</dc:creator>
      <dc:date>2001-07-16T19:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Bad Shell - System didn't boot!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553388#M28425</link>
      <description>Do NOT EVER use any shell other than /sbin/sh for root.  If you do you will have MAJOR problems rebooting the system.&lt;BR /&gt;&lt;BR /&gt;To correct this, boot into single-user mode, which you may already be at, activate the vg00 volume group (vgchange -a y /dev/vg00) mount your root filesystems (mount -a -- don't worry about failures of other volume groups) and use the vipw command to edit the password file and fix the root user.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Jul 2001 19:20:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553388#M28425</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-07-16T19:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Bad Shell - System didn't boot!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553389#M28426</link>
      <description>The clue is in the error message you got.&lt;BR /&gt;You should not change the root shell to anything other than POSIX /sbin/sh shell.&lt;BR /&gt;&lt;BR /&gt;As posted already, you need to fix this.</description>
      <pubDate>Mon, 16 Jul 2001 19:22:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553389#M28426</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2001-07-16T19:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Bad Shell - System didn't boot!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553390#M28427</link>
      <description>HI,&lt;BR /&gt;&lt;BR /&gt;You did a bad,bad thing.&lt;BR /&gt;&lt;BR /&gt;First, unless /usr/bin/bash is in /etc/shells,&lt;BR /&gt;you can't use it.&lt;BR /&gt;Secondly, in single user mode /usr is not mounted. &lt;BR /&gt;&lt;BR /&gt;Clay</description>
      <pubDate>Mon, 16 Jul 2001 19:24:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553390#M28427</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-07-16T19:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Bad Shell - System didn't boot!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553391#M28428</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;...as the others have aptly noted, you "bash"ed yourself.  root's shell *must* always be /sbin/sh.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 16 Jul 2001 19:31:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553391#M28428</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-07-16T19:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Bad Shell - System didn't boot!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553392#M28429</link>
      <description>Thank you for the tips.&lt;BR /&gt;&lt;BR /&gt;It will be simple if I had a shell available. There is nothing available (vi, ls, mount, vgchange, ...). &lt;BR /&gt;&lt;BR /&gt;What should I do now?&lt;BR /&gt;&lt;BR /&gt;Stenio.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-----------------------------------------------&lt;BR /&gt;Hello Everybody, &lt;BR /&gt;&lt;BR /&gt;I've made some changes in the 10.20 aiming enable the "bash" shell. Unfortunately, when the system rebooted, the following message appeared: &lt;BR /&gt;&lt;BR /&gt;" &lt;BR /&gt;/sbin/ioinitrc: &lt;BR /&gt;&lt;BR /&gt;INIT: SINGLE USER MODE &lt;BR /&gt;&lt;BR /&gt;INIT: WARNING: Bad shell "/usr/bin/bash" for root &lt;BR /&gt;FIX root ENTRY in /etc/passwd AND REBOOT !!! &lt;BR /&gt;" &lt;BR /&gt;&lt;BR /&gt;Could somebody give me a clue ? &lt;BR /&gt;&lt;BR /&gt;Stenio &lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Do NOT EVER use any shell other than /sbin/sh for root. If you do you will have MAJOR problems rebooting the system. &lt;BR /&gt;&lt;BR /&gt;To correct this, boot into single-user mode, which you may already be at, activate the vg00 volume group (vgchange -a y /dev/vg00) mount your root filesystems (mount -a -- don't worry about failures of other volume groups) and use the vipw command to edit the password file and fix the root user. &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;  melvyn burnard   &lt;BR /&gt;&lt;BR /&gt;  &lt;BR /&gt;---------------------------------&lt;BR /&gt;The clue is in the error message you got. &lt;BR /&gt;You should not change the root shell to anything other than POSIX /sbin/sh shell. &lt;BR /&gt;&lt;BR /&gt;As posted already, you need to fix this.  &lt;BR /&gt;</description>
      <pubDate>Mon, 16 Jul 2001 19:36:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553392#M28429</guid>
      <dc:creator>GTI</dc:creator>
      <dc:date>2001-07-16T19:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Bad Shell - System didn't boot!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553393#M28430</link>
      <description>You'll have to hard boot the system.&lt;BR /&gt;Stop the boot process by hittin &lt;SPACE bar=""&gt;&lt;BR /&gt;Type bo pri&lt;BR /&gt;When it ask you if you want to interact with ISL?&lt;BR /&gt;Answer [Y]&lt;BR /&gt;In the ISL&amp;gt; prompt type: hpux -is&lt;BR /&gt;When you get a root prompt # &lt;BR /&gt;Type vipw --&amp;gt; this will let you edit your passwd file.&lt;BR /&gt;Change the root shell to /sbin/sh.&lt;BR /&gt;&lt;BR /&gt;and &lt;BR /&gt;init 3&lt;BR /&gt;&lt;BR /&gt;Or &lt;BR /&gt;try to mount your &lt;BR /&gt;/usr /var.&lt;BR /&gt;&lt;BR /&gt;If it fails you would have to fsck /dev/vg00/lvolxx where /usr and /var are.&lt;BR /&gt;Then mount /usr and /var&lt;BR /&gt;and vi your passwd file and edit it.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPACE&gt;</description>
      <pubDate>Mon, 16 Jul 2001 19:53:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553393#M28430</guid>
      <dc:creator>Ramon Irizarry_1</dc:creator>
      <dc:date>2001-07-16T19:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Bad Shell - System didn't boot!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553394#M28431</link>
      <description>You could always boot from a recovery disk, if you have one.  I'd do this as a last resort, if you can't get it any other way.  Of course, this is assuming that the bash shell isn't in the recovery disk.  I guess you could go to the CD as well.  Good luck!&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Mon, 16 Jul 2001 20:06:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553394#M28431</guid>
      <dc:creator>Mark Vollmers</dc:creator>
      <dc:date>2001-07-16T20:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Bad Shell - System didn't boot!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553395#M28432</link>
      <description>Thanks again for the tips.&lt;BR /&gt;&lt;BR /&gt;But...&lt;BR /&gt;&lt;BR /&gt;I've entered interactively with ISL and tried to load the OS using "hpux -is" option. The system failed in the same way that before: load it in single user with a bad shell. I still do not have a shell available after this procedure. &lt;BR /&gt;&lt;BR /&gt;I've tried to boot using another kernel in the ISL (hpux -is /stand/vmunix.prev) but it didn't work.&lt;BR /&gt;&lt;BR /&gt;Any other tip ? Should I have to reinstall the entire system ?&lt;BR /&gt;&lt;BR /&gt;Stenio</description>
      <pubDate>Tue, 17 Jul 2001 12:55:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553395#M28432</guid>
      <dc:creator>GTI</dc:creator>
      <dc:date>2001-07-17T12:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Bad Shell - System didn't boot!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553396#M28433</link>
      <description>HI,&lt;BR /&gt;&lt;BR /&gt;In your case, booting single-user doesn't help at all. You need to boot from a recovery CD so that your root is actually on another filesystem. You then mount your old system / and edit or copy /etc/passwd.&lt;BR /&gt;&lt;BR /&gt;The other option you have (if you have a spare system) is to removbe the drive and put in a bootable system and make the changes. In any event, a recovery CD is your easist option.&lt;BR /&gt;&lt;BR /&gt;Clay</description>
      <pubDate>Tue, 17 Jul 2001 13:00:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553396#M28433</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-07-17T13:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Bad Shell - System didn't boot!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553397#M28434</link>
      <description>you removed the engine of your car while driving. When you tried to restart you got stuck in the middle of nowhere. What you need now is another car to help you out.&lt;BR /&gt;&lt;BR /&gt;So you need a working system where you can mount and correct your /etc/passwd. The best option is to boot an a recovery CD and mount your harddrive. Another option is to install this harddrive as a second disc an a working system and mount it.&lt;BR /&gt;&lt;BR /&gt;I can't think of any other option than to use a CD or another Workstation. Using a previous kernel doesn't help as your kernel is prefectly ok, its your configuration which is wrong. Also as you are stuck in single user mode, you can't use any networkservices (rcp, ftp ...)&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Regards Stefan</description>
      <pubDate>Tue, 17 Jul 2001 13:18:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553397#M28434</guid>
      <dc:creator>Stefan Schulz</dc:creator>
      <dc:date>2001-07-17T13:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Bad Shell - System didn't boot!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553398#M28435</link>
      <description>Ok, Ok! I got it. I did the most stupid thing... My boss will gonna kill me!!&lt;BR /&gt;&lt;BR /&gt;The last try:&lt;BR /&gt;&lt;BR /&gt;Using the recovery disk I've got a support shell. But, I couldn't mount the old /etc in order to replace the old /etc/passwd with the new one available. It won't work if I mount a NFS in another system either. There are some unavailable tools and options in that support shell (fstyp, mount -v, etc.). When I try to mount any point the OS returns with "unrecognized file system".&lt;BR /&gt;&lt;BR /&gt;I promise that is the last question to the forum. If doesn't work... Forgetaboutit!! I've got a full backup.&lt;BR /&gt;&lt;BR /&gt;Stenio.</description>
      <pubDate>Tue, 17 Jul 2001 14:08:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553398#M28435</guid>
      <dc:creator>GTI</dc:creator>
      <dc:date>2001-07-17T14:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Bad Shell - System didn't boot!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553399#M28436</link>
      <description>Here's a document from the ITRC TKB on how to boot your system from the Support CD:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support2.external.hp.com/cki/bin/doc.pl/sid=10521465193e37104f/screen=ckiDisplayDocument?docId=200000047869320" target="_blank"&gt;http://us-support2.external.hp.com/cki/bin/doc.pl/sid=10521465193e37104f/screen=ckiDisplayDocument?docId=200000047869320&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The part you are interested in is where you do the chroot_lvmdisk.  Be sure you know the hardware path to your boot disk.&lt;BR /&gt;&lt;BR /&gt;Hopefully this makes sense.</description>
      <pubDate>Tue, 17 Jul 2001 14:16:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-shell-system-didn-t-boot/m-p/2553399#M28436</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-07-17T14:16:26Z</dc:date>
    </item>
  </channel>
</rss>

