Running PC-Doctor DOS from USB drive: Solution

Performance, hardware, software, general buying and gaming discussion..
Post Reply
Message
Author
twistero
Senior Member
Senior Member
Posts: 851
Joined: Sun Feb 26, 2012 2:25 am
Location: Princeton, New Jersey
Contact:

Running PC-Doctor DOS from USB drive: Solution

#1 Post by twistero » Mon May 28, 2012 5:34 am

So, to prepare for a upcoming troubleshooting session with my friend's X60, and for the general welfare of my own X60t, I want to boot the PC-Doctor DOS CD (1ety48ww, for T3x/T4x/T6x/R4x/R5x/R6x/X3x/X4x/X6x/A3x/G4x/G5x/Z6x) from a USB drive.

Attempt 1: Load the ISO via SYSLINUX and MEMDISK. The image will boot, but hangs randomly when extracting files to RAM.
Attempt 2: Load the ISO via GRUB4DOS. The image will not boot.
Attempt 3: Since the CD boots via harddisk emulation, I extracted the hard disk image file from the ISO (1ety48ww.ima). Although WinImage reads the contents of this image fine, it does not boot via GRUB4DOS either; GRUB4DOS complains about being unable to mount the drive.

Then, I opened the hard disk image with a hex editor. The first couple hundreds of bytes contains references to "Roxio CD/DVD-ROM Boot Loader v1.01". Some blank bytes follow, and at offset 0x00004000, strings like "IBM 7.1" and "FAT16" appeared. :twisted:


Solution: Using a hex editor, open up the hard disk image 1ety48ww.ima, and delete everything between the start of the file and offset 0x00004000. The image should start with:

Code: Select all

Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

00000000  EB 58 90 49 42 4D 20 20 37 2E 31 00 02 04 01 00  ëX.IBM  7.1.....
00000010  02 00 02 00 00 F8 85 00 20 00 40 00 20 00 00 00  .....ø…. .@. ...
00000020  4F 13 02 00 80 00 29 F5 12 4E 0A 44 52 49 56 45  O...€.)õ.N.DRIVE
00000030  2D 43 20 20 20 20 46 41 54 31 36 20 20 20 90 90  -C    FAT16   ..
00000040  90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90  ................
Then, boot this modified image (now a partition image instead of disk image) via GRUB4DOS. The relevant entry in my menu.lst reads:

Code: Select all

title PC-Doctor for ThinkPad T3x/T4x/T6x/R4x/R5x/R6x/X3x/X4x/X6x/A3x/G4x/G5x/Z6x
map --mem /pcdoctor/short.ima (hd0,0)
map --hook
root (hd0,0)
chainloader +1
Notice the use of (hd0,0) instead of (hd0), since the image is only one partition, not an entire disk. Voila! It boots and runs perfectly.


Hope this helps someone. :mrgreen:
X60 tablet 6363-P3U, 3GB ram, 128GB SanDisk Extreme SSD, SXGA+ screen, Intel 6300
T61 Frankenpad in 15 inch T60 body, UXGA LED-lit AFFS LCD, T9300, 6GB RAM, NVidia NVS140m, Intel 6205, 128GB Crucial M4 SSD, 1TB HGST HDD + eBay caddy in Ultrabay
701c butterfly, 75MHz 486DX4, 40MB ram, 1GB CF card

RealBlackStuff
Admin
Admin
Posts: 17508
Joined: Mon Sep 18, 2006 5:17 am
Location: Mt. Cobb, PA USA
Contact:

Re: Running PC-Doctor DOS from USB drive: Solution

#2 Post by RealBlackStuff » Mon May 28, 2012 9:57 am

Have you seen this? http://www.911cd.net/forums/lofiversion ... 24021.html
They claim it works without modding the .ISO
BTW: how big is the data-volume of PC Doctor, would it fit on 64MB flashdrive?
Lovely day for a Guinness! (The Real Black Stuff)

Check out The Boardroom for Parts, Mods and Other Services.

twistero
Senior Member
Senior Member
Posts: 851
Joined: Sun Feb 26, 2012 2:25 am
Location: Princeton, New Jersey
Contact:

Re: Running PC-Doctor DOS from USB drive: Solution

#3 Post by twistero » Mon May 28, 2012 10:40 am

RealBlackStuff wrote:Have you seen this? http://www.911cd.net/forums/lofiversion ... 24021.html
They claim it works without modding the .ISO
I did run into that post, but by then my tests have already shown their method doesn't work. Just to be sure, I tried it again just now. It still doesn't work, throwing an "Error 5: Partition table invalid or corrupt".

RealBlackStuff wrote:BTW: how big is the data-volume of PC Doctor, would it fit on 64MB flashdrive?
The trimmed image file is 69,639,680 bytes or 66.4 MB, too large for a 64 MB flash drive. However, GRUB4DOS supports gzip'ed image files, and I managed to compress the image to 53.8 MB (56,498,218 bytes), which has a good chance of fitting on to a 64 MB drive.
X60 tablet 6363-P3U, 3GB ram, 128GB SanDisk Extreme SSD, SXGA+ screen, Intel 6300
T61 Frankenpad in 15 inch T60 body, UXGA LED-lit AFFS LCD, T9300, 6GB RAM, NVidia NVS140m, Intel 6205, 128GB Crucial M4 SSD, 1TB HGST HDD + eBay caddy in Ultrabay
701c butterfly, 75MHz 486DX4, 40MB ram, 1GB CF card

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Thinkpad - General HARDWARE/SOFTWARE questions”

Who is online

Users browsing this forum: No registered users and 15 guests