Skip to contentSkip to conversation

Update FC23 - doesn't boot - ssh preboot not working anymore

DISCUSSION Gerhard Wiesinger 3 participants 6 messages Nov 3, 2015 – Nov 14, 2015 3 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hello,

After upgrading one machine it does't boot anymore. Booting the old FC22 kernel works well.

Reached target Basic System.
Found device /dev/mapper/luks-9fbecd95-508a-45ca-997a-42a613c4e5bf Found device /dev/mapper/fedora_hostname-root

Also integration of ssh preboot authentication is not available anymore.

blkid:
/dev/vda2: UUID="f3e2c8a9-51b1-4110-aef5-039cf714425a" TYPE="ext4" PARTLABEL="Linux filesystem" PARTUUID="6bc53fb0-771b-4b52-b584-c87735715a47" /dev/vda3: UUID="9fbecd95-508a-45ca-997a-42a613c4e5bf" TYPE="crypto_LUKS" PARTLABEL="Linux filesystem" PARTUUID="090ffe9b-6791-46df-b9a4-f30adbb95e50" /dev/mapper/luks-9fbecd95-508a-45ca-997a-42a613c4e5bf: UUID="A3RzKd-F7ym-pN6a-F01g-Q0Gw-DrVr-jhTgbo" TYPE="LVM2_member" /dev/mapper/fedora_hostname-swap: UUID="cef5950c-43bc-485c-ae2b-832fcbe752c7" TYPE="swap"
/dev/mapper/fedora_hostname-root: UUID="8f5436a3-28cb-4c7e-91df-e3f9249d17d2" TYPE="ext4"
/dev/vda1: PARTLABEL="BIOS Boot Partition" PARTUUID="35685b7e-917c-4cc5-9133-69f00f5a1e2f"

Any ideas?

Thank you.

Ciao,
Gerhard

--
http://www.wiesinger.com/

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 18 lines · Gerhard Wiesinger

Hello,

After upgrading one machine it does't boot anymore. Booting the old FC22 kernel works well.

Reached target Basic System.
Found device /dev/mapper/luks-9fbecd95-508a-45ca-997a-42a613c4e5bf Found device /dev/mapper/fedora_hostname-root

Also integration of ssh preboot authentication is not available anymore.

blkid:
/dev/vda2: UUID="f3e2c8a9-51b1-4110-aef5-039cf714425a" TYPE="ext4" PARTLABEL="Linux filesystem" PARTUUID="6bc53fb0-771b-4b52-b584-c87735715a47" /dev/vda3: UUID="9fbecd95-508a-45ca-997a-42a613c4e5bf" TYPE="crypto_LUKS" PARTLABEL="Linux filesystem" PARTUUID="090ffe9b-6791-46df-b9a4-f30adbb95e50" /dev/mapper/luks-9fbecd95-508a-45ca-997a-42a613c4e5bf: UUID="A3RzKd-F7ym-pN6a-F01g-Q0Gw-DrVr-jhTgbo" TYPE="LVM2_member" /dev/mapper/fedora_hostname-swap: UUID="cef5950c-43bc-485c-ae2b-832fcbe752c7" TYPE="swap"
/dev/mapper/fedora_hostname-root: UUID="8f5436a3-28cb-4c7e-91df-e3f9249d17d2" TYPE="ext4"
/dev/vda1: PARTLABEL="BIOS Boot Partition" PARTUUID="35685b7e-917c-4cc5-9133-69f00f5a1e2f"

Quoted 6 lines

Any ideas?

Thank you.

Ciao,
Gerhard

Any help?

Ciao,
Gerhard

#3 lore raw
In reply to a message not in the archive

Am 03.11.2015 um 22:39 schrieb Gerhard Wiesinger:

Quoted 25 lines

Hello,

After upgrading one machine it does't boot anymore. Booting the old FC22 kernel works well.

Reached target Basic System.
Found device /dev/mapper/luks-9fbecd95-508a-45ca-997a-42a613c4e5bf Found device /dev/mapper/fedora_hostname-root

Also integration of ssh preboot authentication is not available anymore.

