Date: Fri, 7 Nov 2003 22:15:50 -0800 (PST)
From: David Chien <[EMAIL PROTECTED]>
Subject: RE: [LIB] How to calculate cylinder#s from sector#s?

Here's a short summary of the problem and workaround:

1) Installing a >8.4GB HD on the Libretto 20-110 models results in the user
seeing only the first 8.4GB of the HD if he boots from a regular DOS/Windows 9x
boot disk and attempts to fdisk the drive.  Oddly, people who use certain
programs, possibly Partition Magic .. definitely Linux partitioning tools, can
easily see and create partitions.  Also, if the partitions are created on the
HD on another system that does not have the 8.4GB problem such as a laptop or
desktop, and the HD is later inserted into the Libretto, one can see all of the
partitions and all space above and below the 8.4GB boundary.

   The problem here is that the BIOS incorrectly reports the information
through standard INT13 (Interrupt 13 DOS call for HD info) calls.  As a result,
standard programs which depend upon the BIOS to return accurate information do
not work - this includes fdisk.  

   Once the partitions are created somehow, these programs read the partition
information stored on the HD, so they have no problems 'seeing' these already
created partitions.  It is only when there are no partitions created beyond the
8.4GB boundary are there problems.

   More sophisticated disk partitioning programs that accurately determine the
HD geometry by bypassing the BIOS and asking the HD correctly, such as Linux
tools, can partition the HD w/o a problem.

  2) Typically, the 'safest' way for most users who do not have a sophisticated
understanding of what's going on and simply want their Librettos to work with a
new, >8.4GB HD, is to use EZ-Drive, and make sure you create at least two
partitions - one from the beginning of the drive and short of the 8.4GB
boundary (so create a 8GB partition let's say), make sure the next 1GB or so is
empty, then create a second partition to fill up the rest of the drive (eg.
first partition covers 8GB, skip 1GB, then create something from 9GB onwards.

     It's not the most efficient or elegant, but certainly ensures that all
users who do this will not have a problem with partitioning and hibernation
destroying the data on the drive.

  3) Of course, simply creating such partitions as above suggests that the user
is a bit more savy than one would suspect, so you can accurately determine
where the hibernate-to-disk information is being stored on the HD.  I had
mentioned earlier that something around the 1010-1040 cylinders should be
avoided after testing with WinHex and a disk zeroing program.  (You write zeros
to the entire disk that is unused, hibernate to disk, unhibernate, then scan
the disk for where the disk is non-zero - ie. where hibernate to disk
information has been written - and programs like WinHex will tell you exactly
where it is.)

  4) You can also use the Linux script below to find this information.

  5) Once you've found the exact location for the hibernate to disk, you can
partition around it, and I would suggest leaving additional empty space on both
sides just in case.  For example adding more memory would later expand the
hibernate to disk area, so you must be careful to leave enough space for this
to occur later.

  6) Operating systems besides Windows 9x/ME, such as Linux, Win2K/XP, will all
successfully see the entire HD space w/o EZ-drive, so you can happily install
these OSs w/o EZ-Drive.  You may want to try and see if Win9x/ME operates okay
w/o EZ-Drive, according to the information found about the BIOS below, =but=
there's no guarantees everything will work later on if there are unknown BIOS 
or system quirks.  EZ-DRive (and other disk managers) were designed
specificially to handle the problem of BIOSs that weren't designed to operate
properly with >8.4GB HDs, and are very reliable tools one can use to ensure
nothing bad occurs.  

      However, there are quite a few users that run Win9x w/o it after
correctly partitioning their entire HD, so you can try the same if you wish.


============================================

      No matter what, EZ-Drive does work, and on my L110 with a 20GB Hitachi
and Win98SE, there has been no problems at all for the 2+ years I've had it
setup like this.  Similarly, others have had their Librettos running with
W2K/XP/Linux successfully as well.  Keep in mind you must split the HD into at
least two partitions around the hibernate-to-disk which is put at the 8.4GB
location on the HD, or else when the Libretto does hibernate, it will destroy
whatever information you may have stored there.

      This hibernate-to-disk is controlled by the BIOS and is seperate of the
Windows 2K/XP hibernate feature!  (yes, one hardware, one software hibernate)


============================================

>From a prior post/letter:

"A German fellow, Wilhelm Bockley, found out that a disk manager is not really
needed. He found that the Libretto 100/110 BIOS implements all in13 extensions
save for a few which a.o. report HD params. He says (and I can confirm it
experimentally) that only Windows 9x FDISK uses the (faked) info from the
Libretto BIOS. Once the partitions are somehow made (also the ones beyond 8.4
GB) Windows has no trouble accessing & formatting them!
I my self mad eup the partitioning with Linux fdisk, later with OS/2 fdisk. I
assigned type 0c ("FAT32 LBA" in Linux parlance) to the FAT32 partitions beyond
8.4GB (used Linux fdisk for this). I saved a "hole" from cylinder 1013 up to
clyinder 1026 (yes, 1013-1026, not 1024) for hibernation.
My Libretto 110CT can access all space on the (current) 15 GB hard disk w/o any
problem, hibernation proceeds fluently, no disk manager is used."

==========

=====
adorable toshiba libretto
The latest news and information for the Toshiba Libretto owner.
http://www.silverace.com/libretto/

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree



**************************************************************
http://libretto.basiclink.com - Libretto mailing list
http://www.silverace.com/libretto/ - Archives

                 -------TO UNSUBSCRIBE-------
Reply to any of the list messages. The reply mail should be
addressed to: [EMAIL PROTECTED] - Then replace any text
on the message's subject line: cmd:unsubscribe
              --------TO UNSUBSCRIBE DIGEST------
Do above but with this on subject line: cmd:unsubscribe digest
**************************************************************

Reply via email to