Shoutbox

[Solved]Install Hiren's BootCD to boot from it using a USB Flash Disk - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: [Solved]Install Hiren's BootCD to boot from it using a USB Flash Disk (/showthread.php?tid=65024)

[Solved]Install Hiren's BootCD to boot from it using a USB Flash Disk by Mike on 08-16-2006 at 08:21 PM

Hello.

I want to make a USB Flash Disk bootable.
I tried copying FreeDOS' floppy image to my flash disk, but it didn't seem to work.
I also tried copying the created files from a windows formatted floppy with the "Create MS-DOS boot floppy" option enabled, but that also didn't work.

Do I need to format my flash disk with "a special way" to make it bootable?

Or maybe, do I need to do something like that?


Also, I dont know whether the USB device is first in the boot order, and I cant check that since the BIOS is password protected.
But I think it is because when I leave it on the USB slot and then restart my computer, my flash disk's activity light will light on for a sec twice: Once before the computer starts detecting IDE drives and once after "Verifing DMI Pool Data" is done... (I know that some MBs don't show that, but this MB does :P)

So, how can I make my flash disk bootable?


Thanks.


UPDATE: I have managed to make my flash disk bootable.
Now I have problems installing Hiren's BootCD as you can see here.

Help would be appriciated :)


RE: Making a USB Flash Disk bootable by Nathan on 08-16-2006 at 08:28 PM

Well, To get into your bios pop out that little battery in your pc  for 10mins(The one near the bottom usually) as long as you have no settings you dont mind getting rid of. Then try again and it should be unprotected.

All this does it reset your CMOS settings ;)


RE: Making a USB Flash Disk bootable by Ezra on 08-16-2006 at 08:34 PM

quote:
Originally posted by Nathan
All this does it reset your CHMOD settings

lol, no it just clears the BIOS Settings, from your CMOS chip :P, and with that indeed the password.

CMOS
CHMOD
BIOS

EDIT: Also not al BIOS's have the option to boot from USB

RE: Making a USB Flash Disk bootable by Eljay on 08-16-2006 at 08:34 PM

quote:
Originally posted by Nathan
All this does it reset your CHMOD settings

*CMOS :sad:
RE: Making a USB Flash Disk bootable by Nathan on 08-16-2006 at 08:44 PM

Well I have a pc here that is 6 years old and it can boot off usb.
It all depends if you BIOS is up too date ;)


RE: Making a USB Flash Disk bootable by Mike on 08-17-2006 at 07:54 AM

Thanks...

Reseting the CMOS settings is not what I'm currently looking at... :P
I would do it if I could get my usb flash disk to boot using a program that kills the cmos settings.
I can also boot from a floppy to use killcmos however all the floppys that I have here have been corrupted and now they can't be used... :(

Anyway, I tried this with a little diffrent way.
Instead of using a real floppy, I used a vitual floppy drive because as you read above, I don't have any floppys here anymore....
Also, I dindn't format my flash disk before appling the changes to the MBR of my flash disk...

Dont know if these two things can affect this...
Ofcourse, it could work like this, but the usb device might not be the first boot device...


RE: Making a USB Flash Disk bootable by ShawnZ on 08-17-2006 at 08:44 AM

you can kill the cmos settings from windows if no zany security tools are installed.

open Command Prompt (CMD) and type this:

debug <ENTER>
A <ENTER>
MOV AX,0 <ENTER>
MOV AX,CX <ENTER>
OUT 70,AL <ENTER>
MOV AX,0 <ENTER>
OUT 71,AL <ENTER>
INC CX <ENTER>
CMP CX,100 <ENTER>
JB 103 <ENTER>
INT 20 <ENTER>
<ENTER> (Note: Nothing is typed on this line)
G <ENTER> (By pressing G this will execute the above script)
Q <ENTER>


RE: Making a USB Flash Disk bootable by Mike on 08-17-2006 at 09:25 AM

Thanks ShawnZ.
I tried that, but it didn't seem to work.

Only DF seems to be installed, but I have already disabled that...
Haven't found any other security related programs...

Windows XP Professional SP2


RE: Making a USB Flash Disk bootable by RaceProUK on 08-17-2006 at 10:56 AM

quote:
Originally posted by Mike
I cant check that since the BIOS is password protected
Who passworded it? You could ask them for the password.
quote:
Originally posted by ShawnZ
debug <ENTER>
A <ENTER>
MOV AX,0 <ENTER>
MOV AX,CX <ENTER>
OUT 70,AL <ENTER>
MOV AX,0 <ENTER>
OUT 71,AL <ENTER>
INC CX <ENTER>
CMP CX,100 <ENTER>
JB 103 <ENTER>
INT 20 <ENTER>
<ENTER> (Note: Nothing is typed on this line)
G <ENTER> (By pressing G this will execute the above script)
Q <ENTER>
Command line assembly :O

