Path: csiph.com!tncsrv06.tnetconsulting.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx14.iad.POSTED!not-for-mail Subject: Re: hard disk image Newsgroups: comp.os.os2.programmer.misc References: From: Dave Yeo User-Agent: Mozilla/5.0 (OS/2; Warp 4.5; rv:45.0) Gecko/20100101 Firefox/45.0 SeaMonkey/2.42.9esr MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Lines: 33 Message-ID: X-Complaints-To: https://www.astraweb.com/aup NNTP-Posting-Date: Mon, 11 Mar 2024 23:12:13 UTC Date: Mon, 11 Mar 2024 16:12:13 -0700 X-Received-Bytes: 1812 Xref: csiph.com comp.os.os2.programmer.misc:1904 Paul Edwards wrote: > On 12/03/24 01:59, Dave Yeo wrote: >> Paul Edwards wrote: >>> This is a FAT32, MBR and the partition starts at >>> sector LBA 128, not LBA 63. >>> >>> Is that an issue? >> >> Generally OS/2 needs CHS partitioning with the cylinders aligned. You >> likely need to wipe the first sectors, then use LVM to partition it and >> add the LVM stuff such as a drive letter. >> The rule is to always use OS/2 tools to partition. The exception now is >> with GPT partitioning, which is only available with the latest ArcaOS, >> or added to earlier OS/2 versions. > > Thanks for that info. > > I create a VHD using our own tools that we have > control over. > > So I can change it to a different geometry. And > it is arbitrary. But I would like it to be 4k > aligned. 128 sectors does that. > > Any suggestions on geometry that will be both 4k > and satisfy OS/2? > Not easily. As Marcel says, you may find a mapping that works that is not strictly legal for OS/2 or just do the math. You will still need the LVM info on the drive. Dave