CentOS 5 :: Create A CentOS Based LiveCD That Mounts A NFS Share And Executes One Script?

Aug 14, 2009

I'm trying to create a CentOS based liveCD that mounts a NFS share and executes one script there. The NFS never mounts altough while logged I can mount it with the very same command that I use in the KS.

In the %post I have :

%post --log=/tmp/post.log --erroronfail
mkdir /mnt/nfs
mount -o nolock /mnt/nfs

I added the --log in order to debug, but nothing is written in /tmp/post.log. I tried redirection on the mount command with >> /tmp/debug.log but this is not written. Maybe during the post sequence /tmp is RO ? Anyway, I tried with ifup lo, service portmap start in the %post, but doesnt change (I even have a service : command not found in the live cd creator output).

Here is the remainder of the KS :
lang en_US.UTF-8
keyboard us
timezone US/Eastern


View 10 Replies


CentOS 5 Networking :: Create PPPOE Connection On Text Based CentOS?

Jan 1, 2010

How can i add a PPPOE connection witch connect automatically on system start up in text mode in centos 5.4

View 3 Replies View Related

CentOS 5 :: Rsync To A Samba Share Ignores Force Create Mode?

Jan 12, 2011

Have an issue with my CentOS server. I have a fully updated Centos 5.5 server and I have samba set up to serve shares to a couple of groups in my home office. I have it set up to force user/group and force directory create mode 770 and force file mode of 770. This set up works perfectly well for normal connections to the server; no matter who connects, all files and directories are owned by the specified users/group and create modes I specify. The problem is when I try to rsync some files to the same shares. When I do this, rsync ignores the directory/file forced create mode. It will honor the user/group, however. As an example, if I create a directory on one machine connected to the samba share, I get the following:

drwxr-x--- 3 nobody users 0 2010-12-26 20:42 Misc Pics

View 14 Replies View Related

CentOS 5 :: Scheduled Task That Executes A Shell Script?

Dec 17, 2009

I centos version 5 installed on server 2, and I want to make a scheduled task that executes a shell script.This script should copy some files and directories from one server to another. I do not use DRBD and Heartbeat.

View 1 Replies View Related

CentOS 5 :: Creating A Simple Live CD That Executes A Shell Script?

Mar 9, 2010

I would like to a build a CD image (of CentOS 5, x86_64 that loads into memory and boots to the OS without installing anything to hard drives. Then I would like the system to execute a shell script automatically. The shell script will have commands that will control execution.

The goal of this exercise is basically to pre-configure a system (RAID config, BIOS update, etc) automatically using the shell script before installing the OS. I would like the ability to change the shell script as needed and probably repackage the ISO image. I would prefer not to deal with building a source tree to accomplish this. this is something one could do using mkisofs.

View 1 Replies View Related

Ubuntu :: Daemon That Executes Commands Based On Input Device In Use?

Jan 28, 2011

I have a computer with a trackpad and a touchscreen. I want to run unclutter if I use the touchscreen, and kill it when I use the trackpad or a USB mouse.

The I'm pretty sure the touchscreen is /dev/input/mouse0, and the trackpad is /dev/input/mouse1

I have a general idea of how this should work, but no idea what tools and commands to use to implement it.

View 1 Replies View Related

CentOS 5 Networking :: Share Data Between WINDOW And CENTOS?

Dec 29, 2010

I m new study Linux so Would you like guide me how to config CENTOS to share DATA .Anyway , pls if possible pls help me build FILE SERVER, ISA by CENTOS

View 3 Replies View Related

CentOS 5 :: External Usb Hard Driver Mounts Root?

Sep 22, 2010

I have created a 2nd user account on my system and when that user accesses the external hard drive it's permissions are root.

@one ~]$ ls /media -l
total 13 dr-xr-xr-x 1 root root 8192 Sep 19 11:49 External Drive 1TB

View 4 Replies View Related

CentOS 5 :: Create A Boot Load Entry For Mandriva From Grub Centos?

Feb 22, 2011

Ive installed centos freebsd and mandriva but i want to manage grub from my centos and y create successfully a boot load for freebds. But for mandriva it just doesnt work... so how can a create a boot load entry for mandriva from grub centos?

View 1 Replies View Related

CentOS 5 :: How To Create Bootable CentOS Iso File With New Contents

Jun 16, 2010

I installed the latest CentOS 5.5 in my PC. I added some public domain projects on it. Now how can I make another boot-able CentOS iso file with all the new projects I just added? In the other words, I try to create a boot-able CD with the CentOS and all the projects on it.

View 1 Replies View Related

CentOS 5 Networking :: CIFS Mounts Hang When Pushing Data / Resolve This?

Apr 9, 2009

Ive seen this a hundred times while searching google but I can't seem to get any of the fixes suggested to work for me.

Here are the specs code...

I have other servers on the same network with the same software/hardware that never loses its mount to the windows share, and nightly backups are run through those mounts. So why does the mount on this machine fail when we do a push? The only conclusion that I can come to is there is some sort of time out on the windows server that causes this. The other servers that have this same type mount use their share every night, where as the share on this server gets used once or twice a week. Once the mount hangs I can not unmount it, I have to reboot the server. Once the server is rebooted the push works fine. But then the next week when a push is tried it hangs. What else can I check?

UPDATE: I've also tried NFS mounts and autofs mounts and they hang as well

I enabled logging by echo 1 > cifsFYI and this is what I see in var/log/message code...

Ive removed the actual file names for security concerns. Any one have ideas as to why this is happening? The only other thing I can think of to try is to swap out the NIC but it's at a remote location so I can't do that right now.

View 5 Replies View Related

CentOS 5 :: How To Create/boot CentOs 5.3 Ram Image

Apr 6, 2010

How can I create/boot CentOs 5.3 ram image?I'm looking to create a CentOs ram image that once booted will not access the hard drive.

View 3 Replies View Related

CentOS 5 :: Create ECDSA On Centos 5.6 Final?

Jul 22, 2011

I have a project needing ecdsa and ec support in Openssl. Unfortunatly the openssl in CentOS 5.6 Final are built without
this functionality. As my experience with CentOS are a little on the fresh side, I would like to know my options in this case.

How I can create key pair as ecdsa?

After I upgrade openssh until version 5.8p1, It's not work on command ssh-keygen -t ecdsa 256, I got feedback "unknown key type ecdsa

What I have suppose to do? when I use openssl new update my server can't work properly again, so I decided to installation again.

View 1 Replies View Related

CentOS 5 :: LiveCd On A PXE Server?

Feb 13, 2009

Im trying to set up a CentOS 5.1 LiveCD on my PXE/tftp server and am having problems. I can currently successfully install CentOS 5.1 using my PXE server but can not get it to load the Live CD.

I tried following this How To but it doesnt cover a Live CD just a rescue mode.

http://wiki.centos.org/HowTos/PXE/Rescue_PXE My entry is /tftpboot/pxelinux.cfg/default for the live cd is this:label centoslive kernel centoslive/vmlinuz0 append ks=http://ip.to.liveCD.contents/CentOS/5.1/ks/live initrd=centoslive/initrd0.img ramdisk_size=8192 selinux=0 text


View 4 Replies View Related

CentOS 5 :: Installing From An LiveCD?

Aug 12, 2010

In my CentOS Bible, written by Timothy and Christopher it refers to a one button that you can install CentOS with one button from the LiveCD, or from CentOS running from the CD and install to the hard drive? I pressed everything and nada, as most everything does not function it seems. What am I missing that may go along with preparing these Dell 2650's?

View 9 Replies View Related

General :: Terminal Executes Mi Script To Create Vector

Dec 6, 2010

I am trying to create a script that creates a vector and displays it. I used the command inivec but it didn't work.


How do I make it so the terminal executes mi script to create a vector. I know MV is the name and the output should be aa aa aa, but nothing?

View 3 Replies View Related

General :: How To Create Multiple Children Before Any Child Executes

Aug 27, 2010

Iv got an assignment to complete and I'm stuck at the basic level.

A part of the assigned problem is :

The main process will read the file, and will create N number of child processes (Where N is taken as input) as early as possible before all the children starts its execution. Before creation of each child, the main process should read the file to store all the required data in then corresponding data structure. Child processes should not read the file for getting their information.

As far as my knowledge about this , the child executes before the parent. How do I make the parent not pass the control to it's children before it finishes creating all the children?

View 3 Replies View Related

Red Hat / Fedora :: Use A Livecd On CentOS 5.5 In VMWare?

Apr 7, 2011

I have centos 5.5 on vmware, and I'm trying to boot up from the live cd so that I can fix some issues that I'm having. I have vmware pointing at my cd drive, I mount the cdrom and when I ls, it lists the contents of the cd. But when I go to reboot centos, it doesn't boot from the cd and just boots normally.

View 2 Replies View Related

General :: CentOS Not Booting From LiveCD?

Jun 21, 2011

I downloaded the CentOS-5.6-i386-LiveCD.iso and burn it on a CD, as usual. When booting, it does the automatic boot but then crashes, with "Buffer I/O error on device sr0, logical block 354800 (and more)". I am having the same problem with making a boot-able USB. I am not exactly sure what is wrong, I see two folders on the cd LiveOS and isolinux. I'm not sure if it is suppose to be like this, if the burning process when ok. I'm trying to set up a desktop on a pc (with AMD Sempron processor). This is very strange, I ruled out that it couldn't have been my computer (because my Fedora boot disk booted fine), my cd (because it is new and an entirely different brand), or the .iso (because I tested it in VirtualBox, which it booted perfectly).

Files in LiveOS folder:


View 14 Replies View Related

CentOS 5 :: No Checksums Posted For 5.3 LiveCD ISO?

May 21, 2009

I checked a couple of locations:[URL]... and none of the files listing checksums do so for the LiveCD ISO neither md5 nor sha1. Being a "trust but verify" sort of fellow. . .

View 3 Replies View Related

CentOS 5 :: Livecd Kernel Crash Every Day

Nov 29, 2009

