LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-10-2014, 08:21 PM   #1
xam200
LQ Newbie
 
Registered: May 2014
Posts: 28

Rep: Reputation: Disabled
Help! Zorin 8.1 restarts my PC automatically & I can't shut it down.


I completed a solo install of Zorin 8.1 (32 bit) on my PC. Prior it had a dual boot, dual software setup of XP and Ubuntu. Now, Zorin automatically reboots itself when I try to turn off the software. I have to pull the electrical plug to get it to stop.

Any suggestions? Thank you so much...
 
Old 06-10-2014, 08:55 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Do you mean turn off the software or shut down your computer?

Did you delete the XP and Ubuntu partitions before installing Zorin?

Is this a desktop or laptop? What make & model? So I can look it up:-
 
Old 06-10-2014, 09:33 PM   #3
xam200
LQ Newbie
 
Registered: May 2014
Posts: 28

Original Poster
Rep: Reputation: Disabled
Thanks for your reply.

This is an IBM tower computer, model # MT-M 8113-E7U. Zorin shuts down properly and the computer momentarily shuts down but immediately reboots and reopens Zorin up again. I did not delete the existing partitions for this install - I used a live boot disk of Zorin 8.1 and installed it as a solo software install.

Thanks for your help!!!

Steven
 
Old 06-10-2014, 10:05 PM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Prior to installing Zorin did you have this same issue?

Sometimes triple booting can cause issues but I am not entirely sure if that 's what is causing the reboot.

This may not be so easily diagnosed:-

Zorin is based on Debian and Ubuntu. I'm trying to find out what 'version of Ubuntu' so I can read the release notes to see what the known issues are. (If any)

There is a software called boot infoscript. It 's a bash script that searches all hard drives on a c omputer for information related to booting. (Might help but not sure yet)

Last edited by Ztcoracat; 06-10-2014 at 10:51 PM.
 
Old 06-10-2014, 10:18 PM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
From terminal try
Quote:
shutdown -h now

Last edited by EDDY1; 06-10-2014 at 10:19 PM.
 
Old 06-10-2014, 10:38 PM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by EDDY1 View Post
From terminal try
That command has always worked for me-
 
Old 06-10-2014, 10:56 PM   #7
xam200
LQ Newbie
 
Registered: May 2014
Posts: 28

Original Poster
Rep: Reputation: Disabled
Thanks for everyone's efforts.

The command shutdown -h now did not work for me. It did shut the PC but it autobooted immediately, just as before.

How would I search for: boot infoscript in the Terminal? If found, what should I do with it? Remember, I'm a real NEWBIE.

Prior to the Zorin install, the dual boot of Ubuntu & XP worked great on this PC.

Steven
 
Old 06-11-2014, 04:02 PM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by xam200 View Post
Thanks for everyone's efforts.

The command shutdown -h now did not work for me. It did shut the PC but it autobooted immediately, just as before.

How would I search for: boot infoscript in the Terminal? If found, what should I do with it? Remember, I'm a real NEWBIE.

Prior to the Zorin install, the dual boot of Ubuntu & XP worked great on this PC.

Steven
While Zorin is up and your ready to shut it down try this in the terminal.
Code:
sudo shutdown -h now
Than type in your root password and hit the Enter key
It should shut down completely. (should)

Here is the link for boot infoscript-
http://sourceforge.net/projects/bootinfoscript/

I'll look for the thread that one of our members explained about boot intoscript so you can follow along with it. Basically you download the tar.gz (archive pkg) and I think you run it.
 
Old 06-11-2014, 04:12 PM   #9
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Here's a few links to help you learn more on bootinfoscript.
Sorry I am not good with the output of what bootinfoscript provides. I think Mr. Yancek is.

http://www.linuxquestions.org/questi...rt-4175507450/

http://www.linuxquestions.org/questi...ix-4175506150/

So now, you have XP, Ubuntu and Zorin installed?

(might have to run "fdisk -l" as root to see all partitions)
 
Old 06-11-2014, 05:39 PM   #10
xam200
LQ Newbie
 
Registered: May 2014
Posts: 28

Original Poster
Rep: Reputation: Disabled
FDisk Command Results & Alternative Idea Question

Here's the results of fdisk -l on my computer:

Disk /dev/sda: 80.0 GB, 80032038912 bytes
255 heads, 63 sectors/track, 9730 cylinders, total 156312576 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000f2fa5

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 150030335 75014144 83 Linux
/dev/sda2 150032382 156311551 3139585 5 Extended
/dev/sda5 150032384 156311551 3139584 82 Linux swap / Solaris

I think only ONE software is installed here.

Question - What would happen if I do a complete format of C drive and then reinstall Zorin? Would that work? Would Zorin install from the DVD drive if NO software is on the PC? If so, how/where would I enter the format C drive command?
 
Old 06-11-2014, 06:41 PM   #11
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,444

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
Quote:
I did not delete the existing partitions for this install - I used a live boot disk of Zorin 8.1 and installed it as a solo software install.
You may not have selected to do that but the output of the fdisk command you posted indicates you did. You have one Linux partition which would be Zorin and an Extended partition which contains your swap partition.

The 'bootinfoscript' is a bash script which you can download and run and it will output a results.txt file which gives information about your drives/partitions and boot files. On their page, there is a Description box and a link in it with instruction on how to use it. I doubt that will help but it's useful to have. Just google 'bootinfoscript' and you will get the site. Post the output and someone should be able to tell you if there is any problem there.

There is no C drive. That's a windows naming convention which came from their predecessor CP/M and I believe IBM before that. Your Zorin is on sda1, the sda refers to the first drive, the one to the first partition. You could try reinstalling it and there should be no problem with that, just install over the current system. Did you happen to do an md5checksum on the Zorin iso? There should be instructions on the download page and there may have been a problem with the iso download. Might also just be hardware. I'm surprised the shutdown command was a problem.

Last edited by yancek; 06-11-2014 at 06:43 PM.
 
1 members found this post helpful.
Old 06-11-2014, 06:47 PM   #12
orasis
Member
 
Registered: Mar 2008
Distribution: Slackware, Free-BSD
Posts: 53

Rep: Reputation: 34
I doubt it's Zorin, it sounds more like a hardware issue - like a sticky power button, you might want to check that.
 
Old 06-11-2014, 09:16 PM   #13
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,334

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
You can get this error when shutdown issues the wrong run level command to the inittab routine. shutdown -h should call runlevel 0. Your system is always calling for runlevel 6 which is reboot. Since this always happens no matter how you ask for a shutdown then the error may be in your initab. Take a look at /etc/inittab. You should have a table in inittab that corresponds to this table in my Debian stable system:

# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.

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


Every Linux system has a similar table. Check your inittab table to see if when you ask to run runlevel 0 inittab is instead calling runlevel 6. Here is the same table corrupted to where it will reboot every time you call for a shutdown.



# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.

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



Another test that you might run is to ask for a reboot and see if the computer reboots or shuts down.

--------------------------
Steve Stites

Last edited by jailbait; 06-12-2014 at 03:09 PM.
 
Old 06-11-2014, 10:28 PM   #14
xam200
LQ Newbie
 
Registered: May 2014
Posts: 28

Original Poster
Rep: Reputation: Disabled
Mr Yancek, the live boot disk apparently does more than advertised. When I solo installed Zorin, it must have erased the prior OS along with all partitions there.

As a complete NEWBIE, I'm having trouble following/doing the whole bootinfoscrip process.

Mr Orasis, the power button idea was certainly a possibility so I opened the PC case a was able to test it (along with my neighbor's help and it's operating 100% correctly.

Steven
 
Old 06-11-2014, 11:13 PM   #15
xam200
LQ Newbie
 
Registered: May 2014
Posts: 28

Original Poster
Rep: Reputation: Disabled
Mr jailbait, your recommendation looks very promising but everytime I use this inside my Terminal window, the results are aways: command not found. I've tried "sudo" in front of this but I get the same results.

How should I be loading this inside of Terminal window? Thank you!

Steven
 
  


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
Cent OS server restarts automatically, Not sure why. linuxlover.chaitanya Linux - Newbie 5 05-09-2012 08:26 PM
OC4J instance restarts automatically after 10 seconds. nishith AIX 3 01-03-2010 03:53 AM
System restarts automatically banskt Linux - Hardware 7 06-26-2009 10:24 AM
Shut down automatically sholah Linux - Server 2 06-04-2009 02:41 AM
Can't get the computer to shut off automatically KezzerDrix Mandriva 12 03-30-2005 08:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:11 PM.

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
Open Source Consulting | Domain Registration