From Windows to a Debian GNU/Linux desktop, sans the geekness
The Original - since June 2006 - Run Debian GNU/Linux and be Happy.
Sometimes you only need to become root just long enough to run a command. In this case, do this:

su -c command

 

this site  web    
The Goods
Home Page
Forum
debiantutorials.org Licensing
Website Disclaimer
Site Map
Links
w32codecs
How to really switch Mom to Linux
Documentation
Release Notes
Developers Reference
Debian Survival Guide
Debian Books
Manuals
Debian Security
Linux Dictionary
Leaving Windows
Resize Windows Partition for Dual-Booting
Back up your Partitions, Imaging
Still Suffering Windows
Keep your Money, your Sanity and your Self-Respect
Installing Debian Etch
Debian GNU/Linux (Etch) Installation Tutorial
My Etch Desktop in 150 words or Less
Upgrade Sarge to Etch
Configure Debian Etch
Multimedia on Debian Etch
Install nVIDIA 3d driver on Debian Etch
Wireless on Debian Etch: Broadcom - bcm43xx
Klikit, Klikit good
Handy Little Things
Package Management
Peripherals & Debian Etch
Set up your web cam on Debian Etch
Printing in Debian (Browsers, too)
Your ipod on Debian Etch
Atheros Wireless
Broadcom Wireless
Etch on the Desktop
Visitors apache log reader
Andrea del Sarto
(Poetry snippet for your Ignorant Ass)
Beagle on Debian Etch
Convert Digital Camera .mov Files
Some Debian Etch System Files
My Debian Desktop
Using wget
Copying or Ripping DVD's in Linux (Debian)
Reset root password
So, you want to run Linux
Convert mov files
Securing Debian
Password Protect Grub Boot Loader
Debian Etch as Server
Debian Linux file and print server: NFS, CUPS, LPR
Stream your music with gnump3d
Simple local web server on Etch
Web Server on Debian Etch
Miscellaneous Linux
Linux Conventions
Can People read my Documents?
Install Software on your Linux System (Debian)
Partition your Hard Drive
History of debiantutorials.org
A School Without Windows (PDF)
How to talk to Tech Support
Linux Demystified
Off Topic
A DRM Dissertation
An Artist's take on Downloading Music
An Insane and Damaging lack of Understanding
On Children and Drugs
On Visitor Q
Intellectualism for the Masses
debiantutorials.org stats
Smart Crows
How old are We?
Why we run Debian
How not to ask an egomaniac like myself for an article
Sarge Specific Tutorials
Installing Debian Sarge, net install, no DHCP
Easy Graphical Sarge Installation Tutorial
Rebuilding my Debian Sarge Machine
Multimedia for Sarge
w32codecs
nVIDIA on Sarge
Trouble Burning discs: cdrecord
Athcool on Debian Sarge
Where are my Newly Installed Apps?
Easy LAMP on Debian Sarge
Archive
Sites Worth a Look
Debian Mailing List
spidercider
Linux Comparison at PolishLinux.org
Thin Clients
Common Commands
Common iptables Filtering
iwouldntsteal.net
Big-Ass iptables info Page
iptables Port Reference
README: Firewall
General Security Tips
Newbie Security
Kickass RFC's
Data Breaches
Hemp Seed Oil
linux-hardcore.com
Search for a local Computer Tech
Evelyn's Linux Cheat Sheet
Lotsa (687) Linux Commands

Favorite Utilities

Super Grub Disc
System Rescue Disc
News Feeds
visitors run
operating system
Linux
Windows
Mac
Unknown
BSD
54.8 %
39.8 %
3.40 %
1.50 %
0.10 %

web browser
Firefox
Mozilla
IE
Opera
Epiphany
41.4 %
25.1 %
15.8 %
8.40 %
3.50 %
updated 17apr08
What's Root?
Root is the super-ultra-mega. All system commands on a Linux box need to be done as root. This means installing software and changing files not in your /home directory, etc. In your terminal, if you're logged in already become root by typing su at your $ prompt, then the root password. Log in the system directly as root from a terminal, but not the graphical login. # shows root.
dediantutorials.org is ad-free
debiantutorials.org has always been and will always remain ad-free I make no unrealistic demands that you "owe me for my time and bandwidth" in order to use my site. I detest all those scumbags out there that think that they are owed something for putting a web site up. I do debiantutorials.org because I love it. You owe me nothing.
If you can walk and chew gum at the same time, you can run Linux

    Thursday, May 15, 2008      Contact  Etch Info  what's new in Etch  Linux Demystified  Our Forum
Backing up your partitions with Partimage PDF Print E-mail
Managing those partitions
Written by machiner   
Sunday, 08 May 2005
Another terrific utility on the System Rescue Disc is Partimage. Sure, you can use this utility from within your OS, but we like to boot to it as it's much better to backup your partitions this way. This is a quick graphical tutorial walking you through the backup process utilizing Partimage. We'll need to boot to the System Rescue Disc. [ See Getting into BIOS ]

Following the boot, when first prompted, type the following:

menu

Next, arrow right, then down 3 and choose System Rescue. Let the disc boot. For images see Tutorial: Create Partitions.

When the disc has booted you will be here:

Pictures are multi-use, ignore the run_qtparted command.

Don't type partimage yet. You need to make and mount a partition to hold your backup. You can find information about different back up locations and other commands using partimage at the Partimage Forum [EDIT: The forum and Partimage website is now locked]. For this exercise we are backing up your pristine new Debian installaction. You installed it and probably added some new programs. You have set your 'computer up just the way you like and it's working wonderfully. Terrific. Let's keep it that way and allow for experimentation. Hence the backup.

At the prompt let's make a directory for you to mount. Type the following command:

% mkdir /mnt/space

Now we'll mount that space. Type the following command to accomplish this:

% mount -t ext3 /dev/hda2 /mnt/space

We are mounting your /home directory because I know you have it (if you've followed my tutorial to create partitions. If you're running Linux now you have it, too). If you have another partition, say on another drive, that you wish to use as a backup drive, by all means, mount that one instead. If you are running windows now this tutorial is not for you. Sorry. That's next week.

Now we're ready so at the prompt type:

% partimage

The following thumbnails will show you what the program looks like:

   

Simply arrow down to the partition you wish to backup, in this case leave it on the first highlighted entry - your hda1 partition. Tab to the location bar and type the following into it:

/mnt/space/backup (or call it whatever you like. I use item+date, eg: debian-07-05-05)

Then F5 to the next screen. Screen 2 you can leave alone, or poke around and change settings, it's up to you. F5 again to write a description of your image, and finally F5 to start the process. It will take a moment to initialize, but soon enough it will start and about 4 minutes later you will be back at the original prompt. The task is complete. You have backed up your entire /dev/hda1 partition (your debian system with all of your system files, etc.).

Partimage is terrific (well for many reasons, but this is my favorite...) because it will only backup actual used space and compress the backup image to your choice of compression. Example, my "/" partition (hda1) is 10GB but my install only uses 3GB. Partimage only backs up the 3GB actually used and compressed my image to around 1GB. That's cool.

Restoring is just as simple except that you will choose to "restore" back to the partition that you backed up. Simple, fast, effective backup solution for your Linux operating system. You can restore your backup image to any partition you like as long as it's the same size or larger than the original partition you backed up. Actually used space does not count. If your partition was 10.2GB (ignoring the compressed size and actual size of files backed up) then you need to restore your image to a like sized partition.

I swapped hard drives the other day and restored my /dev/hda2 to my /dev/hdb1, which was actually now becoming /dev/hda1. Schweet! I love when a plan comes together.

This method will work to backup your windows install as well but support for NTFS is experimental. However, I've done it many times with no errors. You just need to make sure that your Windows partition is fully de-fragmented.

To find or see your partition table open a terminal and become root. Type the following command:

# fdisk -l

You'll see something like this:

computer-name:/# fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1       21887    11031016+  83  Linux
/dev/hda2           21888      153666    66416616   83  Linux
/dev/hda3          153667      155060      702576   82  Linux swap / Solaris

Disk /dev/hdb: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1        7121    57199401   83  Linux
/dev/hdb2            7122        7297     1413720    5  Extended
/dev/hdb5            7122        7297     1413688+  82  Linux swap / Solaris

machiner 8 may 05





Reddit!Del.icio.us!Facebook!Slashdot!Netscape!Technorati!StumbleUpon!Newsvine!Furl!Yahoo!Ma.gnolia!Free social bookmarking plugins and extensions for Joomla! websites!
Trackback(0)
Comments (1)Add Comment
restore issue...
written by 'Guest', September 23, 2007
hi...
i tried this...
but when i go to reboot after restoration, i get a black screen with:

GRUB _

in the top left...

i rebooted with systemrescuecd looked in the grub devices.map and the harddisc was pointing to my disc /dev/sda...
ive tried getting aroud this for the past two days...
ive looked around online to no avail...
can any one help me?

thanks...

[EDIT]: - we like more info, and a nice chat about Grub.

Write comment

security code
Write the displayed characters


busy
 
Creative Commons License © debiantutorials.org Thanks for dropping by. I hope you have found this site to be helpful.   Search for a local Computer Tech  debiantutorials.org