Is it possible to grub4dos command "parttype (hd0,4) 0x00" for a logical partition on a USB flash drive to run?
I've noticed problems with logical partitions.
Please see here:
http://reboot.pro/16274/
For an answer I am grateful.
Regards,
NetFanTom
Posted 31 January 2012 - 03:15 PM
Posted 31 January 2012 - 03:18 PM
Posted 31 January 2012 - 03:32 PM
Posted 31 January 2012 - 03:43 PM
the partitioning an the USB Stick is crashed - i have no logical partition and the other partitions are not OK:
If i use only primary partitions then all works fine,
Posted 31 January 2012 - 05:20 PM
WHAT
has this to do with IF EXIST/FIND for file or folder?
Posted 31 January 2012 - 05:51 PM
If you could perform the EXACT tests suggested and answer EXACTLY to the other asked questions, maybe it would give you more possibiliies to get an answer (here or somewhere else).Answer: nothing
I hope i get the answer here.
Posted 31 January 2012 - 06:29 PM
Posted 31 January 2012 - 06:46 PM
'to run'- to run what? boot - recognized by Windows, usable with EPT, ????
Posted 31 January 2012 - 07:01 PM
Sorry, i don't need parttype (hd0,4) 0x12 or parttype (hd0,4) 0x17 (means that not hide?).
I need parttype (hd0,4) 0x00.
Posted 31 January 2012 - 07:06 PM
The problem is that setting the PTYPE to 17 or 27 does not hide the partition from Windows, so you cannot access any ptn which follows it.Well, I don't need either, I was only trying to help you, suggesting you a few tests in order to try and understand what the behaviour was, it's your need, not mine.
Wonko
Posted 31 January 2012 - 08:43 PM
#if 1 /* disable partition id 00. */ if (((int)pc_slice_no) >= PC_SLICE_MAX - 1 /* if it is a logical partition */ && *next_partition_type == PC_SLICE_TYPE_NONE) /* ignore the partition with id=00. */ goto next_entry; #else /* enable partition id 00. */ #endif
Posted 31 January 2012 - 09:06 PM
The problem is that setting the PTYPE to 17 or 27 does not hide the partition from Windows, so you cannot access any ptn which follows it.
e.g. ptn table
17 - Windows shows this ptn only in Explorer
1B
7
17
but if you use
0
B - Windows shows this ptn in Explorer
0
0
So we need to get the ptn to show up in Windows and copy files to it, we need to set the PTYPE to 0 (unless you can think of another way...?).
A further complication is that if you run diskpart on that drive which has 0'd ptn entries, it will erase all the ptn entries from all the PTYPE 0 tables!
Posted 31 January 2012 - 09:18 PM
Yep - Windows likes all of these, 12, DE, 83, FF! It needs to be 0 to be ignored by Windows.How about setting the ID to "0x12 compaq diagnostic" or "0xDE dell utility", or even "Linux" or "Linux swap" ?
Posted 01 February 2012 - 12:59 AM
Yep - Windows likes all of these, 12, DE, 83, FF! It needs to be 0 to be ignored by Windows.
Posted 01 February 2012 - 08:57 AM
means:Is it possible to grub4dos command "parttype (hd0,4) 0x00" for a logical partition on a USB flash drive to run?
I know PTEDIT32 doing this job, I need, however, that grub4dos performs this function properly.You can use the PTEDIT32 EPBR button when on the Extended primary partition to view the Extended ptn table and then just put the byte (07 or 0B) back in the table.
Thanks, that would also allow partitioning of logical partitions on USB flash drives.OK, I will suggest chenall enable parttype 00 next time.
Posted 01 February 2012 - 09:41 AM
Posted 01 February 2012 - 10:03 AM
Posted 01 February 2012 - 10:14 AM
The previous partitions should not be recognized so that Windows auto mounts the current partition on USB flash drive as a hdd drive (e.g. F:).Why do you need to disable the other partitions anyway? What problems does having them enabled cause?
Posted 01 February 2012 - 10:35 AM
Posted 01 February 2012 - 11:48 AM
Many Thanks to chenall, tinybit and the others.Chenall has made a new version which recognises parttype 0
Posted 28 February 2012 - 05:21 PM
Posted 28 February 2012 - 06:31 PM
I don't get it.Now it appears to search if an ISO is present on disks that is listed in G4D Menu, which is fine.
where command can be any valid grub4dos command and title is a "normal" grub4dos title.iftitle [command] title
Posted 28 February 2012 - 06:57 PM
Posted 28 February 2012 - 08:56 PM
Posted 28 February 2012 - 09:14 PM
0 members, 4 guests, 0 anonymous users