I using only Livecd CentOS 5.4 and my system crash in day about ~3-5 times , so I tired and want to know why this happen. (before I used live-cd 5.3 about 3 weeks and this problem still was. info : Linux livecd. localdomain 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 athlon i386 GNU/Linux.I load system perfect and If I just browsing then I will have crash after 5 hours latter , but if I install wine , xmms,lame,xmms-mp3,k3b-mp3,flash-plugin and after installing software I will look movies from internet , or lisining music on xmms mp3 format - my system UPTIME max will be ~30 minutes or less..And I want to ask, or in Live-cd I can start Firewall ? Becouse I think it's not started and then I try to ENABLE its looks like not responding.

View 1 Replies View Related

CentOS 5 :: What Are The System Requirements For The LiveCD

Jun 26, 2010

What are the system requirements for the CentOS 5 liveCD?

View 1 Replies View Related

CentOS 5 :: Install The Cent From The LiveCD?

Jun 11, 2011

I'd like to download Cent 5.6, but I'm a bit confused on which ISO I need to download. I can't use any of the torrent files since my company FW won't allow it through. So, should I download the Live CD or ISO 1 through 8? Can I install the Cent from the LiveCD? If I decide to download ISO 1 through 8, how do I then combine them?

View 5 Replies View Related

CentOS 5 :: Booting From LiveCD - No Install Icon?

Jul 30, 2009

Coming from Windows. First installed Fedora 11 but lost network and haven't been able to restore network connectivity. Attempted to re-install but during the boot process it complained about creating a soft link to /dev/root (not sure what this is about). So attempted to install CentOS by booting from the LiveCD. Much nicer interface but have no install icon and there doesn't appear to be installation guide. How I can install CentOS?

View 4 Replies View Related

CentOS 5 :: Creating A Minimalistic LiveCD Image?

Aug 23, 2009

I followed the instructions here: [URL] and then here: [URL] and installed the necessary packages. But when I try building the minimal image as a test, I get lots of errors, as seen in the attached build log. There are lots of things that don't seem to work. Is this project at a state where it's not currently usable? Or do I have a problem with my system configuration? I was running at root.

[root@localhost test]# LANG=C livecd-creator --config=centos-livecd-minimal.ks --fslabel=CentOS-minimal
Filesystem label=CentOS-minimal
OS type: Linux
Block size=4096 (log=2)


View 4 Replies View Related

CentOS 5 :: Unable To Install From LiveCD - Release2.iso

Jul 8, 2010

This might sound like a really daft question but how the hell do I install CentOS 5.5? I cant find any guide how to install the dam thing. I ve downloaded "CentOS-5.5-i386-LiveCD-Release2.iso" & burnt this to a CD. I then booted my server form this CD. I see a very nice colourful screen which says "Automatic Boot in 10 seconds". After 10 seconds nothing happens. I then rebooted the server & this time I hit the enter key, I now see a menu with the following options:

Boot (text mode)
Network Instillation
Memory Test
Boot form local drive

If I try the "Boot" or "Boot (text mode)" options nothing happens. Selecting the Network Instillation appears to boot the install I then see a blue & red screen asking me to choose a language I picked English hit OK selected UK as the keyboard type hit OK Installation ethod...... Ive chose Local CDROM but the message says: The CentOS cd was not found in any of your CD drives.

View 3 Replies View Related

CentOS 5 :: Cannot Install The 5.5-i386-LiveCD-Release2

Oct 4, 2010

after download CentOS-5.5-i386-LiveCD-Release2 i did not found install option ? how can i install it ??? on my laptop ?

View 3 Replies View Related

CentOS 5 :: Install Software And Personalize LiveCD 5.5?

Jan 24, 2011

I'm looking for a good manual "howto install software and personalize CentOS LiveCD 5.5".

View 1 Replies View Related

General :: Bash Scripting - Executes A Few Perl Scripts - Create A New Array And Take The Hostname

Apr 4, 2011

I'm writing a bash script that executes a few perl scripts. One of the perl scripts that I need to execute requires two arguments with it. The arguments are stored in a txt file, each line contains a hostname and its corresponding IP address separated by a ":" (colon), the txt file looks like this below:


I'm not sure if it's the best way to accomplish this but here it goes. In the bash file, let's call it getHosts.sh, I create an array and assign each line of the file to an element in that array. I then think I need to create a new array where I take the hostname (which is before the ":") separate it from its IP address and place the IP address on a new line just below the hostname (this way I can reference to it like $hostNames[$x] would be the hostname, and $hostNames[$x+1] would be its IP address). So the new array would now look like this below:


View 4 Replies View Related

Programming :: Create A RS232 C Program That Executes A Series Of Commands Down The Line To A Robot?

Jan 5, 2011

I am trying to create a RS232 C program that executes a series of commands down the line to a robot. Everything seems to work fine, except any sequential write to the serial port. At first I thought it was the UART's buffer being filled too fast, but even with a 50 uS delay it still throws the error.

Here is my code:

#include <termios.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/signal.h>
#include <sys/types.h>


View 1 Replies View Related

Copyrights 2005-15 www.BigResource.com, All rights reserved