thinkpads.com Support Community Forum Index Bill Morrow's thinkpads.com Open Forum - The Original Thinkpad Support Forum
Follow ThinkpadsForum on Twitter
eCoupons
Save with Lenovo ThinkPad eCoupons
Exclusive 4% CASH BACK from eCoupons.com
Support this forum, shop at newmodeus.com
 
It is currently Mon May 20, 2013 2:54 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Running PC-Doctor DOS from USB drive: Solution
PostPosted: Mon May 28, 2012 5:34 am 
Offline
Senior Member
Senior Member

Joined: Sun Feb 26, 2012 2:25 am
Posts: 667
Location: Houston, TX
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:
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:
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, Intel Graphics, Intel 6205, 128GB Crucial M4 SSD, 1TB HGST HDD + eBay caddy in Ultrabay
701c butterfly, 75MHz 486DX4, 40MB ram, 1GB CF card


Top
 Profile  
 
 Post subject: Re: Running PC-Doctor DOS from USB drive: Solution
PostPosted: Mon May 28, 2012 9:57 am 
Offline
RBS10000
RBS10000

Joined: Mon Sep 18, 2006 5:17 am
Posts: 11775
Location: Mt. Cobb, PA USA
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 Board Room for:
- SATA-mods: native SATA for T43/R52 with ATI GPU
- other Services


Top
 Profile  
 
 Post subject: Re: Running PC-Doctor DOS from USB drive: Solution
PostPosted: Mon May 28, 2012 10:40 am 
Offline
Senior Member
Senior Member

Joined: Sun Feb 26, 2012 2:25 am
Posts: 667
Location: Houston, TX
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, Intel Graphics, Intel 6205, 128GB Crucial M4 SSD, 1TB HGST HDD + eBay caddy in Ultrabay
701c butterfly, 75MHz 486DX4, 40MB ram, 1GB CF card


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group