Computing.Net > Forums > Disk Operating System > hide and unhide (active or inactive ) pa

hide and unhide (active or inactive ) pa

Reply to Message Icon

Original Message
Name: elsi
Date: April 27, 2001 at 02:43:20 Pacific
Subject: hide and unhide (active or inactive ) pa
Comment:

Hallo everybody,
I have a bootmenu on my pc. So I can start directly to win or to dos.
I want to to unhide (set active )a partion then I go to dos. If I go to win it should automaticly hide (set inactive ).
I know there is just one byte do do this.
I don't want use a comercial program
Who can help me.


Report Offensive Message For Removal


Response Number 1
Name: mr o
Date: April 27, 2001 at 03:35:16 Pacific
Reply: (edit)

hi just ripped this from helppc, is this what your looking for?

Disk Partition Table (Fixed disk boot record)

Offset Represents: (see format below)

01BE Partition 1 data table (16 bytes)
01CE Partition 2 data table (16 bytes)
01DE Partition 3 data table (16 bytes)
01EE Partition 4 data table (16 bytes)
01FE Signature (hex 55 AA, 2 bytes)

Offset from beginning of partition data shown above:

Offset Size Description

00 byte boot indicator
01 byte beginning sector head number
02 byte beginning sector (2 high bits of cylinder #)
03 byte beginning cylinder# (low order bits of cylinder #)
04 byte system indicator
05 byte ending sector head number
06 byte ending sector (2 high bits of cylinder #)
07 byte ending cylinder# (low order bits of cylinder #)
08 dword number of sectors preceding the partition
0B dword number of sectors in the partition


Boot indicator (BYTE)

00 - non-bootable partition
80 - bootable partition (one partition only)


System Indicator (BYTE)

00 - unknown operating system
01 - DOS with 12 bit FAT, 16 bit sector number
02 - XENIX
04 - DOS with 16 bit FAT, 16 bit sector number
05 - DOS Extended partition (DOS 3.3+)
06 - DOS 4.0 (Compaq 3.31), 32 bit sector number
51 - Ontrack extended partition
64 - Novell
75 - PCIX
DB - CP/M
FF - BBT


Signature

Hex 55AA marks the end of valid boot sector. This is also
required in each of the partition boot records.



Report Offensive Follow Up For Removal

Response Number 2
Name: DoOMsdAY
Date: April 27, 2001 at 04:35:51 Pacific
Reply: (edit)

Also there is Ranish Partition Manager should you wish for it to handle hiding and unhiding partitions via its boot menu. It's freeware (thus not commercial) and works great. Do a web search for +"Ranish" +"partition manager".


Report Offensive Follow Up For Removal

Response Number 3
Name: elsi
Date: April 27, 2001 at 05:34:54 Pacific
Reply: (edit)

Thanks for prompt help!!
The table helps me a lot. I know the solution with partitionmanager, but also thanks.


Report Offensive Follow Up For Removal

Response Number 4
Name: Michael
Date: April 27, 2001 at 19:36:34 Pacific
Reply: (edit)

Another possibly easier way to do it is to download the program Aefdisk from www.aefdisk.com . It is a command line partitioning table which means you can control partition functions from batch files, including hiding and unhiding partitions. The program is shareware.

Hope that helps,
~Michael


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: hide and unhide (active or inactive ) pa

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 3 Days.
Discuss in The Lounge