LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-28-2011, 12:35 AM   #1
GodsSilhouette
LQ Newbie
 
Registered: Nov 2011
Posts: 4

Rep: Reputation: Disabled
Making backup image of Linux and/or Windows


I currently have a dual boot set up of WIndows 7 and Ubuntu Linux. Somewhere in the future, I plan on doing a clean install of Windows 7 and then install Linux Mint as dual boot. Now I also want to make a backup image of Windows 7 (which will be installed on the C: partition) and maybe a backup image of Linux Mint (which will be installed on a separate partition). How exactly will that work? Let's say if I want to install a windows 7 back up image with linux mint already installed, will that affect anything such as the bootloader, etc.?
 
Old 11-28-2011, 12:47 AM   #2
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 190Reputation: 190
Quote:
Originally Posted by GodsSilhouette View Post
How exactly will that work? Let's say if I want to install a windows 7 back up image with linux mint already installed, will that affect anything such as the bootloader, etc.?
Depends on how you take the backup image..
When you say image, i am assuming here that you mean a block for block image, with dd or similar.

If you were to separately image each partition, you would be able to restore the image of the required partition at a later date, without affecting the other partitions (assuming you get the devices right, that is.)
This example wouldn't backup the MBR or partition table.
Code:
dd if=/dev/sda1 of=/mnt/somewhere/linux_mint_image.img
dd if=/dev/sda2 of=/mnt/somewhere/windows7.img
If you imaged the entire drive, then restoring would overwrite everything on the disk.
Code:
 dd if=/dev/sda of=/mnt/somewhere/full_disk_image.img
The other option is to back up the filesystem with tar + xz (among other methods)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Linux HDD backup under windows - looking for backup utility SigTerm General 1 01-27-2010 12:54 PM
making scheduled backup image digity Linux - Newbie 5 03-28-2009 10:49 PM
Making a backup of the entire LINUX OS cr9c1 Linux - General 9 11-30-2006 07:45 PM
making backup image of dual boot RH8/w2k - How? wright_pm Linux - General 1 04-25-2003 11:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration