hi there
first you might want to use the "code" tags when posting
PHP Code:
[code]the code you copy/pasted [/code]
so it looks like this -- it is a lot easier to read
Code:
#!/bin/bash
GUESTIMAGESTORAGE=/home/wahab/Desktop/linux
GUESTIMAGEFORMAT=qcow2
ISOSTORAGE=/home/wahab/Desktop/iso
ISOFILENAME=SL-63-x86_64-2012-08-02-Install-DVD.iso
NETWORKBRIDGE=guest_os_bridge
KICKSTARTFILEPATH=/home/wahab/Desktop/kickstart
GUESTRAM=1024
GUESTDISKSIZE=4
REPO64=http://ftp1.scientificlinux.org/linux/scientific/6.3/x86_64/os
GUESTNAME64=sl63x86_64_wgul
KICKSTARTFILENAME64=sl63x86_64_ks_base.cfg
KICKSTARTFILELOCATION64=$KICKSTARTFILEPATH/$KICKSTARTFILENAME64
echo "$KICKSTARTFILELOCATION64"
# Create images directory
mkdir -p /home/wahab/Desktop/iso
mkdir -p /home/wahab/Desktop/kickstart
mkdir -p $GUESTIMAGESTORAGE
cp /root/install/$KICKSTARTFILENAME64 $KICKSTARTFILEPATH/$KICKSTARTFILENAME64
virt-install --connect qemu:///system \
--name $GUESTNAME64 \
--ram $GUESTRAM \
--vcpus=1 \
--file $GUESTIMAGESTORAGE/$GUESTNAME64$(echo ".")$GUESTIMAGEFORMAT \
--file-size $GUESTDISKSIZE \
--location $REPO64 \
--vnc \
--noautoconsole \
--os-type linux \
--accelerate \
--network=bridge:$NETWORKBRIDGE,mac=00:00:00:00:00:00 \
--hvm \
--initrd-inject=$KICKSTARTFILELOCATION64 \
--extra-args "ks=file:/$KICKSTARTFILENAME64"
Quote:
I have give files chmod 777 permision, but i am still getting this error. Please help explaining where is the problem.
|
using chmod with "777" on system files is likely to cause the operating system to not boot
or if folders in your home like "Desktop"
you might not even be able to login as that user
most OS's check if the "system files" have the correct permissions and if NOT then NOT BOOT
this is a safety precaution
and SELinux REALLY checks things ,and if the SE context is not correct it will not run
also this
Quote:
/home/wahab/Desktop/linux/sl63x86_64_wgul.qcow2
|
linux is not Windows
the "Desktop" folder is a special case folder
keeping programs there can cause problems , like they might not work
"sl63x86_64"
so this is ScientificLinux 6.3 you have
SELinux can also cause problems if you use the "Desktop" folder
-- linux is not windows --
so please do not try to fill up the "desktop " with 1,000+ "installers"
there should be a folder in your home folder called "public"
that is in the system $PATH for your normal user