CentOS 7 (VNC) aus der Ferne installieren - Booten nicht möglich

867
Eduardo Lucio

Ich versuche, CentOS 7 (auf einem anderen CentOS 7) auf einem Rechner aus der Ferne zu installieren.

http://www.danpros.com/2016/02/how-to-install-centos-7-remotely-using-vnc

... das ist im Grunde das Booten der Maschine mit den folgenden Bootstrap-Dateien ...

wget http://mirror.centos.org/centos/7/os/x86_64/isolinux/vmlinuz -O vmlinuz-7 wget http://mirror.centos.org/centos/7/os/x86_64/isolinux/initrd.img -O initrd-7.img 

... und mit VNC darauf zugreifen.

Nach dem Neustart des Computers mit dem obigen Startschema tritt der folgende Fehler auf ...

[FAILED] Failed to start Switch Root. See 'systemctl status initrd-switch-root.service' for details. Warning: /dev/root does not exist  Generating "/run/initramfs/rdsosreport.txt"  Entering emergency mode. Exit the shell to continue. Type "journalctl" to view system logs. You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot  after mounting them and attach it to a bug report. 

In der Datei ...

/etc/grub.d/40_custom 

... es gibt folgenden Inhalt ...

#!/bin/sh exec tail -n +3 $0 # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above.  menuentry 'NetInstall' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod xfs set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' 0c9d9ace-9666-4977-ab1c-892f62880970 else search --no-floppy --fs-uuid --set=root 0c9d9ace-9666-4977-ab1c-892f62880970 fi linux16 /vmlinuz-7 inst.vnc inst.vncpassword=12345678 inst.headless ip=172.16.13.128::172.16.13.2:255.255.255.0::eno16777736:none nameserver=8.8.8.8 inst.repo=http://mirror.centos.org/centos/7/os/x86_64/ inst.lang=en_US inst.keymap=us initrd16 /initrd-7.img } 

Irgendwelche Ideen, warum der obige Fehler auftritt?

Vielen Dank!

1

1 Antwort auf die Frage

1
Eduardo Lucio

Ich habe einen Thread mit vielen Informationen zu diesem Problem unter diesem Link geöffnet ...

https://www.centos.org/forums/viewtopic.php?t=61089

Grundsätzlich tritt das Problem auf, weil die folgende Version der Bootstrap-Dateien ...

wget http://mirror.centos.org/centos/7/os/x86_64/isolinux/vmlinuz -O vmlinuz-7 wget http://mirror.centos.org/centos/7/os/x86_64/isolinux/initrd.img -O initrd-7.img 

Ich fing an, diese Versionen zu benutzen und das Problem hörte auf ...

wget http://mirror.centos.org/centos/7.2.1511/os/x86_64/isolinux/vmlinuz -O vmlinuz-7 wget http://mirror.centos.org/centos/7.2.1511/os/x86_64/isolinux/initrd.img -O initrd-7.img