Bug 1040432 - Cannot boot when the system drive is attached via USB
Summary: Cannot boot when the system drive is attached via USB
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 20
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-11 12:27 UTC by Mykola Dvornik
Modified: 2015-06-29 13:28 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1236729 (view as bug list)
Environment:
Last Closed: 2015-06-29 13:28:31 UTC
Type: Bug


Attachments (Terms of Use)
fstab of the affected system (501 bytes, text/plain)
2013-12-13 07:20 UTC, Mykola Dvornik
no flags Details

Description Mykola Dvornik 2013-12-11 12:27:12 UTC
Description of problem:

Cannot boot when the system drive is attached via USB

Version-Release number of selected component (if applicable):

systemd-208-9.fc20.x86_64 

How reproducible:

Persistent

Steps to Reproduce:

1. Install Fedora on the internal drive
2. Move the drive to the USB 3 enclosure
3.

Actual results:

The boot process stops at

A job is running for disk/by-id ...

Expected results:

Normal boot

Additional info:

UUIDs of the partitions are the same for both internal and external configurations

Comment 1 Lennart Poettering 2013-12-13 02:14:06 UTC
Well, you apparently configured your mount points/swas in /etc/fstab via /dev/disk/by-id links which will look differently when connected via ata and usb. Use /dev/disk/by-uuid/ links or suchlike to use stable partition identifiers...

Comment 2 Mykola Dvornik 2013-12-13 07:20:13 UTC
Created attachment 836170 [details]
fstab of the affected system

Comment 3 Mykola Dvornik 2013-12-13 07:23:18 UTC
The fstab is attached. Everything is mounted via UUIDs. Systemd is awesome, but...

Comment 4 Zbigniew Jędrzejewski-Szmek 2014-01-14 22:15:39 UTC
MODIFIED means that an update was released, so nobody would look at this bug report anymore.

This should be fixed when systemd-209 is released.

Comment 5 Lennart Poettering 2014-02-23 16:25:55 UTC
So, are these three fs uuids all on the USB device?

UUID=87f23460-fe0a-467b-a2a9-6df5869e6c8d
UUID=6d30f509-8d2e-4b4e-8cf0-eff372d53d29
UUID=308cb8c2-344e-41eb-b774-725b0d99d283 

What does "ls /usr/disk/by-uuid" show when you try to boot with this?

Comment 6 Mykola Dvornik 2014-06-16 13:57:22 UTC
yes they were. cannot test further at the moment.

Comment 7 Fedora End Of Life 2015-05-29 09:57:53 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 8 Steve Holland 2015-06-02 14:55:10 UTC
I am seeing this bug in Fedora 22... please adjust the version to reflect that it is still a current bug. 

After grub the screen blanks and gives the Fedora logo. 
If I hit <escape>
I see "[ OK ] Started Show Plymouth Boot Screen"
      "[ OK ] Reached target Paths."

which slowly repeats itself a few times 
If I wait long enough I get an error message and then a shell that seems to be running in initrd context. 

When I look in /dev/disk/by-uuid, I notice that none of the USB partitions are
listed. They don't seem to have regular /dev entries either. 

I have discovered a workaround: If after the "[ OK ] Reached target Paths."
I unplug and replug the USB drive (this is the very drive it is supposed to be 
booting from!), then it immediately identifies the drive, prompts me for 
the password to decrypt partitions, and continues a normal and successful boot. 

Likewise, if I wait for the initrd shell and look in /dev and /dev/disk/by-uuid, 
the entries for the USB disk magically pop-up when the device is replugged.

Comment 9 Fedora End Of Life 2015-06-29 13:28:31 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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