Jump to content











Photo
* * * * * 2 votes

Grub4dos HELP ME PLEASE it's dead


  • Please log in to reply
99 replies to this topic

#76 Guest_DEEPAK AWASTHI_*

Guest_DEEPAK AWASTHI_*
  • Guests

Posted 21 November 2014 - 03:04 PM

I didnt get most of that.... here is what i'm doing-

 

 

Power button> any function key> (RED SCREEN SHOWS)> coming down to Grub Command Line> ENTER> then, Grub screen comes....

 

 

find --set-root /bootmgr

NEXT GRUB LINE COMES WITHOUT ANY MIRACLE

 

 

root

AGAIN NEXT GRUB LINE COMES

 

 

boot

*COMPUTER   RESTARTS*

 

 

 

geometry (hd0)

 

drive 0*80(LBA):  C/H/S=1024/255/63,  Sector COunt/Size=16450560/512

Partition num: 0, active,  Filesystem type is ntfs, partition type  0*07

Partition num: 1, FIlesystem type is ntfs, partition type 0*07

Partition num: 4, SAME AS PARTITiON 1

Partition num: 5, SAME AS PARTITION 1

Partition num: 6, SAME AS PARTITION 1

 

I first downloaded ubuntu from their site.... made a bootable USB> tried to install linux (dont know where, In C:/ drive i doubt because there is windows 7 installed too)

 

I had 4 local disks-

C:/ where  windows was installed

D:/, E:/, F:/- where other stuff was..

 

and yet another thing.... i did this unsuccessful installation 2 months before....untill yesterday, It was working fine as i was selecting WIndows 7 over ububtu in BIOS....but yeaterday, suddenly my battery dropped to 0% and then this all started.....and yes, my windows was activated with some kind of loader....Now,

 

 

 

root (hd0,0) Next Grub Line > ls

Boot bootmgr BOOTNXT BOOTSECT.BAK grldr System\ Volume\ Information SYSTEM~1 win7.ld

 

 

 

ls /boot/

ja-JP BCD BCD.LOG BCD.LOG1 BCD.LOG2 BCD~1.LOG BCD~2.LOG bg-BG BOOTSTAT.DAT cs-CZ da-DK de-DE el-GR en-GB en-US es-ES et-EE fi-FI Fonts fr-FR hr-HR hu-HU it-IT ko-KR lt-LT lv-LV memtest.exe nb-NO nl-NL pl-PL pt-BR pt-PT qps-ploc Resources RESOUR~1 ro-RO ru-RU sk-SK sl-SI sr-Latn-cs SR-LAT~1 sv-SE tr-TR uk-UA zh-CN zh-HK zh-TW

 

 

 

as you can see.. grub is not listed above,

 

so next command- 

 

 

ls /boot/grub

File not found

 

 

**I thought Linux was fun.... it just made a worse impression...**



#77 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 21 November 2014 - 03:38 PM

Look, I don' t want to seem more grumpy than usual, but it is you that (reportedly) installed UBUNTU, so you should know where (and how exactly) you installed it.

 

Is there something you don't understand in:

 


Try on each volume (i.e. looping through n=0,1,4,5,6):
root (hd0,n)
ls
ls /boot/ <- only if "boot" is listed in the above
ls /boot/grub <- only if "grub" is listed in the above

:unsure:

 

You had NOT "4 local disks", you have a SINGLE disk containing 5 (five) volumes, two of which are primaries and three are logical inside extended, it is very likely that one of the two primaries was "hidden", that the second was C:\ and the other three volumes were D.\, E:\ and F:.

Still, there is seemingly nowhere a volume where an UBUNTU "install" could have been made.

Possibly you did NOT "install" it but you used it as a LiveCD, i.e. you copied a .iso of it somewhere?.

 

IF the first partition (like it seems) contains only the boot files, it is normally set to ID 27 (and not the "normal" NTFS 07, but I don' think it can make a difference, in the sense that in the worse case it would show a bootmgr error.


Since:
root (hd0,0)
ls

does list BOOTMGR, you can reboot and issue commands:

root (hd0,0)
chainloader /bootmgr
boot

What happens?

It is entirely possible that the bootmgr itself or the \boot\BCD is/are corrupted, though as said you should at least have an error generated by the bootmgr.

 

If the above does not change anything, try:

root (hd0,0)
parttype (hd0,0) 0x27
chainloader /bootmgr
boot

But as said the partition ID shouldn't be related.

 

:duff:

Wonko



#78 Guest_DEEPAK AWASTHI_*

Guest_DEEPAK AWASTHI_*
  • Guests

Posted 21 November 2014 - 04:42 PM

As you suggested, i did this-

 

 

root (hd0,0)

NEXT Grub line...

 

 

chainloader /bootmgr

FILE NOT FOUND

 

 

boot

KERNEL MUST BE LOADED BEFORE BOOTING

 

 now next commands-

 

 

root (hd0,0)    

 

 

parttype (hd0,0)  0*27

 

 

chainloader /bootmgr

NO SUCH PARTITION

 

 

boot

KERNEL must be loaded before booting

 

 

o god...Help me out... :'(    



#79 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 21 November 2014 - 06:50 PM

There is something that escapes me. :unsure:

In post #76 you posted that you ran commands:

root (hd0,0)
ls

and that the result was:

Boot bootmgr BOOTNXT BOOTSECT.BAK grldr System\ Volume\ Information SYSTEM~1 win7.ld

 

 

How is it possible that the chainloader command cannot find it?

 

Try again.

run:

root (hd0,0)

then type:

chainloader /

 

and press the [TAB] key

you should see the same:

Boot bootmgr BOOTNXT BOOTSECT.BAK grldr System\ Volume\ Information SYSTEM~1 win7.ld

 

continue typing one letter at the time b o o t m pressing the [TAB] key after each letter, when you will have reached the m, the line should autocomplete to  

chainloader /bootmgr

 

when it does, press the [ENTER] key.

If you still have the FILE NOT FOUND error it means that the filesystem has been somehow corrupted, and you need a Windows based repair disk or PE of some kind to check it and hopefully repair it.

 

Also you just posted you ran 

parttype (hd0,0) 0*27

but you should have run:

parttype (hd0,0) 0x27

 

* is NOT the same as x ! :ph34r:

 

Run again the geometry (hd0) command and confirm that the the output is now 

 

drive 0*80(LBA): C/H/S=1024/255/63, Sector COunt/Size=16450560/512

Partition num: 0, active, Filesystem type is ntfs, partition type 0x27

....

 

:duff:

Wonko



#80 Guest_DEEPAK AWASTHI_*

Guest_DEEPAK AWASTHI_*
  • Guests

Posted 22 November 2014 - 03:14 AM

NO SUCH PARTITION....

 

and there is no such button like   " x"

 

Now, it is saying "File not found"  everytime...

 

 

In the meanwhile, i searched and did this-

 

power off> battery remove> press power button for 10 seconds> battery put in> press power button...

 

 

here is what i found new-

 

 

 

find --set-root /bootmgr

Error 15: File not found

Press any key to continue...

 

 

 

this was not coming earlier..... and now i select any option, these three lines are coming....
Any Idea???
 

 

 

some are suggesting to remove hard disk from lapy> power on laptop> power off> put hard disk back> SOLVED...!!

 

 

should I do this?? please tell



#81 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 22 November 2014 - 08:01 AM

It surely sounds like you are having a hardware issue of some kind.

 

Still, if it boots to grub4dos the issue is not that one.

 

What do you mean by "button like x", how do you write x-ray or Xerox or Xylix? :frusty:

 

Try again issuing the command:

parttype (hd0,0) 0x27

using the x and NOT the *. 

You should get a message like:

Partition type for (hd0,0) set to 0x27 successfully

(if you actually run the command with 0*27, you had a message saying that it was set to 0x00, i.e. made it invisible to Windows and at risk of being overwritten)

 

Them run the geometry command and report it's output.

 

:duff:

Wonko



#82 Guest_DEEPAK AWASTHI_*

Guest_DEEPAK AWASTHI_*
  • Guests

Posted 22 November 2014 - 02:54 PM

My bad.....   i was thinking "x"   was multiplication.... :(

 

 

and.... I did that hard disk removal thing..... worked.... though i wanted to install ubuntu but couldnt find a dvd.... had to install windows again.....

 

Thanks for your help... and please tell me where to learn windows (command prompt) and linux commands...??



#83 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 22 November 2014 - 03:27 PM

My bad.....   i was thinking "x"   was multiplication.... :(

Yep, though 0*27 would make 0 anyway.
It is a common convention (used also in grub4dos besides on DOS/Windows) to distinguish a HEX number from a decimal one:
0x01=1
0x02=2
...
0x09=9
0x0A=10
...
0x0F=15
...
0x27=39

The value that we wanted to change is a single byte partition ID, see:
http://www.win.tue.n...on_types-1.html
which is usually expressed/represented as hex number.

 

Thanks for your help... and please tell me where to learn windows (command prompt) and linux commands...??

No prob :).
About learning command line in Windows (which is one thing), Linux commands (which is another thing) and grub4dos (which is yet another thing) *anything* will do there are thousands of resources on the internet for these, for grub4dos read the guide:
http://diddy.boot-la...os/Grub4dos.htm
and here and several other pages on the same site:
http://www.rmprepusb...orials/grub4dos

:duff:
Wonko

#84 Yvonneg98

Yvonneg98

    Newbie

  • Members
  • 10 posts
  •  
    Bulgaria

Posted 14 November 2016 - 04:01 PM

Can someone help me plz? I have the same problem. When i switch on my computer a black window appears and the start to shows "Fatal! Inconsistent data read from (0x80) 41910+127" several times and some other staff shows and i goes to another window that starts with grub> . I dont know what to do i dpnt have the disk bt

#85 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 14 November 2016 - 05:56 PM

Yep (someone can help you, hopefully) :).

Can you explain/report what you did before getting into the situation you describe?

Can you explain/report what happened BEFORE? (i.e. what happened before or what is the expected result, like *say* "booting Windows 7", "booting a Linux", etc.)

Some details on your PC (desktop/laptop, disk drives in it, etc.) would also be useful.

Please consider that the more details that you can provide the more likely it is that someone will be able to assist you.

 

The "(0x80) 41910+127" is probably part of an attempt to "map" to *something" an area on first disk (0x80) at offset 41910 sectors for the length of 127 sectors.

Both the 41910 and 127 are "unusual" numbers, and it is not common that a menu.lst is made to map a hardcoded extent, so most probably you attempted to (or were tricked into) install *something*, can you remember what happened?

 

:duff:

Wonko



#86 Yvonneg98

Yvonneg98

    Newbie

  • Members
  • 10 posts
  •  
    Bulgaria

Posted 14 November 2016 - 08:54 PM

My charger on the laptop doesnt work so my brother tripped of him and the laptop switched off. Thrn when i started it everything was normal and after waiting to see my desktop i only saw a black screen and this "fatal! Inconsistent data read from (0x80)...." Then it shows the grub> thats all. The laptop is dell windows 7 home premium

#87 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 15 November 2016 - 09:42 AM

The laptop is dell windows 7 home premium

Yes and no, meaning that not Microsoft, nor Dell install grub4dos, so *someone* must have installed grub4dos or *something* including it.

At the grub> prompt, try issuing:



cat /menu.lst

[ENTER]

and post output, the command should output to screen the contents of menu.lst, which is the main configuration file for grub4dos.

Or (if the file is not found) try:



find --set-root /menu.lst
cat /menu.lst

[ENTER]

The error in itself seems like due to some form of corruption on the hard disk, so you will likely need a bootable CD/DVD or USB to attempt to repair it, but maybe - if we can find out what the settings were - we can manage to boot to the Windows and check from there :unsure:.

 

:duff:

Wonko 



#88 Yvonneg98

Yvonneg98

    Newbie

  • Members
  • 10 posts
  •  
    Bulgaria

Posted 15 November 2016 - 12:53 PM

So i typed the first one and it sayis error 15: file not found.Then i typed the next one and it says the same thing.

#89 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 15 November 2016 - 02:43 PM

Maybe then the *whatever* uses an "embedded" menu.lst of some kind.
Can you access the hard disk?

Like:

geometry (hd0)
root (hd0,0)

Try:

find --set-root /bootmgr
chainloader /bootmgr
boot

if the default Windows 7 boot manager has not been renamed it may boot.

 

Otherwise try listing the contents (depending on the result of the geometry command above) of the partition(s):

ls (hd0,0)/
ls (hd0,1)/
...

:duff:

Wonko



#90 Yvonneg98

Yvonneg98

    Newbie

  • Members
  • 10 posts
  •  
    Bulgaria

Posted 15 November 2016 - 04:27 PM

When i type geometry (hd0) it says drive 0x80(Lba): c/h/s=60802/255/63 sector count/size=976784130/512 partition num:0 active filrsystem typr is ntfs patition typr 0x07 partition :1 filesystem type is ntfs,partition typr 0x07 and partition num:2 the same like 1

#91 Yvonneg98

Yvonneg98

    Newbie

  • Members
  • 10 posts
  •  
    Bulgaria

Posted 15 November 2016 - 04:32 PM

Root (hd0,0) filesystem type is ntfs partition type 0x07 and when i try find --set-root /bootmgr it says fatal! Inconsistent data read from (0x80)41910+127 (hd0,0)

#92 Yvonneg98

Yvonneg98

    Newbie

  • Members
  • 10 posts
  •  
    Bulgaria

Posted 15 November 2016 - 04:37 PM

Ls (hd0,0)/ $attrdef $badclus $bitmap $boot $extend $logfilr $mft $mftmirr $secure $upcase $volume boot bootmgr bootsect.bak system/volume/ingormation xeonc

#93 Yvonneg98

Yvonneg98

    Newbie

  • Members
  • 10 posts
  •  
    Bulgaria

Posted 15 November 2016 - 04:51 PM

When i type ls (hd0,1) program/files/(x86)users $attrdef $badclus $bitmap $boot $extend $logfile $mft $mftmirr $recycle.bin $secure $upcase $volume $windows. ~bt programdata recovery rei securityscanner.dll ssuupdater.log system /volume/information w7p_backups windows ai_recyclebin asc_rdf lag avscanner.ini config. Msi console.log documents/and/settings found.000 found.001 found.002 founf.004 hibrrfil.sys intel msocachenetfilter2 pagrfile.sys perflogs program/files

#94 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 15 November 2016 - 05:02 PM

This seemingly confirms that there is an issue with the actual sectors used by the bootmgr file.

 

You seem like having the first volume being the small one that only contains the bootmgr and \boot\bcd, most probably you have the \Windows\ directory on the second volume.

Try this:
http://reboot.pro/to...s-7-unbootable/

find --set-root /windows/boot/pcat/bootmgr
chainloader --edx=0x0080 /windows/boot/pcat/bootmgr
boot

IF the "other copy" of bootmgr is accessible AND the \boot\BCD on the first volume is readable MAYBE you can boot. :dubbio:

 

What is needed is however to run a CHKDSK on the volume, you really need a boot CD/DVD or USB, if - by pure chance - you can boot, you need to run immediately a CHKDSK on that volume, since very likely that volume is not mounted, you will need to assign a drive letter to it via Diskpart, if you don' t know how to do that, ask before attempting to do it. 

 

:duff:

Wonko



#95 Yvonneg98

Yvonneg98

    Newbie

  • Members
  • 10 posts
  •  
    Bulgaria

Posted 15 November 2016 - 05:16 PM

When i typed find --set-root /windows/boot/pcat/bootmgr it says (hd0,1) then chainloader --edx=0x0080 /windows/boot/pcat/bootmgr it says will boot ntldr from drive=0x80, partition=0x0(hidden sectors=0x800) and boot error 8:kernel must be loaded before booting.

what should i do?


Edited by Yvonneg98, 15 November 2016 - 05:42 PM.


#96 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 15 November 2016 - 07:03 PM

The "(hd0,1)" and the "will boot ntldr from drive=0x80, partition=0x0(hidden sectors=0x800)" are "good" signs, it means that the other copy of the bootmgr is readable OK, but *something else* is preventing the booting (the "will boot ..." should mean that the bootmgr is read as valid.

Last possibility (if for *whatever* reason the \boot\BCD in use is actually on (hd0,1) and the one in (hd0,0) is just a remain of the original install :dubbio:):

find --set-root /windows/boot/pcat/bootmgr
chainloader /windows/boot/pcat/bootmgr
boot

Otherwise you really need an install/repair disk or a PE of some kind. :(

 

:duff:

Wonko



#97 Yvonneg98

Yvonneg98

    Newbie

  • Members
  • 10 posts
  •  
    Bulgaria

Posted 16 November 2016 - 09:16 AM

When i typed chainloader /windows/boor/pcat/bootmgr will boot ntldr from drive=0x80 partition=0x1(hidden sectors=0x32800)

#98 Yvonneg98

Yvonneg98

    Newbie

  • Members
  • 10 posts
  •  
    Bulgaria

Posted 16 November 2016 - 09:21 AM

I dont have a repair disk. What can i do i have another laptop but it doesnt have cd slot?

Edited by Yvonneg98, 16 November 2016 - 09:21 AM.


#99 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 16 November 2016 - 10:29 AM

When i typed chainloader /windows/boor/pcat/bootmgr will boot ntldr from drive=0x80 partition=0x1(hidden sectors=0x32800)

And what happens when you follow typing "boot"?

 

 

I dont have a repair disk. What can i do i have another laptop but it doesnt have cd slot?

You can get *any* windows (7 or later) install DVD (if you have the DVD drive in your laptop) or you will need a USB key.

Cannot you borrow a Windows 7 install DVD from any friend?

Otherwise you can download a Windows iso from MS and create a bootable USB stick, though getting a Windows 7 .iso has been made stupidly difficult:
https://www.raymond....al-distributer/

(scroll down until "Download Windows 7/8.1 from The Windows 10 Download Page")

 

Please understand how the "install" disk is not suitable to actually (re-)install the OS (as your installed Windows is very likely a OEM DELL version) but can be used to attempt recovering your current system.

 

:duff:

Wonko



#100 davidsmith150

davidsmith150
  • Members
  • 1 posts
  •  
    United Kingdom

Posted 16 November 2016 - 12:00 PM

useful link thank you.

Regards,
David






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users