MLDalglish

Q: After system image restore, disk contents don't match up

I feel like every time I think I've got this darn computer fixed, another problem pops up...


Okay, so after much headache, I was able to restore Boot Camp from a VHD image... however... what OSX sees as the contents of the BOOTCAMP disk, and what BOOTCAMP sees of itself are completely different.

According to OSX, here's the contents:

Kenz$~:   cd /Volumes/BOOTCAMP/

Kenz$~:   ls

$Recycle.Bin/              Program Files/             Users/

BOOTSECT.BAK*              Program Files (x86)/       Windows/

Boot/                      ProgramData/               WindowsImageBackup/

DRIVERS/                   RHDSetup.log*              bootmgr*

Documents and Settings/    Recovery/                  hiberfil.sys*

Intel/                     Recovery.txt*              pagefile.sys*

PerfLogs/                  System Volume Information/

This is how the drive looked before System Restore, yet OSX still thinks this is what is on the disk...

Here's the contents as seen from Windows, for comparison:

Directory of C:\

 

10/06/2015  02:45 PM                58 AppleBcInstaller.log

04/19/2016  09:08 AM             4,528 app_updater.log

02/02/2015  10:19 AM    <DIR>          Autodesk

01/03/2015  07:41 PM    <DIR>          Intel

07/13/2009  10:20 PM    <DIR>          PerfLogs

11/12/2015  03:02 PM    <DIR>          PhSp_CS2_UE_Ret

07/11/2016  05:44 PM    <DIR>          Program Files

07/15/2016  03:37 PM    <DIR>          Program Files (x86)

07/15/2016  11:58 AM    <DIR>          RegBackup

10/15/2015  07:13 PM             2,058 RHDSetup.log

01/04/2015  06:47 PM    <DIR>          Sandbox

01/03/2015  05:13 PM    <DIR>          Users

07/22/2016  03:48 PM    <DIR>          Windows

               3 File(s)          6,644 bytes

              10 Dir(s)  66,776,281,088 bytes free

I feel this is an OSX problem, like I need to reset its memory of the BOOTCAMP volume or something.

I have unmounted than re-mounted the disk, reset NVRAM/PRAM and disabled Tuxera NTFS... but it still shows this as the contents.

 

Any ideas on how to fix this? While I could leave it alone since both OSX and Windows function and boot properly, I would like to create a WinClone image of Boot Camp, and in this situation it would probably create an image of the wrong thing, so I'd like OSX to see the disk correctly. The driving factor here is I'd like to take advantage of the free Windows 10 upgrade, but I want to be able to roll back to where I was in the worst-case scenario.

MacBook Pro with Retina display, OS X Mavericks (10.9), Windows 7 Boot Camp

Posted on Jul 22, 2016 3:02 PM

Close

Q: After system image restore, disk contents don't match up

  • All replies
  • Helpful answers

Page 1 of 4 last Next
  • by Loner T,

    Loner T Loner T Jul 23, 2016 6:45 AM in response to MLDalglish
    Level 7 (23,828 points)
    Safari
    Jul 23, 2016 6:45 AM in response to MLDalglish

    From the OS X side, did you unmount and re-mount the Bootcamp partition? Tuxera can complicate this further and lead to corruption.

  • by MLDalglish,

    MLDalglish MLDalglish Jul 26, 2016 11:19 AM in response to Loner T
    Level 1 (4 points)
    Windows Software
    Jul 26, 2016 11:19 AM in response to Loner T

    Yep, unmounted from Finder and re-mounted from Terminal. No change.

  • by Loner T,

    Loner T Loner T Jul 26, 2016 11:26 AM in response to MLDalglish
    Level 7 (23,828 points)
    Safari
    Jul 26, 2016 11:26 AM in response to MLDalglish

    Please post the output of following OSX Terminal command

     

    df -h

    ls -lah /Volumes

    ls -lah /Volumes/BOOTCAMP

  • by MLDalglish,

    MLDalglish MLDalglish Jul 26, 2016 11:29 AM in response to Loner T
    Level 1 (4 points)
    Windows Software
    Jul 26, 2016 11:29 AM in response to Loner T

    Kenz$~:   df -h

    Filesystem      Size   Used  Avail Capacity  iused     ifree %iused  Mounted on

    /dev/disk0s2   282Gi  262Gi   20Gi    93% 68639953   5192572   93%   /

    devfs          182Ki  182Ki    0Bi   100%      630         0  100%   /dev

    /dev/disk0s4   183Gi   41Gi  143Gi    23%    63992 149838904    0%   /Volumes/BOOTCAMP

    map -hosts       0Bi    0Bi    0Bi   100%        0         0  100%   /net

    map auto_home    0Bi    0Bi    0Bi   100%        0         0  100%   /home

    Kenz$~:   ls -lah /Volumes

    total 24

    drwxrwxrwt@  5 root  admin   170B Jul 26 13:25 ./

    drwxrwxr-x  34 root  wheel   1.2K Jul 26 13:21 ../

    -rw-r--r--@  1 Kenz  admin   6.0K Jul 22 16:42 .DS_Store

    drwxr-xr-x   1 Kenz  staff    12K Jul 22 16:06 BOOTCAMP/

    lrwxr-xr-x   1 root  admin     1B Jul 26 13:21 Macintosh HD@ -> /

    Kenz$~:   ls -lah /Volumes/BOOTCAMP

    total 58393720

    drwxr-xr-x@ 1 Kenz  staff     0B Jul 22 13:21 $Recycle.Bin/

    drwxr-xr-x  1 Kenz  staff    12K Jul 22 16:06 ./

    drwxrwxrwt@ 5 root  admin   170B Jul 26 13:25 ../

    drwxr-xr-x@ 1 Kenz  staff     0B Jul 22 14:14 .TemporaryItems/

    drwxr-xr-x@ 1 Kenz  staff     0B Jul 22 16:06 .Trashes/

    drwxr-xr-x  1 Kenz  staff     0B Jul 22 16:06 .Tuxera-NTFS/

    -rwxr-xr-x@ 1 Kenz  staff   8.0K Jul 22 19:38 BOOTSECT.BAK*

    drwxr-xr-x@ 1 Kenz  staff   4.0K Jul 22 19:38 Boot/

    drwxr-xr-x  1 Kenz  staff   4.0K Jul 22 14:16 DRIVERS/

    drwxr-xr-x@ 1 Kenz  staff     0B Jul 14  2009 Documents and Settings/

    drwxr-xr-x  1 Kenz  staff     0B Jul 22 13:17 Intel/

    drwxr-xr-x  1 Kenz  staff     0B Jul 13  2009 PerfLogs/

    drwxr-xr-x  1 Kenz  staff   4.0K Jul 22 13:50 Program Files/

    drwxr-xr-x  1 Kenz  staff   4.0K Jul 22 15:03 Program Files (x86)/

    drwxr-xr-x@ 1 Kenz  staff   4.0K Jul 22 15:03 ProgramData/

    -rwxr-xr-x  1 Kenz  staff   2.0K Jul 22 13:51 RHDSetup.log*

    drwxr-xr-x@ 1 Kenz  staff     0B Jul 22 13:38 Recovery/

    -rwxr-xr-x  1 Kenz  staff     0B Jul 22 18:29 Recovery.txt*

    drwxr-xr-x@ 1 Kenz  staff   4.0K Jul 22 15:14 System Volume Information/

    drwxr-xr-x  1 Kenz  staff   4.0K Jul 22 13:11 Users/

    drwxr-xr-x  1 Kenz  staff    16K Jul 22 13:51 Windows/

    drwxr-xr-x  1 Kenz  staff   4.0K Jul 15 12:34 WindowsImageBackup/

    -rwxr-xr-x@ 1 Kenz  staff   375K Jul 13  2009 bootmgr*

    -rwxr-xr-x@ 1 Kenz  staff    12G Jul 22 19:46 hiberfil.sys*

    -rwxr-xr-x@ 1 Kenz  staff    16G Jul 22 19:46 pagefile.sys*

  • by Loner T,

    Loner T Loner T Jul 26, 2016 12:02 PM in response to MLDalglish
    Level 7 (23,828 points)
    Safari
    Jul 26, 2016 12:02 PM in response to MLDalglish

    What is in the following directory?

    drwxr-xr-x  1 Kenz  staff   4.0K Jul 15 12:34 WindowsImageBackup/

  • by MLDalglish,

    MLDalglish MLDalglish Jul 26, 2016 12:36 PM in response to Loner T
    Level 1 (4 points)
    Windows Software
    Jul 26, 2016 12:36 PM in response to Loner T

    Originally I tried to move my system image to the C: drive since my external drive wasn't detected initially (USB 3.0).

    It didn't work, but I didn't remove it. That's a leftover of that.

     

    OSX says the directory is zero bytes, and when I look inside it, it is empty.

  • by Loner T,

    Loner T Loner T Jul 26, 2016 1:05 PM in response to MLDalglish
    Level 7 (23,828 points)
    Safari
    Jul 26, 2016 1:05 PM in response to MLDalglish

    The /Volumes/BOOTCAMP directory is authoritative as seen by the volume as shown the the ls command.

     

    Your C: is what is known in System Volume Information. Does Windows boot correctly?

  • by MLDalglish,

    MLDalglish MLDalglish Jul 27, 2016 8:20 AM in response to Loner T
    Level 1 (4 points)
    Windows Software
    Jul 27, 2016 8:20 AM in response to Loner T

    To which C: drive are you referring? The missing one, or the weirdly-still-there one?

     

    As for Windows, it boots like a charm. I am able to change startup disk from both OSX and Windows, and I just ran updates on it last night.

  • by Loner T,

    Loner T Loner T Jul 27, 2016 8:36 AM in response to MLDalglish
    Level 7 (23,828 points)
    Safari
    Jul 27, 2016 8:36 AM in response to MLDalglish

    For the weirdly-still-there one, you may be using the Bootloader located in EFI partition. What year/model is your Mac?

  • by MLDalglish,

    MLDalglish MLDalglish Jul 27, 2016 8:39 AM in response to Loner T
    Level 1 (4 points)
    Windows Software
    Jul 27, 2016 8:39 AM in response to Loner T

    15" Retina Macbook Pro, Late 2013.

     

    More specifically, MacBookPro11,3

  • by Loner T,

    Loner T Loner T Jul 27, 2016 8:48 AM in response to MLDalglish
    Level 7 (23,828 points)
    Safari
    Jul 27, 2016 8:48 AM in response to MLDalglish

    Your 2013 Mac supports both BIOS/MBR and EFI/GPT Windows installations. Can you post the output of the following OSX Terminal commands?

     

    diskutil list

    diskutil cs list

    sudo fdisk /dev/disk0

  • by MLDalglish,

    MLDalglish MLDalglish Jul 27, 2016 8:53 AM in response to Loner T
    Level 1 (4 points)
    Windows Software
    Jul 27, 2016 8:53 AM in response to Loner T

    Kenz$~:   diskutil list

    /dev/disk0

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *500.3 GB   disk0

       1:                        EFI EFI                     209.7 MB   disk0s1

       2:                  Apple_HFS Macintosh HD            302.4 GB   disk0s2

       3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

       4:       Microsoft Basic Data BOOTCAMP                197.0 GB   disk0s4

    Kenz$~:   diskutil cs list

    No CoreStorage logical volume groups found

    Kenz$~:   sudo fdisk /dev/disk0

    Password:

    Disk: /dev/disk0 geometry: 60821/255/63 [977105060 sectors]

    Signature: 0xAA55

             Starting       Ending

    #: id  cyl  hd sec -  cyl  hd sec [     start -       size]

    ------------------------------------------------------------------------

    1: EE    0   0   2 -   25 127  14 [         1 -     409639] <Unknown ID>

    2: 07   25 127  15 - 1023 254  63 [    409640 -  664698912] HPFS/QNX/AUX

    3: AB 1023 254  63 - 1023 254  63 [ 665108552 -    1269536] Darwin Boot

    *4: 07 1023 254  63 - 1023 254  63 [ 666378240 -  310726656] HPFS/QNX/AUX

  • by Loner T,

    Loner T Loner T Jul 27, 2016 8:56 AM in response to MLDalglish
    Level 7 (23,828 points)
    Safari
    Jul 27, 2016 8:56 AM in response to MLDalglish

    In OSX, can you unmount the Bootcamp NTFS partition via DU and check what files exist in /Volumes directory?

  • by MLDalglish,

    MLDalglish MLDalglish Jul 27, 2016 8:58 AM in response to Loner T
    Level 1 (4 points)
    Windows Software
    Jul 27, 2016 8:58 AM in response to Loner T

    Unmounted and checked Volumes, only see Macintosh HD :/

Page 1 of 4 last Next