How I tried fix my partitions and restore a Dell Diagnostic Partition.

UPDATED: 2 September 2012
UPDATE: Now that I reflect back on the incidence, I realize that the Dell Utility partition had lost its ability to boot long before I had messed up my partition table. But I realized it only when I was testing all my partitions after fixing the partition table. But as I have already written this long post, lets just keep it here for future reference of anyone else stumbling across a similar problem. Read on to know about my experience.
RECOMMENDATION: I do not recommend trying out all the steps below as they did not completely solve the problem for me. If you need the Diagnostic Utility, download the update package from Dell's support website for your model. This package can be used to create a boot-able USB drive and/or CD/DVD. These work fine and are pretty fast also.
Something strange happened to me and I am now reporting my experience in trying to solve it (somewhat unsuccessfully!!)
First of all, my setup is: Dell Studio 1555 laptop. I dual boot Windows 7 and Archlinux. So here's how it went:
After using the partitioning tool Gparted under Archlinux to resize a partition, I found a problem had occurred. The Partition was NTFS formatted and all of my data files were stored on it. The partition worked fine under Archlinux as I was able to access my files fine under it. But in Windows, although the partition was listed under Windows explorer, it wanted to format it!! When I tried to access the partition it gave an error that it was not formatted (
The drive is not formatted, do you want to format it now?
). Of course, that was not right and Gparted had messed something up. I fixed that using Testdisk under Archlinux (See the Details). So now the partition problem under windows was fixed. But now another problem cropped up under Archlinux. When I booted into Archlinux and started Gparted to confirm everything was fine I saw something strange in Gparted. The whole space on my hard disk was marked as "unallocated" under Gparted. Windows and Archlinux could "see" the partitions. By this I mean that I was able to boot fine under both my OSes. And I could access all my files under all my partitions. But somehow Gparted was not able to "see" them. Gparted was reporting my whole disk to be marked as unallocated. After that I researched a lot and lots of stuff happened experimenting to fix the problem. I used a lot of utilities. But actually only one fixed the problem-fixparts from the gptfdisk package. But it seemed like a lot of work trying to get the problem fixed (See the Details).
Now we get to the point in discussion. I was able to get my partitions back under Gparted. But I lost the Dell Diagnostics Utility partition's ability to boot up. [Actually, now that I reflect back on the incidence, I realize that the Dell Utility partition had lost its ability to boot long before I had messed up my partition table. But I realized it only when I was testing all my partition after fixing the partition table. But more on this later.] It gave an error that the partition was not found.
So, in short: After all this restoring partitions' visibility under Gparted, I realized that the Dell Utility partition on my Studio 1555 was not booting up. To explain this, it means that when I press F-12 when starting the laptop and select Diagnostics from the menu to run the Diagnostic Utility and after running the Pre-boot System Assesment tests when I consented to boot the Diagnostic Utility partition, it gave me the error that the partition was not found. When I tried to run the "Dell 32 Bit Diagnostics (Graphical User Interface version)" update package under Windows, it resulted in a similar error: Partition not found.
For some background on what makes the Dell Utility partition so special, please read this thread and the third post on this thread.
WARNING: You and only you are responsible for your data. Please make a backup before performing any of the partitioning steps below.
NOTE: Please read the entire post before actually performing the steps.
So, to try and fix this I did the following:
Boot into Windows 7.
Open Disk Management under the Computer Management console (To open the Computer Management console, right click on Computer in the Start menu and select Manage).
Reformat the Dell Diagnostic Utility partition as FAT(not FAT32). This is the first partition on the drive (marked as Healthy (OEM Partition) under the Status column). [This step may not be required, however I had done it. See Notes below.]
UPDATE: After reading around a bit I found that these steps to format the partition might not actually be necessary. Simply changing the type of the partition (as detailed below) might also work. However as I had done that, lets just keep these steps over here.
Reboot into a Linux distribution Live CD (I had Ubuntu 10.10). Or, If you dual boot with a Linux distribution that does not complain about the now inconsistent fstab entry, you can also boot into that distribution directly. I had to boot into Live CD to fix my /etc/fstab.
UPDATE: After considering all the aspects from start to end I have come to a conclusion regarding the efficacy of this method on dual boot machines with Windows and Linux installed. I doubt anyone with a dual boot Windows/Linux setup would be able to boot into the Dell Diagnostic Utility even with the Utility Partition restored. This is detailed below.
(As noted above my Archlinux install did not boot up after I had reformatted  my Dell Diagnostic Utility partition. This is because I was mounting the Dell Utility partition at boot using fstab inside Archlinux. And I was using the UUID to mount the partition. After reformatting the partition its UUID changed. So, it wouldn't mount. And because of how my fstab was setup Archlinux won't boot. So, I had to boot into a live environment to fix this. This step applied only to me. YRMV.) Fix the fstab entry.
(This step also applied to me.) Boot into the repaired Linux Distribution.
And open a Terminal.
In the open terminal run fdisk on your drive, e.g.,
fdisk /dev/sda
This is how it looks:
[abhishek@Nitaichand ~]$ sudo fdisk /dev/sda
Password:
Command (m for help):
To change the partition type give the appropriate command, i.e.,
Command (m for help): t
Specify the partition, i.e.,
Partition number (1-10): 1
Type L to see available codes:
Hex code (type L to list codes):L
0 Empty 24 NEC DOS 81 Minix / old Lin bf Solaris
1 FAT12 27 Hidden NTFS Win 82 Linux swap / So c1 DRDOS/sec (FAT-
2 XENIX root 39 Plan 9 83 Linux c4 DRDOS/sec (FAT-
3 XENIX usr 3c PartitionMagic 84 OS/2 hidden C: c6 DRDOS/sec (FAT-
4 FAT16 <32M 40 Venix 80286 85 Linux extended c7 Syrinx
5 Extended 41 PPC PReP Boot 86 NTFS volume set da Non-FS data
6 FAT16 42 SFS 87 NTFS volume set db CP/M / CTOS / .
7 HPFS/NTFS/exFAT 4d QNX4.x 88 Linux plaintext de Dell Utility
8 AIX 4e QNX4.x 2nd part 8e Linux LVM df BootIt
9 AIX bootable 4f QNX4.x 3rd part 93 Amoeba e1 DOS access
a OS/2 Boot Manag 50 OnTrack DM 94 Amoeba BBT e3 DOS R/O
b W95 FAT32 51 OnTrack DM6 Aux 9f BSD/OS e4 SpeedStor
c W95 FAT32 (LBA) 52 CP/M a0 IBM Thinkpad hi eb BeOS fs
e W95 FAT16 (LBA) 53 OnTrack DM6 Aux a5 FreeBSD ee GPT
f W95 Ext'd (LBA) 54 OnTrackDM6 a6 OpenBSD ef EFI (FAT-12/16/
10 OPUS 55 EZ-Drive a7 NeXTSTEP f0 Linux/PA-RISC b
11 Hidden FAT12 56 Golden Bow a8 Darwin UFS f1 SpeedStor
12 Compaq diagnost 5c Priam Edisk a9 NetBSD f4 SpeedStor
14 Hidden FAT16 <3 61 SpeedStor ab Darwin boot f2 DOS secondary
16 Hidden FAT16 63 GNU HURD or Sys af HFS / HFS+ fb VMware VMFS
17 Hidden HPFS/NTF 64 Novell Netware b7 BSDI fs fc VMware VMKCORE
18 AST SmartSleep 65 Novell Netware b8 BSDI swap fd Linux raid auto
1b Hidden W95 FAT3 70 DiskSecure Mult bb Boot Wizard hid fe LANstep
1c Hidden W95 FAT3 75 PC/IX be Solaris boot ff BBT
1e Hidden W95 FAT1 80 Old Minix
Type the desired code, i.e.,
Hex code (type L to list codes): de
Write the partition table with:
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table. The new table will be used at
the next reboot or after you run partprobe(8) or kpartx(8)
Syncing disks.
[abhishek@Nitaichand ~]$
Download the required Diagnostics Update Package from the Drivers Download page for your model. Got mine from here.
Run the downloaded package under the OS you it downloaded for. That is, run the .exe on Windows. Or, if you downloaded the .bin file for Linux then first make it executable:
chmod u+x CL1367A0.bin
And now run it under a Linux distribution with an older version of python installed (I think <2.7). I say this because the .bin package didn't run on an updated Archlinux for me, probably because it has the latest python. I ran it from the Ubuntu 10.10 Live CD and it ran fine under that.
On Windows, If you are not automatically prompted with an option to update your Utility Partition then you need to browse to the location where the package was extracted (for me it was C:\dell\drivers\R239866).
Now you need to manually run the extracted file (for me it was DDDP.exe). Most probably you'll need to right-click it and run it as an Administrator. And if all went well, it will extract/update the diagnostic utilities to/on the Dell Utility Partition.
I believe the above steps should be sufficient for someone who's lucky and who's update package is smart enough. However these steps were not sufficient for me. My "Partition not found" error was gone because I had changed the partition type. And so the update package was able to recognize the partition and extract the necessary files to it. But I was still not able to boot the utility partition. After the Pre-boot System Assessment although I no longer got the "Partition not found" error, but I was just dropped onto the GRUB boot menu prompt.
[UPDATE: As stated above, I realize that the recovery partition had lost its ability to boot long before I had messed up my partition table. But I realized it only when I was testing all my partition after fixing the partition table. Please refer to this forum thread for further Details. I  do not think that it is possible longer to boot from the Dell Utility Parttion on my setup which has GRUB installed to the MBR. But the rest of the post documents my attempts to slove the problem without the knowledge from the forum post.]
Anyways, it was a pain to again and again set up/update the partition and test it after waiting half an hour or so for the Pre-boot System Assessment to complete. But I was determined to solve the problem at-least partially, until next time. So I created a GRUB entry to boot the Utility partition. Assuming the partition is the first partition on the drive (which is the case here), the grub entry is simply:
title Dell Utility
rootnoverify (hd0,0)
chainloader +1
I tried downloading an older update package. I updated my Partition with it. And tested. Still, I was unsuccessful. I researched a little bit and found this link. Out of frustration,I decided to use brute force this time . So, the below are the steps which let me have at-least a glimpse of The Dell Diagnostic Utility booting up from the partition:
Backup your partition table using the sfdisk command (not fdisk).
Follow the instructions in the link I gave above (i.e., http://community.spiceworks.com/how_to/show/1123) and build your Utility Partition from scratch.
Now after that when you try to boot into the OS you'll be presented with an blue bar on top. This is because the mkup batch file from the Dell Diagnostic/Drivers CD/DVD wiped your partition table and rewrote it with only one partition on it- the Dell utility partition.
Boot into a Live environment and restore your partition table from the backup created earlier using sfdisk.
Now boot with a Windows disc to repair your Windows boot problem. This applied to me but may not apply to you.
Again boot into a live environment and restore GRUB to MBR.
After a reboot press F-12 to get to the BIOS boot menu and select Diagnostics.
Let the Pre-boot Assessment run and after its complete it will ask you to press any key to boot the Dell Utility partition. Do that.
You'll notice your still dropped into GRUB instead of getting the Diagnostics GUI.
Now when on GRUB prompt don't boot any other OS.
Press any key (other than <Enter>, that is ) to stop the timer if you have one set.
Now look carefully at the boot menu.
Remember I told you that I had created a GRUB menu entry to boot the Dell Utility partition. Select that. And if you are lucky you might just be able boot the partition. This worked for me (finally!).
After this initial run I was unable to run the Diagnostics GUI from the GRUB menu entry again. I haven't tried to re-run the Pre-boot Assessment and wait to see, if I'm able to boot it from there. But now, I'm satisfied that at-least the file there are in a running condition.
Also, the update package can be used to create boot-able USB drives or boot-able CD/DVDs which can run the Diagnostics just fine. They are almost as fast as the partition (especially the USB which seems even faster). They are recommend, instead of going into this trouble to recreate the partition. That is unless you are a purist/perfectionist .
Notes:
At first, I panicked and tried a lot of steps that are not exactly documented above for the sake of convenience to others who might refer.
I have thus rewritten the post in a manner to make it very general in nature as it did not become very fruitful for myself.  If you attempt to use this guide, use common sense where necessary .
Of course, if you are trying to build a Utility partition on a bare hard drive or you're feeling adventurous, you can always follow this link .
Last edited by bhadotia (2012-10-08 19:03:18)

bhadotia wrote:Anyway's the file downloaded from dell to update the partition for Studio 1555 is corrupted (checksums don't match). My partition still doesn't boot. I'm working to fix this and will update my post when I'm done.
The file seems to create the CD/DVD/Image and USB just fine. So I used this only to create a CD image which I then wrote on a blank CD which seems to work fine. Also, I played around a bit and had some partial success in booting the partition. I've updated my original opening post with the new findings.
Whew!! what a waste of time! Never want to do all of this again .
Last edited by bhadotia (2012-03-03 00:05:22)

Similar Messages

  • Trying to get rid of error "The startup disk cannot be partitioned or restored to a single partition". Recovery HD visible.

    Hello,
    I've been stuck for some hours now trying different things to install Windows 7 on my Macbook Air, and I think now is the time to call for some custom help.
    I'm using OS X 10.9.5 Mavericks.
    So some months ago I just wanted to run Linux on my laptop so I installed rEFInd, shrunk the Macintosh HD partition by 25GB and booted on a linux live USB flash I burned using dd.
    Then I used gparted to create my linux partitions.
    It worked just fine, even though disk utility from OS X seemed quite unhappy about this (it seemed to have incorrect informations about the filesystem on these partitions, seeing them as journaled Mac OS while they were clearly not). At this point already, the Recovery HD from mac showed up in disk utility, which I found weird but didn't bother me.
    But recently I needed windows on my Mac. So after a few tries for the triple boot, I managed to create a bootable USB stick with boot camp, which already showed me the message "The startup disk cannot be partitioned or restored to a single partition" and hence refused to partition/install himself.
    So I thought "OK, that's no big issue, I can just partition with disk utility and then boot on the USB stick and everything will work fine". But when EFI booting on the USB flash drive I got stuck at the beginning of Windows installer with no keyboard or mouse support.
    After some hours spent googling, I was unable to find a working fix for that, and as there was no support for my case (where I used bootcamp to create the bootable flash but NOT to partition/reboot) I decided to give bootcamp a try.
    So I erased my linux partitions, and cleaned up everything I could on the HD with disk utility. That means I now have two partitions showing in disk utility : Macintosh HD and Recovery HD.
    When using disk utility from terminal, the list is :
    /dev/disk0
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *121.3 GB   disk0
       1:                        EFI EFI                     209.7 MB   disk0s1
       2:                  Apple_HFS Macintosh HD            80.0 GB    disk0s2
       3:                  Apple_HFS Recovery HD             650.1 MB   disk0s3
    But boot camp still isn't happy, and the message "The startup disk cannot be partitioned or restored to a single partition" keeps popping after the intro and I can't partition/boot from bootcamp.
    So, as I don't understand what is wrong here anymore, any help would be greatly appreciated!
    I will be watching the thread a lot because I really would like this resolved (or windows installed one way or another) this weekend; so any questions on my past manipulations or config just ask!
    Thank you.

    keyboard issues are also something of a common issue.
    I wish the best threads were voted to the top of forums, something! Me, I literally burned out here, but after installing 10 Preview, wanted to "see what was going on" after hiatus of a couple years and see if anything had changed (no, not really!)
    Also, these new Communities are not putting "more like this" and failing to help too.
    I think rewriting Boot Camp Assistant's built in help and pdf would help a lot, and needs to be clearer and go into details. And Yosemite was not it seems tested against Boot Camp, and drivers for new Macs + new OS also lag behind. Again, common and no sign of improvement or change.
    One of the tricks to the "can't partition" is rather simple - of course backup is step #1 and is spelled out - SHRINK the main HFS+ partition! then stretch it back to full length. Sometimes a reboot is needed, and sometimes even do a Safe Boot - not sure what but Recovry Mode might be a good option too. That does seem to consolidate free space, move files that are locked and cannot be moved otherwise, and allow BCA to partition, jusst be sure to have enough space left and large enough for a proper Windows install (and fudge factor).

  • TS3694 I just updated my 4S to the new software and since I have done this it says it is searching for service.  I have tried to back up and restore but not working!!

    I just updated my Iphone 4S to the new software.  Ever since I did the update it has been searching for cell service and I am not able to make outgoing calls or get texts.  I have tried to back up and restore but it keeps giving me the error message 3002.  I tried to click on the error number but there is no info about it.  Could someone help??  Thanks

    After I upgraded to Mavericks I was also having this message when I tried to update. There was a previous post about this problem which offered this simple solution which worked for me:
    b0n0b0
    Re: Recently upgraded to Maverick from SnowLeopard. Unable to get updates from App store.
    Mar 15, 2014 9:05 AM (in response to Terence Devlin)
    Got it! Thanx.  What I did was go to my account, check that they had my new ID and Password which they did, then hit reset button. All fixed.

  • Was setting up my ipad, turned it off. Came back turned it on and after you select ur country step it came up with "connect to itunes" logo, how do i fix this? And i dont have a computer.?!

    Was setting up my ipad, turned it off. Came back turned it on and after you select ur country step it came up with "connect to itunes" logo, how do i fix this? And i dont have a computer.?!

    Reboot the computer then try placing the iPod in Recovery mode and then restoring via iTunes.
    Next try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • I have forgotten my iPad password and tried to back up and restore my iPad but it says you need to unlock your device before you restore it but that is the whole reason I am trying to restore my iPad. Can anyone help?

    I have forgotten my iPad password and tried to back up and restore my iPad but it says you need to unlock your device before you restore it but that is the whole reason I am trying to restore my iPad. Can anyone help?

    Forgotten passcode or device disabled after entering incorrect passcode

  • How do I remove iTunes 11 and restore the older version. I really don't like the new interface

    How do i remove iTunes 11 and restore the older version ??

    If you change sync settings it is on your computer and you change it and apply like you always have done.
    As far as list view goes for TV shows

  • I installed iOS 7 and it deleted some of my contacts, as expected, so I just resaved them all. There's one particular number that will save but in my messages, it shows up as the number instead of the name saved. How do I fix it? And why is it doing that?

    I installed iOS 7 and it deleted some of my contacts, as expected, so I just resaved them all. There's one particular number that will save but in my messages, it shows up as the number instead of the name saved. How do I fix it? And why is it doing that?

    I had this problem too, I fixed it by going to my settings and under general at the bottom there is a reset option, go there. One of the options should be reset network settings, select that one. I’m not sure why it happens but that worked for me; hope you have the same luck!

  • I want to email a photo through iPhoto but it says I need a password... I entered my password but it says it doesn't match - what password do they want and how do I fix? (Facebook and other social media iPhoto posts work - just email asking for pass)

    I want to email a photo through iPhoto but it says I need a password... I entered my password but it says it doesn't match - what password do they want and how do I fix? (Facebook and other social media iPhoto posts work - just email asking for password)

    Your email password.
    iPhoto '11: Email your photos
    Open Mac Mail. From the Mac Mail menu bar click Mail > Preferences then select the General tab.
    Make a selection from the:  Default email reader   pop up menu.

  • How to Takes Active directory backup and Restore in different Hardware

    Hi 
    how to takes Active directory backup and Restore in different Hardware in Windows server 2003 R2 standard Edition.

    You can give a look to that: https://support.microsoft.com/kb/249694/?wa=wsignin1.0
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • I recently got my battery replaced in the 3GS and tried to update software and restore but phone is now stuck in recover mode.  Please help

    i recently got my battery replaced in the 3GS and tried to update software and restore but phone is now stuck in recover mode.  Please help

    If it wasn't Apple who replaced the battery, then you've voided your warranty.   Bring it back to whomever replaced the battery and tell them they probably broke your phone.

  • How do I delete a Windows partition and resize the MAC HD partition to orig

    How do I delete a Windows partition and resize the MAC HD partition to original? I am new to Mac and created a very large Windows partition and need to delete it and get back. To make matters worse, I do not have a drive configured for Time Machine.
    Okay, I'm stupid and jumped the gun. but can anyone help this poor fool?
    Richard

    Okay, after lots of Google-ing, I finally decided to follow the ru - WAEFRTFI - and found the answer in the Boot Camp Installation Setup pdf on p. 22.
    Richard

  • How backup my speed dial tab and restore ?

    How backup my speed dial tab and restore as like opera

    Ok I have been to the opera site to find out what speed dial is. It is favorites.
    Thunderbird has no favorites, but Firefox does. So are you asking about Thunderbird or Firefox or just what are you asking.

  • How do i fix error (-1) during  restore to ios5?, how do i fix error (-1) during  restore to ios5?

    how do i fix error (-1) during  restore to ios5?, how do i fix error (-1) during  restore to ios5?

    If you used iTunes on your computer to download the app, suggest you download the app using your iPad. Should then install correctly.
     Cheers, Tom

  • Removing a Bootcamp Partition and restoring drive fully to OS X

    Hi all
    I currently have a small partition on my 27' imac allocated to Bootcamp which I now no longer require.  I would like to remove this partition and restore the complete drive back to OSX without losing any vital info.
    Yes, I have done research on this however I remain a little confused.  I would be grateful if someone would take the trouble to confirm that this is possible and, if they have the time, write a simple step by step procedure for me.
    Thank you
    Kindest regards
    Ian

    Allan
    Thank you for your very quick reply, I do appreciate it.
    As you may of read into my initial question I am not that confident in making changes to my system, in my profession as a photographer I have a lot of critical images that I cannot afford to lose.
    I see within the Bootcamp Assistant I can remove the option to remove the Windows partition but I am not sure of the steps I further need to complete to restore the drive completely to the OS X system.  Currently I have 100GB partitioned to Windows and I would like this space be available for my work.
    Any step-by-step guide you can provide me would be very much appreciated.
    Thank you again
    Kindest regards
    Ian

  • Bootcamp Yosemite 10.10.1 "The startup disk cannot be partitioned or restored to a single partition."

    I'm trying to install Windows on my Mac via Bootcamp. I start up Boot Camp Assistant, the introduction pops up, I press continue and then I get this error message.
    "The startup disk cannot be partitioned or restored to a single partition.
    The startup disk must be formatted as a single Mac OS Extended (Journaled) volume or already partitioned by Boot Camp Assistant for installing Windows."
    So I head over to Disk Utility, the only partitions I have are Macintosh HD and EFI. I thought there might be some hidden partition, so I went into debug mode in Disk Util and there's nothing (Also used terminal, I'll put results below*). So that brings me to my current problem; it's already "formatted as a single Mac OS Extended (Journaled) volume" and I can't make it "partitioned by Boot Camp Assistant for installing Windows." because this error message prevents me from doing that. Maybe there's an easy fix, but the information provided is so unhelpful/circular it makes me want to laugh and punch something at the same time. I saw that someone fixed this problem by merging their partitions, but as I already have the minimum number of partitions so that wouldn't fix anything (unless EFI is unnecessary, which I'm fairly sure it isn't).  
    -Running 10.10.1 OSX Yosemite
    -Trying to install Windows 8.1
    diskutil list
    sudo gpt -vv -r show /dev/disk0
    sudo fdisk /dev/disk0
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *3.0 TB     disk0
       1:                        EFI EFI                     209.7 MB   disk0s1
       2:                  Apple_HFS Macintosh HD            3.0 TB     disk0s2
    Thanks for your help in advance ;3, I hope this is an easy fix

    I had a similar issue after doing a fresh install of Yosemite. Bootcamp assistant seems to want a Core Storage scenario before it will continue.
    To convert your drive use the following command in Terminal:
    diskutil cs convert disk0s2
    Bootcamp will then let you proceed as normal. Be warned though!
    After the windows install completes you may end up with something like my situation:
    https://discussions.apple.com/message/27472857?ac_cid=op123456#27472857

Maybe you are looking for