Softpanorama

May the source be with you, but remember the KISS principle ;-)
Home Switchboard Unix Administration Red Hat TCP/IP Networks Neoliberalism Toxic Managers
(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and  bastardization of classic Unix

Partimage

News

Simple Unix Backup Tools

Recommended Books

Recommended Links

Missing backup horror stories

NTFSCLONE

NTFSRESIZE

Ext3 filesystem

Linux Swap filesystem Linux filesystems   Ext2/Ext3 File System Grub Booting into Rescue Mode Partimage LVM
Linux Multipath udev   Labeling the partition Loopback filesystem How To Manage Your Disk By UUID Humor Etc

Partimage saves / restores partitions to an image file on another partition or to another system.  NTFS support is beta, but it works for me.

Note 1: NTFS system needs to be thoroughly cleaned from junk and defragmented before running Partimage. That involves the following steps:

Note 2: If your disk C have more then 30G of information (as reported by Microsoft defragmentation utility) you are doing something wrong.  It's a good practice to keep default user folder (default is  Documents and Settings folder ; can be changed in user profile) on the second partition of primary drive (drive D:).  It support many partitions but for windows users target partition should be FAT32 as NTFS writing support is not here:
 

Name Description State
ext2fs/ext3fs the linux standard stable
Reiser3 a journalized and powerful file system stable
FAT16/32 DOS and Windows file systems stable
HPFS IBM OS/2 File System stable
JFS Journalised File System, from IBM, used on Aix stable
XFS another jounalized and efficient File System, from sgi, used on Irix stable
UFS Unix File System beta
HFS MacOS File System beta
NTFS Windows NT, 2000 and XP experimental

 It can be used with any "live' distribution but two are most popular:

If you use USB drive for the backup images, the first step is to found your USB drive and mount it in media folder.


Top Visited
Switchboard
Latest
Past week
Past month

NEWS CONTENTS

Old News ;-)

[SOLVED] Partimage and ext4

Re: Partimage and ext4

The last time I checked the Partimage website, it was plainly stated that Partimage does not support ext4 or NTFS. As I recall, there is no plans to move to this support.

I have been using fsarchiver quite successfully for about 9 months. I supports most common file system types (including ntfs and ext4). Even though it is still classified as "in development" I have found it both stable and reliable. I have restored numerous ext4 and ntfs partitions with no lingering issues.

If you're interested, I've authored a small "white paper" on the subject. See the Backup Strategy Ver 2 link in my sig. Also not the comment attached to the paper for an important update.

Hope this helps.

IndyTim / DataMan

New Build : Core 2 Quad, 8G RAM, 1.75TB Storage ... it's fun!
GRUB Partition Linux Backups- Ver2 Easy LAMP Install
Linux ID 422356 Ubuntu User 15015

Backing Up Using Symantec Ghost

I am using an IBM ThinkPad i1483 with an 11.5 gig. Hdrive, 192 Mgs. of Ram, Dual-boot using Win/98 on a 2.72 Gig partition(hda1)
and Caldera eDesktop 2.4 on the remaining 9 Gigs.

The Linux partitions are:

/dev/hda5 ext2 15.2 mb. /boot
/dev/hda6 ext2 2.90 Gig. /
/dev/hda7 swap 133 mb. swap
/dev/hda8 ext2 994 mb. /home
/dev/hda9 ext2 1.48 Gig. /opt
/dev/hda9 ext2 2.73 Gig. /usr/local

Outline:
1) Basic Instructions
2) Some problems....sometimes.
3) Personal observations

Basic Instructions:
1) Using Windows create the 2 floppy boot disks needed for using Ghost 2001. One if you store your backup on a CDR...the other if you leave your partition backups in a Windows folder.

2) Clean up your Linux system, getting it to where you feel it's perfect.

3) Choose the appropriate floppy, insert and reboot. Once the floppy loads, the Ghost 2001 DOS window appears. You will be given a choice of using "Disk" (for systems with separate harddrives) or "Partition".

4) Now simply go to your ext2 Linux partions and copy each one individually to a Windows folder on your C drive. I make it easy on myself and name each copy with a name that corresponds to the partition I am copying. Ghost sees each partition as a number that corresponds to the initial Windows partition which is "1". This means your first Linux partition to copy (hda5) becomes "2" in Ghost's eyes. So I name my hda5 backup Linux2.GHO and send it to a Windows folder. When I am through creating the backups I have files numbered Linux2.GHO through Linux7.GHO. Then copy these files to a CDR. If you do not own a CDR then simply leave these files on your Windows partition.

5) Once you have decided its time to reinstall your backed-up Linux system, simply insert the appropriate floppy and reboot. Once the Ghost window appears go into the Windows folder (or CDR) and reinstall each partition individually. Remember this.......each partition will be COMPLETELY OVERWRITTEN ! You will be brought back to the pristine Linux system you backed up.

Some Problems....Sometimes:

Having used this process about 10 times so far (I really screw up my system a lot) I had, in the beginning , noticed that Ghost had a problem copying ALL the Linux files. Sure enough, at the Symantec website , this problem was verified. They said they are working on it.

Using "Kpackage" I checked which files were missing from the newly installed LInux system. After an hour or so I discovered the following RPMS would have to be installed from my eDesktop 2.4 CDRom:
ncurses-4.2-6.i386.rpm
perl-5.005_03-6.i386.rpm
sh-utils-1.16-7.i386.rpm
tcl-8.0.4-1.i386.rpm
tclx-8.0.4-1.i386.rpm
tk-8.0.4-1.i386.rpm
unzip-5.40-1.i386.rpm
util-linux-2.9s-5.i386.rpm
xanim-2.80.1-1.i386.rpm
xmms-1.0.0-2.i386.rpm

I took these RPMS and copied them to my CDR disk (there's room) so as to make the reinstall a little faster. Installing these RPMS takes about 2 minutes. Once this is done your sytem runs perfectly. About SOMETIMES........I recently installed Linux (developer) and backed up using Ghost. This time after reinstalling the Ghost files .....everything was installed properly. I didn't have to install the above-mentioned RPMS. I do not have a clue as to why happened.

For the people who have large amounts of data .........Ghost allows spanning and gives you the option of "no compression" , "normal compression" ,and "super compression". As I have only 700 Megs. of data (after deleting useless stuff) I use normal compression ending up with 500 megs. to copy to my CDR disk. Plenty of room....yes?

One more problem......Once or twice , in the beginning , after reinstalling my Ghost files , Linux booted me to "runlevel 3". I guess my Xconfig file wasn't being read. All I did was type "XF86Setup" and , WITHOUT CHANGING ANYTHING just clicked on "use existing config.file" and rebooted. This worked perfectly. I must say this problem doesn't appear anymore. I do not know why. One more thing...mybackup installs in 17 mins. using a CDRom and about 29 mins. when copying from a Windows folder.

Personal Observations
This program is a God-send for me, as I am always experimenting and fouling up Linux. I am hoping Symantec someday allows these boot-disks to be created in Linux thereby bypassing Windows. Here's hoping........ The cost of a Ghost is a very expensive $71.95 (downloading from their site) . Any Reverse Engineers around? Yet I am very satisfied with the program and , especially for newbies, it is great timesaver. Good Luck.

Re: [myoss] NTFS-support under Linux?

On Tue, 10 Jul 2001, Nah Soo Hoe wrote:
> As far as I am aware, NTFS support under linux currently is for read-only. 
> The write part is not reliable and one is advised to use it at your own 
> risk.  Also there is a utility which one should run after doing a write to 

	Yes, not only within the ntfs partition, but also to the OS
itself!  Yes, you can crash the kernel that way (it's only understandable
as the driver sits in the kernel itself, so if anything happens to it,
it can kill the kernel).

> prevent massive data corruption when windows next mounts the ntfs 
> partition!!  See the current state of the linux NTFS project at 

	My personal experience is that you only copy a few files over
at a time, and do not copy directories!  cp -r /usr /ntfs will 
definitely give you heartburn.

	If you do not mind, go to www.sysinternals.com and pick up
the DOS version of an ntwrite driver from dos.  Or, if it's under
2 Gigs, try vmware using the ntfs partition as the drive for your
virtual NT box (with the included samba, you can "read/write" to
and from it.

> It is very difficult to do the write part as NTFS is a proprietary format, 
> and the proper/correct way to update it is known only to Microsoft and 

	Actually, it's not that proprietary.  If you have access to the VMS
API, you can do it.  I wonder if the NT kernel module writers are aware of
this.  People who have looked at the low level things (the actual disk
structures) have said that it looked very much like the VMS fs.  I also
wonder if VMS api is available anymore... :)

> While it is possible to reverse-engineer this will take a very long time 
> and the fact that MS changes it often makes it worse.

	Only between OS revisions :)

-Tai
-- 
http://philip.greenspun.com/bg/
http://www.vcnet.com/bms/features/serendipities.html
http://www2.hunter.com/~skh/humor/admin-horror.html
http://www.despair.com/demotivators/cluelessness.html


Linux using linux tools to install nt4 

Recommended Links

Using partimage to clone hard disks

Backup and Restore Linux Partitions Using Partimage -- Debian Admin

Using PartImage in Ubuntu

HOWTO- Disk imaging using Partimage - Sabayon

Creating-Restoring Linux Images Using Partimage Novell User Communities

Windows XP " The Telarah Times

Dual-booting Windows and Linux the easy way (Linux.com videos)114157



Etc

Society

Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers :   Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism  : The Iron Law of Oligarchy : Libertarian Philosophy

Quotes

War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda  : SE quotes : Language Design and Programming Quotes : Random IT-related quotesSomerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose BierceBernard Shaw : Mark Twain Quotes

Bulletin:

Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 :  Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method  : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law

History:

Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds  : Larry Wall  : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOSProgramming Languages History : PL/1 : Simula 67 : C : History of GCC developmentScripting Languages : Perl history   : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history

Classic books:

The Peter Principle : Parkinson Law : 1984 : The Mythical Man-MonthHow to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Hater’s Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite

Most popular humor pages:

Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor

The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D


Copyright © 1996-2021 by Softpanorama Society. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.

This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...

You can use PayPal to to buy a cup of coffee for authors of this site

Disclaimer:

The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the Softpanorama society. We do not warrant the correctness of the information provided or its fitness for any purpose. The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.

Created May 16, 1996; Last modified: March 12, 2019