# Linux – How to make a USB bootable stick for installing Fedora or Centos using VNC

centosfedorainstallationlinuxvnc

I have a PC with no option for a keyboard. I have to install the operating systems without a keyboard or mouse.

I have to make a bootable USB stick which can allow me to connect to the PC from my Laptop with a VNC connection, then the complete installation using IP to IP. I did this with the following:

1. Extract the files of .iso to my laptop

2. Add the manual file in CentOS-6.0-i386-minimal/isolinux/ks.cfg

install
lang en_US.UTF-8
keyboard us
timezone --utc Europe/Brussels
rootpw  --iscrypted $6$i5qEWD.
selinux --disabled
firewall --service=ssh
network --bootproto=static --ip=192.168.1.125 --netmask=255.255.255.0 --gateway=192.168.1.1 --nameserver=192.168.1.1

3. Copy and paste all files on my laptop to the USB stick

4. Unplug my USB and connect to the target PC

5. However it never boots to the USB, and then I checked the USB in my laptop, which is also the same as it's not yet a bootable USB

Any ideas how to fix this?

Note: I have followed:

http://fedoraproject.org/wiki/Anaconda/Kickstart#vnc

http://www.centos.org/docs/5/html/5.2/Installation_Guide/s1-kickstart2-startinginstall.html

1. yum -y install unetbootin.i686

This allows me to write the iso file to USB, disk or CD

2. mkisofs -o /tmp/cd.iso /home/sun/Downloads/centos/

This allows you to modify your original iso files with the new contents and pack it as one .iso file

1. Finally load unetbootin and burn to your USB or disk or CD

It works great now!