blkid:
/dev/vda2: UUID="f3e2c8a9-51b1-4110-aef5-039cf714425a" TYPE="ext4" PARTLABEL="Linux filesystem" PARTUUID="6bc53fb0-771b-4b52-b584-c87735715a47" /dev/vda3: UUID="9fbecd95-508a-45ca-997a-42a613c4e5bf" TYPE="crypto_LUKS" PARTLABEL="Linux filesystem" PARTUUID="090ffe9b-6791-46df-b9a4-f30adbb95e50" /dev/mapper/luks-9fbecd95-508a-45ca-997a-42a613c4e5bf:
UUID="A3RzKd-F7ym-pN6a-F01g-Q0Gw-DrVr-jhTgbo" TYPE="LVM2_member" /dev/mapper/fedora_hostname-swap: UUID="cef5950c-43bc-485c-ae2b-832fcbe752c7" TYPE="swap"
/dev/mapper/fedora_hostname-root: UUID="8f5436a3-28cb-4c7e-91df-e3f9249d17d2" TYPE="ext4"
/dev/vda1: PARTLABEL="BIOS Boot Partition" PARTUUID="35685b7e-917c-4cc5-9133-69f00f5a1e2f"

Quoted 6 lines

Any ideas?

Thank you.

Ciao,
Gerhard

https://www.kernel.org/pub/linux/utils/boot/dracut/dracut.html#_troubleshooting

please file a bugzilla on the fedora/redhat bugzilla and add rdsosreport.txt

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw

Hi,

Quoted 8 lines
Quoted 8 lines

After upgrading one machine it does't boot anymore. Booting the old FC22 kernel works well.

Reached target Basic System.
Found device /dev/mapper/luks-9fbecd95-508a-45ca-997a-42a613c4e5bf Found device /dev/mapper/fedora_hostname-root

Also integration of ssh preboot authentication is not available anymore.

...

Quoted 5 lines

https://www.kernel.org/pub/linux/utils/boot/dracut/dracut.html#_troubleshooting

please file a bugzilla on the fedora/redhat bugzilla and add rdsosreport.txt

Please follow up here with the bugzilla ID, as I had a similar problem.

My solution was to create a "BIOS Boot" partition where one previously didn't exist then reinstall grub. I really don't know if all that I did was necessary, or if there was something else in my process that actually fixed it, but I've had to do it on a few machines now and it's fixed it every time.

#6 lore raw
In reply to a message not in the archive
Quoted 30 lines · Harald Hoyer

Am 03.11.2015 um 22:39 schrieb Gerhard Wiesinger:

Quoted 29 lines

Hello,

After upgrading one machine it does't boot anymore. Booting the old FC22 kernel works well.

Reached target Basic System.
Found device /dev/mapper/luks-9fbecd95-508a-45ca-997a-42a613c4e5bf Found device /dev/mapper/fedora_hostname-root

Also integration of ssh preboot authentication is not available anymore.

blkid:
/dev/vda2: UUID="f3e2c8a9-51b1-4110-aef5-039cf714425a" TYPE="ext4" PARTLABEL="Linux filesystem" PARTUUID="6bc53fb0-771b-4b52-b584-c87735715a47" /dev/vda3: UUID="9fbecd95-508a-45ca-997a-42a613c4e5bf" TYPE="crypto_LUKS" PARTLABEL="Linux filesystem" PARTUUID="090ffe9b-6791-46df-b9a4-f30adbb95e50" /dev/mapper/luks-9fbecd95-508a-45ca-997a-42a613c4e5bf:
UUID="A3RzKd-F7ym-pN6a-F01g-Q0Gw-DrVr-jhTgbo" TYPE="LVM2_member" /dev/mapper/fedora_hostname-swap: UUID="cef5950c-43bc-485c-ae2b-832fcbe752c7" TYPE="swap"
/dev/mapper/fedora_hostname-root: UUID="8f5436a3-28cb-4c7e-91df-e3f9249d17d2" TYPE="ext4"
/dev/vda1: PARTLABEL="BIOS Boot Partition" PARTUUID="35685b7e-917c-4cc5-9133-69f00f5a1e2f"

Any ideas?

Thank you.

Quoted 8 lines
Quoted 2 lines

Ciao,
Gerhard

https://www.kernel.org/pub/linux/utils/boot/dracut/dracut.html#_troubleshooting

please file a bugzilla on the fedora/redhat bugzilla and add rdsosreport.txt

Hello Harald,

Applied kernel parameters from link but I dont't get a shell. Very strange, it looks like if you wait for minutes it works well and I get a password prompt. But afterwards it is still slow on booting, but get the log file after some long waiting and tricks. It looks like it hangs in some endless loop when working on string operations.

Send you a private email with further private information about the issue (screenshots).

Will open a bug report later on.

Ciao,
Gerhard

A message that is not in the archive (sent off-list or not yet received): [email protected]

#8 lore raw
Quoted 42 lines · Gerhard Wiesinger
Quoted 30 lines · Harald Hoyer

Am 03.11.2015 um 22:39 schrieb Gerhard Wiesinger:

Quoted 29 lines

Hello,

After upgrading one machine it does't boot anymore. Booting the old FC22 kernel works well.

Reached target Basic System.
Found device /dev/mapper/luks-9fbecd95-508a-45ca-997a-42a613c4e5bf Found device /dev/mapper/fedora_hostname-root

Also integration of ssh preboot authentication is not available anymore.

blkid:
/dev/vda2: UUID="f3e2c8a9-51b1-4110-aef5-039cf714425a" TYPE="ext4" PARTLABEL="Linux filesystem" PARTUUID="6bc53fb0-771b-4b52-b584-c87735715a47" /dev/vda3: UUID="9fbecd95-508a-45ca-997a-42a613c4e5bf" TYPE="crypto_LUKS" PARTLABEL="Linux filesystem" PARTUUID="090ffe9b-6791-46df-b9a4-f30adbb95e50" /dev/mapper/luks-9fbecd95-508a-45ca-997a-42a613c4e5bf:
UUID="A3RzKd-F7ym-pN6a-F01g-Q0Gw-DrVr-jhTgbo" TYPE="LVM2_member" /dev/mapper/fedora_hostname-swap: UUID="cef5950c-43bc-485c-ae2b-832fcbe752c7" TYPE="swap"
/dev/mapper/fedora_hostname-root: UUID="8f5436a3-28cb-4c7e-91df-e3f9249d17d2" TYPE="ext4"
/dev/vda1: PARTLABEL="BIOS Boot Partition" PARTUUID="35685b7e-917c-4cc5-9133-69f00f5a1e2f"

Any ideas?

Thank you.

Quoted 9 lines
Quoted 2 lines

Ciao,
Gerhard

https://www.kernel.org/pub/linux/utils/boot/dracut/dracut.html#_troubleshooting

please file a bugzilla on the fedora/redhat bugzilla and add rdsosreport.txt

Quoted 7 lines

Hello Harald,

Applied kernel parameters from link but I dont't get a shell. Very strange, it looks like if you wait for minutes it works well and I get a password prompt. But afterwards it is still slow on booting, but get the log file after some long waiting and tricks. It looks like it hangs in some endless loop when working on string operations.

Send you a private email with further private information about the issue (screenshots).

Will open a bug report later on.

Thanx for Harald figuring out/helping that with FC23 changed something: interfaces are not anymore eth0 but new interface naming schemes is now active e.g. ens18 Therefore dracut couldn't boot waiting for eth0 specified on kernel command line which didn't exist anymore because it is named now ens18.

As I use networking in initramfs with dracut and get networking up there you can't change the network interface easily (it is possible when you unload the network driver modile but for some reason this did not work reliable).

For reference: Nevertheless I found a solution to get persisent netnames in dracut and later on in the "regular" kernel.

# /etc/grub2.cfg kernel parameters
# before:
ip=1.2.3.4::1.2.3.1:255.255.255.0:myhostname:eth0:off nameserver=8.8.8.8 nameserver=8.8.4.4
# after:
ifname=lan0:26:a0:fc:12:34:56 ip=1.2.3.4::1.2.3.1:255.255.255.0:myhostname:lan0:off nameserver=8.8.8.8 nameserver=8.8.4.4
# and adapt network config and firewall to new interfaces

Harald, thnx for your help.

Ciao,
Gerhard