Jump to content
7 posts in this topic

Recommended Posts

Hi!

 

After adding a third partition to my HD just for the System, my previous partition remains to be bootable. I removed all system files from it, but it still has the "bootable flag"

When booting with the Darwin Bootloader i have to choose between the new Partition and the old, even if it doesn't hold a system anymore.

 

How can i change the bootable flag of that old system partition without reformating so that darwin boots without asking where to boot from?

I googled like crazy, seems this is a very special problem once again ;)

 

Here is my output of diskutil:

 

   Device Identifier:		disk0s3
  Device Node:			  /dev/disk0s3
  Part Of Whole:			disk0
  Device / Media Name:	  Untitled

  Volume Name:			  Daten
  Mount Point:			  /Volumes/Daten
  File System:			  Journaled HFS+
						 Journal size 65536 KB at offset 0x1859000
  Owners:				   Enabled

  Partition Type:		   Apple_HFS
  Bootable:				 Is bootable
  Media Type:			   Generic
  Protocol:				 SATA
  SMART Status:			 Verified
  Volume UUID:			  3968FAFB-F64A-3C84-A6E5-F23CC389ACED

  Total Size:			   629.9 Gi (676323131392 B) (1320943616 512-byte blocks)
  Free Space:			   140.1 Gi (150421024768 B) (293791064 512-byte blocks)

  Read Only:				No
  Ejectable:				Yes
  Whole:					No
  Internal:				 No

 

I need to get rid of "bootable: is bootable " without reformatting.

I used hfs_debug and found out that the partition ist "blessed". How do i unbless it without reformating? The bless command line tool seems only be able to bless but not unbless?

 

# HFS Plus Volume Header
 signature			= 0x482b (H+)
 version			  = 0x4
 lastMountedVersion   = 0x4846534a (HFSJ)
 attributes		   = 00000000000000000010000000000000
				   . kHFSVolumeJournaled (volume has a journal)
 journalInfoBlock	 = 0x1858
 createDate		   = Sat Oct 25 17:40:12 2008
 modifyDate		   = Tue Dec 23 16:56:50 2008
 backupDate		   = 0
 checkedDate		  = Sun Oct 26 02:40:12 2008
 fileCount			= 23021
 folderCount		  = 5116 /* not including the root folder */
 blockSize			= 4096
 totalBlocks		  = 165117952
 freeBlocks		   = 51522087
 nextAllocation	   = 161745088
 rsrcClumpSize		= 65536
 dataClumpSize		= 65536
 nextCatalogID		= 4352825
 writeCount		   = 227734290
 encodingsBitmap	  = 00000000000000000000000000000000
					 00000010000000000000000011101011
					   . MacRoman
					   . MacJapanese
					   . MacKorean
					   . MacHebrew
					   . MacGreek
					   . MacCyrillic
					   . MacChineseSimp
 # Finder Info
   # Bootable system blessed folder ID
	 finderInfo[0] = 0x95
   # Parent folder ID of the startup application
	 finderInfo[1] = 0x8b735
   # Open folder ID
	 finderInfo[2] = 0
   # Mac OS 9 blessed folder ID
	 finderInfo[3] = 0
   # Reserved
	 finderInfo[4] = 0
   # Mac OS X blessed folder ID
	 finderInfo[5] = 0x95
   # VSDB volume identifier (64-bit)
	 finderInfo[6] = 0x177a0ff3
	 finderInfo[7] = 0x3a6b6c6b

To unboot a partition from windows u can try this : (be sure to have a vista recovery DVD near you)

 

diskpart

list disk

select disk X

list partition

select partition X

inactive

exit

 

from MAC theres also a similar cmd , but I cant remenber it hmm but u have for sure to go in single mode (-s) at startup

It's not an issue of having the partition active or incactive, the boot info is stored in the volume header information:

 

bless --info /Volumes/Daten
finderinfo[0]:	149 => Blessed System Folder is <missing>
finderinfo[1]: 571189 => Blessed System File is <missing>
finderinfo[2]:	  0 => Open-folder linked list empty
finderinfo[3]:	  0 => No OS 9 + X blessed 9 folder
finderinfo[4]:	  0 => Unused field unset
finderinfo[5]:	149 => OS X blessed folder is <missing>
64-bit VSDB volume id:  0x177A0FF33A6B6C6B

 

 

Too bad there is no unbless command ...

×
×
  • Create New...