MSFN Forum: BartPE, Macrium Reflect, and SATA optical drive - MSFN Forum

Jump to content


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

BartPE, Macrium Reflect, and SATA optical drive Rate Topic: -----

#1 User is offline   vipejc 

  • Member
  • PipPip
  • Group: Members
  • Posts: 233
  • Joined: 03-February 11
  • OS:XP Home
  • Country: Country Flag

Posted 21 December 2012 - 11:56 AM

Just a couple questions about BartPE, Macrium Reflect, and SATA optical drives...

1. BartPE supports slipstreaming only storage or network drivers. Does that mean I can't use a SATA CD or DVD drive to run BartPE because SATA devices require third-party drivers in Windows XP and BartPE doesn't support slipstreaming removable media drivers? Or does BartPE consider an optical drive a storage device and I just need to slipstream the SATA controller driver into my BartPE build?

2. Macrium Reflect v4.2 doesn't natively support restoring an image to a smaller partition. However, if you use Robocopy.exe and Roborestore.exe, this isn't a problem. It says Robocopy is a robust file copy program that uses an existing file system. Can I copy both Robocopy.exe and Roborestore.exe to the same folder on my USB drive with the FAT32 file system and restore my Macrium image to a smaller partition that way?

This post has been edited by vipejc: 21 December 2012 - 12:32 PM



#2 User is offline   bphlpt 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,075
  • Joined: 12-May 07

Posted 21 December 2012 - 01:27 PM

View Postvipejc, on 21 December 2012 - 11:56 AM, said:

2. Macrium Reflect v4.2 doesn't natively support restoring an image to a smaller partition. However, if you use Robocopy.exe and Roborestore.exe, this isn't a problem. It says Robocopy is a robust file copy program that uses an existing file system. Can I copy both Robocopy.exe and Roborestore.exe to the same folder on my USB drive with the FAT32 file system and restore my Macrium image to a smaller partition that way?


A safer, more flexible way might be to shrink your partition to the minimum size that will hold the data in it before making your Macrium image. That way you can more easily restore it to any partition that will hold the data.

Cheers and Regards

#3 User is online   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,431
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 21 December 2012 - 01:41 PM

@vipejc
1.
What are called "storage" are actually not drivers for the "storage devices" (which are "standard" and already included in any PE or Windows System), but drivers for the "storage controllers", i.e. what you may miss if you don't add it to the build could be the SATA/AHCI controller driver, the controller to which BOTH SATA hard disks and SATA CD/DVD drives are connected to.


2.
I guess you might find some interest in reading this thread:
http://www.msfn.org/...inside-windows/
it seems like you have not (yet ;)) very clear the difference between cloning, imaging and backup/restore. (don't worry it is seemingly very common because even the terminology used is often "vague" or "mixed").
Macrium Reflect is essentially an imaging solution (disk or volume/filesystem oriented).
Robocopy is a robust file copy (file based).

jaclaz

#4 User is offline   vipejc 

  • Member
  • PipPip
  • Group: Members
  • Posts: 233
  • Joined: 03-February 11
  • OS:XP Home
  • Country: Country Flag

Posted 21 December 2012 - 02:26 PM

View Postbphlpt, on 21 December 2012 - 01:27 PM, said:

View Postvipejc, on 21 December 2012 - 11:56 AM, said:

2. Macrium Reflect v4.2 doesn't natively support restoring an image to a smaller partition. However, if you use Robocopy.exe and Roborestore.exe, this isn't a problem. It says Robocopy is a robust file copy program that uses an existing file system. Can I copy both Robocopy.exe and Roborestore.exe to the same folder on my USB drive with the FAT32 file system and restore my Macrium image to a smaller partition that way?


A safer, more flexible way might be to shrink your partition to the minimum size that will hold the data in it before making your Macrium image. That way you can more easily restore it to any partition that will hold the data.

Cheers and Regards


This isn't an option, as I have a new blank smaller hard disk that I need to restore my Macrium Reflect image to. The saved partition is 250 GB and the new one will be 160 GB. A 250 GB hard disk to a 160 GB hard disk. Can you please answer my original question about using a USB flash drive and Roborestore through BartPE, and keep with this strategy? Thank you.

#5 User is offline   vipejc 

  • Member
  • PipPip
  • Group: Members
  • Posts: 233
  • Joined: 03-February 11
  • OS:XP Home
  • Country: Country Flag

Posted 21 December 2012 - 02:34 PM

View Postjaclaz, on 21 December 2012 - 01:41 PM, said:

@vipejc
1.
What are called "storage" are actually not drivers for the "storage devices" (which are "standard" and already included in any PE or Windows System), but drivers for the "storage controllers", i.e. what you may miss if you don't add it to the build could be the SATA/AHCI controller driver, the controller to which BOTH SATA hard disks and SATA CD/DVD drives are connected to.


2.
I guess you might find some interest in reading this thread:
http://www.msfn.org/...inside-windows/
it seems like you have not (yet ;)) very clear the difference between cloning, imaging and backup/restore. (don't worry it is seemingly very common because even the terminology used is often "vague" or "mixed").
Macrium Reflect is essentially an imaging solution (disk or volume/filesystem oriented).
Robocopy is a robust file copy (file based).

jaclaz


1. That's what I thought. Not a problem. I'll just slipstream my RAID/SATA controller driver into my next BartPE disc, and I'm sure the SATA optical drive will work just fine.

2. Can you please help me with this? Can I copy both Robocopy.exe and Roborestore.exe to the same folder on my USB drive with the FAT32 file system, click Roborestore.exe in BartPE's environment, and configure the GUI version to restore the image to a smaller partition? Or must I use the command prompt in BartPE and run Roborestore.exe and Robocopy.exe?

This post has been edited by vipejc: 21 December 2012 - 02:51 PM


#6 User is offline   submix8c 

  • Inconceivable!
  • Group: Patrons
  • Posts: 3,241
  • Joined: 14-September 05
  • OS:none specified
  • Country: Country Flag

Posted 21 December 2012 - 03:29 PM

(sigh...) Robocopy copies FILES and FOLDERS! It does NOT CLONE or IMAGE a ding-dong-doodle!

Try reading the thread. ;)

edit - there IS a thread/method for "copying"...

This post has been edited by submix8c: 21 December 2012 - 03:31 PM


#7 User is offline   submix8c 

  • Inconceivable!
  • Group: Patrons
  • Posts: 3,241
  • Joined: 14-September 05
  • OS:none specified
  • Country: Country Flag

Posted 21 December 2012 - 09:46 PM

DOH!!! Roborestore is the Macrium Reflect software(?).

Look here at another person with the same scenario. Seems that it answers your question as well. ;)

Link inside points to here.

Quote

Do I need to use RoboRestore?

No. In most cases you can use the normal disk image restore wizard. A tutorial for restoring with the Linux CD can be found here:
<snip>
RoboRestore provides an alternative method of restoring a disk image by copying the files in the image to an existing file system. Use RoboRestore if you want to restore to a disk that is smaller than the original or has a different partition alignment.

http://www.macrium.c...eflectfree.aspx
More info?
http://www.911cd.net...showtopic=24225

This post has been edited by submix8c: 21 December 2012 - 10:01 PM


#8 User is offline   vipejc 

  • Member
  • PipPip
  • Group: Members
  • Posts: 233
  • Joined: 03-February 11
  • OS:XP Home
  • Country: Country Flag

Posted 25 December 2012 - 02:28 PM

View Postsubmix8c, on 21 December 2012 - 09:46 PM, said:

DOH!!! Roborestore is the Macrium Reflect software(?).

Look here at another person with the same scenario. Seems that it answers your question as well. ;)

Link inside points to here.

Quote

Do I need to use RoboRestore?

No. In most cases you can use the normal disk image restore wizard. A tutorial for restoring with the Linux CD can be found here:
<snip>
RoboRestore provides an alternative method of restoring a disk image by copying the files in the image to an existing file system. Use RoboRestore if you want to restore to a disk that is smaller than the original or has a different partition alignment.

http://www.macrium.c...eflectfree.aspx
More info?
http://www.911cd.net...showtopic=24225


I had all that information. It doesn't answer my question. The question is Can I copy both Robocopy.exe and Roborestore.exe to the same folder on my USB drive with the FAT32 file system, click Roborestore.exe in BartPE's environment, and configure the GUI version to restore the image to a smaller partition? Or must I use the command prompt in BartPE and run Roborestore.exe and Robocopy.exe? And if so, what is the syntax to run Robocopy? That's all I need to know.

#9 User is offline   submix8c 

  • Inconceivable!
  • Group: Patrons
  • Posts: 3,241
  • Joined: 14-September 05
  • OS:none specified
  • Country: Country Flag

Posted 25 December 2012 - 05:20 PM

You didn't actually read the links or links-in-links, did you?

1 - YES YES YES YES (duh!!!) NT OS-based and Filesystem is... IRRELEVANT!
2 - ROBOCOPY /? (duh!) Did you even TRY to google
robocopy syntax
BOOM!!! All answers right there. Try harder next time. ;)

#10 User is offline   vipejc 

  • Member
  • PipPip
  • Group: Members
  • Posts: 233
  • Joined: 03-February 11
  • OS:XP Home
  • Country: Country Flag

Posted 25 December 2012 - 07:16 PM

View Postsubmix8c, on 25 December 2012 - 05:20 PM, said:

You didn't actually read the links or links-in-links, did you?

1 - YES YES YES YES (duh!!!) NT OS-based and Filesystem is... IRRELEVANT!
2 - ROBOCOPY /? (duh!) Did you even TRY to google
robocopy syntax
BOOM!!! All answers right there. Try harder next time. ;)


Yes, I did visit and read every link you gave. It didn't answer my question, which is why I asked again. After many more hours of research, I finally found my answer.

#11 User is offline   bphlpt 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,075
  • Joined: 12-May 07

Posted 26 December 2012 - 01:03 AM

View Postvipejc, on 25 December 2012 - 07:16 PM, said:

After many more hours of research, I finally found my answer.


Which was?? (For other's benefit, it is the Christmas season after all. :) )

Cheers and Regards

#12 User is offline   vipejc 

  • Member
  • PipPip
  • Group: Members
  • Posts: 233
  • Joined: 03-February 11
  • OS:XP Home
  • Country: Country Flag

Posted 26 December 2012 - 02:33 AM

View Postbphlpt, on 26 December 2012 - 01:03 AM, said:

View Postvipejc, on 25 December 2012 - 07:16 PM, said:

After many more hours of research, I finally found my answer.


Which was?? (For other's benefit, it is the Christmas season after all. :) )

Cheers and Regards


The answer is you can use robocopy from within an emergency boot CD and restore the partition to a smaller drive. It's a lot of command line work, but it does work.

#13 User is offline   bphlpt 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,075
  • Joined: 12-May 07

Posted 26 December 2012 - 02:44 AM

Did you find a tutorial that spelled out the steps involved that you can share the link to, or, just for future reference, can you enumerate further?

Cheers and Regards

This post has been edited by bphlpt: 26 December 2012 - 02:45 AM


#14 User is offline   vipejc 

  • Member
  • PipPip
  • Group: Members
  • Posts: 233
  • Joined: 03-February 11
  • OS:XP Home
  • Country: Country Flag

Posted 26 December 2012 - 10:45 AM

View Postbphlpt, on 26 December 2012 - 02:44 AM, said:

Did you find a tutorial that spelled out the steps involved that you can share the link to, or, just for future reference, can you enumerate further?

Cheers and Regards


There's no point. Version 5 of Macrium Reflect supports restoring an image to a smaller drive by default. No sense in making things harder than they need to be. As for me, I'm stubborn and never upgrade unless I have a want or need. I'm not going to 5, because I HATE constantly making a new BartPE every time they change something. Maybe I'll just skip robo and shrink my existing XP partition with GParted from 250 GB to, say, 40 GB, and then it'll never be an issue.

#15 User is online   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,431
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 26 December 2012 - 01:14 PM

View Postvipejc, on 26 December 2012 - 02:33 AM, said:

The answer is you can use robocopy from within an emergency boot CD and restore the partition to a smaller drive. It's a lot of command line work, but it does work.

NO, you cannot.
You can restore the contents (files/directories) to a NEW (smaller) partition, using robocopy, which AGAIN is short for robust FILE copy.
It copies files, and NOT filesystem/partitions/volumes.
Namely you will lose:
  • Volume Serial (you are not restoring a partition, you are restoring the contents of the old partition to a new one)
  • PBR/bootsector code (unless the original has the "standard" code of the OS you are creating the NEW (smaller) partition
  • Any contents of the "reserved sectors"
  • more likely than not creation date/times of folders (it depends on version of robocopy and of course on the switches used)

Of course if it is just a data partition this may have no consequences whatsoever.
You are doing FILE BASED save and restore, NOT partition/volume/filesystem based save and restore (they are NOT the same thing).

jaclaz

This post has been edited by jaclaz: 26 December 2012 - 01:15 PM


#16 User is offline   vipejc 

  • Member
  • PipPip
  • Group: Members
  • Posts: 233
  • Joined: 03-February 11
  • OS:XP Home
  • Country: Country Flag

Posted 26 December 2012 - 02:01 PM

View Postjaclaz, on 26 December 2012 - 01:14 PM, said:

View Postvipejc, on 26 December 2012 - 02:33 AM, said:

The answer is you can use robocopy from within an emergency boot CD and restore the partition to a smaller drive. It's a lot of command line work, but it does work.

NO, you cannot.
You can restore the contents (files/directories) to a NEW (smaller) partition, using robocopy, which AGAIN is short for robust FILE copy.
It copies files, and NOT filesystem/partitions/volumes.
Namely you will lose:
  • Volume Serial (you are not restoring a partition, you are restoring the contents of the old partition to a new one)
  • PBR/bootsector code (unless the original has the "standard" code of the OS you are creating the NEW (smaller) partition
  • Any contents of the "reserved sectors"
  • more likely than not creation date/times of folders (it depends on version of robocopy and of course on the switches used)

Of course if it is just a data partition this may have no consequences whatsoever.
You are doing FILE BASED save and restore, NOT partition/volume/filesystem based save and restore (they are NOT the same thing).

jaclaz


This is a system partition of my entire Windows OS. Can robocopy even restore ALL the files and folders in the Macrium image, or would it be better to use GParted, shrink my existing partition to 40 GB, and create another Macrium image that can be restored to a larger or smaller partition no problem? I read I could lose data if I resize my partition. True?

#17 User is offline   submix8c 

  • Inconceivable!
  • Group: Patrons
  • Posts: 3,241
  • Joined: 14-September 05
  • OS:none specified
  • Country: Country Flag

Posted 26 December 2012 - 03:06 PM

Pshhhtttt - you paid absolutely NO attention to the LINKS I gave (and OTHER members) OR the STATEMENTS given by others? You must MOUNT the Image to ROBOCOPY it (Via RoboRestore?), or didn't you NOTICE all of that good info given? You will STILL have to PARTITION, FORMAT, FIX (reload) MBR, set it ACTIVE (BEFORE Robocopy from IMAGE CONTENTS), AND remove the C-Drive spec from the Registry (see MSFN link given by jaclaz) to even BOOT to it! OR ensure that the "magic ID bytes" MATCH in the ORIGINAL MBR as opposed to the NEW MBR. These "magic bytes" have a LOT to do with "where am I installed" and be FULLY AWARE that if you CHANGE TOO MUCH (other than just the HDD) you WILL have to reactivate.

You were SPECIFICALLY TOLD to learn about the DIFFERENCES between the processes to understand!
Jaclaz said

Quote

it seems like you have not (yet ;)) very clear the difference between cloning, imaging and backup/restore.
You NEVER followed up into the YET part, DID you?

You INITIALLY said

Quote

I have a new blank smaller hard disk that I need to restore my Macrium Reflect image to. The saved partition is 250 GB and the new one will be 160 GB.
NOW, if you REREAD what has been POSTED and UNDERSTAND what will FURTHER need to be done to "COPY" (you got THAT link too by jaclaz, as well as info in his LAST post) you SHOULD be ok to COPY.

RTFL (L=LINKS!) and RTFC (C=COMMENTS)... THIMK!!! (intentional misspelling).

This post has been edited by submix8c: 26 December 2012 - 03:07 PM


#18 User is offline   vipejc 

  • Member
  • PipPip
  • Group: Members
  • Posts: 233
  • Joined: 03-February 11
  • OS:XP Home
  • Country: Country Flag

Posted 26 December 2012 - 04:13 PM

View Postsubmix8c, on 26 December 2012 - 03:06 PM, said:

Pshhhtttt - you paid absolutely NO attention to the LINKS I gave (and OTHER members) OR the STATEMENTS given by others? You must MOUNT the Image to ROBOCOPY it (Via RoboRestore?), or didn't you NOTICE all of that good info given? You will STILL have to PARTITION, FORMAT, FIX (reload) MBR, set it ACTIVE (BEFORE Robocopy from IMAGE CONTENTS), AND remove the C-Drive spec from the Registry (see MSFN link given by jaclaz) to even BOOT to it! OR ensure that the "magic ID bytes" MATCH in the ORIGINAL MBR as opposed to the NEW MBR. These "magic bytes" have a LOT to do with "where am I installed" and be FULLY AWARE that if you CHANGE TOO MUCH (other than just the HDD) you WILL have to reactivate.

You were SPECIFICALLY TOLD to learn about the DIFFERENCES between the processes to understand!
Jaclaz said

Quote

it seems like you have not (yet ;)) very clear the difference between cloning, imaging and backup/restore.
You NEVER followed up into the YET part, DID you?

You INITIALLY said

Quote

I have a new blank smaller hard disk that I need to restore my Macrium Reflect image to. The saved partition is 250 GB and the new one will be 160 GB.
NOW, if you REREAD what has been POSTED and UNDERSTAND what will FURTHER need to be done to "COPY" (you got THAT link too by jaclaz, as well as info in his LAST post) you SHOULD be ok to COPY.

I did read all others' comments and visited the links and appreciate all your effort. Do you think I should just use GParted and shrink the volume from 250 GB to 40 GB, or would this cause data loss? It sounds much easier than robocopy.

RTFL (L=LINKS!) and RTFC (C=COMMENTS)... THIMK!!! (intentional misspelling).


#19 User is offline   submix8c 

  • Inconceivable!
  • Group: Patrons
  • Posts: 3,241
  • Joined: 14-September 05
  • OS:none specified
  • Country: Country Flag

Posted 26 December 2012 - 05:30 PM

Do it at your own risk. I HIGHLY recommend a GOOD Defrag tool that will "move" ALL folders/files to the FRONT of the Partition FIRST. Also if you DON'T understand the implications of what Gparted really-REALLY does you COULD hose the whole deal. (alignments, cluster sizes, etc etc etc).

Defragger Reviews -
http://donnedwards.o...ootout-all.html
Note: Better go to the Websites to get the latest version.
MAYBE JKDefrag will do it. - http://www.kessels.com/JkDefrag/

Quote

Force together
Intended for partition resizing. All movable files are moved to the beginning of the disk, even if it means fragmenting them to fill gaps that cannot be filled otherwise.
Notice the bold part? There are some that will NOT move (system-type files). You'll STILL need to be sure that you have enough "room" for the Primary's needs AND be sure that ther's sufficient for a Backup. You suggested a "40gig" as "backup" - does this IMPLY that this is the USED SPACE on your Primary Partition? You have a tendency to NEVER provide sufficient details and expect a clear-cut answer. Maybe if we tortured you? :w00t:

I PERSONALLY would try the "alternate" method against the NEW HDD first to see how it works out, for safety sake. I suppose you would want the "tools" list that you will need to add to the BartPE? I personally don't USE BartPE, but use INSTEAD LiveXP (WinBuilder) - all the tools needed would be there - just ADD the other files (Roboxxx) you need to the Build. Unhook Old HDD, Hook New HDD and TRY it. (Side note - jaclaz also contributed a couple of excellent tools to the WinBuilder.)

YES, I have used GParted to resize and was TERRIFIED when I did it (defragged FIRST). Strangely (not really), sometimes Resize of Partitions "assumes" certain Cluster Sizes (you DID know that right?).

YOU choose the route. WE choose our OWN methods. "To each their own that works for them" (I am NOT clairvoyant and can't GUARANTEE that anything YOU do will work).

#20 User is offline   bphlpt 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,075
  • Joined: 12-May 07

Posted 26 December 2012 - 07:37 PM

If I understand what you last said:

View Postvipejc, on 26 December 2012 - 02:01 PM, said:

[...] would it be better to use GParted, shrink my existing partition to 40 GB, and create another Macrium image that can be restored to a larger or smaller partition no problem? [...]


you are coming around to what I first suggested:

View Postbphlpt, on 21 December 2012 - 01:27 PM, said:

A safer, more flexible way might be to shrink your partition to the minimum size that will hold the data in it before making your Macrium image. That way you can more easily restore it to any partition that will hold the data.


I really think this is indeed your best, safest, most flexible and reliable option. I also agree that it will be best to do a good, thorough, defrag and system cleanup beforehand, including moving things off the system disk that are better kept on a separate data disk, deleting temporary files that are no longer needed, etc. There are many free partitioning programs out there, including GParted. I'd be glad to tell you which one I've used in the past when I have had to shrink a system partition, but I no longer remember. It can be done successfully with no data loss. Once shrunk, Macrium Reflect should be able to do a good job for you. I have used it successfully in the past myself. One thing to be aware of, if you are not already, is that when Macrium Reflect clones a partition/disk, it really duplicates it. In other words, you can't have both the original and the restored clone both in your system at the same time, because they both will have the same "Volume ID"(??) and Windows will not be able to tell the difference between them. Sorry I'm not sure about the exact terminology, my memory is not what it used to be, but I had this problem a few years back when I tried to reuse the original disk, for other purposes, in the same system I had installed the clone. I found a utility that was able to reset the "Volume ID"(??) so all ended up good in the end.

Cheers and Regards

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy