Ubuntu is composed of many software packages, the vast majority of which are distributed under a free software license. The only exceptions are some proprietary hardware drivers.The main license used is the GNU General Public License (GNU GPL) which, along with the GNU Lesser General Public License (GNU LGPL), explicitly declares that users are free to run, copy, distribute, study, change, develop and improve the software. On the other hand, there is also proprietary software available that can run on Ubuntu. Ubuntu focuses on usability, security and stability. The Ubiquity installer allows Ubuntu to be installed to the hard disk from within the Live CD environment, without the need for restarting the computer prior to installation. Ubuntu also emphasizes accessibility and internationalization to reach as many people as possible.
Custom Search

The Apache HTTP Server 2.2.14 released

Tuesday, October 27, 2009

apache The Apache HTTP Server, commonly referred to as Apache is a web server notable for playing a key role in the initial growth of the World Wide Web. In 2009 it became the first web server to surpass the 100 million web site milestone.

Apache was the first viable alternative to the Netscape Communications Corporation web server (currently known as Sun Java System Web Server), and has since evolved to rival other Unix-based web servers in terms of functionality and performance. The majority of web servers using Apache run the Linux operating system.

Apache is developed and maintained by an open community of developers under the auspices of the Apache Software Foundation. The application is available for a wide variety of operating systems, including Unix, GNU, FreeBSD, Linux, Solaris, Novell NetWare, Mac OS X, Microsoft Windows, OS/2, TPF, and eComStation. Released under the Apache License, Apache is characterized as open source software.

Since April 1996 Apache has been the most popular HTTP server on the World Wide Web. As of September 2009[update] Apache served over 54.48% of all websites and over 66% of the million busiest.

Features

Apache_architettura

Apache supports a variety of features, many implemented as compiled modules which extend the core functionality. These can range from server-side programming language support to authentication schemes. Some common language interfaces support Perl, Python, Tcl, and PHP. Popular authentication modules include mod_access, mod_auth, mod_digest, and mod_auth_digest, the successor to mod_digest. A sample of other features include SSL and TLS support (mod_ssl), a proxy module (mod_proxy), a URL rewriter (also known as a rewrite engine, implemented under mod_rewrite), custom log files (mod_log_config), and filtering support (mod_include and mod_ext_filter).

Popular compression methods on Apache include the external extension module, mod_gzip, implemented to help with reduction of the size (weight) of web pages served over HTTP. ModSecurity is an open source intrusion detection and prevention engine for web applications. Apache logs can be analyzed through a web browser using free scripts such as AWStats/W3Perl or Visitors.

Virtual hosting allows one Apache installation to serve many different actual websites. For example, one machine with one Apache installation could simultaneously serve www.example.com, www.test.com, test47.test-server.test.com, etc.

Apache features configurable error messages, DBMS-based authentication databases, and content negotiation. It is also supported by several graphical user interfaces (GUIs).

http://en.wikipedia.org/wiki/Apache_HTTP_Server

Use

Apache is primarily used to serve both static content and dynamic Web pages on the World Wide Web. Many web applications are designed expecting the environment and features that Apache provides.

Apache is redistributed as part of various proprietary software packages including the Oracle Database and the IBM WebSphere application server. Mac OS X integrates Apache as its built-in web server and as support for its WebObjects application server. It is also supported in some way by Borland in the Kylix and Delphi development tools. Apache is included with Novell NetWare 6.5, where it is the default web server. Apache is included with many Linux distributions.

Apache is used for many other tasks where content needs to be made available in a secure and reliable way. One example is sharing files from a personal computer over the Internet. A user who has Apache installed on their desktop can put arbitrary files in Apache's document root which can then be shared.

Programmers developing web applications often use a locally installed version of Apache in order to preview and test code as it is being developed.

Microsoft Internet Information Services (IIS) is the main competitor to Apache, followed by Sun Microsystems' Sun Java System Web Server and a host of other applications such as Zeus Web Server.

Apache 2.2.14 Released

The Apache HTTP Server Project is proud to announce the release of version 2.2.14 of the Apache HTTP Server ("Apache"). This version is principally a security and bugfix release.

This version of Apache is a major release and the start of a new stable branch, and represents the best available version of Apache HTTP Server. New features include Smart Filtering, Improved Caching, AJP Proxy, Proxy Load Balancing, Graceful Shutdown support, Large File Support, the Event MPM, and refactored Authentication/Authorization.

Download Apache HTTP Server 2.2.14

source: Wikipedia & Apache

If you liked this article, subscribe to the feed by clicking the image below to keep informed about new contents of the blog:

rss_trappola

rss_trappola


Related Post



Linux Links





mtPaint is a graphic editing program geared towards creating indexed palette images and pixel art

Monday, October 26, 2009

mtpaint_logo mtPaint is a graphic editing program geared towards creating indexed palette images and pixel art. It is aimed to be simple and easy to use.

mtpaint is designed for use on the GNU/Linux and Microsoft Windows computer operating systems, and uses the GTK+ toolkit (version 1 or 2). It was originally created in 2004 and developed by Mark Tyler, but since 2006 it has been maintained by Dmitry Groshev. Released under the terms of the GNU General Public License, mtPaint is free software.

It uses the GTK+ toolkit (version 1 or 2) and runs on PC's via the GNU/Linux or Windows operating systems. Due to its efficient design it can run on older PC hardware (e.g. a 200MHz CPU and 16MB of free RAM).

mtPaint is free software, which means you are able to freely use, modify and distribute it according to the GNU General Public License.

Currently mtPaint is maintained by Dmitry Groshev.

Features

* Interface

o Toggle the toolbars on or off at the touch of a button.
o Horizontal or vertical split view mode.
o Pixel grid for guidance at high levels of zoom.
o Move the mouse pointer with exact precision using the arrow keys.
o Extensive shortcut keys used to improve productivity.
o 12 Image clipboard.
o Up to 1000 undo steps.
o Zoom levels between 10% and 2000%.
o Pan window for quickly navigating a large image, or at a high zoom.
o Browse different files passed at the command line.
o Translations: Chinese (Simplified), Chinese (Taiwanese), Czech, Dutch, English (UK), French, Galician, German, Italian, Japanese, Polish, Portuguese, Portuguese (Brazilian), Russian, Slovak, Spanish, Swedish, Turkish.
o Use a pressure sensitive graphics tablet.
o Limit memory used for undo images.
o Grab screenshots.

* Pixel Art

o Edit indexed palette or RGB images.
o Save and load BMP, GIF, JPEG, LSS, PNG, TGA, TIFF, XPM, XBM files.
o Extensive palette features - load, save, sort, edit, posterize, quantize, remove duplicate colours, remove unused colours, colour protection, palette shifting.
o Image channels: Alpha, Selection, Mask. All saved to a PNG file.
o Up to 100 layers.
o Create animations by moving layers, or shifting palettes.
o Create animated GIF's using Gifsicle.
o 81 brush presets.
o 100 brush patterns.
o User defined gradients.
o Copy and paste using rectangle or polygon shapes.
o Tools to shuffle pixels, flood fill, draw straight lines, smudge, clone, paste text, draw/fill rectangle/ellipses.

* Image Manipulation

o Quickly transform image gamma, brightness, contrast, saturation, hue, posterize from a single dialog, and preview the results in real time.
o Apply various effects such as invert, greyscale, isometric transformations, edge detect, sharpen, unsharp mask, soften, Gaussian blur, emboss, bacteria.
o Use gamma correction on effects to improve the quality of various effects.
o Crop at the touch of a button.
o Resize the canvas.
o Rescale the canvas, enlarging or reducing, using several filter methods.

Download

Screenshots

mtpaint1

mtpaint2

mtpaint3

mtpaint4

mtpaint5


If you liked this article, subscribe to the feed by clicking the image below to keep informed about new contents of the blog:

rss_trappola

rss_trappola


Related Post



Linux Links





PDFedit is free and open source library for manipulating PDF documents, released under terms of GNU GPL version 2

Saturday, October 24, 2009

pdfedit4 PDFedit allows users complete control of editing PDF documents.

It is primary created for simple editing and manipulation of documents in PDF format. There is a graphical and command line interface available.

The software lets you change either raw PDF objects (for advanced users) or use predefined GUI functions. Functions can be easily added as everything is based on a scripts. p>Scripting is used to a great extent in the editor and almost anything can be scripted. It is also possible to create your own scripts or plugins to enhance the functionality of the package.

PDFedit is a low-level application for technical users that provides structured access to the internal structure of the PDF file. It may require familiarity with PDF specifications to be able to make substantial modifications.

Features include:

* Console and graphical interface
o Console - useful for typing in scripts and macros
o Graphical - window is divided into 5 basic parts: Menu, Toolbars, Command part, Page space and Objects tree + property editor
* Manipulate PDF documents in a number of ways
* Add pages from another PDF
* Text editing: add, delete text, change colour, size and fonts
* Revision control
* Simple drawing, lines, rectangles, layer control
* Page rotation, text extraction

Download

All files are hosted at sourceforge.net. Go to the sourceforge download page to download PDFedit.
In case sourceforge is offline or not functioning, you can use local backup download page to download latest source package

Distros

Gentoo Linux
PDFedit is available via Sunrise Overlay.

Debian Linux
There are Debian Linux packages available.

NetBSD
PDFedit packages are in NetBSD package collection

openSUSE
There are openSUSE pdfedit packages

Screenshots

pdfedit1

pdfedit2

pdfedit3

pdfedit4

pdfedit5

pdfedit6

If you liked this article, subscribe to the feed by clicking the image below to keep informed about new contents of the blog:

rss_trappola

rss_trappola


Related Post



Linux Links





The Internet Software Consortium DHCP Client, dhclient, provides a means for configuring one or more network interfaces

The Internet Software Consortium DHCP Client, dhclient, provides a means for configuring one or more network interfaces using the Dynamic Host Configuration Protocol, BOOTP protocol, or if these protocols fail, by statically assigning an address.
OPERATION

The DHCP protocol allows a host to contact a central server which maintains a list of IP addresses which may be assigned on one or more subnets. A DHCP client may request an address from this pool, and then use it on a temporary basis for communication on network. The DHCP protocol also provides a mechanism whereby a client can learn important details about the network to which it is attached, such as the location of a default router, the location of a name server, and so on.

On startup, dhclient reads the dhclient.conf for configuration instructions. It then gets a list of all the network interfaces that are configured in the current system. For each interface, it attempts to configure the interface using the DHCP protocol.

In order to keep track of leases across system reboots and server restarts, dhclient keeps a list of leases it has been assigned in the dhclient.leases(5) file. On startup, after reading the dhclient.conf file, dhclient reads the dhclient.leases file to refresh its memory about what leases it has been assigned.


When a new lease is acquired, it is appended to the end of the dhclient.leases file. In order to prevent the file from becoming arbitrarily large, from time to time dhclient creates a new dhclient.leases file from its in-core lease database. The old version of the dhclient.leases file is retained under the name dhclient.leases~ until the next time dhclient rewrites the database.

Old leases are kept around in case the DHCP server is unavailable when dhclient is first invoked (generally during the initial system boot process). In that event, old leases from the dhclient.leases file which have not yet expired are tested, and if they are determined to be valid, they are used until either they expire or the DHCP server becomes available.

A mobile host which may sometimes need to access a network on which no DHCP server exists may be preloaded with a lease for a fixed address on that network. When all attempts to contact a DHCP server have failed, dhclient will try to validate the static lease, and if it succeeds, will use that lease until it is restarted.

A mobile host may also travel to some networks on which DHCP is not available but BOOTP is. In that case, it may be advantageous to arrange with the network administrator for an entry on the BOOTP database, so that the host can boot quickly on that network rather than cycling through the list of old leases.
COMMAND LINE

The names of the network interfaces that dhclient should attempt to configure may be specified on the command line. If no interface names are specified on the command line dhclient will normally identify all network interfaces, elimininating non-broadcast interfaces if possible, and attempt to configure each interface.

It is also possible to specify interfaces by name in the dhclient.conf(5) file. If interfaces are specified in this way, then the client will only configure interfaces that are either specified in the configuration file or on the command line, and will ignore all other interfaces.

If the DHCP client should listen and transmit on a port other than the standard (port 68), the -p flag may used. It should be followed by the udp port number that dhclient should use. This is mostly useful for debugging purposes. If a different port is specified for the client to listen on and transmit on, the client will also use a different destination port - one greater than the specified destination port.

The DHCP client normally transmits any protocol messages it sends before acquiring an IP address to, 255.255.255.255, the IP limited broadcast address. For debugging purposes, it may be useful to have the server transmit these messages to some other address. This can be specified with the -s flag, followed by the IP address or domain name of the destination.

For testing purposes, the giaddr field of all packets that the client sends can be set using the -g flag, followed by the IP address to send. This is only useful for testing, and should not be expected to work in any consistent or useful way.

The DHCP client will normally run in the foreground until it has configured an interface, and then will revert to running in the background. To run force dhclient to always run as a foreground process, the -d flag should be specified. This is useful when running the client under a debugger, or when running it out of inittab on System V systems.

The client normally prints a startup message and displays the protocol sequence to the standard error descriptor until it has acquired an address, and then only logs messages using the syslog (3) facility. The -q flag prevents any messages other than errors from being printed to the standard error descriptor.

The client normally doesn't release the current lease as it is not required by the DHCP protocol. Some cable ISPs require their clients to notify the server if they wish to release an assigned IP address. The -r flag explicitly releases the current lease, and once the lease has been released, the client exits.

The -1 flag cause dhclient to try once to get a lease. If it fails, dhclient exits with exit code two.

The DHCP client normally gets its configuration information from /etc/dhclient.conf, its lease database from /var/lib/dhcp/dhclient.leases, stores its process ID in a file called /var/run/dhclient.pid, and configures the network interface using /sbin/dhclient-script To specify different names and/or locations for these files, use the -cf, -lf, -pf and -sf flags, respectively, followed by the name of the file. This can be particularly useful if, for example, /var/lib/dhcp or /var/run has not yet been mounted when the DHCP client is started.

The DHCP client normally exits if it isn't able to identify any network interfaces to configure. On laptop computers and other computers with hot-swappable I/O buses, it is possible that a broadcast interface may be added after system startup. The -w flag can be used to cause the client not to exit when it doesn't find any such interfaces. The omshell (8) program can then be used to notify the client when a network interface has been added or removed, so that the client can attempt to configure an IP address on that interface.

The DHCP client can be directed not to attempt to configure any interfaces using the -n flag. This is most likely to be useful in combination with the -w flag.

The client can also be instructed to become a daemon immediately, rather than waiting until it has acquired an IP address. This can be done by supplying the -nw flag.
CONFIGURATION
The syntax of the dhclient.conf(8) file is discussed seperately.
OMAPI
The DHCP client provides some ability to control it while it is running, without stopping it. This capability is provided using OMAPI, an API for manipulating remote objects. OMAPI clients connect to the client using TCP/IP, authenticate, and can then examine the client's current status and make changes to it.

Rather than implementing the underlying OMAPI protocol directly, user programs should use the dhcpctl API or OMAPI itself. Dhcpctl is a wrapper that handles some of the housekeeping chores that OMAPI does not do automatically. Dhcpctl and OMAPI are documented in dhcpctl(3) and omapi(3). Most things you'd want to do with the client can be done directly using the omshell(1) command, rather than having to write a special program.
THE CONTROL OBJECT
The control object allows you to shut the client down, releasing all leases that it holds and deleting any DNS records it may have added. It also allows you to pause the client - this unconfigures any interfaces the client is using. You can then restart it, which causes it to reconfigure those interfaces. You would normally pause the client prior to going into hibernation or sleep on a laptop computer. You would then resume it after the power comes back. This allows PC cards to be shut down while the computer is hibernating or sleeping, and then reinitialized to their previous state once the computer comes out of hibernation or sleep.

The control object has one attribute - the state attribute. To shut the client down, set its state attribute to 2. It will automatically do a DHCPRELEASE. To pause it, set its state attribute to 3. To resume it, set its state attribute to 4

source: About.com Linux

If you liked this article, subscribe to the feed by clicking the image below to keep informed about new contents of the blog:

rss_trappola


Related Post


Linux Links





Easily Upgrade Any Hard Drive with Linux: desktop vs Laptop

Tuesday, October 20, 2009

linux_logo Of course, this is all relative. Having worked with personal computers for two decades, I can safely make such a statement, since from my perspective the fact that I can get a half-tetrabyte drive for under $100 retail (and around $60 online) seems just short of amazing.

It was just such an opportunity that helped me decide to pop into the local big-box store and grab such a drive to upgrade my laptop’s 160-Gb drive to a 500-Gb device.

There’s a couple of ways to upgrade a drive: you can install a fresh operating system on the new drive then pull all of your personal data across. This is clunky, because you will have to re-install all of the applications and tweak the configuration settings you had on your old drive. A better way is to clone everything on the old drive to a new one, so you don’t have to re-install anything.

What follows is a comprehensive tutorial on the different ways to clone and replace your current drive with a larger one, be it laptop or desktop, no matter what operating system you are using.

Desktop vs. Laptop

There’s a fundamental difference in strategies for replacing a desktop hard drive versus a laptop hard drive. Typically, especially when you have a Windows or Mac desktop machine, you can buy a new drive, connect it in the PC’s spare drive bay, then use the included software to clone your old drive to the new one. Then it’s simply a matter of swapping out the old drive for the new clone.

Naturally, the drive manufacturers don’t include a Linux version of their clone utility, so you have to use other software. Still, the principle is the same.

Laptops, however, are another animal entirely. There really are very few dual-drive laptops on the market, and the ones that are out there (a) are very expensive and (b) often have a solid-state drive (SDD) as the second drive, usually smaller than the main drive. This usual lack of an open drive bay in laptops has created an interesting market condition. A lot of new laptop drives may not include any software to facilitate cloning, figuring that the average person is not capable of cloning a laptop drive.

In fact, the instructions within my new drive’s box indicated that because no software was included, it was recommended that only a professional install the new drive. In other words, hand over a minimum of $99 and your machine for a minimum of five days (the current fee and waiting time at my local big box tech support; your costs/fees may vary) to get your new hard drive cloned and installed.

Or, you can pay about $20 and some change, spend about two or three hours, and do it yourself using Linux-based tools.

The $20 is the average price for a 2.5-inch drive enclosure. If you’ve never used one of these, they’re very nice to have. Essentially they’re specialized boxes into which you can place any hard drive (they come in 3.5- and 2.5-inch sizes for desktop and laptop drives, respectively), and in turn plug into your computer via the USB port. I find them invaluable, because I can keep all my old drives around and use them as memory storage devices after upgrade.

One thing to note: make sure you get the right type and size of enclosure. Size really matters because 2.5-inch and 3.5-inch drives only fit within their respective enclosures. It’s equally important to make sure you have the right type: IDE/EIDE drives (usually found on older machines) will not fit within SATA enclosures (and vice versa).

The change is whatever it costs you for a blank CD-R disk. You’ll need that to install Clonezilla, a Linux distribution that runs from a live CD and provides a very specialized set of services: disk utilities, including cloning. Clonezilla is analogous to those Windows/Mac utilities that come with desktop hard drives.

The important thing to remember is that Clonezilla can be used to clone any hard drive, regardless of operating system or platform. So if you want to upgrade a Windows, Mac, or Linux laptop drive, you can use Clonezilla and save a lot of time and money. Clonezilla is also essential for replacing a Linux-based desktop drive, because of that lack of compatible utilities referred to earlier.

Getting Clonezilla and Prepping Your Data

Clonezilla, like any Linux distro, is easy to get. Visit the download page for the project and choose the stable ISO version to download.

Once the .iso file is saved on your machine, use your preferred CD-burning tool to create a disk from the .iso image file. It’s that easy. Clonezilla is ready to use.

I cannot emphasize that importance of backing up at least your personal data. There is a small chance here that you could select the wrong options and kill off everything on your old drive. If you pay attention, this should not happen, but for safety’s sake, back up your data.

Hardware Setup

Setting up your new drive is not too hard, there are just a couple of basic rules I like to follow. First, treat the drives like glass. Don’t toss them around, don’t drop them, and you should be fine. I also try not to work on any hardware in a carpeted room, because of static. My favorite place is the kitchen counter, away from the sink. Countertops and hard floors are less likely to accumulate static electricity, especially if you’re wearing shoes. Plus, touch the side of the fridge before you start and anytime you walk away from the project and come back to discharge any charge. If you want to be super safe, buy an anti-static wrist strap and follow the instructions for wearing it.

For PCs, you will need to do some internal surgery at the start to get your drive installed. Open the PC case and locate the hard drive bays. You should see a 40-pin, 80-conductor IDE interface cable, which is a flat, grey ribbon that looks like corrugated lasagna. One end is plugged into the motherboard and one end into the existing hard drive. Another 40-pin connector (usually gray) will be on the cable in-between. If you already have a secondary drive, the connector will be plugged into it. If necessary, unplug the old secondary drive and remove it from the PC, carefully setting it aside for later.

Plug your new, empty drive into the secondary drive connector. Make sure the jumper settings are configured to Slave (see the manufacturer’s operating guide for further information) before you connect it. If you don’t need to move your PC to operate it, save a little time and don’t mount the drive with the little screws yet. You’re going to move the drive later, anyway.

At this point, you’re ready to clone your drive. Skip to the Using Clonezilla section to start.

If you have a laptop, the initial set up is a little easier. You simply put the new drive into the enclosure based on the manufacturer’s instructions, and plug the external drive into your computer. The internal surgery comes later. Now it’s time to use Clonezilla.

Using Clonezilla

Cloning a drive with Clonezilla can be done no matter what operating system you are using, because Clonezilla loads and operates from the CD you burned it on. It has its own operating system (a little version of Linux) on which to run, and it doesn’t care what you usually run. By running independently from your primary operating system, Clonezilla can copy information block for block from one disk to another without running into “can’t copy, file in use” errors and the like.

After your new drives are properly plugged in, you can insert your new Clonezilla disk into the CD drive and reboot your machine. Follow your computer’s BIOS instructions to make sure your computer can boot to the CD first and not your primary operating system.

Clonezilla doesn’t have a pretty interface—it doesn’t need it. To use the interface all you need are arrow keys, the spacebar to select items in a multi-choice list, and the Enter key to input your choices.

When Clonezilla first starts, it will ask what language you want to use. Select the language (again, with the arrow keys) and press Enter.

You will then be asked what keymap you want to use. A keymap is how a computer knows what keyboard you are using. Most standard, English keyboards can use the default keymap in Clonezilla, so just press Enter. If you have a non-English or non-standard keyboard, select the option to choose another keymap and walk through that process.

After the keymap is set, you are presented with the choice to use Clonezilla in device-image or device-device modes. The device-image mode is used to backup and restore your drive data for standard backup use. Handy, so keep your Clonezilla disk around to do this at a later date. But that’s not what we need to do today, so select the device-device mode and press Enter.

Now you are asked to choose from Beginner or Expert mode. Let’s pause here and discuss what you want to do.

It’s assumed that you are cloning from a smaller drive to a larger drive, else why would you be swapping drives anyway? When a drive is cloned, all of your data is transposed block for block to the new drive—and nothing else. That means that if you are going from, say, a 160-Gb to a 500-Gb drive, then only 160 Gb’s worth of drive will be cloned over, leaving about 340 Gb of empty space.

That’s okay, you might think, since I can fill that 340 Gb with all-new data. That was the whole point of this exercise, right? In actuality, this is not the case. To explain, here’s a quick primer on how computers store data.

When any operating system tracks data on a drive, it uses an infrastructure of partitions and filesystems to manage the data. A partition is a way an OS organizes data on a drive. In Windows, for instance, you might have one partition for the C: drive and one for D:, etc. For Linux, many users have a partition for their root (/) files and a separate partition for anything in the /home directory, so if they ever switch distros, their personal files in the /home directory will be preserved. A partition is crucial for data storage. Any part of a disk that is unpartitioned is known as free or unallocated space. That means, to any operating system, that space does not exist. You can’t use it until it’s partitioned.

This gets us to the crux of the decision you need to make at this point. You can do a straight clone of your drive, and then use a partitioning tool in your operating system later to partition the unallocated space (gparted in Linux is an excellent graphic tool). Or, if you like your current partitioning scheme, you can have Clonezilla resize all your partitions proportionately to the new drive size.

For instance, if you have two partitions of 100 and 200 Gb on a 300-Gb drive, then on a new 500-Gb drive, the partitions will be resized to 166.7 and 333.3 Gb, respectively.

If you want to do a straight clone job, choose Beginner mode. If the proportional resizing tool interests you, choose Expert mode. Note: if you are using an Itanium-based system, or a new Mac system, you should not use Expert mode, because these systems might use the newer GUID partition table (GPT) system to track partitions. Clonezilla can copy GPT information, but it can’t edit it, so you’ll need to go with the straight clone option and use a partitioning tool later.

The next screen presents you with a number of potential tasks. The one we want is the first option: disk_to_local_disk. It’s important that you have any new drive connected, either internally or externally, at this point, so Clonezilla can detect it. Press Enter.

Now you need to choose the local disk as source option. This is exactly what you think: which disk is the source of your data? Windows users and new Linux users might be confused at this point, because instead of C: or D: (or / or /home), you will see something like /hda and /hdb or /sda and /sdb. Don’t worry, that’s just how the Linux-base for Clonezilla labels hard drives. Fortunately, it’s easy to tell, because Clonezilla lists the sizes of the drives in this list. Looking at the capacity for each drive, it’s pretty easy to tell which drive is the smaller source and which is the new bigger drive.

If, for some reason, you are using equal-sized drives, you need to make absolutely sure which is which. Cancel out of Clonezilla until you get to the menu option to go to the command line. Enter the command line, then type

fdisk –l

You will see a list of partitions and drives with a lot of information that may be confusing. Right now, none of it matters: look for the drive label that is empty. That’s your new drive, because since it came out of the box, there’s been nothing on it.

Make a note of the drive label. Type

shutdown –r now

to reboot Clonezilla, then navigate back to where you were.

Once you are absolutely sure, select the correct drive as the source and press Enter. This is likely the most critical step in the operation, since getting the source wrong has the potential of overwriting all of your data with whatever’s on the new drive. Which is very bad.

Next, choose the local disk as target. Typically, there will only be one option here: the disk you didn’t select as the source. Again, double-check that this is indeed the target, because this is not something you want to mistake.

If you selected Expert mode, there will be some additional steps at this point. You will see a screen of several extra options to choose from. You might be tempted to pick the –r Resize the filesystem to fit the partition size of the target partition option. Don’t. That’s something you don’t need at this point. Just leave the options be on this screen and press Enter.

Another screen will appear, which does have the option you want. Select –k1 Create partition table proportionally (OK for MBR, not GPT), recalling the warning made earlier about doing this on Itanium or Mac platforms, which may use GPT.

At this point, Beginner and Expert modes merge. Confirm twice that you want to do this operation with y. When asked if you want to clone the boot loader, definitely enter y—the boot loader is what your computer needs to see first to properly boot any operating system.

Confirm the operation one more time, then the partclone tool will start. Now get your cup of coffee, because this will take a while, depending on the number of partitions and the size of the new drive.

When the operation is complete, press Enter to continue, then the option to power off and exit Clonezilla. Remove the disk from the CD drive, then press Enter again to shutdown your computer.

Immediately restart your computer and make sure your old operating system and drive is still in place. If so, you’re good to go. Even is something glitched in the cloning operation, at least you have your existing system in place.

Finishing the Hardware Surgery

Once the new drive is cloned, it’s now time to finish the hardware installation.

On the PC, go back into the case and remove the old master drive. You can use it as a storage device in a 3.5-inch drive enclosure, if you have one. Or swap it with the new drive.

Connect the new drive to the primary drive 40-pin connector (usually black) and mount the new drive in the bay. (You don’t have to move it, unless you’re swapping the old and new drives.) Definitely use any fasteners and screws, because you should be done. Close up the PC case.

On a laptop, remove the new drive from the enclosure and open the laptop’s drive bay to remove the old drive. Carefully plug the new drive into the appropriate slot and remount it using the screws provided. Close up the laptop case.

If everything went well, your new drive should boot up the way it always has, only now you have lots of new room for your data. Use the appropriate partition tool for your operating system to add a new partition to any unallocated space on your drive, if necessary.

source: Linux.com

If you liked this article, subscribe to the feed by clicking the image below to keep informed about new contents of the blog:

rss_trappola


Related Post


Linux Links




My Favorites

Finance

Logo IWBank gif120x60 banner 9

Antipixel & Counters

Dr.5z5 Open Feed Directory BlogESfera Directorio de Blogs Hispanos - Agrega tu Blog BlogItalia.it - La directory italiana dei blog Software blogs Computers blogs Il Bloggatore Add to Technorati Favorites diigo it Peru Blogs Programming Blogs - Blog Catalog Blog Directory AddThis Social Bookmark Button Find the best blogs at Blogs.com. website counter
Social Bookmarking
Add to: Mr. Wong Add to: Webnews Add to: Icio Add to: Oneview Add to: Linkarena Add to: Favoriten Add to: Seekxl Add to: Kledy.de Add to: Social Bookmarking Tool Add to: BoniTrust Add to: Power Oldie Add to: Bookmarks.cc Add to: Favit Add to: Newskick Add to: Newsider Add to: Linksilo Add to: Readster Add to: Folkd Add to: Yigg Add to: Digg Add to: Del.icio.us Add to: Reddit Add to: Jumptags Add to: Upchuckr Add to: Simpy Add to: StumbleUpon Add to: Slashdot Add to: Netscape Add to: Furl Add to: Yahoo Add to: Spurl Add to: Google Add to: Blinklist Add to: Blogmarks Add to: Diigo Add to: Technorati Add to: Newsvine Add to: Blinkbits Add to: Ma.Gnolia Add to: Smarking Add to: Netvouz Information

Recent Posts