Warning: krsort() expects parameter 1 to be array, null given in /home/.fluke/nuno_brito/boot-land.net/forums/sources/d22mods/mvtt.php on line 58

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/.fluke/nuno_brito/boot-land.net/forums/sources/d22mods/mvtt.php on line 59
grub4dos error 30: disk read error - Boot Land
 
> grub4dos error 30: disk read error
ktp
post Oct 12 2007, 02:48 PM
Post #1


Advanced Member
***

Group: Members
Posts: 144
Joined: 16-February 07
Member No.: 3,365



I built a hard disk image with usual tools:

fsz i:\outputiso\erdc2005.img 180956160

erdc2005.pln
DRIVETYPE ide
CYLINDERS 22
HEADS 255
SECTORS 63
ACCESS "i:\outputiso\erdc2005.img" 0 353430

ptedit32
06-80-0-1-1-21-254-63-63-353367

The erdc2005.img can be booted directly with QEM. Now I invoke it from an USB key on real hardware with:

title ERDC (hard disk image)
find --set-root /erdc2005.img
map (hd0,0)/erdc2005.img (hd0)
map --hook
chainloader (hd0)+1
rootnoverify (hd0)

This gives grub4dos error: Error 30: Disk read error.

Any idea ?
Go to the top of the page
 
+Quote Post
Digg this topic Add to my del.icio.us 3 Pages V   1 2 3 >  
Start new topic
Replies (1 - 9)
tinybit
post Oct 14 2007, 10:39 AM
Post #2


Member
**

Group: Members
Posts: 26
Joined: 14-August 07
Member No.: 10,098


China


title ERDC (hard disk image)
find --set-root /erdc2005.img
map (hd0,0)/erdc2005.img (hd0) <------- In this line, "(hd0,0)" should be stripped out
map --hook
chainloader (hd0)+1
rootnoverify (hd0)

And it is likely you want to use the following map instead:

map --mem /erdc2005.img (hd0)
Go to the top of the page
 
+Quote Post
ktp
post Oct 14 2007, 02:35 PM
Post #3


Advanced Member
***

Group: Members
Posts: 144
Joined: 16-February 07
Member No.: 3,365



QUOTE (tinybit @ Oct 14 2007, 12:39 PM) *
title ERDC (hard disk image)
find --set-root /erdc2005.img
map (hd0,0)/erdc2005.img (hd0) <------- In this line, "(hd0,0)" should be stripped out
map --hook
chainloader (hd0)+1
rootnoverify (hd0)


Well I did as you said, but still got same error:
(hd0,0)
Filesystem is fat, partition type 0xe

probed C/H/S = 22/255/63, probed total sectors = 35340
chainloader (hd0)+1

Error 30: Disk read error

Press any key to continue...


QUOTE (tinybit @ Oct 14 2007, 12:39 PM) *
And it is likely you want to use the following map instead:

map --mem /erdc2005.img (hd0)

Originally I skipped the --mem option since I think it would have problem on computer with small RAM as it have to read all the image to memory.
The --mem did the trick and fix the problem. My key boots OK.
But I run into BSOD 0x7b problem even with Dietmar's special ntdectec.com. But this is another problem,
no longer grub4dos area. Thank you for your help.

By the way, do you have any new for the ISO booting support you talked about in one forum?
Normally this function should be available this year. Something like:
CODE
title not yet implemented by grub4dos: boot from ISO
cdrom --init
map --hook
map (hd0,0)/BartPE.iso (cd0)
map --rehook
chainloader (cd0)+1
Go to the top of the page
 
+Quote Post
tinybit
post Oct 15 2007, 05:51 AM
Post #4


Member
**

Group: Members
Posts: 26
Joined: 14-August 07
Member No.: 10,098


China


Your BIOS might have an unknown bug. Try this one as a workaround, if it can succeed:
CODE
title ERDC (hard disk image)
find --set-root /erdc2005.img
map /erdc2005.img (hd0)
chainloader   --load-length=512   /erdc2005.img
rootnoverify (hd0)


Note: "map --hook" is not required.

QUOTE
By the way, do you have any new for the ISO booting support you talked about in one forum?
Normally this function should be available this year.


Unfortunately, this has to indefinitely delay because of my poor health. I really hope someone can do it.
Go to the top of the page
 
+Quote Post
ktp
post Oct 15 2007, 10:05 AM
Post #5


Advanced Member
***

Group: Members
Posts: 144
Joined: 16-February 07
Member No.: 3,365



@tinybit

I tried again with option --load-length=512 but got the error message: Error loading operating system.
Apparently message from MBR code.

QUOTE
Unfortunately, this has to indefinitely delay because of my poor health. I really hope someone can do it.

I am sorry about your health. Please take care of yourself.

