Re: I've messed up a partition....
Re: I've messed up a partition....
- Subject: Re: I've messed up a partition....
- From: Joe van Tunen <email@hidden>
- Date: Tue, 11 Mar 2008 12:39:43 -0700
- Thread-topic: I've messed up a partition....
The GPT and MBR on your 232.9 GiB (250 GB) disk is showing the following
partitions:
1) 200 MiB EFI partition
2) 115.9 GiB (124.4 GB) HFS+ partition
They do not show where the Windows partition is. The rEFIt partitioning tool
would show it as a Basic Data partition in the GPT and a type 07 NTFS/HPFS
partition in the MBR.
The Windows partition comes after the Mac OS partition. If your Mac OS
partition really was 100 GB and was increased in size, then it's possible
that parts of the start of the Windows partition may be overwritten already.
You need a way to find where the start of the Windows partition was. The
first block of my Windows partition starts with "eb 52 90 4e 54 46 53 20 20
20 20 00" = ".R.NTFS " and also contains these strings starting at offset
0x183:
"\r\nA disk read error occurred"
"\r\nNTLDR is missing"
"\r\nNTLDR is compressed"
"\r\nPress Ctrl+Alt+Del to restart\r\n".
(where \r = CR and \n = LF)
The 2nd block of my Windows partition starts with "05 00 4e 00 54 00 4c 00
44 00 52" which is "..N.T.L.D.R". I used HexEditor (which I found on
versiontracker.com) while logged in as root to see the blocks.
Use diskutil to list and modify partitions.
Use fdisk to check and modify the MBR. The windows partition needs to be
added to the MBR for Windows to see it and start up.
Use gpt to check the GPT. The windows partition needs to be added to the GPT
for Mac OS to see it.
iPartition from Coriolis Systems is a good partitioning program you might
want to check out.
> From: Colin Kavanagh <email@hidden>
> Date: Tue, 11 Mar 2008 12:09:30 -0000
>
> Hello,
> I came in to work this morning and acted without thinking. Here's what
> happened:
>
> This guy has a mac book pro, partitioned with bootcamp:
> Mac OS 10.5.2=100GB,
> Windows XP service pack 2=100GB
>
> He asked me to repartition it, if possible without formating. So, after
> briefly asking a colleague, i went into disc utility, fiddled round with
> the partitioning scheme / slider, it indicated that it was possible,
> said 'no volumes would be erased'. Didn't work when trying to make the
> Mac partition bigger, so tried to make the Windows partition smaller.
>
> It came up with a negative value, we took a chance that it was just
> going to reduce the size........Anyway, now the windows partition has
> disappeared. Rebooted, no luck, doesn't appear at all in disc utility,
> it's missing.
>
> In Terminal:
> cd /volumes
> ls -al
>
> just reveals Macintosh HD.
>
> I downloaded refit.sourceforge.net which reported this:
> Report for internal hard disk ***
>
> Current GPT partition table:
> # Start LBA End LBA Type
> 1 40 409639 EFI System (FAT)
> 2 409640 243417127 Mac OS X HFS+
>
> Current MBR partition table:
> # A Start LBA End LBA Type
> 1 1 488397167 ee EFI Protective
>
> MBR contents:
> Boot Code: Unknown, but bootable
>
> Partition at LBA 40:
> Boot Code: None (Non-system disk message)
> File System: FAT32
> Listed in GPT as partition 1, type EFI System (FAT)
>
> Partition at LBA 409640:
> Boot Code: None
> File System: HFS Extended (HFS+)
> Listed in GPT as partition 2, type Mac OS X HFS+
>
>
> So it is still there.
> Does anyone have any suggestions on how to bring this Windows partition
> back?
> Many thanks for reading
****************************************************************************
This email may contain material confidential to
Pearson. If you were not an intended recipient,
please notify the sender and delete all copies.
We may monitor email to and from our network.
****************************************************************************
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden