LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-17-2014, 08:12 PM   #1
qwerty5020
LQ Newbie
 
Registered: Sep 2014
Location: Australia
Posts: 11

Rep: Reputation: Disabled
Smile PC Linux stalls on boot up


A week ago I installed PC Linux OS on a clean hard drive and it installed and opened as it should . After use I shut it down as normal and waited several days for an extra piece of hard drive to use in the Wi Fi network. On stating up the system it wanted to know host id and host pass word. After some changes in the BIOS and by selecting safe boot mode the following message is on the screen and I would like pointers as to where to go from here or what in the BIOS I have to change to pass this stall in boot up

Message is
Telling INIT to go to single user
Single user
INIT: going to single user
sh-4.1#_ (underscore is flashing and I presume that it is waiting for a typed command to allow the system to move on)
Help on where to find information or a simple instruction would be appreciated

Last edited by qwerty5020; 09-17-2014 at 08:21 PM. Reason: typo error
 
Old 09-17-2014, 08:48 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
After the installation completes you need to reboot and remove the CD/DVD and you should be prompted to create a root password as well as a regular user and password. Did you complete this? That would be the user name and user password it would want.
 
1 members found this post helpful.
Old 09-17-2014, 10:33 PM   #3
qwerty5020
LQ Newbie
 
Registered: Sep 2014
Location: Australia
Posts: 11

Original Poster
Rep: Reputation: Disabled
Thank you for that. At the installation this was done and I now boot off the hard drive installation When I enter these pass words the message is "incorrect pass words." I changed the BIOS to boot off the cd and the problem there is that it goes so far then I get a blank black screen and the only way out is to emergency shut down. It is possible that I may have to reformat the HD and reinstall but I do not know how to get to the format hd area to do this as I cannot find any area in BIOS for this or there are no screens allowing this procedure. Have patience as I am strictly new at this
 
Old 09-18-2014, 12:04 AM   #4
qwerty5020
LQ Newbie
 
Registered: Sep 2014
Location: Australia
Posts: 11

Original Poster
Rep: Reputation: Disabled
stalls on boot start up

did all that originally but now it will not recognize the pass words or log in details . If I could get a way of reformatting the hd I could start again from installation.
 
Old 09-18-2014, 09:00 AM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
You can re-format the hard drive during the installation. The installer should show an option to "use existing partitions" so if you want the same partition setup use that otherwise use the custom option. Make your selection here then click Next and on the new page select "toggle to expert mode". This gives you options to select a partition and also to format it. The bar near the top will be divided into sections and clicking on them should show you what they currently are.
 
Old 09-18-2014, 09:35 AM   #6
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora
Posts: 1,829

Rep: Reputation: 257Reputation: 257Reputation: 257
This is a bit trickier than it used to be, but it usually works. When the grub prompt appears, hit "e", for edit. Edit the kernel, or linux line to append /bin/bash. Then hit CTRL + x to boot up. You should get a bash prompt as root. Use passwd to change the passwords.
 
Old 09-18-2014, 07:47 PM   #7
qwerty5020
LQ Newbie
 
Registered: Sep 2014
Location: Australia
Posts: 11

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by yancek View Post
You can re-format the hard drive during the installation. The installer should show an option to "use existing partitions" so if you want the same partition setup use that otherwise use the custom option. Make your selection here then click Next and on the new page select "toggle to expert mode". This gives you options to select a partition and also to format it. The bar near the top will be divided into sections and clicking on them should show you what they currently are.
while this is well and good advice unfortunately I cannot even get to that point. I have to get past the login command .The login user pass word/id and pass word are not recognized so I need an command line that will get me past that point. I am new to Linux and statements like grub and bash have no meaning to me so the tech language will have to be aimed at a lower level of comprehension.
 
Old 09-18-2014, 08:32 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
Quote:
while this is well and good advice unfortunately I cannot even get to that point. I have to get past the login command
No, you don't. You don't want to get to the login command on the installed system if you plan to reinstall use the installation medium again. How did you install PCLinuxOS? Did you use a DVD, a flash drive? The formatting during the install would be from that installation medium Just use the DVD/flash drive again. Since you just installed and something went wrong, it would be a lot simpler to just reinstall. When you first boot the computer, you should see a screen specifying which key you need to tap to enter setup. That will get you into the BIOS where you will have a boot tab option and set whichever medium you used previously to install as first boot priority. If you installed it yourself the first time, you would have had to do this.

If you want to try changing the root password for the installed system at the prompt your posted in your initial post you should be able to do that. At the link below start at #8 on the page, enter: passwd at the prompt then each subsequent command shown.

Code:
sh-4.1#_
http://www.cyberciti.biz/faq/linux-r...root-password/
 
Old 09-19-2014, 01:28 AM   #9
qwerty5020
LQ Newbie
 
Registered: Sep 2014
Location: Australia
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
No, you don't. You don't want to get to the login command on the installed system if you plan to reinstall use the installation medium again. How did you install PCLinuxOS? Did you use a DVD, a flash drive? The formatting during the install would be from that installation medium Just use the DVD/flash drive again. Since you just installed and something went wrong, it would be a lot simpler to just reinstall. When you first boot the computer, you should see a screen specifying which key you need to tap to enter setup. That will get you into the BIOS where you will have a boot tab option and set whichever medium you used previously to install as first boot priority. If you installed it yourself the first time, you would have had to do this.

If you want to try changing the root password for the installed system at the prompt your posted in your initial post you should be able to do that. At the link below start at #8 on the page, enter: passwd at the prompt then each subsequent command shown.

Code:
sh-4.1#_
http://www.cyberciti.biz/faq/linux-r...root-password/
so far no good I believe that I have done everything correctly.
I typed in passwd bill and got the next line
new password--I put in a new password and got the next line
confirm password and I typed it in and got the next line
passwd: all authentification tokens updated successfully and on the next line
sh-4.1#_
so I am thinking need to re-boot so went to con,alt,delete combination which has rebooted in the past and got
INIT:switching to level:6
side note here if it means anything when the boot screen is running it eventually finishes at level 6 then after some seconds commences again and ends up with the sh-4.1#_ line.
 
Old 09-19-2014, 01:33 AM   #10
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
ctrl+alt+del sometimes deletes last entry.
Try
Quote:
shutdown - h now
Then restart machine.
Or
Quote:
reboot
Also if you have a DE then you will need to change runlevel after creating user.

Last edited by EDDY1; 09-19-2014 at 01:35 AM.
 
Old 09-19-2014, 03:55 AM   #11
qwerty5020
LQ Newbie
 
Registered: Sep 2014
Location: Australia
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by EDDY1 View Post
ctrl+alt+del sometimes deletes last entry.
Try Then restart machine.
Or

Also if you have a DE then you will need to change runlevel after creating user.
well after much button pushing I managed to get back to an installation area where I could install the os again and format the hard drive . I managed to get it open and went through all the task bar items and then shut down the system. I would like to thank all of you for giving advice and it is appreciated as I was starting to despair of the Linux system as being good. Next problem is to find a way of connecting the pc ( in the shed) to the home pc so that I can use it from the shed on the net. best advice yet is system that plugs into the house power by a data cable from the shed pc to a receiver plugged into the power point near the home pc via wifi..Thanks again to all that have commented
 
  


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
Linux CD/DVD boot on Intel Core 2 Duo vPro stalls. rts7 Linux - Hardware 12 06-20-2009 01:03 PM
My Red Hat Enterprise Linux 4 system does not boot and stalls Saadi Linux - Newbie 6 02-27-2009 06:44 PM
When I boot my comp. (dual boot sys-Suse 10.1 & Win XP) the first boot stalls. philip niedermeyer Linux - Desktop 5 11-13-2006 07:04 PM
Stalls During Boot tyro123 Linux - Newbie 6 03-31-2005 08:52 PM
Linux stalls completely during boot bitpicker Linux - Newbie 5 05-02-2004 03:13 AM


All times are GMT -5. The time now is 09:02 AM.

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