Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.computer > #10245 > unrolled thread

Nasty harddrive "space" problem

Started byRobert Baer <robertbaer@localnet.com>
First post2017-03-31 01:18 -0800
Last post2018-01-22 00:30 -0800
Articles 20 on this page of 23 — 2 participants

Back to article view | Back to alt.computer


Contents

  Nasty harddrive "space" problem Robert Baer <robertbaer@localnet.com> - 2017-03-31 01:18 -0800
    Re: Nasty harddrive "space" problem Paul <nospam@needed.invalid> - 2017-03-31 11:07 -0400
      Re: Nasty harddrive "space" problem Robert Baer <robertbaer@localnet.com> - 2017-03-31 20:27 -0800
        Re: Nasty harddrive "space" problem Paul <nospam@needed.invalid> - 2017-04-01 02:23 -0400
          Re: Nasty harddrive "space" problem Robert Baer <robertbaer@localnet.com> - 2017-04-01 14:25 -0800
            Re: Nasty harddrive "space" problem Paul <nospam@needed.invalid> - 2017-04-01 19:50 -0400
              Re: Nasty harddrive "space" problem Robert Baer <robertbaer@localnet.com> - 2017-04-02 00:24 -0800
                Re: Nasty harddrive "space" problem Paul <nospam@needed.invalid> - 2017-04-02 11:43 -0400
                  Re: Nasty harddrive "space" problem Robert Baer <robertbaer@localnet.com> - 2017-04-02 15:13 -0800
                    Re: Nasty harddrive "space" problem Paul <nospam@needed.invalid> - 2017-04-02 19:29 -0400
                      Re: Nasty harddrive "space" problem Robert Baer <robertbaer@localnet.com> - 2017-04-04 00:38 -0800
                        Re: Nasty harddrive "space" problem Paul <nospam@needed.invalid> - 2017-04-04 08:29 -0400
                          Re: Nasty harddrive "space" problem UPDATE Robert Baer <robertbaer@localnet.com> - 2017-04-05 14:13 -0800
                          Re: Nasty harddrive "space" problem Robert Baer <robertbaer@localnet.com> - 2017-04-05 14:24 -0800
                            Re: Nasty harddrive "space" problem (after UPDATE) Robert Baer <robertbaer@localnet.com> - 2017-04-05 21:50 -0800
                              Re: Nasty harddrive "space" problem (after UPDATE) Paul <nospam@needed.invalid> - 2017-04-06 08:23 -0400
                                Re: Nasty harddrive "space" problem (after UPDATE) Robert Baer <robertbaer@localnet.com> - 2017-04-09 11:49 -0800
                                  Re: Nasty harddrive "space" problem (after UPDATE) Paul <nospam@needed.invalid> - 2017-04-09 18:40 -0400
                                    Re: Nasty harddrive "space" problem (after UPDATE) Robert Baer <robertbaer@localnet.com> - 2017-04-11 00:32 -0800
                                  Re: Nasty harddrive "space" problem (after UPDATE) Paul <nospam@needed.invalid> - 2017-04-09 18:46 -0400
                                    Re: Nasty harddrive "space" problem (after UPDATE) Robert Baer <robertbaer@localnet.com> - 2017-04-11 00:50 -0800
                                    Re: Nasty harddrive "space" problem (after UPDATE) OS Comment Robert Baer <robertbaer@localnet.com> - 2018-01-19 01:55 -0800
                                      Re: Nasty harddrive "space" problem (after UPDATE) OS Comment Robert Baer <robertbaer@localnet.com> - 2018-01-22 00:30 -0800

Page 1 of 2  [1] 2  Next page →


#10245 — Nasty harddrive "space" problem

FromRobert Baer <robertbaer@localnet.com>
Date2017-03-31 01:18 -0800
SubjectNasty harddrive "space" problem
Message-ID<V9pDA.125855$7b3.67645@fx18.iad>
   I just received a Seagate ST3500414CS (Pipeline HD2) 500GB
SATA drive.
   I used Parted Magic to write a partition sector,so that it could be 
recognized, etc.
   Then put a 500GB sector, ntfs and "formatted" it. I say "formatted"
advisedly, because that "operation" took less than one second and i
do not believe it. Labelled it "SCRATCH".
   Used the clone option to clone a 500GB Shadow USB drive; that took 
well over an hour, and the screens indicated cloning was normal.

   Thinking all was OK,but checking anyway, booted to Win2K and used 
Computer Management and LO!(1) EMPTY!, (2) NO label, (3) 128G size, (4) 
UNFORMATTED!.
   WTF?
   In win2k, did a full format, (none of the fast format junk), and 
labelled it; still 128Gb.

   Back to Parted Magic.
   About 465G, "*warning* SDA1 does not exist".
   WTF????
   Not mounted, unable to mount, tried to force it, no go.

   Back to Win2K; says it is 128G and has some system crap eating the 
balance.

   How in the holy hell do i get the drive to behave correctly?

   Thanks.

[toc] | [next] | [standalone]


#10246

FromPaul <nospam@needed.invalid>
Date2017-03-31 11:07 -0400
Message-ID<oblr5b$pkq$1@dont-email.me>
In reply to#10245
Robert Baer wrote:
>   I just received a Seagate ST3500414CS (Pipeline HD2) 500GB
> SATA drive.
>   I used Parted Magic to write a partition sector,so that it could be 
> recognized, etc.
>   Then put a 500GB sector, ntfs and "formatted" it. I say "formatted"
> advisedly, because that "operation" took less than one second and i
> do not believe it. Labelled it "SCRATCH".
>   Used the clone option to clone a 500GB Shadow USB drive; that took 
> well over an hour, and the screens indicated cloning was normal.
> 
>   Thinking all was OK,but checking anyway, booted to Win2K and used 
> Computer Management and LO!(1) EMPTY!, (2) NO label, (3) 128G size, (4) 
> UNFORMATTED!.
>   WTF?
>   In win2k, did a full format, (none of the fast format junk), and 
> labelled it; still 128Gb.
> 
>   Back to Parted Magic.
>   About 465G, "*warning* SDA1 does not exist".
>   WTF????
>   Not mounted, unable to mount, tried to force it, no go.
> 
>   Back to Win2K; says it is 128G and has some system crap eating the 
> balance.
> 
>   How in the holy hell do i get the drive to behave correctly?
> 
>   Thanks.

I would say there was "something odd" on the 500GB Shadow USB drive.

Cloning implies an exact copy (partition table and MBR included).
That means the first Win2K operation was a waste of time. The clone
operation determined all important disk components now present
on the drive.

If I was there, I would be using my copy of "disktype".
I would have it analyze the Pipeline (PVR video recorder) drive.

    disktype /dev/sda

It can tell whether a drive has an MBR with partitions, or is
a single partition without an MBR. It recognizes file system
headers and so on.

http://disktype.sourceforge.net/

Swearing at it won't fix it, but "disktype" might give you an inkling.

Now the hard part:

1) Disktype is available from a Linux LiveCD. You may have to use
    Package Manager to get it. Depending on which Linux, this can be
    a pain to do. If you have an actual Linux hard drive install,
    in effect a Linux computer, then it's easy to add "disktype"
    on a Linux install. There is a small incantation to do it from
    the LiveCD. The people who set the LiveCD up that way are idiots.

2) On Windows, disktype is available under Cygwin. Again, a pain to
    set up. Once you have disktype.exe, and the two Cygwin DLLs, you can
    copy the three files to your work area, and delete the Cygwin tree.

3) There is no "native" version of disktype on Windows. I haven't
    located a build or port.

None of the options is a stress-free slamdunk. You'll need
your Rocket Scientist hat for this one.

HTH,
     Paul

[toc] | [prev] | [next] | [standalone]


#10247

FromRobert Baer <robertbaer@localnet.com>
Date2017-03-31 20:27 -0800
Message-ID<B_FDA.136126$iw5.101796@fx22.iad>
In reply to#10246
Paul wrote:
> Robert Baer wrote:
>> I just received a Seagate ST3500414CS (Pipeline HD2) 500GB
>> SATA drive.
>> I used Parted Magic to write a partition sector,so that it could be
>> recognized, etc.
>> Then put a 500GB sector, ntfs and "formatted" it. I say "formatted"
>> advisedly, because that "operation" took less than one second and i
>> do not believe it. Labelled it "SCRATCH".
>> Used the clone option to clone a 500GB Shadow USB drive; that took
>> well over an hour, and the screens indicated cloning was normal.
>>
>> Thinking all was OK,but checking anyway, booted to Win2K and used
>> Computer Management and LO!(1) EMPTY!, (2) NO label, (3) 128G size,
>> (4) UNFORMATTED!.
>> WTF?
>> In win2k, did a full format, (none of the fast format junk), and
>> labelled it; still 128Gb.
>>
>> Back to Parted Magic.
>> About 465G, "*warning* SDA1 does not exist".
>> WTF????
>> Not mounted, unable to mount, tried to force it, no go.
>>
>> Back to Win2K; says it is 128G and has some system crap eating the
>> balance.
>>
>> How in the holy hell do i get the drive to behave correctly?
>>
>> Thanks.
>
> I would say there was "something odd" on the 500GB Shadow USB drive.
>
> Cloning implies an exact copy (partition table and MBR included).
> That means the first Win2K operation was a waste of time. The clone
> operation determined all important disk components now present
> on the drive.
>
> If I was there, I would be using my copy of "disktype".
> I would have it analyze the Pipeline (PVR video recorder) drive.
>
> disktype /dev/sda
>
> It can tell whether a drive has an MBR with partitions, or is
> a single partition without an MBR. It recognizes file system
> headers and so on.
>
> http://disktype.sourceforge.net/
>
> Swearing at it won't fix it, but "disktype" might give you an inkling.
>
> Now the hard part:
>
> 1) Disktype is available from a Linux LiveCD. You may have to use
> Package Manager to get it. Depending on which Linux, this can be
> a pain to do. If you have an actual Linux hard drive install,
> in effect a Linux computer, then it's easy to add "disktype"
> on a Linux install. There is a small incantation to do it from
> the LiveCD. The people who set the LiveCD up that way are idiots.
>
> 2) On Windows, disktype is available under Cygwin. Again, a pain to
> set up. Once you have disktype.exe, and the two Cygwin DLLs, you can
> copy the three files to your work area, and delete the Cygwin tree.
>
> 3) There is no "native" version of disktype on Windows. I haven't
> located a build or port.
>
> None of the options is a stress-free slamdunk. You'll need
> your Rocket Scientist hat for this one.
>
> HTH,
> Paul
   Well, i removed the USB shadow drive, used Parted Magic and did a 
full disk wipe using dd which took 2 hours.
   Notes given: BS=4096, count=926773168, Default_Blocksize = 32268 (or 
did i mis-read and it was 32768), sector size 512 (assumed).
   This time Spinrite *DID* find the drive; and stated "empty drive" 499 
Megabytes. It scans (checks) it no problems - so i quit at 7% or so.
   Partinfo: no partition type present,free space 575021 Mb.
   PTedit shows all zeros.
   So,at this point all looks OK.
   Then reboot to Win2K and *LO*: 128Gb unallocated,red flag.
   Properties: unknown type, ST3500414CS.
   SAME garbage and there is no excuse this time as the ST3500414CS SCSI 
hard drive is the only drive in the system, and nothing on any USB port, 
*AND* the drive is clearly WIPED clean.

   NOW WHAT?
   I think i will try the stupidity of DOS FDISK and carve out the max 
2GM partition, put DOS on it and re-evaluate with all tools.
   Mind you,still without any other drives or USB sticks.



[toc] | [prev] | [next] | [standalone]


#10248

FromPaul <nospam@needed.invalid>
Date2017-04-01 02:23 -0400
Message-ID<obngrh$fqq$1@dont-email.me>
In reply to#10247
Robert Baer wrote:

>   Well, i removed the USB shadow drive, used Parted Magic and did a full 
> disk wipe using dd which took 2 hours.
>   Notes given: BS=4096, count=926773168, Default_Blocksize = 32268 (or 
> did i mis-read and it was 32768), sector size 512 (assumed).
>   This time Spinrite *DID* find the drive; and stated "empty drive" 499 
> Megabytes. It scans (checks) it no problems - so i quit at 7% or so.
>   Partinfo: no partition type present,free space 575021 Mb.
>   PTedit shows all zeros.
>   So,at this point all looks OK.
>   Then reboot to Win2K and *LO*: 128Gb unallocated,red flag.
>   Properties: unknown type, ST3500414CS.
>   SAME garbage and there is no excuse this time as the ST3500414CS SCSI 
> hard drive is the only drive in the system, and nothing on any USB port, 
> *AND* the drive is clearly WIPED clean.
> 
>   NOW WHAT?
>   I think i will try the stupidity of DOS FDISK and carve out the max 
> 2GM partition, put DOS on it and re-evaluate with all tools.
>   Mind you,still without any other drives or USB sticks.

Are you sure you aren't looking at some other (Flash based)
storage device on the Win2K system.

If you wipe the MBR, the drive will want to "initialize" in
Device Manager. Before you can add partitions.

The MBR must have 0xAA55 as the last two bytes, if it has
been initialized. Since you wiped it with "dd", those signature
bytes are missing. Which means the first response of Disk
Management, should be to present the "Initialize" dialog.

While you have ptedit open, perhaps you can verify how many
storage devices are present on the system. In this example,
I have my single hard drive with WinXP on it, and the second
4GB drive is my RAMDisk.

https://s23.postimg.org/4veq8uagb/ptedit32.gif

    Paul

[toc] | [prev] | [next] | [standalone]


#10249

FromRobert Baer <robertbaer@localnet.com>
Date2017-04-01 14:25 -0800
Message-ID<7NVDA.143756$7b1.86579@fx30.iad>
In reply to#10248
Paul wrote:
> Robert Baer wrote:
>
>> Well, i removed the USB shadow drive, used Parted Magic and did a full
>> disk wipe using dd which took 2 hours.
>> Notes given: BS=4096, count=926773168, Default_Blocksize = 32268 (or
>> did i mis-read and it was 32768), sector size 512 (assumed).
>> This time Spinrite *DID* find the drive; and stated "empty drive" 499
>> Megabytes. It scans (checks) it no problems - so i quit at 7% or so.
>> Partinfo: no partition type present,free space 575021 Mb.
>> PTedit shows all zeros.
>> So,at this point all looks OK.
>> Then reboot to Win2K and *LO*: 128Gb unallocated,red flag.
>> Properties: unknown type, ST3500414CS.
>> SAME garbage and there is no excuse this time as the ST3500414CS SCSI
>> hard drive is the only drive in the system, and nothing on any USB
>> port, *AND* the drive is clearly WIPED clean.
>>
>> NOW WHAT?
>> I think i will try the stupidity of DOS FDISK and carve out the max
>> 2GM partition, put DOS on it and re-evaluate with all tools.
>> Mind you,still without any other drives or USB sticks.
>
> Are you sure you aren't looking at some other (Flash based)
> storage device on the Win2K system.
* Absolutely; like i said, NO USB sticks.

>
> If you wipe the MBR, the drive will want to "initialize" in
> Device Manager. Before you can add partitions.
>
> The MBR must have 0xAA55 as the last two bytes, if it has
> been initialized. Since you wiped it with "dd", those signature
> bytes are missing. Which means the first response of Disk
> Management, should be to present the "Initialize" dialog.
* That did not happen. The worst was looking at the drive with windows 
explorer, that it wanted me to format it,and i NOed out.

>
> While you have ptedit open, perhaps you can verify how many
> storage devices are present on the system. In this example,
> I have my single hard drive with WinXP on it, and the second
> 4GB drive is my RAMDisk.
* Before adding my Win2k drive, PT edit indicated only one drive, the 
500GB SCSI drive.

>
> https://s23.postimg.org/4veq8uagb/ptedit32.gif
>
> Paul

   You think this above junk is bad? it gets far worse.

   In Win2K: 128Gb unallocated, red tag properties: unknown type, 
ST3500414CS.
   So i used Computer Management to format the drive (since Parted Magic 
cannot do that).
   Floppy booted to DOS, FDISK 2Gb, FORMAT C: /U /S. Label TEST.
   Partinfo: 2GB partition, FAT16B, free space 554598 Meg.
   Spinrite barfs, "foreign language character set", but can do its 
check thing.
   Back to Win2k, see drive in windows explorer, (still NO USB used).
   Computer management shows the 2G partition "TEST" and 26Gb unknown.

   Back to Parted Magic, deleted the 3DOS files,expanded partition to 
full size,added 500MB BIG USB stick and cloned from that to the SCSI 
drive (about 2 hours again).
   Yawn; sameo-sameo so more fiddling to have 2Gb bootable DOS on the 
