Jump to content











Photo
- - - - -

Firadisk CMD Question


  • Please log in to reply
54 replies to this topic

#51 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 02 February 2012 - 11:35 PM

This is true. Since the map is out of sight, then its out of mind. Forgot that the the driver was fd based. Even a map to fd1 wouldn't solve this issue.


I get a file not found error with this


chainloader +1


I have always used

chainloader (222)/I386/SETUPLDR.BIN

I am going to add a pause between each command and see whats causing the file not found error. I am sure its on my end. I use different paths but for testing, I need to use default ones from your above menu.lst

chainloader +1 will only work if the iso is bootable - maybe you did not create a bootable iso?

#52 laddanator

laddanator

    Frequent Member

  • Advanced user
  • 337 posts
  • Location:Virginia
  • Interests:Writing code and getting stuff to work when no one else can! Wrote a Windows Vista, 7, and 8 legal activation tool in VBscript and compiled it to exe. First project of this undertaking. Working on an AIO legal activation tool that includes XP.
  •  
    United States

Posted 03 February 2012 - 12:26 AM

chainloader +1 will only work if the iso is bootable - maybe you did not create a bootable iso?


Very possible! I changed the way I make the ISO. I was using UltraISO but was having issues so I am using oscdimg which solved the issue (offtopic)

The ISO has to continuous if not mapped to ram but I always check with

http://wincontig.mdtzone.it/en/

#53 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 12 February 2012 - 02:50 PM

Slightly tidier swapping of hd0

# set real internal HDD to be hd0 and USB to swap with it...

set /a HDCNT=*0x475 & 0xff - 1

set topmap=(hd%HDCNT%)

clear

if %HDCNT%>=1 map (hd0) %topmap% && map (hd1) (hd0) && echo Mapping (hd0) to %topmap% and (hd1) to (hd0)

if %HDCNT%>=2 map (hd2) (hd1) && if %HDCNT%>=3 map (hd3) (hd2) && if %HDCNT%>=4 map (hd4) (hd3)  && if %HDCNT%>=5 map (hd5) (hd4)



#54 laddanator

laddanator

    Frequent Member

  • Advanced user
  • 337 posts
  • Location:Virginia
  • Interests:Writing code and getting stuff to work when no one else can! Wrote a Windows Vista, 7, and 8 legal activation tool in VBscript and compiled it to exe. First project of this undertaking. Working on an AIO legal activation tool that includes XP.
  •  
    United States

Posted 12 February 2012 - 05:51 PM

I would only add one thing

# set real internal HDD to be hd0 and USB to swap with it...

checkrange 6:999 calc *0x475 & 0xFF && echo && pause --wait=10 Found more than 5 hard disks or mass storage devices attached! && configfile /menu.lst

set /a HDCNT=*0x475 & 0xff - 1

set topmap=(hd%HDCNT%)

clear

if %HDCNT%>=1 map (hd0) %topmap% && map (hd1) (hd0) && echo Mapping (hd0) to %topmap% and (hd1) to (hd0)

if %HDCNT%>=2 map (hd2) (hd1) && if %HDCNT%>=3 map (hd3) (hd2) && if %HDCNT%>=4 map (hd4) (hd3)  && if %HDCNT%>=5 map (hd5) (hd4)


#55 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 12 February 2012 - 06:16 PM

instead of
checkrange 6:999 calc *0x475 & 0xFF && echo && pause --wait=10 Found more than 5 hard disks or mass storage devices attached! && configfile /menu.lst
try using exit instead of configfile
checkrange 6:999 calc *0x475 & 0xFF && echo && pause --wait=10 Found more than 5 hard disks or mass storage devices attached! && exit





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users