[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse
Subject:    Re: [opensuse] LEap with root on nfs share
From:       Daniel Spannbauer <ds () marco ! de>
Date:       2020-03-02 10:58:22
Message-ID: 7775a5e3-0dbe-151d-ac03-692d2765dd59 () marco ! de
[Download RAW message or body]


Am 3/2/20 um 9:56 AM schrieb Per Jessen:
> Daniel Spannbauer wrote:
>
>> Am 3/1/20 um 2:58 PM schrieb Per Jessen:
>>> Per Jessen wrote:
>>>
>>>> AFAIR, the one that is built during installation does not work.  To
>>>> build a working initrd:
>>>>
>>>> a) boot installer over pxe, install onto nfs.
>>>> b) boot installer over pxe, ssh shell.
>>>> c) mount nfs on /mnt
>>>> d) bind mount /proc /dev und /sys
>>>> e) chroot into /mnt
>>> e1) rm /etc/resolv.conf
>>> e2) edit /etc/resolv.conf  (nameserver, search)
>>>
>>> This is to make sure names on the command line can be properly
>>> resolved. My nfs root server is called 'rootserver.example.com'.
>> Should be done by the dehclient I think.
> Yes, but not when you have chrooted. 

Jup, you are right. Even with mounted /var.....


>
>> But anyway: tried it with the beta of 15.2...got also errors at
>> creating the initrd.
> Haha, I did the same yesterday, tried with 15.2. I did wonder if
> I should write to tell you. 
>
> After I re-built the initrd, I put a serial console on, but 
> all I got was:
>
> [  139.843403] dracut-initqueue[456]: mount.nfs: Resource temporarily unavailable
> [  268.612177] dracut-initqueue[456]: Warning: dracut-initqueue timeout - starting timeout scripts
> [  269.188159] dracut-initqueue[456]: Warning: dracut-initqueue timeout - starting timeout scripts
> [  269.744169] dracut-initqueue[456]: Warning: dracut-initqueue timeout - starting timeout scripts
>
> I'm going to try with 15.1 today - I have working systems 
> with both 15.0 and 15.1.

My errors where caused by a missing name resolution (/etc/resolv.conf)
and a missing paket dhcp-client.

No, it builds without errors. But when I boot via pxe it starts directly
into systemd emergency mode, bit I can't do any input on the system.


What a mess.....


Regards


Daniel



-- 
Daniel Spannbauer                         Systemadministration
marco Systemanalyse und Entwicklung GmbH  Tel   +49 8333 9233-27 Fax -11
Rechbergstr. 4-6, D 87727 Babenhausen     Mobil +49 171 4033220
http://www.marco.de/                      Email ds@marco.de
Geschäftsführer Martin Reuter             HRB 171775 Amtsgericht München


-- 
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse+owner@opensuse.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic