Bug 633087 - unable to boot with systemd, get a rescue shell
Summary: unable to boot with systemd, get a rescue shell
Keywords:
Status: CLOSED DUPLICATE of bug 627401
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 14
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-12 19:45 UTC by Sébastien Wilmet
Modified: 2010-09-12 21:03 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-09-12 19:54:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
dmesg output (65.12 KB, text/plain)
2010-09-12 19:45 UTC, Sébastien Wilmet
no flags Details

Description Sébastien Wilmet 2010-09-12 19:45:26 UTC
Created attachment 446797 [details]
dmesg output

Description of problem:
I'm not able to boot with systemd. With upstart there is no problem.
My computer is an Asus PRO50N (AMD Turion 64x2 processor).
There is a rescue shell so I was able to have the output of dmesg (see attachment) with "systemd.log_level=debug".

Also, with the rescue shell, halting the system doesn't work, the last message is "System halted." and nothing happens after that. But I think this issue is related with Bug 630935.

Version-Release number of selected component (if applicable):
systemd-9-3.fc14

How reproducible:
Always during boot with systemd.
  
Actual results:
Get a rescue shell.

Expected results:
Boot entirely without any problem.

Comment 1 Michal Schmidt 2010-09-12 19:54:47 UTC
From the log:

init[1]: Failed to load configuration for default.target: No such file or directory
init[1]: Failed to load default target: No such file or directory

Probably a consequence of bug 627401. Please fix your /etc/systemd/system/default.target to point to an existing unit in /lib/systemd/system, such as graphical.target or multi-user.target.

> Also, with the rescue shell, halting the system doesn't work,
> the last message is "System halted." and nothing happens after that.

If you use just "halt", that's the expected result. You want "poweroff" or "halt -p".


Feel free to reopen if I guessed wrong.

*** This bug has been marked as a duplicate of bug 627401 ***

Comment 2 Lennart Poettering 2010-09-12 19:56:47 UTC
Seems your /etc/systemd/system/default.target symlink does not exist or points to a not existing location.

Is this an upgrade from an older rawhide? If so, then please follow the recommendations from these two heads-up posts:

http://lists.fedoraproject.org/pipermail/devel/2010-August/140294.html
http://lists.fedoraproject.org/pipermail/devel/2010-August/140301.html

Or is this a post-alpha fresh install? if so, then anaconda created the wrong default.target symlink, and you should fix it manually:

ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target

Comment 3 Sébastien Wilmet 2010-09-12 21:03:09 UTC
It was a fresh install, and indeed the link was broken. Now it works, thanks.


Note You need to log in before you can comment on or make changes to this bug.