Ubuntu Installation :: Automating Clonezilla Setup On PXE

Feb 19, 2010

I am trying to set up clonezilla on pxe so that it will start up and show the drones in the workplace a list of images, they choose the one named after the model of computer, and image it. Which means all clonezilla settings but image need to be set and it should automatically choose default settings at 1024x768 when grub pops up. I have looked for command-line options, scripts to run, etc... so far this is what I have...

Code:
#!/bin/bash
. /opt/drbl/sbin/drbl-conf-functions
. /opt/drbl/sbin/ocs-functions
. /etc/ocs/ocs-live.conf

ocs_live_run=`ocs-live-restore`
ocs_live_extra_param=`-p reboot -r hda`
ocs_live_keymap=`NONE`
ocs_live_batch="no"
ocs_lang="en_US.UTF-8"
ocs_daemonon=`samba`

I don't need the bash for selecting the image, but you might as well add that seeing as there's almost no info online for people who want a pxe server...

View 2 Replies


ADVERTISEMENT

Ubuntu Installation :: How To Deploying On Multiple Systems - Automating The Install

Jan 30, 2011

I am volunteering to assist a non-profit org with their technology, I will be presenting Ubuntu to the teachers this week and I hope to have a positive response to using Ubuntu!ith that said, the org being a bilingual school we will most likely focus on using Edubuntu. While I personally use Ubuntu and have installed it over the years on multiple laptops & deskptops, I am now facing the task of installing and maintaining on a dozen laptops and another dozen deskptops!While the install is very straight forward, installing on so many systems will be very time consuming! In addition, we would like to install additional apps such as Skype, Dropbox, French Language support, Possibly Ailurus and a few other apps.

I am looking for suggestions how to best handle this? What would be the best method to automate the install across the systems?Could the best approach be to install Edubuntu and all the apps we require on one system and then create an image from the "master system" to be used for the other systems?It seems that creating a master image would be ideal as it would include everything we need but I have never done that before

View 9 Replies View Related

Ubuntu Installation :: Specified Backup With Clonezilla?

Nov 28, 2010

I want to ask you if i can backup with clonezilla only /home sda3 directory. And to backup sda1 and Linux Swap with another program as Acronis and then to restore the sda1 and Linux Swap With Acronis on a formated Hdd and restore then /home with Clonezilla. Is this capable?

View 7 Replies View Related

Ubuntu Installation :: Restore My System Via Clonezilla Due To Hdd Failure?

Mar 23, 2011

I recently had to restore my system via clonezilla due to hdd failure. I frequently back up my /etc/apt folder as well as some other configuration files and settings that I use in my system to bring my restored image up to date with my ever changing preferences, etc.

I noticed the problem when I replaced the etc/apt folder with my backup version. After replacing the folder, I ran 'sudo apt-get update' and imported a list of all my previously installed software. Then I ran 'sudo apt-get upgrade'. I didn't get any errors at all during any part of the update and upgrade process.Then this popped up in my panel, and won't seem to go away.

View 5 Replies View Related

Ubuntu Installation :: Upgrade From 9.04 To 10.04 Using A Clonezilla Hard Drive Partition?

Apr 1, 2011

I'm trying to "upgrade" from ubuntu 9.04 to ubuntu 10.04.2 via a clonezilla (using a maverick usb clonezilla software with it's vmlinuz and initrd.img). but this clonezilla is not from a bootable usb flash drive, usb drive or CD, it's from the hard drive.

Here's what I have:

1) one 500gig drive with a primary partition under LVM. this partition has a 490gig root partition (ubuntu-root) and a 10 gig swap partition (ubuntu-swap_1). It has an extended partition (/dev/sda2) that's not under LVM consisting of one logical drive (/dev/sda5) that is the /boot partition.

2) I've upgraded the grub to grub2 (version 1.96) which has better features.

3) I've deleted the swap and reconfigured this partition with a name of (livehd) and it has an ext3 filesystem. I've copied the clonezilla software to this partition which also has the ubuntu 10.04.2 image that I want to restore to the root partition.

4) I've modified the existing grub2 using the 40-custom file so that the grub menu has the "Clonezilla Ubuntu 10.04.2 upgrade" entry in it.

5) the initrd.img from clonezilla has LVM support since I opened up the image to a directory using "gzip -d -c /boot/initrd.img|cpio -i" to check it.

6) grub2 sees the (ubuntu-root), (ubuntu-livehd), (hd0,1), (hd0), and (hd0,5) devices and can list (ls) their directories

[Code]...

View 9 Replies View Related

Ubuntu :: Tool For Automating Repeated Tasks?

Feb 10, 2010

I want a tool, which can record my actions on the gnome desktop and play it again. I must be able to edit the recorded script.

View 3 Replies View Related

Fedora :: Automating Evolution - Is It Possible?

Dec 9, 2010

I use Evolution Mail Client everyday on my fedora machine. It has become indispensable somewhat. I am wondering if Evolution can be made to run in the background without the GUI, so it can check mails (IMAP/POP) and post delivery reminders through notify-send. I don't mean evolution-notify-alarm ... I know evolution-notify-alarm runs like that but I think that is limited to calender events and tasks (using data mostly stored locally)

I find that I get notified via notify-send interface only when Evolution GUI is on or minimized. Is there a way to get a real background version of this activity - the GUI can then appear when the Panel Icon is clicked

View 4 Replies View Related

General :: Automating GUI For Certain Task?

Jul 29, 2010

For a certain task, everytime I have to open 10 bash terminals and write different commands on them. Any way to automate this? I am running Fedora linux.

View 2 Replies View Related

Server :: Automating A Restore With Backuppc?

Jan 28, 2011

here is the thing. I've deployed BackupPC in a server at work, and everything is working fine. Now, what I need to do this thing. I have a remote server with a website and a postgres db running. I've been able to set up everything to be backed up using rsync. But I would like to make the same process to restore the backup immediately in a local server trough rsync, that has to be ready just in case of failure of the remote server. What I've tried to do is to run the DumpPostUserCmd, so whenever a dump is performed in the remote server, I can have my local server updated. What I've find out is that when you perform a restore through the web interface, the command that performs it is (using ps ax in the backuppc server):

/usr/bin/ssh -q -x -l root myserver.wheretodotherestore.mydomain /usr/bin/rsync --server --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --relative --ignore-times --recursive . /path/to/restore

So, what I could find out is: /usr/bin/rsync is the command that the process runs in the server where I want to put the restore. Then the options, and finally, source and destination of the restoration. But, as you can see, the source is '.' but I cannot guess where to point that!

View 2 Replies View Related

Server :: Automating Task Of Log Monitoring?

Apr 6, 2010

Basically, I go through certain logs on my linux hosts checking for anything out of place. You know, the usual, /var/log/messages, lastlog, etc. What I've been using is just a simplistic grep statement that looks for keywords in certain log files, such as warn, crit, etc., with the -i flag to ensure no case searches. I thought, well, surely there are others out there doing the same thing, but more automated. Perhaps something that can check files for keywords and then notify, via email, if anything out of the ordinary is seen.

View 5 Replies View Related

Programming :: Automating Process Of Asking Question

Mar 10, 2011

I need to ask a question on many forums/mailing lists.In such a situation I need to open browser and login to many forums at the same time.Then go and format it according to forum guidelines and then paste it.So I want to know if I can automate this process some way by some alias or command line utility and just type the question in a text file and give URLs on command line and the question gets posted to those forums where I request?

View 7 Replies View Related

Ubuntu :: Automating Website Data Capture & Spreadsheet Entry?

Feb 3, 2010

I have a spreadsheet which I update regularly. This involves downloading CSV files from a couple of websites, copying data from those files into an OO.org spreadsheet and copying formulas within the spreadsheet (the number of rows of data varies, so when the number of rows of data increases, I need to copy more lines of formulas).

I'd like to automate this process, so that with a single command I can get the data from the websites and feed it into my spreadsheet without having to copy rows of formulas. Although I've done lots of numerically-oriented programming, I have no idea how to undertake this automation task. I don't even know which tools I need to learn to do it.

View 3 Replies View Related

Software :: Openbravo Installation / Ant Setup And Setup-prerequisites File (don't Remember Exact Name)?

Apr 27, 2011

i am trying to install openbravo on my server.I have installed all the pre-requisites as ANT, JDK(though i installed JRE).

Everything goes fine untill the ant setup and then running the setup-prerequisites...file (don't remember the exact name).

As soon as i issue ant install.source it ends up with some errors..

View 2 Replies View Related

Fedora Networking :: Trouble Automating IP Aliases

Jun 18, 2010

My system is F13 (upgraded from F11) with all of the latest patches available. I haven't gone through and combined all of the rpmnew configuration files, but none of them seem to address networking.I'm trying to get subinterfaces (secondary IP addresses) to work in Fedora 13. So far, I have been able to configure them on the command line, but not to get them to persist on booting.My base address for the NIC is: A.B.C.254. It is statically assigned.

View 5 Replies View Related

Networking :: Automating The Terminal Type With NIS Logins?

Jan 25, 2011

I am running NIS in an environment that has HP-UX 11.11 64-bit running on a PA-RISC rp3400 server, with Fedora Core 2 32-bit running on intel workstations. All users use the tcsh shell by default in their profiles. If more information is needed please let me know.

Users who log into the domain via a terminal window on the workstations are prompted for the terminal type which is normally dtterm. I want to automate the process so users are not prompted to enter in the above information. My plan is to modify the global-cshrc file on the master NIS server. I had several questions concerning this:

1. Is it better to modify global-cshrc, or should this be done at the individual user directory?

2. What is the correct syntax to use in either case?

3. Will the changes made go into effect upon the next login, or do I need to push out the changes via the make command?

View 2 Replies View Related

General :: Automating Administrative Tasks In Fedora 10

Jan 10, 2011

I am a student at DeVry University, newly introduced to Fedora and Linux in general, and have a project whereby, we have been asked to consider some administrative tasks that we could automate via a script.I was wondering if there were any thoughts or directives from the community on what admin tasks you guys find to be of inestimable use in automating via a Linux script.

I am new to the Linux commands but have done a wee bit of programming before in C++ and others.I have also done basic DOS batch files before.

View 5 Replies View Related

General :: Automating SFTP In Bash With Password?

Jul 13, 2010

I wrote a script ages ago to automate an FTP transfer. This was easy as within the script you can specify the password with password <whatever>. Now I am wanting to do a similar thing with SFTP (SSH). I know that SFTP works differently and I cannot specify the password within the script - what do I need to do on the server I am connecting to to either "trust" the host I am connecting from or to somehow specify the password for "sftp user@some_host"? It's IP address will always be the same.

View 4 Replies View Related

Server :: Automating Linux Administration Through Web Interface

Aug 5, 2010

The question that I am posting here is quite interesting as it was asked in the interview I attended today. And, honestly, I could not provide a solution. Ok, here goes the problem statement:Design a Web Interface that has three text fields:

IP Address:
Subnet Mask:
Default Gateway:

And a button:

When we click the Submit button, the two entries must be set in the concerned files and then the network service must be restarted to bring the new IP Address, Subnet Mask, and Default Gateway in effect.As we all know that these settings can be done by the root user or a user who has those priveleges.The complete web interface needs to be done only in PHP. Some Shell Script can be used if required.

View 1 Replies View Related

Programming :: Automating Bluetooth Device Pairing

Aug 11, 2009

I am developing an application which communicates with a bluetooth device.I do not want the user to pair or unpair the device using the Bluetooth applet or command line, but I want to automate the pairing process through my application. The application will scan and find the bluetooth devices in the proximity of the computer, and automatically pair the required device without any user input.Where should I look for the relevant APIs?

View 1 Replies View Related

General :: Automating The Package Configure Script Errors?

Mar 31, 2011

Need help in doing a tedious thing and no idea how to achieve this. The thing I am after is Makefile which generates after ./configure script runs successfully. Now the thing is when we run the `configure` script it may get stuck because of lots of reasons like needs mandatory options to pass with configure, library/header file is missing, etc. So I want to automate this problems as far as I can. As I am not installing the package so apt-get/yum won't hold here for me. So what should be your suggestions on achieving this. Should I study the configure script and the sample Makefile's inside the package

View 4 Replies View Related

Server :: Automating Multiple Minicom Sessions Simultaneously

Oct 5, 2010

Here's the setup: One x86 server (Red Hat 4) with two serial connections to an embedded linux device. One serial connection is to a power control so the device can the restarted, and the other is used for a console to this device. Both serial connections use minicom. People on my team VNC to the x86 server, where they find the two minicom sessions waiting for them as they are left open. I would like to automate connecting to the server and communicating over the serial lines.

Supposing I use ssh to the x86 server, could minicom be used over the serial lines without terminating the minicom processes seen through VNC? If not, is there a way to re-open those windows from within the ssh session, so a user who VNCs to the server won't have to reopen them? Could a single ssh connection control two minicom terminals simultaneously, or would there need to be two ssh connections? It is assumed a user and the automated process will *not* try to access the device at the same time; the automation would trigger during off hours.

View 2 Replies View Related

Programming :: Automating Data Entry Into MySQL Database?

Jul 19, 2010

I have set up a MySQL database which has only three fields for user-name, password and index number. But there is a LOT of data (thousands of columns) which would take too long to enter manually. I'm sure MySQL must have a file format whereby a single large file containing different data types can be successfully automatically imported and the various data elements distributed to their intended fields. Does anyone know which characters MySQL uses as field seperators for this formatting of data, or is there a program already written which can take raw data and organize it into a SQL compatible file?

View 8 Replies View Related

Slackware :: Automating Raid Failure Detection On Slack 13.1?

May 1, 2011

I just setup sendmail on my server to send emails and it works, now I would like to be able to get an email from mdadm if sometjhing was going wrong. I imagine most raid users have this feature setup.

Right now, I have 7 raid arrays and mdadm starts at boot time. Until now, I used Mr. Goblin's script (http://connie.slackware.com/~mrgoblin/files/rc.mdadm) (thanks Mr Goblin!) to monitor my arrays.

The script is started at boot time from rc.local. I created a small script in /usr/bin that send the following command to rc.mdadm giving me the status of the arrays:

Code:
/etc/rc.d/rc.mdadm status

and it works fine, but this requires me probing the arrays manually by calling the script from the command line. I would like to automate probing every 10 minutes or whatever and if a fault has been detected, I get an email.

[Code]...

View 14 Replies View Related

Software :: Automating Access To Interactive Sites Which Use HTML And Javascript

Mar 5, 2011

Is there a modern equivalent of "Expect", which was developed for the UNIX environment to automate access to programs which had been designed to interact only with a human?

Now with many facilities only accessible by HTML and javascript, what solutions are there to access such websites from a Perl script for example?

The need to access interactive systems by automated agents is the same now as when Don Libes originally wrote Expect, described well in his paper to the Summer 1990 Usenix Conference, Expect: Curing Those Uncontrollable Fits of Interaction.

I want my computer to access the web - I don't believe I should have to be chained to it by mouse and keyboard before it can interact with web sites. Surely there are some tools for achieving this. I've searched, but haven't been able to find any. Although I'd like to do it from a Perl script, I'd consider any language: C, PHP, anything.

View 5 Replies View Related

Ubuntu :: Clonezilla - Can't Back Up HDD

Sep 18, 2010

recently just tried to back up my system using clonezilla, it reported an error which said simply- something went wrong, view the logfile for details. Where do I find this logfile? Really want to make an image backup of the HDD. As my linux system is running near perfect now.

View 9 Replies View Related

Ubuntu Installation :: XP With Existing Setup (Partitions) - Error "Setup Did Not Find Any Hard Disks Installed On Your Computer"

Feb 18, 2010

I'm using Ubuntu 9.10 and previously had a separate partition with another distro on it. I decided to delete the other distro's home and swap partitions and install XP in place of it. I've been following these instructions: [URL] and [URL] I have gotten to the point where I am booting to the XP CD and want to install it, but I get the message, "Setup did not find any hard disks installed on your computer" when I should be getting to the screen that asks me to select a partition to install XP on. This is what my HDD looks like in GParted:

I want to install XP in the unallocated partition, but I have a feeling I screwed up somewhere along the way and probably don't fully understand the whole thing. Even if I try to format the unallocated partition to NTFS I can't make it a primary partition (I assume because it's within sda2). The very last thing I want to do is delete my Ubuntu partition and start from scratch, but if that's my last option let me know.

View 4 Replies View Related

General :: Command Line - Automating A Task - Copy All Subdirectories And Files From One Directory To Another

Jun 10, 2010

I need to copy all subdirectories and files from one directory to another ever 5 minutes or so, with the old data automatically being overwritten with the new data. I'd also like this to run at startup. Is there any way this can be done? If so, what program would I need to schedule the automation and what is the command line I would need.

View 2 Replies View Related

Ubuntu :: Browse Lzo Clones Done With Clonezilla?

Mar 8, 2010

I made a full disk backup using Clonezilla on a external drive and I used lzo, but this time I need to browse its contents somehow and extract some files but I could not find a utility that reads lzo archives.

View 2 Replies View Related

Ubuntu :: Clonezilla Live CD Not Backing Up

Sep 5, 2010

I having some problems backing up my disk with Clonezilla Live (the Ubuntu 10.04 version). When I try to backup my disk, I get this error:

Quote:

C:bitmap count err, Free: 3596613
Checking free space...
(standard_in)1: Syntax error
Something went wrong!

This is after partclone checks the drive that it will put the backup on. It stops at 97.86%.

I always get this error every time I try to do it.

View 9 Replies View Related

Slackware :: Automating Xorg RandR Turning Laptop Screen Off If External Monitor Is Connected?

Jan 2, 2010

I have a netbook (Acer Aspire One) I'm running Slackware 13. and usually, I prefer to connect an external monitor. When I switch my machine on with the monitor connected, the display is duplicated on both screens and since I just want the netbook's screen to be off and only see the display on the external monitor, I can doxrandr --output LVDS --off

Great! However, it's a hassle to do this every time I log in and I'd like to automate the process if possible. I did some googling and I found that if you want to automate xrandr commands, you can put a script in /etc/X11/Xsession.d/ (see this). I wrote the following script to automate my xrandr commands and since the Xsession.d directory didn't exist, I tried creating it. The script was called 45custom-xrandr_settings, as the one on the RandR wiki is called the same.

Code:
#!/bin/bash
# Check whether the external monitor is connected

[code]...

View 5 Replies View Related







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