PS: Nice to see -dt-'s WYSIWYG script adding </ENTER>s :/
RE: Making a USB Flash Disk bootable by Nathan on 08-18-2006 at 01:50 AM

http://www.softpedia.com/get/System/System-Miscel...ous/KILLCMOS.shtml
there that should do the trick ;)


RE: Making a USB Flash Disk bootable by Voldemort on 08-18-2006 at 03:44 AM

he doesnt have a floppy disk :P read it!^^^


RE: Making a USB Flash Disk bootable by surfichris on 08-18-2006 at 04:52 AM

quote:
Originally posted by Voldemort
he doesnt have a floppy disk :P read it!^^^

http://chitchat.at.infoseek.co.jp/vmware/vfd.html

Create the virtual drive, throw the killcmos program on it and make it bootable.

Then, using Nero (or another decent burning program), create a bootable CD using the virtual floppy drive (most let you select a disk drive to base the CD off).

Of course, resetting the bios via the jumpers is the quickest solution.
RE: Making a USB Flash Disk bootable by stephen_wq on 08-18-2006 at 07:12 AM

Well ive been on passworded BIOS', but you could hit F11 during post on most machines to open the boot select menu...


RE: Making a USB Flash Disk bootable by Mike on 08-18-2006 at 08:32 AM

I forgot to say that the computers also don't have a CD drive...
Damn, if I had a floppy, it would have been much easier...

Isn't it possible to execute killcmos.com before Windows launches with autoexec.bat or something?
Or was this removed in windows xp...?


By the way, I also tried following the instructions I posted on the first post, but that didnt work... :(


EDIT: I found a liitle program called CmosPwd which decodes the password for many motherboard manufacturers and it also works inside Windows :D
So, now I have the password, I tested it and it works, however, I still haven't checked the boot order...
But atleast I know the password now...

EDIT2: I went to the BIOS again to see if there was the option to boot from "USB-ZIP" (which seems to be a usb flash disk) and there is :D
I haven't tested however to boot from my flash drive because I currently dont have it with me, but I will try soon :D


RE: Making a USB Flash Disk bootable by Mike on 08-18-2006 at 04:39 PM

Sorry for the double post...

I have made it ! ... kinda...

I tried to make it boot with Hiren's boot CD 7.8 (I know, it's an old version) and, well it worked, kinda...
I followed the instructions as described here, it booted fine, but when I try to launch a utility, the process is a bit diffrent than what happens with the cd:
It seems that it creates a 102400 kb RAM drive instead of 50MB it does when used with the cd.
After the ramdrive is created, it says that "File command.com was not found" even though command.com is in my flash disk.
Anyway after that it starts copying all the .uha files.
After it is done with that, nothing else happens...

It would be nice to have a flash disk that boots Hiren's BootCD...

So any help here?
I tried editing some files to see if I could get it to work, but I didn't make it...


RE: Making a USB Flash Disk bootable by Ezra on 08-18-2006 at 06:02 PM

Why are you trying all these programs to reset you cmos if you can just short the jumpers or pull the battery?


RE: Making a USB Flash Disk bootable by Mike on 08-18-2006 at 06:15 PM

quote:
Originally posted by Ezra
Why are you trying all these programs to reset you cmos if you can just short the jumpers or pull the battery?
I already got the CMOS password as you can see in my edit: :)

quote:
Originally posted by Mike
EDIT: I found a liitle program called CmosPwd which decodes the password for many motherboard manufacturers and it also works inside Windows (Smilie)
So, now I have the password, I tested it and it works, however, I still haven't checked the boot order...
But atleast I know the password now...

Now my problem is to get Hiren's BootCD to work there...
Maybe I should update my first post...
RE: Install Hiren's BootCD to boot from it using a USB Flash Disk by Voldemort on 08-19-2006 at 02:07 AM

get the new version? what are u using it for btw?


RE: Install Hiren's BootCD to boot from it using a USB Flash Disk by Mike on 08-19-2006 at 08:52 AM

quote:
Originally posted by Voldemort
get the new version?
Nah, dont think that this would help...
quote:
Originally posted by Voldemort
what are u using it for btw?
Well, for learning purposes etc...


I think i did it :D
My flash disk is kinda faulty, and by faulty I mean that files sometimes get corrupted by themself.
I re-copied the files from the BootCD and then it didn't freeze on the file copy proccess.
Also, when I removed the hidden and system artibute from command.com, the file was then copy able :)
So, now I think it works fine...
The only thing that annoys me is that it needs to copy all the uha files to the ramdrive which takes some time, but, it's better than nothing...