Otherwise is there some (maybe draft) kind of specifications of this function? What it looks like in menu.lst,
list of the function added, a rough sizing (number of lines of code) of the code addes/modified (in C? in ASM?).
With this hopefully there are other skilled volunteer to develop this very interesting function.
Go to the top of the page
 
+Quote Post
tinybit
post Oct 15 2007, 01:41 PM
Post #6


Member
**

Group: Members
Posts: 26
Joined: 14-August 07
Member No.: 10,098


China


QUOTE
I tried again with option --load-length=512 but got the error message: Error loading operating system.
Apparently message from MBR code.


OK I'll find out why. Maybe we could get a workaround for the unknown BIOS bug.

QUOTE
Otherwise is there some (maybe draft) kind of specifications of this function? What it looks like in menu.lst, list of the function added, a rough sizing (number of lines of code) of the code addes/modified (in C? in ASM?).
With this hopefully there are other skilled volunteer to develop this very interesting function.


It is not difficult, but requires some time and efforts. The function is currently available in ISOEMU.

Generally the developer should have a knowledge of Bootable CD-ROM Specification and assembly language.
Go to the top of the page
 
+Quote Post
ktp
post Oct 15 2007, 02:06 PM
Post #7


Advanced Member
***

Group: Members
Posts: 144
Joined: 16-February 07
Member No.: 3,365



QUOTE (tinybit @ Oct 15 2007, 03:41 PM) *
It is not difficult, but requires some time and efforts. The function is currently available in ISOEMU.

Generally the developer should have a knowledge of Bootable CD-ROM Specification and assembly language.


Oh El Torito, so it is recommended that the developer should also know Spanish, isn't it? rolleyes.gif

Joke apart, is ISOEMU part of syslinux package, or is it a a different one? I did not found in in syslinux, and
Google search for ISOEMU does not return good result yet. Do you have a link ? Thank you.
Edit: found some links:
http://sysoft.zdwx.com/isoemu/index_eng.html
http://www.boot-land.net/forums/index.php?...10&start=10
http://www.forumpcs.com.br/viewtopic.php?t...7&view=next
Go to the top of the page
 
+Quote Post
ktp
post Oct 15 2007, 03:02 PM
Post #8


Advanced Member
***

Group: Members
Posts: 144
Joined: 16-February 07
Member No.: 3,365



Well, I got the isoemu v1.09 package (previous post), then test it with grub4dos:

CODE
title IsoEmu Loader
find --set-root /ieldr
chainloader /ieldr


CODE
c:\ieldr="IsoEmu Loader"


isoemu.ini contains single line:
CODE
isoemu isogrub.iso


But either method failed with message:

Try (hd0,0): extended or non-MS: skip
Error_ (blinking cursor after "Error")

So big disappointment since in the referenced link it said:
QUOTE
Of course this method can be used to boot anything like Knoppix, WinPE, Ultimate Boot CD etc.
Go to the top of the page
 
+Quote Post
ktp
post Oct 15 2007, 03:35 PM
Post #9


Advanced Member
***

Group: Members
Posts: 144
Joined: 16-February 07
Member No.: 3,365



Found another link on multi-boot, ntldr, ieldr, grub, isoemu et al.:
http://www.supinfo-projects.com/fr/2005/vd_boot_multi_os/

This is a work/project done by a Chinese student in French computer science college.
The report is in English so there is no problem for reading.

The author appears to use isoemu to boot iso images stored on HDD, and also use the "run"
command from grub (apparently not available with grub4dos) to boot iso file.

CODE
title boot from bootable iso file
run /dev/hda1/winxp.iso


So maybe just to add "run" command code from grub to grub4dos ?

@jaclaz
Maybe the latter posts are to be moved to a new sub-topic isoemu of grub4dos forum ?
Since now the original subject "Error 30" has been off.
Go to the top of the page
 
+Quote Post
ktp
post Oct 15 2007, 04:22 PM
Post #10


Advanced Member
***

Group: Members
Posts: 144
Joined: 16-February 07
Member No.: 3,365



QUOTE (ktp @ Oct 15 2007, 05:02 PM) *
So big disappointment since in the referenced link it said:


OK, the problem is with my key formatted with FAT16. isoemu requires FAT32 or NTFS (readme).
So I tried again with a FAT32 key. It goes a littler further then hangs! :-(

Messages:
* (some greetings/logo messages/images)
* drive 'old' CHS parameters are 1024 16 63
* using extended BIOS disk commands, CHS parameters are 1024 16 63
Primary partition num:1
ie_diskmgr found one FAT32 partition
Go to the top of the page
 
+Quote Post

3 Pages V   1 2 3 >
Reply to this topicStart new topic

Members Who Viewed Topic Today ()

 

RSS Lo-Fi Version Time is now: 24th October 2007 - 12:48 AM

MKPortal ©2003-2006 mkportal.it