Quantcast
Channel: FedoraForum.org
Viewing all articles
Browse latest Browse all 36122

install fedora 18 via kickstart

$
0
0
try to do network install using kickstart file on nfs, but it doesn't work

server net 192.168.1.x/24
client net 192.168.2.x/24 (incl. DHCP)

nfs share 192.168.1.209:/install
fedora 18 files 192.168.1.209:/install/fedora18
kickstart 192.168.1.209:/install/fedora18/ks.cfg

1. took the kickstart file from a fresh installed fedora 18 64 bit and copied to nfs
- boot client with 64 bit fedora 18 netinstall and changed boot
initrd=initrd.img repo=nfs:192.168.1.209:/installserver/fedora18/ ks=nfs:192.168.1.209:/installserver/fedora18/ks.cfg

.
.
dracut-initqueue[375]: mount.nfs: connection timed out
dracut-initqueue[375]: cp: cannot stat '/run/nfs_mnt0/ks.cfg': No such file or directory
dracut-initqueue[375]: Warning: failed to fetch kickstartfile from nfs:/192.168.1.209/installserver/fedora18/ks.cfg
dracut-initqueue[375]: mount.nfs : Network is unreachable
dracut-initqueue[375]: Warning: Couldn´t mount nfs:,nfsvers=3:1392.168.1.209:/installserver/fedora18
dracut-initqueue[375]: Warning: no suitable images
dracut-initqueue[375]: Warning: Could not boot.
dracut-initqueue[375]: RTNETLINK answers: File exists
[ OK ] Started Show Playmouth Boot Screen.
[ OK ] Reached target Basic System.
dracut-initqueue[375]: dhclient(461) is already running - exiting.
dracut-initqueue[375]: This version of ISC DHCP is based on the release available
dracut-initqueue[375]: on ftp.isc.org. Features have been added and onther changes
dracut-initqueue[375]: have been made to the base softwre release in order to make
dracut-initqueue[375]: it work better with this distribution.
dracut-initqueue[375]: Please report for this software via the Red Hat Bugzilla site:
dracut-initqueue[375]: http://bugzilla.redhat.com
dracut-initqueue[375]: exiting.
dracut-initqueue[375]: Error: either "to" is duplicate, or "192.168.1.2" is garbage.
dracut-initqueue[375]: destination : ask for what ip address
dracut-initqueue[375]: mount.nfs: Connection timed out
dracut-initqueue[375]: cp: cannot stat '/run/nfs_mnt0/ks.cfg': No such file or directory
dracut-initqueue[375]: Warning: failed to fetch kickstart from nfs:/192.168.1.209/installserver/fedora18/ks.cfg
dracut-initqueue[375]: Warning: Could not boot.
dracut-initqueue[375]: Warning: /dev/root does not exist

Entering emergency mode. Exit the shell to continue.


2. added "nfs --server=192.168.1.209 --dir=/install/fedora18" to ks.cfg
- boot client with 64 bit fedora 18 netinstall and changed boot
"initrd=initrd.img ks=nfs:192.168.1.209:/installserver/fedora18/ks.cfg"

3. changed boot command
initrd=initrd.img ip=dhcp ks=nfs:192.168.1.209:/installserver/fedora18/ks.cfg

4. change boot command
initrd=initrd.img ip=dhcp noipv6 ks=nfs:192.168.1.209:/installserver/fedora18/ks.cfg

5. change boot command to static ip config
initrd=initrd.img ip=192.168.2.34 netmask=255.255.255.0 gateway=192.168.2.1 ks=nfs:192.168.1.209:/installserver/fedora18/ks.cfg


seems ip will assigne wrong even when using dhcp or using static config -> it's not possible to ping the nfs server
only entires in the same net (192.168.2.x)



At the end i tried to use the a workaround and place the kickstart on the CD.
i copy the ks.cfg kickstart file to the CD top-level directory and into the isolinux/ directory.

change boot command
initrd=initrd.img ramdisk_size=20000 ks=cdrom:/ks.cfg

[ 9.836500 ] [drm] nouveau 0000:03:00.0: Detected 1024MiB VRAM (GDDR5)
[ 9.846328 ] [drm] nouveau 0000:03:00.0: 512 MiB GART (aperture)
[ 9.855005 ] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[ 9.855102 ] [drm] No driver support for vblank timestamp query.
[ 9.862521 ] [drm] nouveau 0000:03:00.0: 3 available performance level(s)
[ 9.862621 ] [drm] nouveau 0000:03:00.0: 0: core 50MHz shader 101MHz memory 135MHz voltage 850mV
[ 9.862763 ] [drm] nouveau 0000:03:00.0: 1: core 405MHz shader 810MHz memory 324MHz voltage 862mV-887mV
[ 9.862912 ] [drm] nouveau 0000:03:00.0: 3: core 625MHz shader 1251MHz memory 1304MHz voltage 863mV-975mV
[ 9.863054 ] [drm] nouveau 0000:03:00.0: c: core 405MHz shader 810MHz memory 324MHz voltage 912mV
[ 9.871808 ] [drm] nouveau 0000:03:00.0: MM: using COPY1 for buffer copies
[ 9.862621 ] [drm] nouveau 0000:03:00.0: allocated 1680x1050 fb: 0x140000, boffff880460cda000
[ 10.024907 ] fbcon: nouveaufb (fb0) is primary device
[ 10.045345 ] Console: switching to colour frame buffer device
[ 10.047521 ] fb0: nouveaufb frame buffer device
[ 10.047532 ] drm: registered panic notifier
[ 10.047546 ] [drm] Initialized mouveau 1.0.0 20120316 for 0000:03:00.0 on minor 0
[ OK ] Started Show Playmouth Boot Screen.
[ OK ] Reached target Basic System.
dracut-initqueue[396]: Warning: Could not boot.
[ OK ] Started Show Playmouth Boot Screen.
[ OK ] Reached target Basic System.
dracut-initqueue[396]: Warning: Could not boot.
dracut-initqueue[396]: Warning: /dev/root does not exist

Entering emergency mode. Exit the shell to continue.

Viewing all articles
Browse latest Browse all 36122

Trending Articles