Disk imaging on dual boot systems

I use a Disk Image Program under Windows but I now have a dual boot system.

I have one internal hard drive with 2 partitions.

Both o.s.es reside on the first partition.

Second partition is used as a cache directory for a browser, but contains no operating system.

Macrium Reflect is what I use and have been imaging just the first partition. (when all I had installed was Windows)

Those images are stored on an external hard drive.

So if I can not boot up for some reason, will that image be able to restore that 1st partition ?

Thanks.

Sorry, but what you tell about your partitioning looks very strange to me. Can you please post the output of

su -c 'fdisk -l'

(copied/pasted between CODE tags, you get them by clicking on the # button in tthe tool bar of the post editor).

And telling what version of openSUSE you use as a courtesy to those who try to help you is appreciated.

On 2013-09-01 21:26, andy77586 wrote:
>
> I use a Disk Image Program under Windows but I now have a dual boot
> system.
>
> I have one internal hard drive with 2 partitions.
>
> Both o.s.es reside on the first partition.

Huh? Sorry, but that is impossible, Linux normally takes 3 partitions,
and can not be installed on the same partition as another operating system.

Would you please run, in Linux, this:


su -
blkid
fdisk -l
df -hlT


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

Is that two different Windows versions? If so, then you should treat it as if the windows version that handles the primary booting (probably the most recently installed).

Apart from that, I have no advice. I do not like the way Windows wants to handle multiple versions.

Here is some information that explains what a disk image is.

Then you may understand my previous post.

Andy

happynews.com

Disk image - Wikipedia, the free encyclopedia

I think we here know what a disk image is. That is not the problem

This is

I have one internal hard drive with 2 partitions.

Both o.s.es reside on the first partition.

This does not make sense. You can not have 2 OS’s on the same partition. We really don’t understand what you are on about.

Restoring an image may or may not restore a computer to operation it depends on what is imaged and what program is used. There may be a need to restore the MBR or other boot requirements. So there is no general yes no answer to your question . It depends on the details

Linux has a disk imaging program as well, but not in a GUI format.

I did some research and one Linux disk imaging program will image all partition types but ext4 partitions.

Nice about a disk image is that you never have to do any program or operating system re-installs. :slight_smile:

Someone on another Linux forum thought that Windows XP could not see Linux partitions.

Windows XP can see most any partition.

Here is what Disk Management shows.

Volume Layout File System Status

<blank> Partition <blank> Healthy (Unknown Partition) Notes by myself Used by Linux
<blank> Partition <blank> Healthy (Active) Used by Linux
Main (C:) Partition NTFS Healthy (Boot) Used by Windows XP
2nd_Part(E:) Partition NTFS Healthy

ALL of the above are on a SINGLE internal hard drive in my laptop.

( I left out info on my external hard drive for brevity.)

I don’t think I can make it any simpler than this.

Andy

That’s four partitions already. You previously said that there were only two. That is what has been confusing us.

On Mon 02 Sep 2013 03:36:02 AM CDT, nrickert wrote:

andy77586;2582328 Wrote:
> Volume Layout File System Status
>
> <blank> Partition <blank> Healthy (Unknown
> Partition) Notes by myself Used by Linux
> <blank> Partition <blank> Healthy
> (Active) Used by Linux
> Main (C:) Partition NTFS Healthy
> (Boot) Used by Windows XP
> 2nd_Part(E:) Partition NTFS Healthy

That’s four partitions already. You previously said that there were
only two. That is what has been confusing us.

Hi
They way I read it is the OP has images of the two windows partitions
and is looking at imaging the other two? In that case using something
like dd to mirror image partitions on another drive is what is needed.

Not sure of the long term benefits of images via USB, an iso image of
the update repos, a backup of user files and a re-install would be
quicker in a rebuild scenario. Using dd over a USB connection is
slooooow. I would guess a re-install is quicker than it would take to
create the image…


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 12.3 (x86_64) GNOME 3.8.4 Kernel 3.7.10-1.16-desktop
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…

On 2013-09-02 06:35, malcolmlewis wrote:
> Not sure of the long term benefits of images via USB, an iso image of
> the update repos, a backup of user files and a re-install would be
> quicker in a rebuild scenario. Using dd over a USB connection is
> slooooow. I would guess a re-install is quicker than it would take to
> create the image…

No, rebuild via images is way faster than reinstall, at least in my
case. Many configurations to remember and redo, packages to download
(over a 1 Mb/s line). It is just connect disk, start rescue CD, run dd
with appropriate options, and go for a coffee.

Me, I can do it over eSATA, not USB (and reinstall DVD.iso is over USB).


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

On 2013-09-02 05:26, andy77586 wrote:

> Here is what Disk Management shows.
>
> Volume Layout File System Status
>
> <blank> Partition <blank> Healthy (Unknown Partition) Notes by myself Used by Linux
> <blank> Partition <blank> Healthy (Active) Used by Linux
> Main (C:) Partition NTFS Healthy (Boot) Used by Windows XP
> 2nd_Part(E:) Partition NTFS Healthy
>
>
> ALL of the above are on a SINGLE internal hard drive in my laptop.

But that is FOUR partitions, and you said you had only two.

Note that we really prefer info from the Linux side, with the commands
we suggested.

I know what disk images are, I use them. Typically I use dd, which can
image anything, Linux or Windows or whatever, known or unknown.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

We do not aks for simpler. We do ask for answers to our questions.
I e.g. had two (2) questions in post #2 above. You answered none.
The others had either the same question or even added to this. You answered none.

When we can not have a common base of understanding it will be very difficuly to answer any question you have.

I have OpenSuse installed on my hard drive.

Would dd still be slow ?

Andy

I did find out that my Windows Imaging program can not see the Linux partitions.

It only backs up NTFS and FAT32 partitions.

Some of my replies are not showing up here.

Sorry for some unanswered questions.

My wireless network has been down and I am using a dialup modem.

I am looking to see which com port my modem is using so I can set it up for Linux.

Andy

Your appologizes are excepted (we all suffer from technical problems now and then). But why the didn’ you post the answers asked for in the above post?

You say that you have OpenSuse installed on your hard drive, but apart from the fact that it is spelled openSUSE, the version is still missing! And we all are realy longin for that

fdisk -l

listing.


Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0001be9d

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63    71103752    35551845    7  HPFS/NTFS/exFAT
/dev/sda2       248895051   488392064   119748507    f  W95 Ext'd (LBA)
/dev/sda3        71104512    75313151     2104320   82  Linux swap / Solaris
/dev/sda4   *    75313152   248893439    86790144   83  Linux
/dev/sda5       248895114   488392064   119748475+   7  HPFS/NTFS/exFAT

Partition table entries are not in disk order
andy@linux-wzav:~>

Meant to post this on my last post.


NAME=openSUSE
VERSION="12.3 (Dartmouth)"
VERSION_ID="12.3"
PRETTY_NAME="openSUSE 12.3 (Dartmouth) (x86_64)"
ID=opensuse
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:opensuse:12.3"
openSUSE 12.3 (x86_64)
VERSION = 12.3
CODENAME = Dartmouth

On 2013-09-02 16:26, andy77586 wrote:

> I have OpenSuse installed on my hard drive.
>
> Would dd still be slow ?

The imaging or the system?
Anything that goes over USB is slower than over the SATA cables.

> I did find out that my Windows Imaging program can not see the Linux
> partitions.
>
> It only backs up NTFS and FAT32 partitions.

That’s typical of “clever” imaging software. They try to skip unused
space on the filesystem to save disk space. Thus a 100 GiB partition
with only 2 GiB used takes an image of 2 GiB, or less with compression.

But ‘dd’ is not “clever”, it copies everything. The image above would
take 100GiB, and no compression available. That’s why I said that dd
works with any filesystem. It just copies the entire partition,
formatted or not.

On the other hand, it is also typical of Windows software to not
recognize Linux related “things”.

I understand that “Ghost” recognizes Linux partitions, but maybe that
means ext, perhaps ext3, no further.

There are “clever” Linux imaging tools (see definition above of clever).
Clonezilla, for instance. I use sometimes a CD called “systemrescuecd”
(www.sysresccd.org). In fact, it works somewhat better with Windows than
with Linux (because the way they handle grub, I don’t like that).


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

On 2013-09-02 16:56, andy77586 wrote:

> My wireless network has been down and I am using a dialup modem.
>
> I am looking to see which com port my modem is using so I can set it up
> for Linux.

It should show with this command:


hwinfo --modem

If it is not there, you are probably out of luck, it could be a winmodem.

If it is a cellular modem (like cell phones), it should work with
network manager.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

[QUOTE=robin_listas;2582458]On 2013-09-02 16:26, andy77586 wrote:

> I have OpenSuse installed on my hard drive.
>
> Would dd still be slow ?

The imaging or the system?
Anything that goes over USB is slower than over the SATA cables.


Cheers / Saludos,

I hope to be able to use dd and store it on an external hard drive using a using a USB 3.0 port.
I also have a serial port.

Andy