Plop Forum

General Category => Boot Managers => Topic started by: Jarod on June 30, 2009, 19:44:57 PM

Title: Disk error
Post by: Jarod on June 30, 2009, 19:44:57 PM
Hi All!
Who can tell me, why plop btmgr write's "Disk error. press any key..."
I'm booting my old laptop with USB 1.0 from grub4dos
title PLOP Boot Manager (USB Booting Suppport!)
kernel /windows/images/plpbt.bin

When i press eny key PC tryin' to read from fdd
Title: Re: Disk error
Post by: Elmar on July 01, 2009, 12:07:41 PM
hi,
can you make a digital photo of your screen when you see the message and post it?

regards
elmar
Title: Re: Disk error
Post by: Jarod on July 01, 2009, 19:15:01 PM
(http://img245.imageshack.us/img245/435/002apq.jpg)
At that time, the LED lights on USB-Flash drive, FDD & CD-ROM...
Title: Re: Disk error
Post by: Elmar on July 01, 2009, 19:26:20 PM
this message is not from the boot manager.

how did you make the usb drive bootable?
is there any linux loader on the usb drive (syslinux, lilo or grub)?
what distro do you try to boot?

regards
elmar
Title: Re: Disk error
Post by: Jarod on July 01, 2009, 19:47:36 PM
(http://img34.imageshack.us/img34/8083/000uwb.jpg)
It happens when I boot .img-file of plop.
My boot flash i made in real ms-dos by command sys.
On flash installed grub4dos and it booting from normal PC which supports USB boot. So, I don't know why Plop doesn't like it :)
Title: Re: Disk error
Post by: Elmar on July 01, 2009, 20:00:52 PM
i dont understand what you are doing
Title: Re: Disk error
Post by: Jarod on July 01, 2009, 20:18:44 PM
Ok.
I'm boot grub4dos from disk C:
Then I'm boot plop boot manager
I want to boot from my flash, but plop doesn't work properly.
My laptop doesn't support direct boot from USB that's why i try to use plop.
(Sorry for my english  ::) )
Title: Re: Disk error
Post by: Elmar on July 01, 2009, 20:30:36 PM
you said, you made the usb drive with "real-msdos" bootable. so i assume, you want boot a dos from usb. what dos is it exactly? i think, its a geometry problem and the disk error message comes from dos. the error message is not programmed into the boot manager, so anybody else must write it.
Title: Re: Disk error
Post by: Jarod on July 01, 2009, 21:59:15 PM
Thank you.
Hopefully over time, someone or I'll find a reason of that error.
Title: Re: Disk error
Post by: Elmar on July 01, 2009, 22:28:37 PM
if you do not anwer questions, then there will never be a solution.

do you have dos on the usb device? and if yes, whats dos is it? ms dos v5.0, 6.22? freedos?

i think there is an easy way to fix it, but with no answers i can not help.

Title: Re: Disk error
Post by: Jarod on September 01, 2009, 12:45:34 PM
I apologize for the delay in response.
How I made my flash.
When I worked on my project of bootin'g usb-flash - I found a simple way to make it bootable:
Connect flsh to your computer and boot MS-DOS from Windows 98. flash-drive will be assigned some letter. for example "F:"
Then run sys F: and our flsh-drive is bootable with MS-DOS!
Furthermore I'm use GRUB4DOS for booting other things like linux, acronis etc.
On modern computers that support booting from UBS - everything works fine!
But I install plop boot manager on the computer where the BIOS does not support booting from USB and received a message "Disk error".
You tell that "the error message is not programmed into the boot manager".
In this case, I think the message comes from the BIOS. ( ???)
However, instead flash-drive I try to boot from IDE HDD connected via USB-IDE adapter.
On that HDD installed windows xp. But again there is the same error message.
Title: Re: Disk error
Post by: Elmar on September 01, 2009, 12:58:28 PM
Quote from: Jarod on September 01, 2009, 12:45:34 PM
You tell that "the error message is not programmed into the boot manager".
In this case, I think the message comes from the BIOS. ( ???)

no, it comes from the boot sector
Title: Re: Disk error
Post by: Jarod on September 01, 2009, 16:05:10 PM
Your project is unique.
I would like something to help (in testing).
It is a pity that there is some language barrier.
I'll try a little experiment :)
So tell me please: external HDD connected via USB-IDE adapter will be booted?
Title: Re: Disk error
Post by: Elmar on September 01, 2009, 16:09:10 PM
the most usb-ide adapter should work

what partition id has the partition on the usb harddisk or flashdrive. you can use plppart32 under windows to see the id
http://www.plop.at/en/windowstoolsdl.html
Title: Re: Disk error
Post by: Jarod on September 01, 2009, 16:46:30 PM
C:\>plppart32 -d 2 -i
PLPPART32 v0.1  20070403  by Elmar Hanlhofer  http://www.plop.at

Using physical drive 2

Drive geometry:
  Media Type         : RemovableMedia
  Cylinders          : 249
  Tracks per Cylinder: 255
  Sectors per Track  : 63
  Bytes per Sector   : 512

NR  ID  BOOT     SS  SH   SC    ES  EH   EC     LBAST    LBASEC  SIZE
-------------------------------------------------------------------------------
1  0x06 *[0x80]   1   1     0   63  63   992        63   4003713 1.91 GByte
2  0x00           0   0     0    0   0     0         0         0 0.00 MByte
3  0x00           0   0     0    0   0     0         0         0 0.00 MByte
4  0x00           0   0     0    0   0     0         0         0 0.00 MByte
Title: Re: Disk error
Post by: Elmar on September 01, 2009, 16:51:55 PM
the main problem is, that your partition has the wrong id.
change the partition id from 0x06 (=fat 16) to 0x0e (=fat 16 lba)
then unplug and replug the harddisk/flash and format it
you have to make it again bootable with sys
i am sure, this will work. lba mode is much better than the old chs.
Title: Re: Disk error
Post by: Jarod on September 01, 2009, 16:53:57 PM
Oh, yes! It's work!
But I have some problems.  ::)
I tested Plop v5.0.3 with "Force USB 1.1" Mode (In my laptop USB 1.1)
Plop doesn't see my PCMCIA USB2.0 4 ports card bus.  :-[
Anyway I use internal USB 1.1 (despite the fact that very slowly)
Flash-drive assigned letter "C:" and laptop's HDD assigned letter "D:"
Plop doesn't boot MS-DOS from flash. After loading config.sys contents of the disk "C" (stick) unreadable. Command "DIR" returns a lot of non-printing characters.
However from config.sys I can choose grub4dos, and thence boot ms-dos.img file (image MS-DOS diskette). And it's work!

(Sequence of actions is
HDD or CD-ROM with Plop -> MS-DOS on stick -> config.sys (install=grub.exe) -> Groob.exe -> menu.lst
(kernel /memdisk floppy
initrd /DOS98.zip)
) ::)  ;D

Thank you for your responses and support!
Title: Re: Disk error
Post by: Jarod on September 01, 2009, 20:12:35 PM
And also I wanted to ask:
How to format the flash drive with "id 0x0e"?
I changed id with plppart32 utility, but after formatting under win xp that parameter was returned again in 0x06  :-\
Title: Re: Disk error
Post by: Elmar on September 01, 2009, 21:23:28 PM
Quote from: Jarod on September 01, 2009, 16:53:57 PM
Plop doesn't see my PCMCIA USB2.0 4 ports card bus.  :-[

PCMCIA is not supported at the moment

Quote from: Jarod on September 01, 2009, 16:53:57 PM
Anyway I use internal USB 1.1 (despite the fact that very slowly)

next version will be faster
here is a test version
http://download.plop.at/files/tmp/plpbt-testqiet72-2.zip


Quote from: Jarod on September 01, 2009, 20:12:35 PM
How to format the flash drive with "id 0x0e"?
I changed id with plppart32 utility, but after formatting under win xp that parameter was returned again in 0x06  :-\

its simple, do not format it with windows xp. you make it bootable with sys from dos. before you do this format it with dos.

regards
elmar
Title: Re: Disk error
Post by: Jarod on September 02, 2009, 13:15:36 PM
Thank you very much. I'll try :)