Jump to content











Photo
- - - - -

Multibooting hyrens/konboot/ophcrack


  • Please log in to reply
50 replies to this topic

#26 steve6375

steve6375

    Platinum Member

  • Developer
  • 7034 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 29 August 2013 - 01:52 PM

You need to run WinContig on the iso file so it loads quickly.

you don't need exit at the end.

errorcheck off 
:: ignore error if not contiguous 
partnew (hd0,3) 0x0 /image/HirensISO.iso 
errorcheck on 
map /image/HirensISO.iso (0xff) || map --mem /image/HirensISO.iso (0xff) 
map --mem /winvblock.img.gz (fd0) 
map --mem /winvblock.img.gz (fd1) 
map --hook 
root (0xff) || rootnoverify (0xff) 
chainloader (0xff)


#27 Leozack

Leozack

    Newbie

  • Members
  • 27 posts
  •  
    United Kingdom

Posted 29 August 2013 - 04:45 PM

Thanks steve - I had missed out one of the %1's too so it now seems to all be working excellently!  I guess this is the layout/menu I was looking for originally - though I have to hand it to e2b for knowing how to load the stuff even if I used the code from it on a quicker slimmer g4d menu  :)

 

Looking at minixp from the new hirens boot, there certainly is a lot of drives!

B is ramdrve with programfiles/temp, C is the local disk, D is the USB, E and F are identical winvblock drives I've not seen before, H is the ISO as a CD drive, and X is miniXP drive with docs&settings/i386

That's a lot  :)  Never seen winvblock drives before but I guess they're both used to get this all working as I reference it twice (as floppy drives?) in the code you posted above



#28 Leozack

Leozack

    Newbie

  • Members
  • 27 posts
  •  
    United Kingdom

Posted 29 August 2013 - 04:52 PM

I guess now I need to look into getting a recovery console goin (if I want it) but with 39M free doubt it'd fit on anyways.

I've compared the freedosbalder10.img I have with the 3 entries that builtin from rmprepusb to boot freedos as floppy, with hd as 1 and with hd as 2.  I can't see any difference other than floppy labelling the drive as A.  None of them will browse to any other drive or anything so not sure but I guess I could get rid of option 9/10/11 from my menu and probably some files too



#29 steve6375

steve6375

    Platinum Member

  • Developer
  • 7034 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 29 August 2013 - 10:13 PM

If you have extracted the Hirens ISO, why do you need to keep the ISO on the stick? Doesn't the option 3  Run \HBCD\menu.lst give you MiniXP booting?



#30 Leozack

Leozack

    Newbie

  • Members
  • 27 posts
  •  
    United Kingdom

Posted 29 August 2013 - 10:40 PM

I have 2 hirens - the old one is extracted and used for DOS programs.  The new one is the ISO and is used for miniXP.  I can't see a simple way to combine them since they have different contents, and the new miniXP is done totally differently (a WIM) but has SATA support making it actually useful unlike the old one that required switching BIOS HD settings to IDE not SATA then back again afterwards etc  :P

 

Though in theory I could replace both of them with what I actually mainly use which is a PE environment to work with the local disk, ghost, and I guess other tools you rarely use like portioning/scanning/fixing/testing


Edited by Leozack, 29 August 2013 - 10:42 PM.


#31 steve6375

steve6375

    Platinum Member

  • Developer
  • 7034 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 29 August 2013 - 10:42 PM

oh yes, sorry, I see that they are different versions from your menu :frusty:



#32 Leozack

Leozack

    Newbie

  • Members
  • 27 posts
  •  
    United Kingdom

Posted 30 August 2013 - 03:40 PM

So although things theoretically work now, I figured if I could get working ghost back into the newer hirens that doesn't have it I could do away with the old hirens completely.  I put the relevant ghost.7z and ghost32.7z in place but I don't see a way to get it to show up in the hirens dos programs menu.  I've delved around various menus and config.sys and dosimg.gz type files etc but not got it sorted  :|  It would save a load of space and a menu entry if I could.  I found on a 'custom menu' in dos menus some ghost entries but when ghost finally appears it gives "bad block" error and quits.

As for the ghost32 in minixp, that runs and gives the same bad block error and quits.  It seems to be the same error as here

http://reboot.pro/to...-multiboot-usb/

but all the image size/hex stuff there is beyond me.

For the record, this is an extracted hirens 15.2 now running off the usb - not the iso (because I hope to get rid of old hirens extracted so don't need new hirens to use iso)
Just extracted ghost32.exe to the minixp desktop and ran it and got this error in the ghosterr.txt for anyone who might understand it better?  I think it's complaining about the size of the USB I'm booted off?

*********************************
Date   : Fri Aug 30 16:57:23 2013
Error Number: (29003)
Message: Bad block(s) encountered on read: Win32 error: (0x0000001b)
The drive cannot find the sector requested.


, device:OCZ ATV 8.07, 1 sectors starting from absolute sector 31883264
Version: 11.5.1.2266 (Dec 24 2009, Build=2266)
OS Version: Microsoft Windows XP Professional  (Build 2600)
Command line arguments:
Active Switches :
       AutoName
PathName            : 
DumpFile            : 
DumpPos             : 0
FlagImplode         : 0
FlagExplode         : 0

Operation Details :
  Total size.........0
  MB copied..........0
  MB remaining.......0
  Percent complete...0%
  Speed..............0 MB/min
  Time elapsed.......0:00   
  Time remaining.....0:00   

Thread #1920 Call Stack
AbortLog
Generic_Abort
BlockDeviceExtent::handleIoRequest
BlockDeviceSingleExtent::handleIoRequest
BlockDeviceExtent::handleIoRequest
BlockDeviceSingleExtent::handleIoRequest
BlockDeviceExtent::handleIoRequest
BlockDeviceSingleExtent::handleIoRequest
FilesystemManager::getFilesystemInfo
NormalGetAllPartInfo
GetAllPartInfo
GetDriveData
GhostVolumeMappingManager::createDiskIdList
GhostVolumeMappingManager::createIdList
sub_main
main

Call Stack
Address            Frame              Logical Addr              Module
End Call Stack


Start heap available: 2916614144
Cur   heap available: 2909806592
Total Memory:         3218886656

Allocated
  33500 ..\ghost.cpp:1511
Free

Fat details:

NTFS details:
----------------

NTFS Global Flags:
----------------
	 contiguousWrite=1 forceDiskClusterMapping=0 
	 inhibitCHKDSK=1 ignoreBadLog=0 ignoreCHKDSKBit=0
	 enable_cache=0 xfrbuflen=0 
	 last_attr_type = 0 
	 loadExact = 0 
	 sameSize = 0 
----------------

Disk Info :
  remote.............0
  drive..............1
  sectorsUsedCount.......31883201
  estimatedUsedCount.....0
  numPartitions..............2
  Version............0
  Full structure dump....
   {
      PID_START_BYTE: 0
      PID_WIN_9X_ID_PRESERVE: false
      SVersion: 0
      SCylinders: 1984
      PID_WIN_9X_ID: 521543680
      SDiskFormat: 13
      PID_WIN_NT_ID: 727509000
      SMbr: 
         0x0000 33 c0 eb 5c 80 00 20 39 ff ff 00 00 00 00 00 00 
         0x0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0060 e8 00 00 5b 81 eb 63 00 c1 eb 04 8c c8 01 c3 8e 
         0x0070 db 53 6a 75 cb f6 06 02 00 04 74 0f 31 c0 8e c0 
         0x0080 bf fc 05 66 b8 44 55 43 45 66 ab 68 00 20 17 bc 
         0x0090 00 90 31 c9 51 ba 80 00 52 b4 08 f9 cd 13 5a 58 
         0x00a0 16 07 72 17 80 e1 3f f9 74 11 91 b4 02 89 c5 31 
         0x00b0 db 41 52 f9 cd 13 5a 72 02 f6 dc 0e 1f 9c 31 f6 
         0x00c0 31 ff b9 df 00 fc f3 a5 bb fc 1f 66 b8 47 52 55 
         0x00d0 aa 66 39 07 75 03 e8 ee 1a ea de 00 00 20 16 1f 
         0x00e0 66 39 07 74 31 66 60 a1 18 00 83 f8 3f 77 20 3c 
         0x00f0 10 72 1c 48 bf 03 00 b4 02 99 bb 00 02 b9 02 00 
         0x0100 60 cd 13 61 73 09 60 31 c0 cd 13 61 4f 75 e8 66 
         0x0110 61 66 39 07 75 56 9d 72 3e 0e 1f ad 88 e6 ad 89 
         0x0120 c1 24 3f 74 1f 29 e8 48 f6 d8 bf 03 00 b4 02 68 
         0x0130 00 0d 07 31 db 60 cd 13 61 73 0a 60 31 c0 cd 13 
         0x0140 61 4f 75 e9 f9 e8 30 11 0f 87 94 1a 83 c6 0c 81 
         0x0150 fe fe 01 72 c4 77 15 be b2 31 b4 08 99 52 cd 13 
         0x0160 58 72 09 99 91 24 3f 74 03 41 eb be be 8f 01 e8 
         0x0170 16 00 eb fe fa b8 00 20 8e d0 bc dc 8f fb 66 61 
         0x0180 07 1f eb c8 b4 0e cd 10 2e ac 3c 00 75 f6 c3 0d 
         0x0190 0a 4d 69 73 73 69 6e 67 20 4d 42 52 2d 68 65 6c 
         0x01a0 70 65 72 2e 00 00 00 00 00 00 00 00 00 00 00 00 
         0x01b0 00 00 00 00 00 00 00 00 08 e8 5c 2b 00 00 80 01 
         0x01c0 01 00 0c fe ff ff 3f 00 00 00 82 7f e6 01 00 fe 
         0x01d0 ff ff 21 fe ff ff c1 7f e6 01 3f 00 00 00 00 00 
         0x01e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 56 
         0x01f0 41 66 00 a1 57 b2 10 d7 57 00 d8 b3 12 00 55 aa 
         0x0200 
      SIsSpanned: false
      SOs2Name: 
         0x0000 00 00 00 00 00 00 00 00 00 00 
      SFingerprint: 0
      SHeadsPerCyl: ff
      SectorsPerTrack: 3f
      SRemote: false
      SEndOfImagePosition: 0
      PID_BYTE_COUNT: 3cd000000
      SFlags: 1
      SPatchedFileCount: 0
      SDrive: 1
      PID_BOOT_CODE: 
         0x0000 33 c0 eb 5c 80 00 20 39 ff ff 00 00 00 00 00 00 
         0x0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0060 e8 00 00 5b 81 eb 63 00 c1 eb 04 8c c8 01 c3 8e 
         0x0070 db 53 6a 75 cb f6 06 02 00 04 74 0f 31 c0 8e c0 
         0x0080 bf fc 05 66 b8 44 55 43 45 66 ab 68 00 20 17 bc 
         0x0090 00 90 31 c9 51 ba 80 00 52 b4 08 f9 cd 13 5a 58 
         0x00a0 16 07 72 17 80 e1 3f f9 74 11 91 b4 02 89 c5 31 
         0x00b0 db 41 52 f9 cd 13 5a 72 02 f6 dc 0e 1f 9c 31 f6 
         0x00c0 31 ff b9 df 00 fc f3 a5 bb fc 1f 66 b8 47 52 55 
         0x00d0 aa 66 39 07 75 03 e8 ee 1a ea de 00 00 20 16 1f 
         0x00e0 66 39 07 74 31 66 60 a1 18 00 83 f8 3f 77 20 3c 
         0x00f0 10 72 1c 48 bf 03 00 b4 02 99 bb 00 02 b9 02 00 
         0x0100 60 cd 13 61 73 09 60 31 c0 cd 13 61 4f 75 e8 66 
         0x0110 61 66 39 07 75 56 9d 72 3e 0e 1f ad 88 e6 ad 89 
         0x0120 c1 24 3f 74 1f 29 e8 48 f6 d8 bf 03 00 b4 02 68 
         0x0130 00 0d 07 31 db 60 cd 13 61 73 0a 60 31 c0 cd 13 
         0x0140 61 4f 75 e9 f9 e8 30 11 0f 87 94 1a 83 c6 0c 81 
         0x0150 fe fe 01 72 c4 77 15 be b2 31 b4 08 99 52 cd 13 
         0x0160 58 72 09 99 91 24 3f 74 03 41 eb be be 8f 01 e8 
         0x0170 16 00 eb fe fa b8 00 20 8e d0 bc dc 8f fb 66 61 
         0x0180 07 1f eb c8 b4 0e cd 10 2e ac 3c 00 75 f6 c3 0d 
         0x0190 0a 4d 69 73 73 69 6e 67 20 4d 42 52 2d 68 65 6c 
         0x01a0 70 65 72 2e 00 00 00 00 00 00 00 00 00 00 00 00 
         0x01b0 00 00 00 00 00 00 00 00 08 e8 5c 2b 00 00 
      PID_WIN_NT_ID_PRESERVE: false
      PID_DISK_NOTIFY_OS: true
      PID_PARTITION_NODE_FORMAT: d
      SEstimatedUsed: 0
      STotalSectors: 1e68000
      SPartitions: 
      [

         {
            PID_POSITION_ID: 2.1:
            SFlagInp: 0
            SFileOperationOffset: 0
            PID_VOLUME_NAME: MULTIBOOT
            PID_FIND_FIRST: false
            PID_FIND_BEST_FIT: false
            SSlot: 0
            PID_VOLUME_DRIVE_LETTER: D:
            SNumSects: 1e67f82
            PID_VOLUME_TYPE: 1
            PID_START_CHS_MAXED_OUT: false
            PID_FORMAT_TYPE: 3
            SOrder: 0
            SFpos: 0
            PID_VOLUME_SLOT_NUMBER: 0
            PID_END_CHS: 
            {
               PID_SECTOR: 3f
               PID_HEAD: fe
               PID_CYLINDER: 3ff
            }
            PID_VOLUME_START: 7c00
            SBootable: true
            PID_CLEANLY_SHUTDOWN: true
            SExtended: false
            SSystemId: c
            SSizeAdjustment: 0
            PID_IS_VOLUME_CONTAINER: false
            PID_SYSTEM_ID: c
            PID_START_CHS: 
            {
               PID_SECTOR: 1
               PID_HEAD: 1
               PID_CYLINDER: 0
            }
            PID_FORMAT: 7
            PID_ACTIVE: true
            PID_EXTENT: 
            {
               PID_EXTENT_CONTAINER_EXTENT_INDEX: 0
               PID_EXTENT_START: 7c00
               PID_EXTENT_SIZE_MINIMUM: 3ccff0400
               PID_EXTENT_SIZE_MAXIMUM: 3ccff0400
            }
            SFirstSect: 3f
            PID_READ_ONLY: false
            PID_FIND_LAST: false
            PID_NAME: 
            SFlags: 0
            PID_ROLE_FORMAT_MATCHING_TYPE: 0
            SEndFpos: 0
            PID_VOLUME_SIZE_MINIMUM: 3ccff0400
            PID_PARENT_BOOT_RECORD_SECTOR_OFFSET: 0
            PID_FIND_WORST_FIT: false
            SGflags: 0
            PID_NO_HARD_ERROR: true
            PID_VOLUME_SIZE_MAXIMUM: 3ccff0400
            PID_END_CHS_MAXED_OUT: true
            PID_HIDDEN: false
            PID_IS_VOLUME: true
            PID_VOLUME_NOTIFY_OS: true
            PID_PARENT_BOOT_RECORD_SLOT_NUMBER: 0
            SSectorsUsed: 0
            PID_ROLE: 2
         }

         {
            PID_POSITION_ID: 2.2:
            SFlagInp: 0
            SFileOperationOffset: 0
            PID_FIND_FIRST: false
            PID_FIND_BEST_FIT: false
            SSlot: 1
            SNumSects: 3f
            PID_VOLUME_TYPE: 1
            PID_START_CHS_MAXED_OUT: true
            SOrder: 1
            SFpos: 0
            PID_VOLUME_SLOT_NUMBER: 1
            PID_END_CHS: 
            {
               PID_SECTOR: 3f
               PID_HEAD: fe
               PID_CYLINDER: 3ff
            }
            PID_VOLUME_START: 3ccff8000
            SBootable: false
            SExtended: false
            SSystemId: 21
            SSizeAdjustment: 0
            PID_IS_VOLUME_CONTAINER: false
            PID_SYSTEM_ID: 21
            PID_START_CHS: 
            {
               PID_SECTOR: 3f
               PID_HEAD: fe
               PID_CYLINDER: 3ff
            }
            PID_FORMAT: 1
            PID_ACTIVE: false
            PID_EXTENT: 
            {
               PID_EXTENT_CONTAINER_EXTENT_INDEX: 0
               PID_EXTENT_START: 3ccff8000
               PID_EXTENT_SIZE_MINIMUM: 7e00
               PID_EXTENT_SIZE_MAXIMUM: 7e00
            }
            SFirstSect: 1e67fc1
            PID_READ_ONLY: false
            PID_FIND_LAST: false
            PID_NAME: 
            SFlags: 0
            PID_ROLE_FORMAT_MATCHING_TYPE: 0
            SEndFpos: 0
            PID_VOLUME_SIZE_MINIMUM: 7e00
            PID_PARENT_BOOT_RECORD_SECTOR_OFFSET: 0
            PID_FIND_WORST_FIT: false
            SGflags: 0
            PID_VOLUME_SIZE_MAXIMUM: 7e00
            PID_END_CHS_MAXED_OUT: true
            PID_HIDDEN: false
            PID_IS_VOLUME: true
            PID_VOLUME_NOTIFY_OS: true
            PID_PARENT_BOOT_RECORD_SLOT_NUMBER: 1
            SSectorsUsed: 0
            PID_ROLE: 2
         }
      ]
      PID_CONTAINER_ID: 2:
      SSectorsUsed: 1e67fc1
   }


 # Ord Boot Id Ext     First        Num       Last       Used NTFS
 0  0    1   c No         63   31883138   31883201          0 No
 1  1    0  21 No   31883201         63   31883264          0 No

Disk Info :
  remote.............0
  drive..............0
  sectorsUsedCount.......0
  estimatedUsedCount.....0
  numPartitions..............0
  Version............0
  Full structure dump....
   {
      SVersion: 0
      SCylinders: 0
      SDiskFormat: 1
      SMbr: 
         0x0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x00a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x00b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x00c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x00d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x00e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x00f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x01a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x01b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x01c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x01d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x01e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x01f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
         0x0200 
      SIsSpanned: false
      SOs2Name: 
         0x0000 00 00 00 00 00 00 00 00 00 00 
      SFingerprint: 0
      SHeadsPerCyl: 0
      SectorsPerTrack: 0
      SRemote: false
      SEndOfImagePosition: 0
      SFlags: 0
      SPatchedFileCount: 0
      SDrive: 0
      SEstimatedUsed: 0
      STotalSectors: 0
      SPartitions: 
      [
      ]
      SSectorsUsed: 0
   }


 # Ord Boot Id Ext     First        Num       Last       Used NTFS

Fixed Drives

Drive 0 TOSHIBA MK3275GS GT00

Total Sectors            625142448
Bytes per Sector         512
MB                       305245
Cylinders                38913
Heads                    255
Sectors per Track        63

Drive 0 TOSHIBA MK3275GS GT00
ASPI
Total Sectors            625142448
Bytes per Sector         512
MB                       305245
Successful IO Count      0

WinNT (Active)
Total Sectors            625142448
Bytes per Sector         512
MB                       305245
Cylinders                38913
Heads                    255
Sectors per Track        63
Successful IO Count      6

Drive 1 OCZ ATV 8.07

Total Sectors            31883264
Bytes per Sector         512
MB                       15568
Cylinders                1984
Heads                    255
Sectors per Track        63

Drive 1 OCZ ATV 8.07
ASPI
Total Sectors            31883264
Bytes per Sector         512
MB                       15568
Successful IO Count      0
Error Count (bad media)  0
Error Count (other)      2
Last Error
Target - Check Condition
Error relates to current command
Illegal Request
Additional sense code 0x21
Additional sense code qualifier 0x00
sense Data dump
f0000500 0000000a 00000000 21000000 00000000 00000000 00000000 00000000

Command Descriptor Block dump
280001e6 80000000 0100


WinNT (Active)
Total Sectors            31883264
Bytes per Sector         512
MB                       15568
Cylinders                1984
Heads                    255
Sectors per Track        63
Successful IO Count      15
Error Count (bad media)  0
Error Count (other)      4
Last Error
Win32 error: (0x0000001b)
The drive cannot find the sector requested.




AsyncIo : 0

Image Devices

Key[1]   1.1:
Key[2]   1:1
Key[3]   C:
Path     C:
Desc     C: 1.1: []
Type     NTFS
Disk     0
Offset   2048

Key[1]   B:
Path     B:
Desc     B: [RamDrive]
Type     Disk

Key[1]   D:
Path     D:
Desc     D:
Type     Floppy

Key[1]   E:
Path     E:
Desc     E:
Type     CD

Key[1]   X:
Path     X:
Desc     X: [Mini Xp]
Type     Disk

Key[1]   @CD-R1
Path     @CD-R1
Desc     @CD-R1 HL-DT-STDVDRAM GT20L    
Type     DVD


Volume attributes
=================
1.1:
Attribute dump
BiosId:129
DiskSignature9x:1978164454
DiskSignatureNt:3031786094
DiskModelNumber:TOSHIBA MK3275GS GT00
VolumeSectorOffset:2048

LargeMemoryAllocationFactory diagnostic...
==========================================

Heap available at construction: 2916741120
Current heap available:         2909495296
Total Memory:                   3218886656

Allocated

DiskManager diagnostic...
=========================

Fixed Drives

Drive 0 TOSHIBA MK3275GS GT00

Total Sectors            625142448
Bytes per Sector         512
MB                       305245
Cylinders                38913
Heads                    255
Sectors per Track        63

Drive 0 TOSHIBA MK3275GS GT00
ASPI
Total Sectors            625142448
Bytes per Sector         512
MB                       305245
Successful IO Count      0

WinNT (Active)
Total Sectors            625142448
Bytes per Sector         512
MB                       305245
Cylinders                38913
Heads                    255
Sectors per Track        63
Successful IO Count      6

Drive 1 OCZ ATV 8.07

Total Sectors            31883264
Bytes per Sector         512
MB                       15568
Cylinders                1984
Heads                    255
Sectors per Track        63

Drive 1 OCZ ATV 8.07
ASPI
Total Sectors            31883264
Bytes per Sector         512
MB                       15568
Successful IO Count      0
Error Count (bad media)  0
Error Count (other)      2
Last Error
Target - Check Condition
Error relates to current command
Illegal Request
Additional sense code 0x21
Additional sense code qualifier 0x00
sense Data dump
f0000500 0000000a 00000000 21000000 00000000 00000000 00000000 00000000

Command Descriptor Block dump
280001e6 80000000 0100


WinNT (Active)
Total Sectors            31883264
Bytes per Sector         512
MB                       15568
Cylinders                1984
Heads                    255
Sectors per Track        63
Successful IO Count      15
Error Count (bad media)  0
Error Count (other)      4
Last Error
Win32 error: (0x0000001b)
The drive cannot find the sector requested.




FilesystemMounter diagnostic...
===============================


FilesystemManager diagnostic...
===============================

Volume 1
VolumePos: 2.1:
DriveLetter: D:
Description:   15.20GB Primary Disk 1 Offset   31.50KB   15.20GB OCZ ATV 8.07
Type:        fsfFat32
Name:        MULTIBOOT

Volume 2
VolumePos: 1.1:
DriveLetter: C:
Description:  298.09GB Primary Disk 0 Offset       1MB  298.09GB TOSHIBA MK3275GS GT00
Type:        fsfNtfsWindowsXP
Name:        


LfoFilesystemManager diagnostic...
==================================

Filesystem Index: 0
Filesystem Descriptor:
  ID's:
    ID Type: 2
    ID: B:
  DriveType: 4
  No FilesystemInfo structure.
  Filesystem has no VolumePtr

Filesystem Index: 1
Filesystem Descriptor:
  ID's:
    ID Type: 2
    ID: C:
    ID Type: 1
    ID: 1.1:
  DriveType: 4
  FilesystemInfo:
    formatType: 8
    volumeName: 

Filesystem Index: 2
Filesystem Descriptor:
  ID's:
    ID Type: 2
    ID: D:
    ID Type: 1
    ID: 2.1:
    ID Type: 4
    ID: MULTIBOOT:
  DriveType: 2
  FilesystemInfo:
    formatType: 3
    volumeName: MULTIBOOT

Filesystem Index: 3
Filesystem Descriptor:
  ID's:
    ID Type: 2
    ID: E:
  DriveType: 8
  No FilesystemInfo structure.
  Filesystem has no VolumePtr

Filesystem Index: 4
Filesystem Descriptor:
  ID's:
    ID Type: 2
    ID: X:
  DriveType: 4
  No FilesystemInfo structure.
  Filesystem has no VolumePtr

Filesystem Index: 5
Filesystem Descriptor:
  ID's:
    ID Type: 1
    ID: 2.2:
  DriveType: 4
  No FilesystemInfo structure.


Environment Variables
=====================

ALLUSERSPROFILE=X:\Documents and Settings\All Users
AppData=X:\Documents and Settings\Default User\Application Data
CommonProgramFiles=B:\Program Files\Common Files
COMPUTERNAME=MiniXP
ComSpec=X:\i386\system32\cmd.exe
devmgr_show_details=1
devmgr_show_nonpresent_devices=1
FP_NO_HOST_CHECK=NO
HBCD=D:
HomeDrive=X:
HomePath=\Documents and Settings\Default User
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=X:\i386\system32;X:\i386;X:\i386\system32\WBEM
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 17 Model 3 Stepping 1, AuthenticAMD
PROCESSOR_LEVEL=17
PROCESSOR_REVISION=0301
ProgramFiles=B:\Program Files
ramdrv=B:\Temp
SystemDrive=X:
SystemRoot=X:\i386
Temp=B:\Temp
Tmp=B:\Temp
USERDOMAIN=NT AUTHORITY
USERNAME=SYSTEM
UserProfile=X:\Documents and Settings\Default User
windir=X:\i386


*********************************


Edited by Leozack, 30 August 2013 - 04:01 PM.


#33 steve6375

steve6375

    Platinum Member

  • Developer
  • 7034 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 30 August 2013 - 04:28 PM

from this line:

device:OCZ ATV 8.07, 1 sectors starting from absolute sector 31883264

It appears that ghost is trying to read the last sector of your USB drive. It thinks the last sector is 31883264.

 

If you run RMPrepUSB and do a DiskInfo it will tell you the size of the device.

Also, you can hit Ctrl-D to invoke DiskDoctor. The correct USB drive number will automatically be selected.

Note the you should see  Start (=0) and No. Sectors (should be about 31883265).

 

Change the Start value to 31883263 and change the No Sectors to 1 - then click on the Sequential Read button - you should not get an error.

Then change No. Sectors to 2 - should also be OK

Then change No. Sectors to 3 - may fail

 

Be careful when using DiskDoctor - drive 0 will be your internal hard disk and of you select Drive 0 and click one of the red buttons it will write junk all over your system disk! (you will be warned first though).



#34 Leozack

Leozack

    Newbie

  • Members
  • 27 posts
  •  
    United Kingdom

Posted 30 August 2013 - 04:39 PM

Ok I'll take a look.  Out of interest what am I doing - tinkering the USB drive's partition table or something even though everything works fine except the ghost error?
I'm also currently trying to get the recovery console bootable using the xprc.iso I just made.  So mange pages talking about different complicated ways to do it, I just want to add it to my g4d menu not a separate cd/usb etc  :P  This is a fun way to spend the last days of my holiday haha



#35 steve6375

steve6375

    Platinum Member

  • Developer
  • 7034 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 30 August 2013 - 04:51 PM

Booting an XP Recovery Console is tricky because it expects you to be booting from a CD and not a USB drive - so it expects hd0 to be the 'target' XP drive.

You need to swap over hd0 and hd1 in grub4dos so boot it in the same way as you do an XP install ISO. Loading the iso into memory (using map --mem (0xff) /xp.iso) may also be advisable.

P.S. You may find this useful.



#36 Leozack

Leozack

    Newbie

  • Members
  • 27 posts
  •  
    United Kingdom

Posted 30 August 2013 - 04:54 PM

Thanks I'll try that.  I just ran rmprep and looked at diskinfo and the only similar number is right at the bottom

Disk Signature bytes (1B8h-1BBh) = 08 E8 5C 2B

Partition 1   SIZE=15567.938MiB   Type: 0C FAT32LBA (2047GB max)  *ACTIVE*
START POS   = CYL:0 HD:1 SEC:1       END POS = CYL:1023 HD:254 SEC:63
START (LBA) = 63 (0000003F) SIZE (LBA) = 31,883,138 (01E67F82)

Partition 2   SIZE=0.031MiB   Type: 21 Hidden(rsvd)       
START POS   = CYL:1023 HD:254 SEC:63       END POS = CYL:1023 HD:254 SEC:63
START (LBA) = 31,883,201 (01E67FC1) SIZE (LBA) = 63 (0000003F)

Partition 3   SIZE=0MiB   Type: 00        
START POS   = CYL:0 HD:0 SEC:0       END POS = CYL:0 HD:0 SEC:0
START (LBA) = 0 (00000000) SIZE (LBA) = 0 (00000000)

Partition 4   SIZE=598.48MiB   Type: 00        
START POS   = CYL:358 HD:86 SEC:1       END POS = CYL:434 HD:161 SEC:23
START (LBA) = 5,756,688 (0057D710) SIZE (LBA) = 1,225,688 (0012B3D8)

P1   Start=63 (32,256 bytes) End=31,883,200 (16,324,198,400 bytes)
P2   Start=31,883,201 (16,324,198,912 bytes) End=31,883,263 (16,324,230,656 bytes)

I tried diskdoctor and it has the start as 0 and the end as 31883264

Do I need to change those?  What am I doing when they change?  :S



#37 steve6375

steve6375

    Platinum Member

  • Developer
  • 7034 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 30 August 2013 - 04:56 PM

If you follow my instructions you are merely reading a few sectors of your USB drive, no changes will be made. It is just to see if the last few sectors are actually accessible.



#38 Leozack

Leozack

    Newbie

  • Members
  • 27 posts
  •  
    United Kingdom

Posted 30 August 2013 - 05:21 PM

Yeah I was just checking I wasn't changing anything  :P

Having done that I changed the start from 0 to 31883262 and sectors from 31883264 to 1.  Ok.  2.  Ok.  3 - error as you predicted :

 

Reading 3 sectors starting at LBA 31883262 on drive 1
Error Reading Sector 31883262 for 3 sectors.



#39 Leozack

Leozack

    Newbie

  • Members
  • 27 posts
  •  
    United Kingdom

Posted 30 August 2013 - 05:24 PM

Also I've tried to boot the XPRconsole.iso from my g4d menu and it just loops back instantly to the menu  :(  I see above you said "boot it like an XP install ISO" so looking around for that I found was_jaclaz saying you can't do that?

http://reboot.pro/to...o-on-usb-stick/

My current attempt is probably totally wrong?

errorcheck off
map --mem /images/xprconsole.iso (hd32)
checkrange 0x80 read 0x8280 && map (hd0) (hd1)
checkrange 0x80 read 0x8280 && map (hd1) (hd0)
map --hook
chainloader (hd32)+1
rootnoverify (hd32)



#40 steve6375

steve6375

    Platinum Member

  • Developer
  • 7034 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 30 August 2013 - 05:24 PM

I said to use 31883263 ???



#41 Leozack

Leozack

    Newbie

  • Members
  • 27 posts
  •  
    United Kingdom

Posted 30 August 2013 - 05:27 PM

Yes but that was after you assumed the original end was 65 whereas mine was 64, so I put is down to 62 instead of 63, and thus 3 sectors was the error point, same as you predicted



#42 steve6375

steve6375

    Platinum Member

  • Developer
  • 7034 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 30 August 2013 - 05:27 PM

Also I've tried to boot the XPRconsole.iso from my g4d menu and it just loops back instantly to the menu  :(  I see above you said "boot it like an XP install ISO" so looking around for that I found was_jaclaz saying you can't do that?

http://reboot.pro/to...o-on-usb-stick/

My current attempt is probably totally wrong?

errorcheck off
map --mem /images/xprconsole.iso (hd32)
checkrange 0x80 read 0x8280 && map (hd0) (hd1)
checkrange 0x80 read 0x8280 && map (hd1) (hd0)
map --hook
chainloader (hd32)+1
rootnoverify (hd32)

 

Is the ISO that you made bootable?

try the last two lines as:

root (hd32) || rootnoverify (hd32)
chainloader /ntldr || chainloader (hd32)

Also, I would use (0xff) rather than (hd32).



#43 steve6375

steve6375

    Platinum Member

  • Developer
  • 7034 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 30 August 2013 - 05:31 PM

Yeah I was just checking I wasn't changing anything  :P

Having done that I changed the start from 0 to 31883262 and sectors from 31883264 to 1.  Ok.  2.  Ok.  3 - error as you predicted :

 

Reading 3 sectors starting at LBA 31883262 on drive 1
Error Reading Sector 31883262 for 3 sectors.

So it would seem that 31883264 IS unreadable. Not sure why ghost is trying to access a sector beyond the size of the drive???

Not sure why this would cause ghost to bomb out though as I would have thought it would just give an error message but allow you to backup/restore still....?

Can you try another USB drive?



#44 Leozack

Leozack

    Newbie

  • Members
  • 27 posts
  •  
    United Kingdom

Posted 30 August 2013 - 05:35 PM

I used the CD making tool from here
http://vlaurie.com/c...2/downloads.htm

using your last to lines change and 0xff instead of hd32, it now boots the RC but then gives a BSOD 7b which I'm used to seeing when not in the right IDE/AHCI/SATA mode.  Not sure what I can do about it for this booting though?

 

For the ghost thing I can try another USB drive as I was working on 2 here but the other is the smaller one and everything is working fine except this idea of "move ghost onto hirens 15.2 as extracte and do away with hirens 10.5 as extracted and hirens 15.2 iso".

But I can try taking some stuff off and testing the ghost32 in minixp and see if I can similar block read errors.  Something in my head is telling me I already tried that and I did.  Guess I'll find out now.



#45 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 14950 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 30 August 2013 - 06:13 PM

I used the CD making tool from here
http://vlaurie.com/c...2/downloads.htm

using your last to lines change and 0xff instead of hd32, it now boots the RC but then gives a BSOD 7b which I'm used to seeing when not in the right IDE/AHCI/SATA mode.  Not sure what I can do about it for this booting though?

 

Well, you may want to see how to use NOT a .iso but rather a .img or use a "flat" directory (which both would allow for the "no more Catch22" trick).

There are several ways to make that.

Besides the "main" thread here:

http://reboot.pro/to...from-usb-stick/

You can use this quick batch:

http://reboot.pro/to...xp2003-builder/

Anyway the 0x0000007b might mean that your build anyway misses a needed driver (meaning that once you manage to boot it properly, you will still NOT see from the RC the install on internal disk - actually the whole internal disk).

 

:cheers:

Wonko



#46 Leozack

Leozack

    Newbie

  • Members
  • 27 posts
  •  
    United Kingdom

Posted 30 August 2013 - 06:35 PM

Ok I tried the batch you linked ot make the cmdcons folder and 2 files and moved them to root of the USB.  I then booted to it using code you posted here

http://reboot.pro/to...ge-3#entry70268

which was

 

find --set-root /cmdcons/setupldr.bin
chainloader /cmdcons/setupldr.bin
write 0x7C03 0x63646D63
write 0x7C07 0x00736E6F

 

But now I get a file not found 15 error  :/  Sure enough I have no setupldr file in there?  Reading so many threads/topics that say different things I've got a bit lost on this issue!

 

It also sounds like you're saying even if I get non ISO way working it will still 7b unless I find some way to sort the SATA driver or whatever it's missing?  :(  So isn't this pointless then?


Edited by Leozack, 30 August 2013 - 06:37 PM.


#47 steve6375

steve6375

    Platinum Member

  • Developer
  • 7034 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 30 August 2013 - 07:10 PM

when booting the ISO did you also load winvblock.img.gz as a floppy? It may avoid the bluescreen?



#48 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 14950 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 30 August 2013 - 07:12 PM

The referenced post is by Online, not by me.

 

And you are "mixing methods". :w00t:

 

You should however always experiment on command line (and not use directly a menu.lst entry) as this provides for feedback.

 

The essence of my previous post was:

  1. JFYI, there is an existing thread where each and every way + 1 to boot a Recovery Console from USB stick has been analyzed/tested
  2. This said, FORGET about it and just follow to the letter the post referenced, more exactly the one in this thread: http://www.911cd.net...showtopic=24880 , this one: http://www.911cd.net...ndpost&p=171330 using either firadisk or if you have issues, winvblock

Or, if you want to follow Online's approach to a flat install, follow it (and NO batch is involved in it).

 

Once you get a working RC, if it can see your internal disk(s) no additional driver is needed, if it doesn't, then a suitable (I presume SATA) driver is needed.

 

:cheers:

Wonko



#49 Leozack

Leozack

    Newbie

  • Members
  • 27 posts
  •  
    United Kingdom

Posted 31 August 2013 - 12:05 AM

I also saw in one of the threads a warning that commands like fixmbr would nuke your USB unless you passed it a HDD path.  I think it said it would do that for flat directorys and ramdisks but not if you use the ISO?  Or maybe I'm confusing things.  But that would certainly be a good reason to use the ISO method!
So right now I have the ISO and the flatfile and will need to reread through those threads until I can get one working - preferably one that won't nuke my USB with disk commands!

I also have the ghost32 which I just tried on my other usb just booting hirens 15.2 iso to minixp and running it directly and it doesn't error or give problems.  So the badblock thing is only on the other USB.  Hmmm  :/  Definitely need sleep ...



#50 Leozack

Leozack

    Newbie

  • Members
  • 27 posts
  •  
    United Kingdom

Posted 01 September 2013 - 02:45 PM

I'm not sure what I should do next to finish this project.  The ghost error doesn't happen on the other USB (which is good because that's the one I want to keep using) but I still don't know how to add it to the DOS menu without the slightly confusing amount of entries in a 'custom menu' that's already there - and I'm not sure how I found fix that sector error that the other one has if it came up on the one I want to use?

 

For the recovery disk, I guess I need to choose a method and finetune instructions to make it work - though I had already tried my best at ISO and then flatfile versions but guess I need to go back to the drawing board and follow 1 particular thread/guide.  I guess sometimes I find the threads hard to follow with all the different people throwing stuff in, rather than the results of a thread being turned into 1 guide/tutorial.


Edited by Leozack, 01 September 2013 - 02:46 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users