SCSI, copied the contents of BIG to TEST and almost filled that 128G space.
   ALL files look OK and the label looks OK 128G (remember that).

   Changed HD, booted to WinXP; now have 500GB BIG (Shadow0 stick, SCSI 
drive, and XP drive.
   Computer Management reports the SCSI: 1174.07Mb, 104.01Mb 
unallocated, 811.57Mb "unknown partition". Might have said Gb; not 
relevant as this is completely different WRT Win2k.

   Ptedit reports drive 1 size 38,162, C=4865,H=25, S=63; NTFS, Extended X.
   Drive 2 size 144,010, C=56696, H=102, S=51; NTFS, 74, Novell junk 
bytes, RAID junk.
   Drive 3 size 476,977, C=6801, H=255, S=63; NTFS bootable.

   No changes to drive configuration.
   Win2K reports SCRATCH 12G all data OK (note label..), BIG 500G all 
data OK, <noinfo> 465.7G.
   WinXP reports 104.01 un-allocated, 811.57 as drive F: not formatted, 
2.5979 unknown partition.

   So,pick system to get totally different layouts and useability.

   Get out our sawed-off shotgun and load it with Sodium Cyanide.
   I see absolutely  NO way to get a fully useable, dependable 500GB 
SCSI drive.

   I am willing to waste yet another 2 hours on drive wipe; there are 
about 6 options available including an internal (meaning the HD) program 
and shred.
   BUT i need a WORKABLE path.
   Unless there is some other program on the Parted Magic disk, one 
cannot format a 500G hard drive and get FULL, reliable, useful results.

[toc] | [prev] | [next] | [standalone]


#10250

FromPaul <nospam@needed.invalid>
Date2017-04-01 19:50 -0400
Message-ID<obpe68$idg$1@dont-email.me>
In reply to#10249
Robert Baer wrote:
> Paul wrote:
>> Robert Baer wrote:
>>
>>> Well, i removed the USB shadow drive, used Parted Magic and did a full
>>> disk wipe using dd which took 2 hours.
>>> Notes given: BS=4096, count=926773168, Default_Blocksize = 32268 (or
>>> did i mis-read and it was 32768), sector size 512 (assumed).
>>> This time Spinrite *DID* find the drive; and stated "empty drive" 499
>>> Megabytes. It scans (checks) it no problems - so i quit at 7% or so.
>>> Partinfo: no partition type present,free space 575021 Mb.
>>> PTedit shows all zeros.
>>> So,at this point all looks OK.
>>> Then reboot to Win2K and *LO*: 128Gb unallocated,red flag.
>>> Properties: unknown type, ST3500414CS.
>>> SAME garbage and there is no excuse this time as the ST3500414CS SCSI
>>> hard drive is the only drive in the system, and nothing on any USB
>>> port, *AND* the drive is clearly WIPED clean.
>>>
>>> NOW WHAT?
>>> I think i will try the stupidity of DOS FDISK and carve out the max
>>> 2GM partition, put DOS on it and re-evaluate with all tools.
>>> Mind you,still without any other drives or USB sticks.
>>
>> Are you sure you aren't looking at some other (Flash based)
>> storage device on the Win2K system.
> * Absolutely; like i said, NO USB sticks.
> 
>>
>> If you wipe the MBR, the drive will want to "initialize" in
>> Device Manager. Before you can add partitions.
>>
>> The MBR must have 0xAA55 as the last two bytes, if it has
>> been initialized. Since you wiped it with "dd", those signature
>> bytes are missing. Which means the first response of Disk
>> Management, should be to present the "Initialize" dialog.
> * That did not happen. The worst was looking at the drive with windows 
> explorer, that it wanted me to format it,and i NOed out.
> 
>>
>> While you have ptedit open, perhaps you can verify how many
>> storage devices are present on the system. In this example,
>> I have my single hard drive with WinXP on it, and the second
>> 4GB drive is my RAMDisk.
> * Before adding my Win2k drive, PT edit indicated only one drive, the 
> 500GB SCSI drive.
> 
>>
>> https://s23.postimg.org/4veq8uagb/ptedit32.gif
>>
>> Paul
> 
>   You think this above junk is bad? it gets far worse.
> 
>   In Win2K: 128Gb unallocated, red tag properties: unknown type, 
> ST3500414CS.
>   So i used Computer Management to format the drive (since Parted Magic 
> cannot do that).
>   Floppy booted to DOS, FDISK 2Gb, FORMAT C: /U /S. Label TEST.
>   Partinfo: 2GB partition, FAT16B, free space 554598 Meg.
>   Spinrite barfs, "foreign language character set", but can do its check 
> thing.
>   Back to Win2k, see drive in windows explorer, (still NO USB used).
>   Computer management shows the 2G partition "TEST" and 26Gb unknown.
> 
>   Back to Parted Magic, deleted the 3DOS files,expanded partition to 
> full size,added 500MB BIG USB stick and cloned from that to the SCSI 
> drive (about 2 hours again).
>   Yawn; sameo-sameo so more fiddling to have 2Gb bootable DOS on the 
> SCSI, copied the contents of BIG to TEST and almost filled that 128G space.
>   ALL files look OK and the label looks OK 128G (remember that).
> 
>   Changed HD, booted to WinXP; now have 500GB BIG (Shadow0 stick, SCSI 
> drive, and XP drive.
>   Computer Management reports the SCSI: 1174.07Mb, 104.01Mb unallocated, 
> 811.57Mb "unknown partition". Might have said Gb; not relevant as this 
> is completely different WRT Win2k.
> 
>   Ptedit reports drive 1 size 38,162, C=4865,H=25, S=63; NTFS, Extended X.
>   Drive 2 size 144,010, C=56696, H=102, S=51; NTFS, 74, Novell junk 
> bytes, RAID junk.
>   Drive 3 size 476,977, C=6801, H=255, S=63; NTFS bootable.
> 
>   No changes to drive configuration.
>   Win2K reports SCRATCH 12G all data OK (note label..), BIG 500G all 
> data OK, <noinfo> 465.7G.
>   WinXP reports 104.01 un-allocated, 811.57 as drive F: not formatted, 
> 2.5979 unknown partition.
> 
>   So,pick system to get totally different layouts and useability.
> 
>   Get out our sawed-off shotgun and load it with Sodium Cyanide.
>   I see absolutely  NO way to get a fully useable, dependable 500GB SCSI 
> drive.
> 
>   I am willing to waste yet another 2 hours on drive wipe; there are 
> about 6 options available including an internal (meaning the HD) program 
> and shred.
>   BUT i need a WORKABLE path.
>   Unless there is some other program on the Parted Magic disk, one 
> cannot format a 500G hard drive and get FULL, reliable, useful results.

I wonder if there is an HPA on the disk.

But if there were, the size some of your attempts would have
been claiming, would likely have been truncated too.

On the machine I'm typing on, I can use HDPARM in linux, to check
for an HPA. The IDE interface on my board, supports HPA, and using
an IDE-to-SATA adapter I can connect SATA drives and define (or remove)
an HPA.

This is a way to "hide" some of the disk capacity.

https://en.wikipedia.org/wiki/Host_protected_area

Whereas, some of your problems seem geometry related.
CHS (Cylinder-head-sector) versus LBA. Hmmm <=== spark causes ignition

https://en.wikipedia.org/wiki/Logical_block_addressing

OK, took me long enough... The 128GB is actually 137GB,
and you've hit the 28 bit LBA limit of Win2K SP2. You
should be running Win2K SP4 + Rollup 1 Rev 2 as your
OS, as it is not limited to 137GB of disk capacity.

https://en.wikipedia.org/wiki/Logical_block_addressing#LBA48

The reason I didn't tweak onto this right away, is
I usually see 137GB as my "limit" here. I ran SP2 for
a year (because some CAD software wanted it), and then
did a hail mary, installed SP4, it worked, and I waved
bye-bye to SP2 for good.

If you'd prepped the drive in Win7, it would have said
465GB or whatever. If you'd taken it over to the Win2K SP2,
with the 137GB limit, that Win7-prepped drive would have
corrupted on you, and you'd have been most unhappy.

For best results in your computer room, you should have
all your gear "48 bit LBA" ready. Screwing around with SP2
is *not* a "member in good standing" when it comes to computers.
You've been warned... If it corrupts, I can't fix it for
you. The corruption is caused by address rollover, and the
first write operation above 137GB, overwrites the MBR and other
stuff (depending on size of attempted write command).

If you want to run Win2K SP2 forever, use 120GB IDE drives
and bask in the glory. Soon, the smallest drive
you'll be able to buy at retail, will be 1TB, and you'll
definitely want SP4 by then.

If you prep a drive on the Win2K SP2 machine, it will
limit the size automatically to 137GB. It won't allow
using any space in the danger zone. It's when you prep
drives on more capable machines, and plug them into
Win2K SP2, they're going to corrupt.

This is how it works.

<----------- 137GB ---------->|
+-----------------+-----------------+-----------------+
|  80GB partition |  80GB partition |  80GB partition |
+-----------------+-----------------+-----------------+
       (safe)        (will corrupt)    (cannot access)

When a partition spans the 137GB mark, the bottom of the
partition is below 137GB. The OS agrees to mount it.
Writes to addresses just slightly above 137GB, overwrite
the MBR and the first partition. The third partition,
won't even mount, as it is entirely over the line.

This means, for dual OS compatibility, you could make
a first partition below 137GB, leave an air gap, then
make a 330GB partition entirely above 137GB. When the drive
is plugged into Win2K SP2, only the bottom partition will
be accessible. If you plug the drive into Win7, both
partitions can be viewed. But while that's an amusing
solution, I don't consider that practical. I make selections
of setups here, for the broadest compatibility possible.

With reference to the previous diagram, this drive would
work in both Win2K SP2 and Win7, no damage. Win2K only
sees the first partition. Win7 sees the whole disk.

<----------- 137GB ---------->|
+-----------------+-----------------+-----------------+
|  80GB partition |  (unallocated)  |  80GB partition |
+-----------------+-----------------+-----------------+
       (safe)                          (cannot access)

Sorry for not catching this sooner. I still use Win2K SP4
as a maintenance OS here, and haven't had to deal with
a 28-bit LBA situation for years and years. You tend to forget.

HTH,
    Paul

[toc] | [prev] | [next] | [standalone]


#10251

FromRobert Baer <robertbaer@localnet.com>
Date2017-04-02 00:24 -0800
Message-ID<5z2EA.172179$sJ.50383@fx06.iad>
In reply to#10250
Paul wrote:
> Robert Baer wrote:
>> Paul wrote:
>>> Robert Baer wrote:
>>>
>>>> Well, i removed the USB shadow drive, used Parted Magic and did a full
>>>> disk wipe using dd which took 2 hours.
>>>> Notes given: BS=4096, count=926773168, Default_Blocksize = 32268 (or
>>>> did i mis-read and it was 32768), sector size 512 (assumed).
>>>> This time Spinrite *DID* find the drive; and stated "empty drive" 499
>>>> Megabytes. It scans (checks) it no problems - so i quit at 7% or so.
>>>> Partinfo: no partition type present,free space 575021 Mb.
>>>> PTedit shows all zeros.
>>>> So,at this point all looks OK.
>>>> Then reboot to Win2K and *LO*: 128Gb unallocated,red flag.
>>>> Properties: unknown type, ST3500414CS.
>>>> SAME garbage and there is no excuse this time as the ST3500414CS SCSI
>>>> hard drive is the only drive in the system, and nothing on any USB
>>>> port, *AND* the drive is clearly WIPED clean.
>>>>
>>>> NOW WHAT?
>>>> I think i will try the stupidity of DOS FDISK and carve out the max
>>>> 2GM partition, put DOS on it and re-evaluate with all tools.
>>>> Mind you,still without any other drives or USB sticks.
>>>
>>> Are you sure you aren't looking at some other (Flash based)
>>> storage device on the Win2K system.
>> * Absolutely; like i said, NO USB sticks.
>>
>>>
>>> If you wipe the MBR, the drive will want to "initialize" in
>>> Device Manager. Before you can add partitions.
>>>
>>> The MBR must have 0xAA55 as the last two bytes, if it has
>>> been initialized. Since you wiped it with "dd", those signature
>>> bytes are missing. Which means the first response of Disk
>>> Management, should be to present the "Initialize" dialog.
>> * That did not happen. The worst was looking at the drive with windows
>> explorer, that it wanted me to format it,and i NOed out.
>>
>>>
>>> While you have ptedit open, perhaps you can verify how many
>>> storage devices are present on the system. In this example,
>>> I have my single hard drive with WinXP on it, and the second
>>> 4GB drive is my RAMDisk.
>> * Before adding my Win2k drive, PT edit indicated only one drive, the
>> 500GB SCSI drive.
>>
>>>
>>> https://s23.postimg.org/4veq8uagb/ptedit32.gif
>>>
>>> Paul
>>
>>   You think this above junk is bad? it gets far worse.
>>
>>   In Win2K: 128Gb unallocated, red tag properties: unknown type,
>> ST3500414CS.
>>   So i used Computer Management to format the drive (since Parted
>> Magic cannot do that).
>>   Floppy booted to DOS, FDISK 2Gb, FORMAT C: /U /S. Label TEST.
>>   Partinfo: 2GB partition, FAT16B, free space 554598 Meg.
>>   Spinrite barfs, "foreign language character set", but can do its
>> check thing.
>>   Back to Win2k, see drive in windows explorer, (still NO USB used).
>>   Computer management shows the 2G partition "TEST" and 26Gb unknown.
>>
>>   Back to Parted Magic, deleted the 3DOS files,expanded partition to
>> full size,added 500MB BIG USB stick and cloned from that to the SCSI
>> drive (about 2 hours again).
>>   Yawn; sameo-sameo so more fiddling to have 2Gb bootable DOS on the
>> SCSI, copied the contents of BIG to TEST and almost filled that 128G
>> space.
>>   ALL files look OK and the label looks OK 128G (remember that).
>>
>>   Changed HD, booted to WinXP; now have 500GB BIG (Shadow0 stick, SCSI
>> drive, and XP drive.
>>   Computer Management reports the SCSI: 1174.07Mb, 104.01Mb
>> unallocated, 811.57Mb "unknown partition". Might have said Gb; not
>> relevant as this is completely different WRT Win2k.
>>
>>   Ptedit reports drive 1 size 38,162, C=4865,H=25, S=63; NTFS,
>> Extended X.
>>   Drive 2 size 144,010, C=56696, H=102, S=51; NTFS, 74, Novell junk
>> bytes, RAID junk.
>>   Drive 3 size 476,977, C=6801, H=255, S=63; NTFS bootable.
>>
>>   No changes to drive configuration.
>>   Win2K reports SCRATCH 12G all data OK (note label..), BIG 500G all
>> data OK, <noinfo> 465.7G.
>>   WinXP reports 104.01 un-allocated, 811.57 as drive F: not formatted,
>> 2.5979 unknown partition.
>>
>>   So,pick system to get totally different layouts and useability.
>>
>>   Get out our sawed-off shotgun and load it with Sodium Cyanide.
>>   I see absolutely  NO way to get a fully useable, dependable 500GB
>> SCSI drive.
>>
>>   I am willing to waste yet another 2 hours on drive wipe; there are
>> about 6 options available including an internal (meaning the HD)
>> program and shred.
>>   BUT i need a WORKABLE path.
>>   Unless there is some other program on the Parted Magic disk, one
>> cannot format a 500G hard drive and get FULL, reliable, useful results.
>
> I wonder if there is an HPA on the disk.
>
> But if there were, the size some of your attempts would have
> been claiming, would likely have been truncated too.
>
> On the machine I'm typing on, I can use HDPARM in linux, to check
> for an HPA. The IDE interface on my board, supports HPA, and using
> an IDE-to-SATA adapter I can connect SATA drives and define (or remove)
> an HPA.
>
> This is a way to "hide" some of the disk capacity.
>
> https://en.wikipedia.org/wiki/Host_protected_area
>
> Whereas, some of your problems seem geometry related.
> CHS (Cylinder-head-sector) versus LBA. Hmmm <=== spark causes ignition
>
> https://en.wikipedia.org/wiki/Logical_block_addressing
>
> OK, took me long enough... The 128GB is actually 137GB,
> and you've hit the 28 bit LBA limit of Win2K SP2. You
> should be running Win2K SP4 + Rollup 1 Rev 2 as your
> OS, as it is not limited to 137GB of disk capacity.
* I have a genuine M$ SP4 upgrade disk applied, and believe i ran those 
"toward SP5" rollups.
   Unfortunately i am using WinXP now and cannot check that.
   For now, assume SP4 no rollups.

   Your supposition is most likely what is happening between OSes, as XP 
is reporting 465.76Gb.

   BUT..
   Using Parted Magic and only the SCSI drive in the machine, I had just 
done a dd diskwipe, wrote a partition sector, labeled SCRATCH.
   NOTHING else.
   If Partition Magic was not such a liar, that would mean *unformatted* 
and no data.
   Well i am here to say categorically that dd does NOT wipe anything; 
almost 2 hours totally wasted.
   This is not the first time in this sequence that i have seen that.

   OOPS.
   I saw all of the data that i had copied (a while back) from my 500GB 
BIG Shadow stick, sitting there as purty as please.
   Then i went to Computer Management, XP reported 465.76Gb label SCRATCH.
   Back to Windows Explorer and ZERO data except for the System Volume 
Information file.
   Humph.
   All in a few minutes.

   Strange things in River City!
   Ideas?






>
> https://en.wikipedia.org/wiki/Logical_block_addressing#LBA48
>
> The reason I didn't tweak onto this right away, is
> I usually see 137GB as my "limit" here. I ran SP2 for
> a year (because some CAD software wanted it), and then
> did a hail mary, installed SP4, it worked, and I waved
> bye-bye to SP2 for good.
>
> If you'd prepped the drive in Win7, it would have said
> 465GB or whatever. If you'd taken it over to the Win2K SP2,
> with the 137GB limit, that Win7-prepped drive would have
> corrupted on you, and you'd have been most unhappy.
>
> For best results in your computer room, you should have
> all your gear "48 bit LBA" ready. Screwing around with SP2
> is *not* a "member in good standing" when it comes to computers.
> You've been warned... If it corrupts, I can't fix it for
> you. The corruption is caused by address rollover, and the
> first write operation above 137GB, overwrites the MBR and other
> stuff (depending on size of attempted write command).
>
> If you want to run Win2K SP2 forever, use 120GB IDE drives
> and bask in the glory. Soon, the smallest drive
> you'll be able to buy at retail, will be 1TB, and you'll
> definitely want SP4 by then.
>
> If you prep a drive on the Win2K SP2 machine, it will
> limit the size automatically to 137GB. It won't allow
> using any space in the danger zone. It's when you prep
> drives on more capable machines, and plug them into
> Win2K SP2, they're going to corrupt.
>
> This is how it works.
>
> <----------- 137GB ---------->|
> +-----------------+-----------------+-----------------+
> |  80GB partition |  80GB partition |  80GB partition |
> +-----------------+-----------------+-----------------+
>        (safe)        (will corrupt)    (cannot access)
>
> When a partition spans the 137GB mark, the bottom of the
> partition is below 137GB. The OS agrees to mount it.
> Writes to addresses just slightly above 137GB, overwrite
> the MBR and the first partition. The third partition,
> won't even mount, as it is entirely over the line.
>
> This means, for dual OS compatibility, you could make
> a first partition below 137GB, leave an air gap, then
> make a 330GB partition entirely above 137GB. When the drive
> is plugged into Win2K SP2, only the bottom partition will
> be accessible. If you plug the drive into Win7, both
> partitions can be viewed. But while that's an amusing
> solution, I don't consider that practical. I make selections
> of setups here, for the broadest compatibility possible.
>
> With reference to the previous diagram, this drive would
> work in both Win2K SP2 and Win7, no damage. Win2K only
> sees the first partition. Win7 sees the whole disk.
>
> <----------- 137GB ---------->|
> +-----------------+-----------------+-----------------+
> |  80GB partition |  (unallocated)  |  80GB partition |
> +-----------------+-----------------+-----------------+
>        (safe)                          (cannot access)
>
> Sorry for not catching this sooner. I still use Win2K SP4
> as a maintenance OS here, and haven't had to deal with
> a 28-bit LBA situation for years and years. You tend to forget.
>
> HTH,
>     Paul

[toc] | [prev] | [next] | [standalone]


#10252

FromPaul <nospam@needed.invalid>
Date2017-04-02 11:43 -0400
Message-ID<obr613$4du$1@dont-email.me>
In reply to#10251
Robert Baer wrote:

> * I have a genuine M$ SP4 upgrade disk applied, and believe i ran those 
> "toward SP5" rollups.
>   Unfortunately i am using WinXP now and cannot check that.
>   For now, assume SP4 no rollups.
> 
>   Your supposition is most likely what is happening between OSes, as XP 
> is reporting 465.76Gb.
> 
>   BUT..
>   Using Parted Magic and only the SCSI drive in the machine, I had just 
> done a dd diskwipe, wrote a partition sector, labeled SCRATCH.
>   NOTHING else.
>   If Partition Magic was not such a liar, that would mean *unformatted* 
> and no data.
>   Well i am here to say categorically that dd does NOT wipe anything; 
> almost 2 hours totally wasted.
>   This is not the first time in this sequence that i have seen that.
> 
>   OOPS.
>   I saw all of the data that i had copied (a while back) from my 500GB 
> BIG Shadow stick, sitting there as purty as please.
>   Then i went to Computer Management, XP reported 465.76Gb label SCRATCH.
>   Back to Windows Explorer and ZERO data except for the System Volume 
> Information file.
>   Humph.
>   All in a few minutes.
> 
>   Strange things in River City!
>   Ideas?

The only thing that comes to mind. It's possible to set the attributes
so everything on the disk is hidden.

https://www.bleepingcomputer.com/download/unhide/

But the symptoms aren't really right for that. I don't feel a strong
urge at this point to run it.

Maybe it's an ownership issue of some sort ? System Volume Information
could be owned by someone other than the main computer account. The rest
of the files might have some other user stamped on them.

For listing utilities:

1) Get a copy of everything.exe and run that against the partition.
    You need something that can view the files, regardless of how
    Explorer is feeling right now.

    http://www.voidtools.com/support/everything/file_lists/

       cd /d C:\path\to\unpack\directory\for\everything\program
       Everything.exe -create-filelist C:\listdir_E.txt E:\
       notepad C:\listdir_E.txt

    I think that works for both FAT32 and NTFS.

    You don't need to install that.

    http://www.voidtools.com/downloads/

    Get the "Everything 1.3.4.686 Portable Zip" for your 32 bit WinXP,
    unpack the ZIP and there is probably an everything.exe in there.
    Place it somewhere, so you can find it.

2) Use nfi.exe, a utility from the Win2K era. I presume this
    is the archive location and still works. Unpack the zip until
    you find a copy of nfi.exe .

    3.6MB

    https://web.archive.org/web/20150329185738/http://download.microsoft.com/download/win2000srv/utility/3.0/nt45/en-us/oem3sr2.zip

    ( https://web.archive.org/web/20150329185738/http://support.microsoft.com/en-us/kb/253066 )

    Then in command prompt (as administrator)

       cd /d C:\path\to\unpack\directory\for\nfi
       nfi.exe e: > C:nfi_for_E.txt
       notepad C:nfi_for_E.txt

Using one of those methods, maybe your files will show up.

*******

TestDisk can view the files on a disk drive too, but the
interface is hard to deal with. And I'll stop here for now.

http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step

*******

If it is just the hidden bit, you could use "attrib" recursively
to unhide the whole partition. But I don't know if that's
a good idea or not. That would probably leave all the
desktop.ini files visible, which could be irritating.

attrib /?

HTH,
    Paul

[toc] | [prev] | [next] | [standalone]


#10253

FromRobert Baer <robertbaer@localnet.com>
Date2017-04-02 15:13 -0800
Message-ID<qAfEA.280189$XG2.238558@fx08.iad>
In reply to#10252
Paul wrote:
> Robert Baer wrote:
>
>> * I have a genuine M$ SP4 upgrade disk applied, and believe i ran
>> those "toward SP5" rollups.
>> Unfortunately i am using WinXP now and cannot check that.
>> For now, assume SP4 no rollups.
>>
>> Your supposition is most likely what is happening between OSes, as XP
>> is reporting 465.76Gb.
>>
>> BUT..
>> Using Parted Magic and only the SCSI drive in the machine, I had just
>> done a dd diskwipe, wrote a partition sector, labeled SCRATCH.
>> NOTHING else.
>> If Partition Magic was not such a liar, that would mean *unformatted*
>> and no data.
>> Well i am here to say categorically that dd does NOT wipe anything;
>> almost 2 hours totally wasted.
>> This is not the first time in this sequence that i have seen that.
>>
>> OOPS.
>> I saw all of the data that i had copied (a while back) from my 500GB
>> BIG Shadow stick, sitting there as purty as please.
>> Then i went to Computer Management, XP reported 465.76Gb label SCRATCH.
>> Back to Windows Explorer and ZERO data except for the System Volume
>> Information file.
>> Humph.
>> All in a few minutes.
>>
>> Strange things in River City!
>> Ideas?
>
> The only thing that comes to mind. It's possible to set the attributes
> so everything on the disk is hidden.
* Well, that idea does not fly, i have the system show all system and 
hidden files.
   Besides, a dd erase is supposed to write all zeros = = unformatted as 
indicated above.
   Partinfo and Ptedit only show a tiny part of the drive.
   It would be VERY NICE if there was a graphical program that would 
show drive contents on a pixel per bit basis; or use color for pixel per 
byte basis.
   Spinrite gives no content detail, even on a square-glyph per cluster 
or block basis.

>
> https://www.bleepingcomputer.com/download/unhide/
>
> But the symptoms aren't really right for that. I don't feel a strong
> urge at this point to run it.
* Yeah, See above.

>
> Maybe it's an ownership issue of some sort ? System Volume Information
> could be owned by someone other than the main computer account. The rest
> of the files might have some other user stamped on them.
* dd diskwipe?? Dern files should not be there. 1.5 hours doing nothing? 
Hard to believe.

>
> For listing utilities:
>
> 1) Get a copy of everything.exe and run that against the partition.
> You need something that can view the files, regardless of how
> Explorer is feeling right now.
* will try next time i bring up XP with the SCSI attached.
   See below about ugly history.
   Hmm seems there are concerns; mine is to make sure it runs only when 
i want, and not as a service.
   From SensorsTech (partly edited):
Everything.exe Description June 22, 2015 by Boyana Peeva+

There have been a lot of fusses lately, regarding a file, called 
everything.exe. Users have a lot of concerns whether or not it is 
malware. After research, we have established that it is a useful and 
efficient freeware file searching program, called Everything Search 
Engine. It is used for Windows OS`s and according to Wikipedia is widely 
employed more than WinZip. However, we are talking about a .exe file, 
and this is why it is advisable to scan your system if you see 
unfamiliar .exe files and understand the risks it poses in this article.

According to Wikipedia, Everything installs index of names for files and 
folders in the NTFS file system and based on the typed search 
information, uses its indexes to find a file swiftly. Everything Search 
uses NTFS File System Journal indexes, and this is why it takes up so 
little RAM to run on the system.
  – What Are The Risks?
Download a System Scanner, to See If Your System Has Been Affected By 
Everything.exe.
** Naturally,i will have to find a version that will run in Win2K.
OOOOH! installed. ProcessExplorer kills it nicely.
Hmm..not in programs list but was installed. Thought i selected the 
option for shortcut on desktop.
   Will try in XP on the SCSI drive after i do an internal diskwipe 
which better be real.

>
> http://www.voidtools.com/support/everything/file_lists/
>
> cd /d C:\path\to\unpack\directory\for\everything\program
> Everything.exe -create-filelist C:\listdir_E.txt E:\
> notepad C:\listdir_E.txt
>
> I think that works for both FAT32 and NTFS.
>
> You don't need to install that.
>
> http://www.voidtools.com/downloads/
>
> Get the "Everything 1.3.4.686 Portable Zip" for your 32 bit WinXP,
> unpack the ZIP and there is probably an everything.exe in there.
> Place it somewhere, so you can find it.
* Got it.

>
> 2) Use nfi.exe, a utility from the Win2K era. I presume this
> is the archive location and still works. Unpack the zip until
> you find a copy of nfi.exe .
>
> 3.6MB
>
> https://web.archive.org/web/20150329185738/http://download.microsoft.com/download/win2000srv/utility/3.0/nt45/en-us/oem3sr2.zip
>
>
> (
> https://web.archive.org/web/20150329185738/http://support.microsoft.com/en-us/kb/253066
> )
>
> Then in command prompt (as administrator)
>
> cd /d C:\path\to\unpack\directory\for\nfi
> nfi.exe e: > C:nfi_for_E.txt
> notepad C:nfi_for_E.txt
>
> Using one of those methods, maybe your files will show up.
* Thanks,but i will bypass nfi for the time being.

>
> *******
>
> TestDisk can view the files on a disk drive too, but the
> interface is hard to deal with. And I'll stop here for now.
>
> http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step
>
> *******
>
> If it is just the hidden bit, you could use "attrib" recursively
> to unhide the whole partition. But I don't know if that's
> a good idea or not. That would probably leave all the
> desktop.ini files visible, which could be irritating.
* Since i have everything un-hidden,i know what you mean, especially 
when there are more than two in same folder. I am in the habit of 
deleting junk like that.

>
> attrib /?
>
> HTH,
> Paul

** more ugly history:
   I call this a "base", which has been done at least 4 times so far.
   ONLY SCSI Seagate 50G drive in computer.
   Use Parted Magic for dd diskwipe.
   Use Parted Magic to write Partition Table ad label drive.
   Use Partinfo and Ptedit to verify what little it can see.
   Use Spinrite to verify what little it can see.
    --> obviously now, the "everything" program might be useful to use
         in XP for checking. Would be nice if there was a
         self-supporting version (like Spinrite.)
    --> best to have a self-supporting program to graphically show
         drive contents byte-to-color pixel basis. This way one can
         minimize lies WRT drive contents.
    --> make dern sure to NOT use Computer Management, and not Windows
         Explorer (which seems to be safe).

   "Base" in place.
   WinXP  (meaning OS HD and SCSI HD).
   Windows Explorer reports full of files that had been written; label.
   Computer Management reports no label, unformatted (ie: empty).
   Windows Explorer reports only System Volume info; implies formatted.
   Added BIG 500 Shadow stick, copied some files.
   From this point forward, the drive seems to act normal.

   So we have magic and lies here.
   After "base", seeing anything on the drive by any program with no 
regard to vintage, state,etc indicates to me that dd diskwipe is a liar 
and it would be very nice to know what the heck dd is really doing 
during those 1.5 hours.
   Magic comes via Windows Explorer reporting only System Volume info; 
implies formatted.
   It is not supposed to mangle the drive (unless one tells it to defrag 
the drive); do we have hidden, un-documented magic here?

[toc] | [prev] | [next] | [standalone]


#10254

FromPaul <nospam@needed.invalid>
Date2017-04-02 19:29 -0400
Message-ID<obs1ab$lbs$1@dont-email.me>
In reply to#10253
Robert Baer wrote:
> Paul wrote:
>> Robert Baer wrote:
>>
>>> * I have a genuine M$ SP4 upgrade disk applied, and believe i ran
>>> those "toward SP5" rollups.
>>> Unfortunately i am using WinXP now and cannot check that.
>>> For now, assume SP4 no rollups.
>>>
>>> Your supposition is most likely what is happening between OSes, as XP
>>> is reporting 465.76Gb.
>>>
>>> BUT..
>>> Using Parted Magic and only the SCSI drive in the machine, I had just
>>> done a dd diskwipe, wrote a partition sector, labeled SCRATCH.
>>> NOTHING else.
>>> If Partition Magic was not such a liar, that would mean *unformatted*
>>> and no data.
>>> Well i am here to say categorically that dd does NOT wipe anything;
>>> almost 2 hours totally wasted.
>>> This is not the first time in this sequence that i have seen that.
>>>
>>> OOPS.
>>> I saw all of the data that i had copied (a while back) from my 500GB
>>> BIG Shadow stick, sitting there as purty as please.
>>> Then i went to Computer Management, XP reported 465.76Gb label SCRATCH.
>>> Back to Windows Explorer and ZERO data except for the System Volume
>>> Information file.
>>> Humph.
>>> All in a few minutes.
>>>
>>> Strange things in River City!
>>> Ideas?
>>
>> The only thing that comes to mind. It's possible to set the attributes
>> so everything on the disk is hidden.
> * Well, that idea does not fly, i have the system show all system and 
> hidden files.
>   Besides, a dd erase is supposed to write all zeros = = unformatted as 
> indicated above.
>   Partinfo and Ptedit only show a tiny part of the drive.
>   It would be VERY NICE if there was a graphical program that would show 
> drive contents on a pixel per bit basis; or use color for pixel per byte 
> basis.
>   Spinrite gives no content detail, even on a square-glyph per cluster 
> or block basis.
> 
>>
>> https://www.bleepingcomputer.com/download/unhide/
>>
>> But the symptoms aren't really right for that. I don't feel a strong
>> urge at this point to run it.
> * Yeah, See above.
> 
>>
>> Maybe it's an ownership issue of some sort ? System Volume Information
>> could be owned by someone other than the main computer account. The rest
>> of the files might have some other user stamped on them.
> * dd diskwipe?? Dern files should not be there. 1.5 hours doing nothing? 
> Hard to believe.
> 
>>
>> For listing utilities:
>>
>> 1) Get a copy of everything.exe and run that against the partition.
>> You need something that can view the files, regardless of how
>> Explorer is feeling right now.
> * will try next time i bring up XP with the SCSI attached.
>   See below about ugly history.
>   Hmm seems there are concerns; mine is to make sure it runs only when i 
> want, and not as a service.
>   From SensorsTech (partly edited):
> Everything.exe Description June 22, 2015 by Boyana Peeva+
> 
> There have been a lot of fusses lately, regarding a file, called 
> everything.exe. Users have a lot of concerns whether or not it is 
> malware. After research, we have established that it is a useful and 
> efficient freeware file searching program, called Everything Search 
> Engine. It is used for Windows OS`s and according to Wikipedia is widely 
> employed more than WinZip. However, we are talking about a .exe file, 
> and this is why it is advisable to scan your system if you see 
> unfamiliar .exe files and understand the risks it poses in this article.
> 
> According to Wikipedia, Everything installs index of names for files and 
> folders in the NTFS file system and based on the typed search 
> information, uses its indexes to find a file swiftly. Everything Search 
> uses NTFS File System Journal indexes, and this is why it takes up so 
> little RAM to run on the system.
>  – What Are The Risks?
> Download a System Scanner, to See If Your System Has Been Affected By 
> Everything.exe.
> ** Naturally,i will have to find a version that will run in Win2K.
> OOOOH! installed. ProcessExplorer kills it nicely.
> Hmm..not in programs list but was installed. Thought i selected the 
> option for shortcut on desktop.
>   Will try in XP on the SCSI drive after i do an internal diskwipe which 
> better be real.
> 
>>
>> http://www.voidtools.com/support/everything/file_lists/
>>
>> cd /d C:\path\to\unpack\directory\for\everything\program
>> Everything.exe -create-filelist C:\listdir_E.txt E:\
>> notepad C:\listdir_E.txt
>>
>> I think that works for both FAT32 and NTFS.
>>
>> You don't need to install that.
>>
>> http://www.voidtools.com/downloads/
>>
>> Get the "Everything 1.3.4.686 Portable Zip" for your 32 bit WinXP,
>> unpack the ZIP and there is probably an everything.exe in there.
>> Place it somewhere, so you can find it.
> * Got it.
> 
>>
>> 2) Use nfi.exe, a utility from the Win2K era. I presume this
>> is the archive location and still works. Unpack the zip until
>> you find a copy of nfi.exe .
>>
>> 3.6MB
>>
>> https://web.archive.org/web/20150329185738/http://download.microsoft.com/download/win2000srv/utility/3.0/nt45/en-us/oem3sr2.zip 
>>
>>
>>
>> (
>> https://web.archive.org/web/20150329185738/http://support.microsoft.com/en-us/kb/253066 
>>
>> )
>>
>> Then in command prompt (as administrator)
>>
>> cd /d C:\path\to\unpack\directory\for\nfi
>> nfi.exe e: > C:nfi_for_E.txt
>> notepad C:nfi_for_E.txt
>>
>> Using one of those methods, maybe your files will show up.
> * Thanks,but i will bypass nfi for the time being.
> 
>>
>> *******
>>
>> TestDisk can view the files on a disk drive too, but the
>> interface is hard to deal with. And I'll stop here for now.
>>
>> http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step
>>
>> *******
>>
>> If it is just the hidden bit, you could use "attrib" recursively
>> to unhide the whole partition. But I don't know if that's
>> a good idea or not. That would probably leave all the
>> desktop.ini files visible, which could be irritating.
> * Since i have everything un-hidden,i know what you mean, especially 
> when there are more than two in same folder. I am in the habit of 
> deleting junk like that.
> 
>>
>> attrib /?
>>
>> HTH,
>> Paul
> 
> ** more ugly history:
>   I call this a "base", which has been done at least 4 times so far.
>   ONLY SCSI Seagate 50G drive in computer.
>   Use Parted Magic for dd diskwipe.
>   Use Parted Magic to write Partition Table ad label drive.
>   Use Partinfo and Ptedit to verify what little it can see.
>   Use Spinrite to verify what little it can see.
>    --> obviously now, the "everything" program might be useful to use
>         in XP for checking. Would be nice if there was a
>         self-supporting version (like Spinrite.)
>    --> best to have a self-supporting program to graphically show
>         drive contents byte-to-color pixel basis. This way one can
>         minimize lies WRT drive contents.
>    --> make dern sure to NOT use Computer Management, and not Windows
>         Explorer (which seems to be safe).
> 
>   "Base" in place.
>   WinXP  (meaning OS HD and SCSI HD).
>   Windows Explorer reports full of files that had been written; label.
>   Computer Management reports no label, unformatted (ie: empty).
>   Windows Explorer reports only System Volume info; implies formatted.
>   Added BIG 500 Shadow stick, copied some files.
>   From this point forward, the drive seems to act normal.
> 
>   So we have magic and lies here.
>   After "base", seeing anything on the drive by any program with no 
> regard to vintage, state,etc indicates to me that dd diskwipe is a liar 
> and it would be very nice to know what the heck dd is really doing 
> during those 1.5 hours.
>   Magic comes via Windows Explorer reporting only System Volume info; 
> implies formatted.
>   It is not supposed to mangle the drive (unless one tells it to defrag 
> the drive); do we have hidden, un-documented magic here?

At this point, you have plenty of materials to experiment with.

When you run everything.exe in command line mode, it should not
be installing a service on the machine or adding a shell extension
to the right-click menu. It's just supposed to produce a text file
containing the file list for the specified drive letter. For example,
you should not see an Everything icon in the lower right hand corner
of the screen. If you install Everything, there would be an orange
donut down there.

nfi.exe only works on NTFS partitions.

Everything.exe, while it's running, prefers NTFS. It uses the NTFS journal,
to be alerted about new files that need to be added to the search database.
FAT32 on the other hand, has no journal, so Everything has to sweep the
whole partition, on an irregular basis. Keeping up-to-date on FAT32
file system contents for the purposes of search, is harder. But in this
case, Everything is just being used to generate a text file and
that should be it.

    Paul

[toc] | [prev] | [next] | [standalone]


#10288

FromRobert Baer <robertbaer@localnet.com>
Date2017-04-04 00:38 -0800
Message-ID<sYIEA.323025$IM7.91444@fx39.iad>
In reply to#10254
Paul wrote:
> Robert Baer wrote:
>> Paul wrote:
>>> Robert Baer wrote:
>>>
>>>> * I have a genuine M$ SP4 upgrade disk applied, and believe i ran
>>>> those "toward SP5" rollups.
>>>> Unfortunately i am using WinXP now and cannot check that.
>>>> For now, assume SP4 no rollups.
>>>>
>>>> Your supposition is most likely what is happening between OSes, as XP
>>>> is reporting 465.76Gb.
>>>>
>>>> BUT..
>>>> Using Parted Magic and only the SCSI drive in the machine, I had just
>>>> done a dd diskwipe, wrote a partition sector, labeled SCRATCH.
>>>> NOTHING else.
>>>> If Partition Magic was not such a liar, that would mean *unformatted*
>>>> and no data.
>>>> Well i am here to say categorically that dd does NOT wipe anything;
>>>> almost 2 hours totally wasted.
>>>> This is not the first time in this sequence that i have seen that.
>>>>
>>>> OOPS.
>>>> I saw all of the data that i had copied (a while back) from my 500GB
>>>> BIG Shadow stick, sitting there as purty as please.
>>>> Then i went to Computer Management, XP reported 465.76Gb label SCRATCH.
>>>> Back to Windows Explorer and ZERO data except for the System Volume
>>>> Information file.
>>>> Humph.
>>>> All in a few minutes.
>>>>
>>>> Strange things in River City!
>>>> Ideas?
>>>
>>> The only thing that comes to mind. It's possible to set the attributes
>>> so everything on the disk is hidden.
>> * Well, that idea does not fly, i have the system show all system and
>> hidden files.
>> Besides, a dd erase is supposed to write all zeros = = unformatted as
>> indicated above.
>> Partinfo and Ptedit only show a tiny part of the drive.
>> It would be VERY NICE if there was a graphical program that would show
>> drive contents on a pixel per bit basis; or use color for pixel per
>> byte basis.
>> Spinrite gives no content detail, even on a square-glyph per cluster
>> or block basis.
>>
>>>
>>> https://www.bleepingcomputer.com/download/unhide/
>>>
>>> But the symptoms aren't really right for that. I don't feel a strong
>>> urge at this point to run it.
>> * Yeah, See above.
>>
>>>
>>> Maybe it's an ownership issue of some sort ? System Volume Information
>>> could be owned by someone other than the main computer account. The rest
>>> of the files might have some other user stamped on them.
>> * dd diskwipe?? Dern files should not be there. 1.5 hours doing
>> nothing? Hard to believe.
>>
>>>
>>> For listing utilities:
>>>
>>> 1) Get a copy of everything.exe and run that against the partition.
>>> You need something that can view the files, regardless of how
>>> Explorer is feeling right now.
>> * will try next time i bring up XP with the SCSI attached.
>> See below about ugly history.
>> Hmm seems there are concerns; mine is to make sure it runs only when i
>> want, and not as a service.
>> From SensorsTech (partly edited):
>> Everything.exe Description June 22, 2015 by Boyana Peeva+
>>
>> There have been a lot of fusses lately, regarding a file, called
>> everything.exe. Users have a lot of concerns whether or not it is
>> malware. After research, we have established that it is a useful and
>> efficient freeware file searching program, called Everything Search
>> Engine. It is used for Windows OS`s and according to Wikipedia is
>> widely employed more than WinZip. However, we are talking about a .exe
>> file, and this is why it is advisable to scan your system if you see
>> unfamiliar .exe files and understand the risks it poses in this article.
>>
>> According to Wikipedia, Everything installs index of names for files
>> and folders in the NTFS file system and based on the typed search
>> information, uses its indexes to find a file swiftly. Everything
>> Search uses NTFS File System Journal indexes, and this is why it takes
>> up so little RAM to run on the system.
>> – What Are The Risks?
>> Download a System Scanner, to See If Your System Has Been Affected By
>> Everything.exe.
>> ** Naturally,i will have to find a version that will run in Win2K.
>> OOOOH! installed. ProcessExplorer kills it nicely.
>> Hmm..not in programs list but was installed. Thought i selected the
>> option for shortcut on desktop.
>> Will try in XP on the SCSI drive after i do an internal diskwipe which
>> better be real.
>>
>>>
>>> http://www.voidtools.com/support/everything/file_lists/
>>>
>>> cd /d C:\path\to\unpack\directory\for\everything\program
>>> Everything.exe -create-filelist C:\listdir_E.txt E:\
>>> notepad C:\listdir_E.txt
>>>
>>> I think that works for both FAT32 and NTFS.
>>>
>>> You don't need to install that.
>>>
>>> http://www.voidtools.com/downloads/
>>>
>>> Get the "Everything 1.3.4.686 Portable Zip" for your 32 bit WinXP,
>>> unpack the ZIP and there is probably an everything.exe in there.
>>> Place it somewhere, so you can find it.
>> * Got it.
>>
>>>
>>> 2) Use nfi.exe, a utility from the Win2K era. I presume this
>>> is the archive location and still works. Unpack the zip until
>>> you find a copy of nfi.exe .
>>>
>>> 3.6MB
>>>
>>> https://web.archive.org/web/20150329185738/http://download.microsoft.com/download/win2000srv/utility/3.0/nt45/en-us/oem3sr2.zip
>>>
>>>
>>>
>>> (
>>> https://web.archive.org/web/20150329185738/http://support.microsoft.com/en-us/kb/253066
>>>
>>> )
>>>
>>> Then in command prompt (as administrator)
>>>
>>> cd /d C:\path\to\unpack\directory\for\nfi
>>> nfi.exe e: > C:nfi_for_E.txt
>>> notepad C:nfi_for_E.txt
>>>
>>> Using one of those methods, maybe your files will show up.
>> * Thanks,but i will bypass nfi for the time being.
>>
>>>
>>> *******
>>>
>>> TestDisk can view the files on a disk drive too, but the
>>> interface is hard to deal with. And I'll stop here for now.
>>>
>>> http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step
>>>
>>> *******
>>>
>>> If it is just the hidden bit, you could use "attrib" recursively
>>> to unhide the whole partition. But I don't know if that's
>>> a good idea or not. That would probably leave all the
>>> desktop.ini files visible, which could be irritating.
>> * Since i have everything un-hidden,i know what you mean, especially
>> when there are more than two in same folder. I am in the habit of
>> deleting junk like that.
>>
>>>
>>> attrib /?
>>>
>>> HTH,
>>> Paul
>>
>> ** more ugly history:
>> I call this a "base", which has been done at least 4 times so far.
>> ONLY SCSI Seagate 50G drive in computer.
>> Use Parted Magic for dd diskwipe.
>> Use Parted Magic to write Partition Table ad label drive.
>> Use Partinfo and Ptedit to verify what little it can see.
>> Use Spinrite to verify what little it can see.
>> --> obviously now, the "everything" program might be useful to use
>> in XP for checking. Would be nice if there was a
>> self-supporting version (like Spinrite.)
>> --> best to have a self-supporting program to graphically show
>> drive contents byte-to-color pixel basis. This way one can
>> minimize lies WRT drive contents.
>> --> make dern sure to NOT use Computer Management, and not Windows
>> Explorer (which seems to be safe).
>>
>> "Base" in place.
>> WinXP (meaning OS HD and SCSI HD).
>> Windows Explorer reports full of files that had been written; label.
>> Computer Management reports no label, unformatted (ie: empty).
>> Windows Explorer reports only System Volume info; implies formatted.
>> Added BIG 500 Shadow stick, copied some files.
>> From this point forward, the drive seems to act normal.
>>
>> So we have magic and lies here.
>> After "base", seeing anything on the drive by any program with no
>> regard to vintage, state,etc indicates to me that dd diskwipe is a
>> liar and it would be very nice to know what the heck dd is really
>> doing during those 1.5 hours.
>> Magic comes via Windows Explorer reporting only System Volume info;
>> implies formatted.
>> It is not supposed to mangle the drive (unless one tells it to defrag
>> the drive); do we have hidden, un-documented magic here?
>
> At this point, you have plenty of materials to experiment with.
>
> When you run everything.exe in command line mode, it should not
> be installing a service on the machine or adding a shell extension
> to the right-click menu. It's just supposed to produce a text file
> containing the file list for the specified drive letter. For example,
> you should not see an Everything icon in the lower right hand corner
> of the screen. If you install Everything, there would be an orange
> donut down there.
>
> nfi.exe only works on NTFS partitions.
>
> Everything.exe, while it's running, prefers NTFS. It uses the NTFS journal,
> to be alerted about new files that need to be added to the search database.
> FAT32 on the other hand, has no journal, so Everything has to sweep the
> whole partition, on an irregular basis. Keeping up-to-date on FAT32
> file system contents for the purposes of search, is harder. But in this
> case, Everything is just being used to generate a text file and
> that should be it.
>
> Paul
   It always installs, with no regard to options.
   As long as the OS thinks there is something on the drive, Everything 
will show all files that ever had been written on the drive, never mind 
useless diskwipes and other fiddlings.
   Can be used as further proof of the Parted Magic dd diskwipe lie.
**
   By this time i was getting pissed and thought to try the internal 
diskwipe that Parted Magic allows one to use.
   Well..i got this error message that the drive security state was set 
as frozen.
   Parted Magic indicated you could put the drive to sleep, and at a 
later time you _might_ be able to wake it up. Seemed worth trying.
   Imagine lightening in an area of the screen, and the total computer 
shutdown power off.
   So much for that non-functional "fix".
   Drive still has security state set as frozen.

   Don't you LOVE it when things work so well?

[toc] | [prev] | [next] | [standalone]


#10310

FromPaul <nospam@needed.invalid>
Date2017-04-04 08:29 -0400
Message-ID<oc03e2$igg$1@dont-email.me>
In reply to#10288
Robert Baer wrote:

>   It always installs, with no regard to options.
>   As long as the OS thinks there is something on the drive, Everything 
> will show all files that ever had been written on the drive, never mind 
> useless diskwipes and other fiddlings.
>   Can be used as further proof of the Parted Magic dd diskwipe lie.
> **
>   By this time i was getting pissed and thought to try the internal 
> diskwipe that Parted Magic allows one to use.
>   Well..i got this error message that the drive security state was set 
> as frozen.
>   Parted Magic indicated you could put the drive to sleep, and at a 
> later time you _might_ be able to wake it up. Seemed worth trying.
>   Imagine lightening in an area of the screen, and the total computer 
> shutdown power off.
>   So much for that non-functional "fix".
>   Drive still has security state set as frozen.
> 
>   Don't you LOVE it when things work so well?
> 

Have a look at these. I've set up an HPA, but never a DCO
and I don't even know what a DCO is for. These are the only
articles I know of with the word "frozen" in them.

https://en.wikipedia.org/wiki/Device_configuration_overlay

https://en.wikipedia.org/wiki/Host_protected_area

The "hdparm" program is available in Linux.

The hardware requirement is, the BIOS must allow the port on
the computer, to accept the one command per boot session in order
to do an HPA. My Intel Southbridge ports, the BIOS module that
configures them, prevents HPA for security reasons. But the
Jmicron add-on chip, they forgot to block HPA on it. So I can
successfully set up an HPA with that.

I know nothing about DCO hardware requirements.

*******

Working with Linux is simple, except when it isn't simple.

1) Download the ISO for a Linux distribution.
    Linux Mint or Ubuntu.

2) At one time, the interface was simple enough, a Windows
    user would feel at home with the menu system. Now, some of
    them have a "semi-tablet" interface with stupid icons.

3) You want a Terminal window. Linux developers seek to de-emphasize
    the Terminal, just as Microsoft is in the process of removing
    Command Prompt from Windows 10 (and replacing it with Powershell,
    an inferior replacement).

So the trick is, to find a distribution that still has the
same-old "hdparm" program, and learn as little as possible
along the way.

4) With the ISO9660 file in hand, burn your DVD+RW or whatever.
    I use those so I can erase them (cheapskate). Takes 20 minutes total,
    including time to "format" the media (slow).

5) Boot the computer with the newly minted DVD.
    Do *not* select or click the install icon on the desktop.

6) Since this work may require multiple reboots, due to the
    hardware only accepting one actual HPA command per session
    (trap-door hardware feature), a Linux Live USB stick gives
    faster booting. You "dd" the downloaded ISO (only works with
    "hybrid" ISO files) onto a USB key, and it'll boot.

Maybe the Mate 64 bit edition will do (if your hardware is
capable of 64 bit). Otherwise you can use the 32 bit edition
on more computers.

https://www.linuxmint.com/

You can see the word Terminal in the green menu, lower left.

https://www.linuxmint.com/pictures/screenshots/serena/mate.png

Select one of the links at the bottom, and download
your 1.6GB ISO file.

https://www.linuxmint.com/edition.php?id=227

The "power" icon, for shutdown and reboot, isn't as
nicely formed as it should be, and you'll have to
squint to verify you have the correct icon.

So that'll allow you to do "hdparm" on /dev/sda.

    sudo hdparm /dev/sda

The sudo means "run as administrator" for block-level access.
The "sda" is the first disk. The first partition on
the first disk is "sda1". The second whole disk is "sdb".
These are similar to whole lines in Windows Disk Management.

Manual page for HDPARM, also available within Linux as "man hdparm".

https://linux.die.net/man/8/hdparm

You can also do

    sudo gparted

to get a basic disk formatting program. When it carries
out a command, there should be a status window with triangles.
You click the triangle to see the details of that part of
the procedure the program was carrying out.

Other note - Linux will not allow you to open the DVD tray
on the computer, once it's booted off the DVD. Linux is not
Windows, and is not as polite. When you select "shutdown"
from the menu, you may see a text prompt on the screen
to "remove the media, then press return". That's your
chance to remove the DVD. If you miss your chance, you
can use the pop-up boot menu in the BIOS, or the BIOS
setup entry key ( <Del> on my Asus motherboard ), to get
the damn tray open. I know this'll make you mad as hell
at first, but calm down and concentrate on the job at hand.

Obviously, retrieving a boot USB key is a lot easier, and
the computer cannot stop you from removing that. For best
disk integrity, I don't recommend being too rough with the
thing.

Have fun,
    Paul

[toc] | [prev] | [next] | [standalone]


#10341 — Re: Nasty harddrive "space" problem UPDATE

FromRobert Baer <robertbaer@localnet.com>
Date2017-04-05 14:13 -0800
SubjectRe: Nasty harddrive "space" problem UPDATE
Message-ID<B_dFA.124541$QP1.71469@fx27.iad>
In reply to#10310
   Note still have problem that the drive security state was set as frozen.
   Do not know how that confuses XP.

   HxD does all i needed, does everything i needed.
   When i initially got it, i had the impression that it was for files only.

   If HxD ran stand-alone, i might be able to discover more.

   As it is, i can BOTH prove that Parted Magic dd diskwipe as a lie AND 
that it works perfectly AT THE SAME TIME!

   Win XP shows the SCSI drive having all of the files, making a liar of 
Parted Magic dd diskwipe.
   HxD shows EXACTLY the same thing when one opens the drive as a 
logical disk.
   ALSO using HxD to open the SCSI as a hard drive, one can see that it 
is TOTALLY WIPED.
   Put _that_ in your smoke and pipe it.

   Meanwhile, i have an effectively useless hard drive as if i use the 
Computer Management program, it will bugger the logical disk version.
   Need to reset that security state somehow.

[toc] | [prev] | [next] | [standalone]


#10342

FromRobert Baer <robertbaer@localnet.com>
Date2017-04-05 14:24 -0800
Message-ID<R8eFA.321194$qD6.160919@fx34.iad>
In reply to#10310
Paul wrote:
> Robert Baer wrote:
>
>>   It always installs, with no regard to options.
>>   As long as the OS thinks there is something on the drive, Everything
>> will show all files that ever had been written on the drive, never
>> mind useless diskwipes and other fiddlings.
>>   Can be used as further proof of the Parted Magic dd diskwipe lie.
>> **
>>   By this time i was getting pissed and thought to try the internal
>> diskwipe that Parted Magic allows one to use.
>>   Well..i got this error message that the drive security state was set
>> as frozen.
>>   Parted Magic indicated you could put the drive to sleep, and at a
>> later time you _might_ be able to wake it up. Seemed worth trying.
>>   Imagine lightening in an area of the screen, and the total computer
>> shutdown power off.
>>   So much for that non-functional "fix".
>>   Drive still has security state set as frozen.
>>
>>   Don't you LOVE it when things work so well?
>>
>
> Have a look at these. I've set up an HPA, but never a DCO
> and I don't even know what a DCO is for. These are the only
> articles I know of with the word "frozen" in them.
>
> https://en.wikipedia.org/wiki/Device_configuration_overlay
>
> https://en.wikipedia.org/wiki/Host_protected_area
>
> The "hdparm" program is available in Linux.
>
> The hardware requirement is, the BIOS must allow the port on
> the computer, to accept the one command per boot session in order
> to do an HPA. My Intel Southbridge ports, the BIOS module that
> configures them, prevents HPA for security reasons. But the
> Jmicron add-on chip, they forgot to block HPA on it. So I can
> successfully set up an HPA with that.
>
> I know nothing about DCO hardware requirements.
>
> *******
>
> Working with Linux is simple, except when it isn't simple.
>
> 1) Download the ISO for a Linux distribution.
>     Linux Mint or Ubuntu.
>
> 2) At one time, the interface was simple enough, a Windows
>     user would feel at home with the menu system. Now, some of
>     them have a "semi-tablet" interface with stupid icons.
>
> 3) You want a Terminal window. Linux developers seek to de-emphasize
>     the Terminal, just as Microsoft is in the process of removing
>     Command Prompt from Windows 10 (and replacing it with Powershell,
>     an inferior replacement).
>
> So the trick is, to find a distribution that still has the
> same-old "hdparm" program, and learn as little as possible
> along the way.
>
> 4) With the ISO9660 file in hand, burn your DVD+RW or whatever.
>     I use those so I can erase them (cheapskate). Takes 20 minutes total,
>     including time to "format" the media (slow).
>
> 5) Boot the computer with the newly minted DVD.
>     Do *not* select or click the install icon on the desktop.
>
> 6) Since this work may require multiple reboots, due to the
>     hardware only accepting one actual HPA command per session
>     (trap-door hardware feature), a Linux Live USB stick gives
>     faster booting. You "dd" the downloaded ISO (only works with
>     "hybrid" ISO files) onto a USB key, and it'll boot.
>
> Maybe the Mate 64 bit edition will do (if your hardware is
> capable of 64 bit). Otherwise you can use the 32 bit edition
> on more computers.
>
> https://www.linuxmint.com/
>
> You can see the word Terminal in the green menu, lower left.
>
> https://www.linuxmint.com/pictures/screenshots/serena/mate.png
>
> Select one of the links at the bottom, and download
> your 1.6GB ISO file.
>
> https://www.linuxmint.com/edition.php?id=227
>
> The "power" icon, for shutdown and reboot, isn't as
> nicely formed as it should be, and you'll have to
> squint to verify you have the correct icon.
>
> So that'll allow you to do "hdparm" on /dev/sda.
>
>     sudo hdparm /dev/sda
>
> The sudo means "run as administrator" for block-level access.
> The "sda" is the first disk. The first partition on
> the first disk is "sda1". The second whole disk is "sdb".
> These are similar to whole lines in Windows Disk Management.
>
> Manual page for HDPARM, also available within Linux as "man hdparm".
>
> https://linux.die.net/man/8/hdparm
>
> You can also do
>
>     sudo gparted
>
> to get a basic disk formatting program. When it carries
> out a command, there should be a status window with triangles.
> You click the triangle to see the details of that part of
> the procedure the program was carrying out.
>
> Other note - Linux will not allow you to open the DVD tray
> on the computer, once it's booted off the DVD. Linux is not
> Windows, and is not as polite. When you select "shutdown"
> from the menu, you may see a text prompt on the screen
> to "remove the media, then press return". That's your
> chance to remove the DVD. If you miss your chance, you
> can use the pop-up boot menu in the BIOS, or the BIOS
> setup entry key ( <Del> on my Asus motherboard ), to get
> the damn tray open. I know this'll make you mad as hell
> at first, but calm down and concentrate on the job at hand.
>
> Obviously, retrieving a boot USB key is a lot easier, and
> the computer cannot stop you from removing that. For best
> disk integrity, I don't recommend being too rough with the
> thing.
>
> Have fun,
>     Paul
   Thanks, will archive this.
   Meanwhile read my recent posting Re: Nasty harddrive "space" problem 
UPFATE and scratch your head..

[toc] | [prev] | [next] | [standalone]


#10343 — Re: Nasty harddrive "space" problem (after UPDATE)

FromRobert Baer <robertbaer@localnet.com>
Date2017-04-05 21:50 -0800
SubjectRe: Nasty harddrive "space" problem (after UPDATE)
Message-ID<tGkFA.324257$IM7.129553@fx39.iad>
In reply to#10342
Robert Baer wrote:
> Paul wrote:
>> Robert Baer wrote:
>>
>>> It always installs, with no regard to options.
>>> As long as the OS thinks there is something on the drive, Everything
>>> will show all files that ever had been written on the drive, never
>>> mind useless diskwipes and other fiddlings.
>>> Can be used as further proof of the Parted Magic dd diskwipe lie.
>>> **
>>> By this time i was getting pissed and thought to try the internal
>>> diskwipe that Parted Magic allows one to use.
>>> Well..i got this error message that the drive security state was set
>>> as frozen.
>>> Parted Magic indicated you could put the drive to sleep, and at a
>>> later time you _might_ be able to wake it up. Seemed worth trying.
>>> Imagine lightening in an area of the screen, and the total computer
>>> shutdown power off.
>>> So much for that non-functional "fix".
>>> Drive still has security state set as frozen.
>>>
>>> Don't you LOVE it when things work so well?
>>>
>>
>> Have a look at these. I've set up an HPA, but never a DCO
>> and I don't even know what a DCO is for. These are the only
>> articles I know of with the word "frozen" in them.
>>
>> https://en.wikipedia.org/wiki/Device_configuration_overlay
>>
>> https://en.wikipedia.org/wiki/Host_protected_area
>>
>> The "hdparm" program is available in Linux.
>>
>> The hardware requirement is, the BIOS must allow the port on
>> the computer, to accept the one command per boot session in order
>> to do an HPA. My Intel Southbridge ports, the BIOS module that
>> configures them, prevents HPA for security reasons. But the
>> Jmicron add-on chip, they forgot to block HPA on it. So I can
>> successfully set up an HPA with that.
>>
>> I know nothing about DCO hardware requirements.
>>
>> *******
>>
>> Working with Linux is simple, except when it isn't simple.
>>
>> 1) Download the ISO for a Linux distribution.
>> Linux Mint or Ubuntu.
>>
>> 2) At one time, the interface was simple enough, a Windows
>> user would feel at home with the menu system. Now, some of
>> them have a "semi-tablet" interface with stupid icons.
>>
>> 3) You want a Terminal window. Linux developers seek to de-emphasize
>> the Terminal, just as Microsoft is in the process of removing
>> Command Prompt from Windows 10 (and replacing it with Powershell,
>> an inferior replacement).
>>
>> So the trick is, to find a distribution that still has the
>> same-old "hdparm" program, and learn as little as possible
>> along the way.
>>
>> 4) With the ISO9660 file in hand, burn your DVD+RW or whatever.
>> I use those so I can erase them (cheapskate). Takes 20 minutes total,
>> including time to "format" the media (slow).
>>
>> 5) Boot the computer with the newly minted DVD.
>> Do *not* select or click the install icon on the desktop.
>>
>> 6) Since this work may require multiple reboots, due to the
>> hardware only accepting one actual HPA command per session
>> (trap-door hardware feature), a Linux Live USB stick gives
>> faster booting. You "dd" the downloaded ISO (only works with
>> "hybrid" ISO files) onto a USB key, and it'll boot.
>>
>> Maybe the Mate 64 bit edition will do (if your hardware is
>> capable of 64 bit). Otherwise you can use the 32 bit edition
>> on more computers.
>>
>> https://www.linuxmint.com/
>>
>> You can see the word Terminal in the green menu, lower left.
>>
>> https://www.linuxmint.com/pictures/screenshots/serena/mate.png
>>
>> Select one of the links at the bottom, and download
>> your 1.6GB ISO file.
>>
>> https://www.linuxmint.com/edition.php?id=227
>>
>> The "power" icon, for shutdown and reboot, isn't as
>> nicely formed as it should be, and you'll have to
>> squint to verify you have the correct icon.
>>
>> So that'll allow you to do "hdparm" on /dev/sda.
>>
>> sudo hdparm /dev/sda
>>
>> The sudo means "run as administrator" for block-level access.
>> The "sda" is the first disk. The first partition on
>> the first disk is "sda1". The second whole disk is "sdb".
>> These are similar to whole lines in Windows Disk Management.
>>
>> Manual page for HDPARM, also available within Linux as "man hdparm".
>>
>> https://linux.die.net/man/8/hdparm
>>
>> You can also do
>>
>> sudo gparted
>>
>> to get a basic disk formatting program. When it carries
>> out a command, there should be a status window with triangles.
>> You click the triangle to see the details of that part of
>> the procedure the program was carrying out.
>>
>> Other note - Linux will not allow you to open the DVD tray
>> on the computer, once it's booted off the DVD. Linux is not
>> Windows, and is not as polite. When you select "shutdown"
>> from the menu, you may see a text prompt on the screen
>> to "remove the media, then press return". That's your
>> chance to remove the DVD. If you miss your chance, you
>> can use the pop-up boot menu in the BIOS, or the BIOS
>> setup entry key ( <Del> on my Asus motherboard ), to get
>> the damn tray open. I know this'll make you mad as hell
>> at first, but calm down and concentrate on the job at hand.
>>
>> Obviously, retrieving a boot USB key is a lot easier, and
>> the computer cannot stop you from removing that. For best
>> disk integrity, I don't recommend being too rough with the
>> thing.
>>
>> Have fun,
>> Paul
> Thanks, will archive this.
> Meanwhile read my recent posting Re: Nasty harddrive "space" problem
> UPFATE and scratch your head..
>
   I am guessing that cloning my U32 Shadow USB drive to the SCSI did 
the dirt.
   What i wanted was to replace the U32 with the SCSI, because i know i 
will save a lot of time for file access.
   Did not see the sense of putting a system on the SCSI *just* to have 
my scratch space...

[toc] | [prev] | [next] | [standalone]


#10347 — Re: Nasty harddrive "space" problem (after UPDATE)

FromPaul <nospam@needed.invalid>
Date2017-04-06 08:23 -0400
SubjectRe: Nasty harddrive "space" problem (after UPDATE)
Message-ID<oc5bpf$a17$1@dont-email.me>
In reply to#10343
Robert Baer wrote:

>   I am guessing that cloning my U32 Shadow USB drive to the SCSI did the 
> dirt.
>   What i wanted was to replace the U32 with the SCSI, because i know i 
> will save a lot of time for file access.
>   Did not see the sense of putting a system on the SCSI *just* to have 
> my scratch space...
> 

Quite possibly. But if you look in Disk Management, you
should see some unallocated space.

I thought it was possible for USB sticks, to be prepared
without an MBR. The first sector then contains the
text "NTFS", instead of containing the text associated
with supporting a booting OS (the 446 bytes of boot code).

+----------------------------------------------------------+
| "NTFS" first sector, then rest of file system comes next }
+----------------------------------------------------------+

The other way (seen on hard drives mostly) is

+-----+----------------------------------------------------------+
| MBR | "NTFS" first sector, then rest of file system comes next }
+-----+----------------------------------------------------------+

The MBR consists of:

446 bytes of boot code
  64 bytes primary partitions table
   2 bytes AA55 signature at end (with the usual byte swapping of course)

See Figure.6 here, for a sample hex dump of the MBR. It's about
40% down the page or so. Thestarman has information about how
that code works in some cases. (There is more than one web page
on this site, on the subject.)

http://thestarman.pcministry.com/asm/mbr/W7MBR.htm

It's possible the NTFS partition header sector also uses AA55
at the end, so that part may not be unique.

In the picture here, you can see the eight byte string with
"NTFS    " near the beginning. That's what I use when doing
disk offset calcs, to make sure I've hit the right position
on the drive. This is "Absolute Sector 63", because a disk
with MSDOS alignment, sectors 0..62 are a group of 63 sectors,
and absolute sector 63 is after that section. On the CHS, S=63,
and so by needing space for the MBR, the first partition
cannot begin until after that padding area. The padding
area is actually used, and can contain GRUB stage 1.5 boot
code on a Linux system. (On Vista or later, the pad is ~1 megabyte.)

    0       1-62         63
+-----+---------------+--------------------------------------
| MBR | One-track pad | ".R.NTFS    " marker (NTFS not FAT)
+-----+---------------+--------------------------------------

http://thestarman.pcministry.com/asm/mbr/NTFSbrHexEd.htm

*******

Partition Management software can do a resize - as long
as you're not using Win2K, and there is no possibility of
allowing a 137GB-limited OS looking at a 465GB NTFS partition.
Which would corrupt. You assured me the Win2K is at SP4,
so that should not happen.

You had your fun with the cloning - now blow it away and
fix it :-)

    Paul

[toc] | [prev] | [next] | [standalone]


#10350 — Re: Nasty harddrive "space" problem (after UPDATE)

FromRobert Baer <robertbaer@localnet.com>
Date2017-04-09 11:49 -0800
SubjectRe: Nasty harddrive "space" problem (after UPDATE)
Message-ID<3nvGA.213734$On5.99335@fx43.iad>
In reply to#10347
Paul wrote:
> Robert Baer wrote:
>
>> I am guessing that cloning my U32 Shadow USB drive to the SCSI did the
>> dirt.
>> What i wanted was to replace the U32 with the SCSI, because i know i
>> will save a lot of time for file access.
>> Did not see the sense of putting a system on the SCSI *just* to have
>> my scratch space...
>>
>
> Quite possibly. But if you look in Disk Management, you
> should see some unallocated space.
>
> I thought it was possible for USB sticks, to be prepared
> without an MBR. The first sector then contains the
> text "NTFS", instead of containing the text associated
> with supporting a booting OS (the 446 bytes of boot code).
>
> +----------------------------------------------------------+
> | "NTFS" first sector, then rest of file system comes next }
> +----------------------------------------------------------+
>
> The other way (seen on hard drives mostly) is
>
> +-----+----------------------------------------------------------+
> | MBR | "NTFS" first sector, then rest of file system comes next }
> +-----+----------------------------------------------------------+
>
> The MBR consists of:
>
> 446 bytes of boot code
> 64 bytes primary partitions table
> 2 bytes AA55 signature at end (with the usual byte swapping of course)
>
> See Figure.6 here, for a sample hex dump of the MBR. It's about
> 40% down the page or so. Thestarman has information about how
> that code works in some cases. (There is more than one web page
> on this site, on the subject.)
>
> http://thestarman.pcministry.com/asm/mbr/W7MBR.htm
>
> It's possible the NTFS partition header sector also uses AA55
> at the end, so that part may not be unique.
>
> In the picture here, you can see the eight byte string with
> "NTFS " near the beginning. That's what I use when doing
> disk offset calcs, to make sure I've hit the right position
> on the drive. This is "Absolute Sector 63", because a disk
> with MSDOS alignment, sectors 0..62 are a group of 63 sectors,
> and absolute sector 63 is after that section. On the CHS, S=63,
> and so by needing space for the MBR, the first partition
> cannot begin until after that padding area. The padding
> area is actually used, and can contain GRUB stage 1.5 boot
> code on a Linux system. (On Vista or later, the pad is ~1 megabyte.)
>
> 0 1-62 63
> +-----+---------------+--------------------------------------
> | MBR | One-track pad | ".R.NTFS " marker (NTFS not FAT)
> +-----+---------------+--------------------------------------
>
> http://thestarman.pcministry.com/asm/mbr/NTFSbrHexEd.htm
>
> *******
>
> Partition Management software can do a resize - as long
> as you're not using Win2K, and there is no possibility of
> allowing a 137GB-limited OS looking at a 465GB NTFS partition.
> Which would corrupt. You assured me the Win2K is at SP4,
> so that should not happen.
>
> You had your fun with the cloning - now blow it away and
> fix it :-)
>
> Paul
   That info is really neat.
   With this frozen drive and "proper" software (ie does NOT bollix 
pointers or whatever Computer Management does), one could have an OS 
that uses drives to DOUBLE rated capacity.

   But i would rather fix that problem and go forward.
   Found nothing on the net to unfreze the drive.
   Any ideas?

[toc] | [prev] | [next] | [standalone]


#10351 — Re: Nasty harddrive "space" problem (after UPDATE)

FromPaul <nospam@needed.invalid>
Date2017-04-09 18:40 -0400
SubjectRe: Nasty harddrive "space" problem (after UPDATE)
Message-ID<oced3m$9l9$1@dont-email.me>
In reply to#10350
Robert Baer wrote:

>   That info is really neat.
>   With this frozen drive and "proper" software (ie does NOT bollix 
> pointers or whatever Computer Management does), one could have an OS 
> that uses drives to DOUBLE rated capacity.
> 
>   But i would rather fix that problem and go forward.
>   Found nothing on the net to unfreze the drive.
>   Any ideas?

Is a DCO actually in place ?

I think the requirements are the same as HPA (Host Protected Area).
Namely, the BIOS has the ability (during BIOS firmware coding),
to have the one allowed command used up. In other words, there
is protection from a free-for-all via malware. To protect the
disks against malware mischief, the BIOS "closes the door" before
the OS boots.

[As an example of "danger", malware could execute the Secure Erase
command over ATA bus. That's dangerous.]

On my P5E Deluxe, I have six Southbridge SATA ports (Intel ICH).
I have a single JMicron IDE cable (for two drives). It turns
out, the Intel BIOS module blocks "fun" on the SATA ports.
But the JMicron coders did not do this. Their ports are still
open. I use an IDE-to-SATA adapter, to modify SATA drives.
I converted a couple SATA drives to 4GB capacity and 6GB capacity,
as a means to accelerate some "whole-disk" procedures. I wanted
to make the drives tiny, so the testing would not take too long.

As I indicated before, I have no experience with DCO at all,
and don't even know why I would need it.

Rest assured, that all the software for this stuff is command
line, no nice GUI interfaces on *anything*. That means "you
have to work for your supper" on this stuff. And, be really
lucky, when it comes to a port that is not blocked by the
BIOS code.

And the behavior of the BIOS is not documented. You use the
command line, try it, get a "fail whale" result, then try
a different computer or port.

*******

If you have an add-on storage card which *has no BIOS chip*,
and the marketing information says you cannot boot from it,
there's a good chance that product would be "open".

And no, not the Ultra133 card either. Promise made some
chips, where the main chip has EEPROM inside it, and the
Extended Int 0x13 code is inside the main chip. Many other
non-Promise branded controllers, the chip is outboard.

Good luck,
    Paul

[toc] | [prev] | [next] | [standalone]


#10353 — Re: Nasty harddrive "space" problem (after UPDATE)

FromRobert Baer <robertbaer@localnet.com>
Date2017-04-11 00:32 -0800
SubjectRe: Nasty harddrive "space" problem (after UPDATE)
Message-ID<3E%GA.332$3U6.326@fx33.iad>
In reply to#10351
Paul wrote:
> Robert Baer wrote:
>
>> That info is really neat.
>> With this frozen drive and "proper" software (ie does NOT bollix
>> pointers or whatever Computer Management does), one could have an OS
>> that uses drives to DOUBLE rated capacity.
>>
>> But i would rather fix that problem and go forward.
>> Found nothing on the net to unfreze the drive.
>> Any ideas?
>
> Is a DCO actually in place ?
>
> I think the requirements are the same as HPA (Host Protected Area).
> Namely, the BIOS has the ability (during BIOS firmware coding),
> to have the one allowed command used up. In other words, there
> is protection from a free-for-all via malware. To protect the
> disks against malware mischief, the BIOS "closes the door" before
> the OS boots.
>
> [As an example of "danger", malware could execute the Secure Erase
> command over ATA bus. That's dangerous.]
>
> On my P5E Deluxe, I have six Southbridge SATA ports (Intel ICH).
> I have a single JMicron IDE cable (for two drives). It turns
> out, the Intel BIOS module blocks "fun" on the SATA ports.
> But the JMicron coders did not do this. Their ports are still
> open. I use an IDE-to-SATA adapter, to modify SATA drives.
> I converted a couple SATA drives to 4GB capacity and 6GB capacity,
> as a means to accelerate some "whole-disk" procedures. I wanted
> to make the drives tiny, so the testing would not take too long.
>
> As I indicated before, I have no experience with DCO at all,
> and don't even know why I would need it.
>
> Rest assured, that all the software for this stuff is command
> line, no nice GUI interfaces on *anything*. That means "you
> have to work for your supper" on this stuff. And, be really
> lucky, when it comes to a port that is not blocked by the
> BIOS code.
>
> And the behavior of the BIOS is not documented. You use the
> command line, try it, get a "fail whale" result, then try
> a different computer or port.
>
> *******
>
> If you have an add-on storage card which *has no BIOS chip*,
> and the marketing information says you cannot boot from it,
> there's a good chance that product would be "open".
>
> And no, not the Ultra133 card either. Promise made some
> chips, where the main chip has EEPROM inside it, and the
> Extended Int 0x13 code is inside the main chip. Many other
> non-Promise branded controllers, the chip is outboard.
>
> Good luck,
> Paul
   On further fiddling, it just seemed that one could double capacity; 
the reads by HdX were separate & different protocols; familiar 63 sector 
"offset" difference..
   Yes, i remember the Extended Int 0x13 and (for floppies in the old 
daze), one could read and write deleted records of real data.
   That was how the old data files were constructed: one regular 
record,say)5 deleted records, repeat. A new John Jones would be written 
as a regular record to replace one of those deleted records -  keeping 
data (almost) sorted.
   But that only worked with the old hardware.

[toc] | [prev] | [next] | [standalone]


#10352 — Re: Nasty harddrive "space" problem (after UPDATE)

FromPaul <nospam@needed.invalid>
Date2017-04-09 18:46 -0400
SubjectRe: Nasty harddrive "space" problem (after UPDATE)
Message-ID<ocedfa$a4f$1@dont-email.me>
In reply to#10350
Robert Baer wrote:

>   That info is really neat.
>   With this frozen drive and "proper" software (ie does NOT bollix 
> pointers or whatever Computer Management does), one could have an OS 
> that uses drives to DOUBLE rated capacity.
> 
>   But i would rather fix that problem and go forward.
>   Found nothing on the net to unfreze the drive.
>   Any ideas?

Sorry, I completely forgot to include the link.

https://www.hdat2.com/hdat2_faq.html#q2

  Q2: How to bypass a Security and/or DCO frozen state?

  A2: 1) The SECURITY FREEZE command is being set in the boot process.

         This will prevent any further SECURITY related commands being
         sent until the hard drive is power cycled. It is most likely
         your BIOS doing this. Look in your BIOS configuration/setup,
         but some BIOS's do not have an option to turn this off, so you
         may be required to find a different PC/BIOS.

       2) Try to connect the drive to another controller channel (maybe
          the last one) or another position on the channel. Some BIOS
          do not send the Freeze Lock command to all channel master/slave positions.

       3) Hot-plug method: use this method at your own risk! When the
          computer is off unplug the data cable from this hard drive.
          Power on PC, boot into DOS and then plug the data cable of
          the hard drive back in. I hope that the program will find
          this disk.

HTH,
     Paul

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | alt.computer


csiph-web