Content Type
Profiles
Forums
Events
Everything posted by jaclaz
-
[SOLVED] USBstick take letter D and not U
jaclaz replied to pipster's topic in Install Windows from USB
Yep, right now the migrate.inf you produced with mkmigrateinf2.cmd is that of your Hard disk (normally C:\). I'll check the output files of MakeMigrateInf.exe, anyway. The only other (similar but not exactly the same) problem related with not working migrate.inf I can remember is on this thread: http://www.911cd.net/forums//index.php?showtopic=21682 Though I don't think you are in ANY of the situations that caused the problem, have a look at it, and see if you can spot any similarities with your setup/harware/whatever. jaclaz -
These should be of help : http://www.laptoprepair101.com/laptop/2007...l-off-keyboard/ http://www.machinaelectronics.com/store/li...?f=key_type_k19 http://www.iraqigeek.com/2006/07/19/repair...aptop-keyboard/ jaclaz
-
CHKDSK with SP2 will be fine. NTFS didn't change. Though it is possible that just fixing the filesystem won't be enough. jaclaz
-
Maybe this helps: http://www.ss64.com/nt/dir.html http://www.ss64.com/nt/attrib.html jaclaz
-
HP Notebook: The recovery partition could not be found
jaclaz replied to ahmad2080's topic in Software Hangout
Though I am now out of the game, I guess that the preliminary work and maybe some of the conclusions I got to might be of use to someone willing to take part in it. This post will be extremely long, and in some parts will be more similar to a RANT than to a valid technical post, please try forgiving my verbosity and my critical attitude. Let me state beforehand a few facts and personal opinions: I find HP has been for yesrs the best firm in the world for pocket calculators (in my life I bought several tens of them) I find HP has been for years the best firm in world for Laser printers (as well in my life I bought several tens of them) I find HP has been for years the best firm in the world for plotters (as well in my life I bought several tens of them) I find Compaq has been for years the best firm in the world for plotters (as well in my life I bought several tens of them - in the years 1992 up to 1995) I find current HP policies with software and particularly with OS simply appalling . HP was facing to be condemned for similar practices in a Class action and opted for a settlement: http://web.archive.org/web/20060402204440/...settlement.com/ It seems like it is a common practice for HP to close with a settlement cases where they were accused to provide defective products and/or failed to give Customers satisfacting repairs/fixes: http://barrettgrider-v-hpcompaq.com/index.html In Italy there are currently several cases opened against HP following its refusal to reimbourse customers that do not want Vista on their PC's (Italian): http://punto-informatico.it/1354479/PI/New...unciata-hp.aspx http://punto-informatico.it/2096808/PI/New...rso-dovuto.aspx http://punto-informatico.it/2341415/PI/New...-tribunale.aspx and an appeal to the Antitrust European Committee has been filed. (but the above bears no connection to the issue at hand) Let's get back to topic. From what I have seen and understood from the reports, the "Softthinks" MBRINST.EXE ( in some cases renamed to MBR.DLL) is a MBR installing utility that works roughly this way: writes a "special" MBR analyzes the partitions on the hard disk if a partition with certain (unknown at the moment) settings/data is found, THEN: adds to the partition bootsector the word "RECOVERY" changes some data in the MBR accordingly The above procedure is NOT repeatable, i.e. once the "RECOVERY" partition is made, the MBRINST.EXE does not recognize it as "RECOVERY" anymore. Additionally, a bit seems like being set in the MBR if, even once, the MBR is booted and the "Recovery" partition is not found. (to be more exact byte 1B4h changes from 01 to 00) Of course by disassembling or reverse engineering the MBRINST.EXE it should be possible to find out which checks are made, and thus being able to re-create the conditions where MBRINST.EXE recognizes the partition, but this procedure is out of the scope of the thread/board. (at least as I see it) On the other hand, no Law prohibits trying to find how the thing works. Some notes: There are several versions of the MBRINST.EXE file. I was able to find/examine three of them: 147,456 bytes in size dated 30-09-2005 159,744 bytes in size dated 12-03-2008 165,248 bytes in size dated 16-10-2008 They are all the same thing, but with "added options". #1 has 4 options for "While counting display": nothing Digit Dots Qplay #2 has 7 options for "While counting display": nothing Digit Dots Qplay HP Qplay GW HP F11 NTFS HP F11 BITL #3 has 8 options for "While counting display": nothing Digit Dots Qplay HP Qplay GW HP F11 NTFS HP F11 BITL HP F11 BL;QP Now again my personal opinion: the tool was initially programmed "properly" (in a version before the first one listed) then it was "customized" and options were added to it (in the "wrong place", it simply makes no sense to have options in "While counting display" in my opinion this is the result of lazy programmers that do quick and dirty hacks instead of doing properly something The app contains a number of different MBR's and also a few bootsectors. For the curious ones, I wrote a small batch that, using gsar and dumphex, can extract these sectors from the app and "divide" them in three categories: MBR's BS's UNKNOWN's (most probably parts of a multisector MBR) Here it is. You will need in the same directory of the batch, besides MBRINST.EXE, gsar and dumphex: gsar: http://home.online.no/~tjaberg/ dumphex: http://rbach.priv.at/DumpHex/ @ECHO OFF SETLOCAL ENABLEEXTENSIONS SETLOCAL ENABLEDELAYEDEXPANSION CD "%~dp0" IF "%~nx1"=="" GOTO :Nofile ECHO All files in current directory with extension .sec and .dmp will be deleted. ECHO to abort press Ctrl+C NOW! PAUSE Del *.sec Del *.dmp PAUSE Set Source="%~dpnx1" Set /A Counter=0 FOR /F "tokens=3 delims=:" %%A IN ('gsar -b -s:x00:x00:x55:xAA %Source% ^|FIND /V "found"') DO ( SET /A Counter=!Counter!+1 SET /A FoundOffset=%%A SET /A Offset=!FoundOffset!-508 IF !Counter! lss 10 (SET Number=0!Counter!) ELSE (SET Number=!Counter!) dsfo %Source% !Offset! 512 !Number!_!FoundOffset!.sec ) Del *.dmp FOR /F %%? IN ('DIR /B *.sec') DO ( ECHO %%? CALL :Dorename %%? CALL :Checktype !NewName!.sec ) GOTO :EOF :Dorename FOR /F "tokens=2,3 delims=: " %%B IN ('dumphex -s1B6 /l2 /nc %1 2^>nul') DO ( SET NewName=%~n1_%%B%%C REN %1 !NewName!.sec ) GOTO :EOF :CheckType FOR /F "tokens=2,3 delims=: " %%D IN ('dumphex /l1 /nc %1 2^>nul') DO ( SET Type=UNKNOWN IF /I %%D==33 SET Type=MBR IF /I %%D==E9 SET Type=BS SET NewerName=%~n1_!Type! REN %1 !NewerName!.sec dumphex /o!NewerName!.dmp !NewerName!.sec ) GOTO :EOF :Nofile ECHO you must supply a target file! ECHO example %~nx0 MBRINST.EXE PAUSE GOTO :EOF Result will be a number of "couples" of files, named in the form: (progressive number)_(Offset within_MBRINST.EXE)_(value of bytes 1B6h&1B7h)_(Type of sector).sec (progressive number)_(Offset within_MBRINST.EXE)_(value of bytes 1B6h&1B7h)_(Type of sector).dmp The .sec files are the binary sectors, the .dmp files are dumps, that you can open in Notepad or any tect editor. Bytes at offset 1B6h&1B7h appear to be a way to "categorize the different MBR's. Another interesting thing to do with the file is running BinText against it: http://www.foundstone.com/us/resources/proddesc/bintext.htm An interesting number of things can be found from reading the output, most noticeably the text description of the various MBR's (which is often truncated in the text box when running the tool): And some info about WHO actually wrote the tool: Finding of other interesting strings is left to the reader. I guess that people suffering from the problem may want to try contacting the author, Ulf Loesche through his site http://www.xss.com/ to either: ask him for help in solving the matter show him their appreciation for the program A last bit of text in the .exe, that as I see describes the whole stuff very well : jaclaz -
[SOLVED] USBstick take letter D and not U
jaclaz replied to pipster's topic in Install Windows from USB
I find improbable that the stick is the problem. Try reading these: http://www.msfn.org/board/index.php?showtopic=125945 http://www.msfn.org/board/profiles-directo...me-t125819.html and use the MakeMigrateInf.exe: http://www.msfn.org/board/index.php?act=at...st&id=23940 Run it TWO times, one with the stick inserted and mounted: makemigrateinf.exe>with_stick.txt and one without it: makemigrateinf.exe>no_stick.txt Attach the two resulting files, together with the output of mkmigrateinf.cmd. jaclaz -
HP Notebook: The recovery partition could not be found
jaclaz replied to ahmad2080's topic in Software Hangout
I see it's absolutely of no use participating to this game. It has been fun while it lasted. So long and thanks for all the sectors.... jaclaz -
HP Notebook: The recovery partition could not be found
jaclaz replied to ahmad2080's topic in Software Hangout
Make it what? The posted workaround? <-this is the thing that needs to be tested! Or running MBRINST.EXE or MBR.DLL renamed? <- this is the thing for which there is NO solution (yet ) jaclaz -
HP Notebook: The recovery partition could not be found
jaclaz replied to ahmad2080's topic in Software Hangout
Hopefully a workaround (NOT the solution) by using mbldr. Get mbldr here: http://mbldr.sourceforge.net/ http://mbldr.sourceforge.net/#Download http://prdownloads.sourceforge.net/mbldr/m...46.zip?download Unzip to a directory, then run mbldrgui.exe. Then: Select the drive. Add> first the RECOVERY partition and specify the "RECOVERY" label for it - it will be the smallest of the two and probably listed as second on the left window Add> second the "Normal" partition (and specify the "Normal" label for it) - press "Mark current" button Uncheck "Hide other primary partitions at boot" Change the drop-down box on the left "Progress bar" from "Decreasing digits" to "Dots" Change the drop-down box on the right "Keis choosing what to boot" from "1,2,3" to "Custom scan code" A popup will show, READ it's contents and click OK then replace the "59" with "87" Now edit the text: delete line "mbldr v1.46" - a popup will show, READ it's contents and click OK delete line "RECOVERY" delete line "*Normal" Enter a line "Press F11 for Emergency Recovery" Now backup and save: Press the "Backup MBR", this means that you are saving to a file the current MBR of the chosen drive. Press the "Save MBR", this means that you are saving to a file the NEW MBR that you just built with mbldr. Now write the NEW MBR: Change the small drop-down box on bottom left corner from "file" to "sector" A popup will appear, READ it's contents and click OK. Press the "Save MBR", this means that you are saving to a sector the NEW MBR that you just built with mbldr, a popup will appear with already the preset "0" sector, leave it as is and press OK. Another popup will show for confirmation, click OK. Try rebooting, you should be able by pressing F11 to boot to the "RECOVERY" partition, and by waiting or pressing [ENTER] to boot normally. DON'T EVEN THINK of messing with the MBR if you have not a tested alternative way of booting the PC (see a few posts before for an easy one using a USB stick). Report if this workaround works. jaclaz -
HP Notebook: The recovery partition could not be found
jaclaz replied to ahmad2080's topic in Software Hangout
Try re-reading this: jaclaz -
HP Notebook: The recovery partition could not be found
jaclaz replied to ahmad2080's topic in Software Hangout
NO. Don't do ANYTHING you may later regret. Before doing ANY attempt, and definitely NOT with "sophisticated" tools like Partition Magic, Partition Doctor, Acronis or paragon's Partition Manager, make sure by testing and double testing that you have a way back, as I showed ahmad2080 before. Are you willing to take part in game #1? Let see if I can put together the essentials: from factory there is a "special" MBR on HP/Compaq laptops that allows when booting to press F11 to access 2nd partition (Recovery) and from it start ..... (please fill the gap, what is supposed to do when F11 is pressed? Should the option to Recover the drive or create the disk start? this capacity is lost by replacing the MBR with a "normal" one (or however a different one) the MBR you posted appears to be the original "special" one, but with a couple of "suspect", as I see it, bytes how was the MBR you posted made? Did you already run MBRINST.EXE or MBR.DLL on that PC? Or otherways when did the problem happen? jaclaz -
HP Notebook: The recovery partition could not be found
jaclaz replied to ahmad2080's topic in Software Hangout
Niru, there are three games played on the board: 1) is the one I am playing, that at the moment is still going on, but with no progresses as my partner abandoned.... 2) is the one ahmad2080 played and won by cheating (and later abandoned) 3) is the one that Tripredacus played (and won ) using MBR.EXE from Terabyte: http://www.msfn.org/board/index.php?showtopic=130609 Your best bet right now is #3. jaclaz -
HP Notebook: The recovery partition could not be found
jaclaz replied to ahmad2080's topic in Software Hangout
@snack The bootsector you posted is perfectly unuseful, a NTFS bootsector is 16 sectors. jaclaz -
HP Notebook: The recovery partition could not be found
jaclaz replied to ahmad2080's topic in Software Hangout
I thought the whole point was to find the way to run the original app to re-install a working MBR as in factory. Using the way Tripredacus suggested before (using the MBR.EXE from Terabyte) or using grub4dos, you could have done the same. So, I am happy that your initial problem was solved, but still we haven't found the solution . Once you have done the recovery disks, try applying the attached MBR and post results. Also, I seem to be missing two things: the bootsector form your Recovery partition (16 sectors) the bootsector from the recovery partition of your friend (the first one) also 16 sectors. I need them, when you have time, in order to try and understand which mods (if any) are made to them. jaclaz MBR_from_j.zip -
Though seemingly unrelated, I guess some info may come from this "Recovery Console" thread: http://www.boot-land.net/forums/index.php?showtopic=5316 jaclaz
-
Basically, missing to read the present thread. Quick resume: the thread by Markimoo is rather old there are new versions of grub4dos there are new methods to install grldr (or actually NOT installing it) there is a dedicated Forum with tens of threads delving deeper on the usage of grub4dos there is a new Guide for grub4dos In other words: jaclaz
-
HP Notebook: The recovery partition could not be found
jaclaz replied to ahmad2080's topic in Software Hangout
As said, now that you have alternate ways to boot, you can try everything you wish to (within limits ). In my experience, however, the infinite time and monkeys approach: http://en.wikipedia.org/wiki/Infinite_monkey_theorem has rarely produced a good result in an acceptable time, and often has also prevented the "right" solution to be later implemented. For example installing the "upgrade" you may well have messed up things in such a way that there is NO way back anymore, one thing is to replace a MBR (for which you have a sure way back, and another thing is to apply an "upgrade" dated BEFORE the files you have, I like to define this behaviour "asking for troubles" ) Of course it is perfectly possible that the install of the "upgrade" carried no consequences at all.... Rest assured the MBR is ALWAYS 512 bytes long, the SPACE (number of bytes) available in it for "Master Boot Record Strings" can change depending on the type of MBR (i.e. if the MBR code is longer, there remains LESS available space for the text connected to messages). Try counting the characters in the messages in MBR.INI: 12345678901234567890123456789012345678901 Press F11 for Emergency Recovery Err1 Err2 Err3 And subtract from it the "fixed part"? 12345678901 Press Fxx for That would make 30. 1234567890123456789012345678901234567890123456789012345678 Press F11 for Emergency Recovery MBR Error OS Missing Press a key. That would make 47. It is possible that without a MBR.INI the "embedded" values lead to 53.... There are a couple of bytes in the MBR you re-created following my instructions that differ from those on your friend's (working) MBR, that may be the key, but I need some time to do some tests....., you need some patience. jaclaz -
HP Notebook: The recovery partition could not be found
jaclaz replied to ahmad2080's topic in Software Hangout
Why not, NOW you have way backs (at least up to this day trial). Worst that can happen, it won't boot, and you can restore the last working MBR. jaclaz -
HP Notebook: The recovery partition could not be found
jaclaz replied to ahmad2080's topic in Software Hangout
Try sending me the new resulting MBR. Even if you won't believe me a small step in the right (supposedly) direction has been made. You should now be able to see "Press F11 for recovery partition" when booting. I also need the bootsector (16 sectors) taken with HDhacker of both your and your friends "Recovery partition" (choose logical drive and the appropriate drive letter). jaclaz -
Remove 'USB Repair' Entry From Boot.ini?
jaclaz replied to selfdestruktor's topic in Install Windows from USB
Well, I guess you can write your own batch to do that. Here is an example: http://www.msfn.org/board/Hand-BOOTINI-t66101.html http://www.msfn.org/board/Hand-BOOTINI-t66101.html&st=15 Just replace the argument of FIND /V with the exact text of the entry you want to remove. jaclaz -
HP Notebook: The recovery partition could not be found
jaclaz replied to ahmad2080's topic in Software Hangout
Do you have a French keyboard? http://www.boot-land.net/forums/index.php?...ic=7653&hl= To be accurate, the file you made with HDhacker on 06-04-2009 14:30 differs from the one taken by MBRWIZ on 08-04-2009 14:19. Since the "new" MBR captured by MBRWIZ appears to be like one made by MBRINST.EXE, but WITHOUT the proper settings, I do suspect that in the meantime MBRINST.EXE has been run on the machine. I would try to re-capture from Vista and with HDhacker the MBR, then, immediately after, re-capture it from FreeDOS and MBRWIZ booted from the USB stick, and compare these last two files. It's a known thing that little green men sneakily enter households at night making socks odd pairs and runnning MBRINST.EXE..... jaclaz -
Read is one thing and Read/Write is another. Ext4 Fs is - up to a certain point - "forward compatible" with Ext2 and Ext3: http://en.wikipedia.org/wiki/Ext4 and as such, ext2fsd should be able to Read it with no problems: http://ext2fsd.sourceforge.net/ As well, "trivial" write operation such as updating a small text file should be possible, as well as copying one at the time files, I wouldn't set a paging file on a ext4 partition, nor use multithreaded apps to write to the filesystem. Basically you will access the ext4 as it was an ext2 FS: http://www.linuxjournal.com/article/9449 jaclaz
-
If I were you I would download the Recovery Console floppies, make a bootable CD from it: http://www.boot-land.net/forums/?showtopic=2254 or a USB stick: http://www.boot-land.net/forums/index.php?showtopic=5316 and run CHKDISK on the computer instead that through the USB external case. Download from MS is about 4.5 Mbytes and the batch is 300 Kb. jaclaz
-
HP Notebook: The recovery partition could not be found
jaclaz replied to ahmad2080's topic in Software Hangout
You'll have to take your chances. Though everything posted by Tripredacus is accurate , right now it' only confusing you. Do try EXACTLY what I have posted, with NO changes of ANY sort. If it does not work, we'll later introduce changes/variations. I was given a dir /S with these files in C:\System.sav\Util: use THOSE files, with that size and that timestamp I don't remember if they are from your PC or your friend's one. Double check the MBR.INI entries in the file with the ones I posted. About the bootable USB stick, I had hoped you had already something working. Now what would be the better to build thing? Most probably some Linux of sort, since you don't have an XP source to build a PE from. But possibly the easiest would be to make a (Free)DOS USB bootable stick. What you need: MBRWIZ DOS version: http://mbrwizard.com/ http://mbrwizard.com/download.shtml Fuwi's batch http://www.911cd.net/forums//index.php?sho...c=21702&hl= For the USB stick, the use of Fuwi's batch is advised: Extract all files from http://www.fuwi.ethz.ch/files/USB-Boot_Utilitys.zip in a directory, say C:\fuwiusb and double click on BOOTABLE_USB-DRIVE.cmd View your connected USB devices and take note of the drive letter of the USB stick you want to make bootable. If needed Switch the filesystem to be used on it: If the stick is 2 Gb or smaller, choose FAT(16), if it is bigger, choose FAT32, DO NOT choose NTFS. Follow prompts, they are remarkably clear. Once the batch has finished, extract and reinsert the USB stick, it should get a drive letter, open it and add to it MBRWIZD.EXE, renaming it to MBRWIZ.EXE Access the stick, open with notepad menu.lst and add to it these lines (before "title Reboot"): title Vista1 find --set-root /bootmgr chainloader /bootmgr title Vista2 map (hd0) (hd1) map (hd1) (hd0) map --hook root (hd0,0) chainloader /bootmgr Try booting from the stick, choose Vista1 choice, it should boot normally to your Vista. Try booting from the stick, choose Vista2 choice, it should boot normally to your Vista. Try booting from the stick, choose FreeDOS, you should boot to the C:\ prompt (remember than now C: is the USB stick). Try running: MBRWIZ /disk=1 /Save=C:\my_mbr_DOS.dat Reboot normally and compare (with FC /B or a hex editor) the file my_mbr_DOS.dat to the copy of the MBR you previously made with HDhacker, they should be identical. Post if anything of the above does not work or doesn't produce the wanted file my_mbr_DOS.dat or whatever doubts you have. jaclaz -
HP Notebook: The recovery partition could not be found
jaclaz replied to ahmad2080's topic in Software Hangout
Ok, some (possible) conclusions. I checked both the MBR and hidden sectors on ahmad2080's PC and those of his friend with a similar laptop. Also the latter appears not to be completely "clean" in the sense that there are (previous) copies of the MBR in several of the hidden sectors, meaning that some program that keeps "track" or "backup" of the MBR has been used on it. However, it seems like the procedure to try is the following. I am assuming that ahmad2080 has a bootable CD or USB stick containing a program able to restore if needed the current MBR and hidden sectors that he saved. If not, DON'T DO anything of the following! We need before that to make sure you have a way back, should disaster strike. Extract to c:\dsfok the contents of the dsfok archive. Open a command prompt and navigate to c:\dsfok Run this line: fsz C:\dsfok\62blanks.dat 31744 (this will create a 62 sectors in length file filled with 00's) Now run: dsfo \\.\PHYSICALDRIVE0 0 512 C:\dsfok\Now_mbr.dat (this will create a backup copy of current MBR) Now run: copy /B Now_mbr.dat + 62blanks.dat New_63.dat (this will creatre a new file with current MBR+62 00ed sectors) Verify that the resulting file C.\dsfok\New_63.dat is exactly 32256 bytes in length. Now run: dsfi \\.\PHYSICALDRIVE0 0 32256 C:\dsfok\New_63.dat (this will copy the new file to HD) Please note that this latter line uses dsfI, not dsfO, like the one before. Try re-booting, you shoud see NO difference whatsoever. Copy from C:\System.sav\Util to C:\dsfok the following files: Verify that entries in [MasterBootRecord] section of MBR.INI are as following (they should be): Open a command prompt and navigate to C:\dsfok Run this line: mbrinst.exe /ini mbr.ini mbrinst.exe GUI should open and look like the following image: You won't see the line Click on the install button. All settings should become grayed out and you should get a message like: Than another line, either : or (hopefully ) a message of success. Let me know how it goes.... jaclaz