public inbox for initramfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Gerhard Wiesinger <lists-tcxHB8FAk+J54TAoqtyWWQ@public.gmane.org>
To: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Update FC23 - doesn't boot - ssh preboot not working anymore
Date: Sat, 14 Nov 2015 08:42:23 +0100	[thread overview]
Message-ID: <5646E5DF.50800@wiesinger.com> (raw)
In-Reply-To: <5641E1D0.8080902-tcxHB8FAk+J54TAoqtyWWQ@public.gmane.org>

On 10.11.2015 13:23, Gerhard Wiesinger wrote:
> On 09.11.2015 15:58, Harald Hoyer wrote:
>> Am 03.11.2015 um 22:39 schrieb 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"
>>>
>>> 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
>>
>
>
> 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

      parent reply	other threads:[~2015-11-14  7:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-03 21:39 Update FC23 - doesn't boot - ssh preboot not working anymore Gerhard Wiesinger
     [not found] ` <5639297E.7050905-tcxHB8FAk+J54TAoqtyWWQ@public.gmane.org>
2015-11-05 14:43   ` Gerhard Wiesinger
2015-11-09 14:58   ` Harald Hoyer
     [not found]     ` <5640B47C.1020101-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-11-09 20:05       ` Alex
2015-11-10 12:23       ` Gerhard Wiesinger
     [not found]         ` <5641E1D0.8080902-tcxHB8FAk+J54TAoqtyWWQ@public.gmane.org>
2015-11-14  7:42           ` Gerhard Wiesinger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5646E5DF.50800@wiesinger.com \
    --to=lists-tcxhb8fak+j54taoqtywwq@public.gmane.org \
    --cc=harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox