LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Opensuse 13.1 boot problem (https://www.linuxquestions.org/questions/suse-opensuse-60/opensuse-13-1-boot-problem-4175499385/)

atsibodot 03-25-2014 06:17 AM

Opensuse 13.1 boot problem
 
Hi,
System doesn't boot. Have any ideas?

boot.log:
PHP Code:

Trying manual resume from /dev/disk/by-id/ata-ST9500423AS_5WS1JJEV-part5
Invoking userspace resume from 
/dev/disk/by-id/ata-ST9500423AS_5WS1JJEV-part5
resume
libgcrypt version1.5.3
Trying manual resume from 
/dev/disk/by-id/ata-ST9500423AS_5WS1JJEV-part5
Invoking in
-kernel resume from /dev/disk/by-id/ata-ST9500423AS_5WS1JJEV-part5
Waiting 
for device /dev/root to appear:  ok
fsck from util
-linux 2.23.2
[/sbin/fsck.ext4 (1) -- /] fsck.ext4 -/dev/sda6 
/dev/sda6clean363012/952848 files2514455/3805184 blocks
fsck succeeded
Mounting root device read-write.
Mounting root /dev/root
mount 
-o rw,acl,user_xattr -t ext4 /dev/root /root

Welcome to 
[0;32mopenSUSE 13.1 (Bottle) (x86_64)[0m!

[[
32m  OK  [0mListening on /dev/initctl Compatibility Named Pipe.
[[
32m  OK  [0mListening on Delayed Shutdown Socket.
[[
32m  OK  [0mListening on LVM2 metadata daemon socket.
[[
32m  OK  [0mSet up automount Arbitrary Executable File Formats File System Automount Point.
[[
32m  OK  [0mListening on Journal Socket.
         
Mounting Debug File System...
         
Mounting POSIX Message Queue File System...
         
Starting Create list of required static device nodes for the current kernel...
         
Starting Create dynamic rule for /dev/root link...
         
Starting Journal Service...
[[
32m  OK  [0mStarted Journal Service.
         
Starting Trigger Flushing of Journal to Persistent Storage...
         
Starting Tell Plymouth To Write Out Runtime Data...
         
Mounting Huge Pages File System...
[[
32m  OK  [0mListening on udev Kernel Socket.
[[
32m  OK  [0mListening on udev Control Socket.
         
Starting udev Coldplug all Devices...
         
Expecting device dev-disk-by\x2did-ata\x2dST9500423AS_5WS1JJEV\x2dpart5.device...
[[
32m  OK  [0mCreated slice Root Slice.
[[
32m  OK  [0mCreated slice System Slice.
[[
32m  OK  [0mReached target Unmount All Filesystems.
[[
32m  OK  [0mReached target Shutdown.
         
Starting /etc/init.d/halt.local Compatibility...
[[
32m  OK  [0mStarted Tell Plymouth To Write Out Runtime Data.
[[
32m  OK  [0mMounted Debug File System.
[[
32m  OK  [0mMounted POSIX Message Queue File System.
[[
32m  OK  [0mMounted Huge Pages File System.
[[
32m  OK  [0mStarted udev Coldplug all Devices.
         
Starting Show Plymouth Boot Screen...
[[
32m  OK  [0mStarted /etc/init.d/halt.local Compatibility.
[[
32m  OK  [0mReached target Final Step.
[[
32m  OK  [0mStarted Trigger Flushing of Journal to Persistent Storage.
[[
32m  OK  [0mStarted Create list of required static device nodes for the current kernel.
         
Starting Create static device nodes in /dev...
[[
32m  OK  [0mStarted Create dynamic rule for /dev/root link.
[[
32m  OK  [0mStarted Create static device nodes in /dev.
         
Starting udev Kernel Device Manager...
[[
32m  OK  [0mStarted udev Kernel Device Manager.
[[
32m  OK  [0mStarted Show Plymouth Boot Screen.
         
Starting Show Plymouth Reboot Screen...
[[
32m  OK  [0mStarted Show Plymouth Reboot Screen.
         
Starting Reboot... 


atsibodot 03-25-2014 07:14 AM

Got an answer in another forum. I will pot it here, in case if someone runs in same problem.

Quote:

You have set the default target to "shutdown.target" (or similar). So the system immediately boots to shutdown.

Specify a specific runlevel in the boot options (by adding "1", "3" or "5" to the kernel command line), then run YaST->System->Services Manager and set the default target to "runlevel3" (text mode) or "runlevel5" (graphical mode) again.

To add boot options when using grub2 as boot loader (the default), press 'e' at the boot menu, search for a line starting with "linux" and append them at the end. Then press 'F10' to boot.

geroffel 10-26-2014 08:23 AM

Thanks atsibodot, although the instructions could not help me to solve the problem as the computer shut down too early to do something, they at least pointed to the what the problem was.

I tried adding the runlevel to the GRUB2 boot line but that did not work for me.

Eventually I booted up in my old Mint installation, accessed the OpenSuse partition and saw:
Quote:

$ ls -als /usr/lib/systemd/system/default.target
0 lrwxrwxrwx 1 root root 16 17 jun 23:01 /usr/lib/systemd/system/default.target -> shutdown.target
Changed that back to graphical.target, rebooted and problem solved.


All times are GMT -5. The time now is 12:15 PM.