Skip to contentSkip to conversation

Unable to boot FreeDOS 1.0

DISCUSSION Miguel Filho 3 participants 3 messages Mar 20, 2008 – Mar 23, 2008

lore
Share & tools
lore
#0 lore raw

Dear list,

I've tried booting FreeDOS 1.0 with Xen 3.2.0 and with the lastest
3.2.0-testing (changeset: 16817:d1d4cff0b3e4) without success. Using
Linux 2.6.18.8 available at xen.org.

- I've checked md5sums and everything is OK.
- I tried with QEMU 0.8, available in Debian 4.0 and it worked fine.
- I've burned the ISO and booted it directly in my machine, it worked too.

Any idea why is this happening? Error message attached.

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 32
name = "freedos"
pae=0
acpi=0
apic=0
disk = [ 'file:/root/hd.img,ioemu:hda,w', 'phy:/dev/hdc,hdc:cdrom,r' ] device_model = '/usr/lib/xen/bin/qemu-dm'
boot="dc"
sdl=1
vnc=0
vncpasswd=''
stdvga=0
serial='pty'

Regards,

Miguel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

Hi Guys,

It seems command.com is missing
could you try any iso from this site?
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.0/

See Ya,

Geraldo
ps: sorry for crossposting, at least i hope it helps :)

Signature · 5 lines
São Paulo, Brasil, -3gmt
site: http://extremedev.sf.net
msn: geraldo_boca_at_hotmail.com
skype: geraldo-netto
icq: 145-061-456
Quoted 31 lines · Miguel Filho

Dear list,

I've tried booting FreeDOS 1.0 with Xen 3.2.0 and with the lastest
3.2.0-testing (changeset: 16817:d1d4cff0b3e4) without success. Using
Linux 2.6.18.8 available at xen.org.

- I've checked md5sums and everything is OK.
- I tried with QEMU 0.8, available in Debian 4.0 and it worked fine.
- I've burned the ISO and booted it directly in my machine, it worked too.

Any idea why is this happening? Error message attached.

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 32
name = "freedos"
pae=0
acpi=0
apic=0
disk = [ 'file:/root/hd.img,ioemu:hda,w', 'phy:/dev/hdc,hdc:cdrom,r' ] device_model = '/usr/lib/xen/bin/qemu-dm'
boot="dc"
sdl=1
vnc=0
vncpasswd=''
stdvga=0
serial='pty'

Regards,

Quoted 6 lines

Miguel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

Geraldo Netto schreef:

Quoted 2 lines

Hi Guys,

Hello Geraldo,

Quoted 4 lines

It seems command.com is missing
could you try any iso from this site?
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.0/

The FreeDOS 1.0 ISO is confirmed to be working under normal PC BIOS when booting from CDROM.
I guess your environment is a modern CPU with virtualisation extensions present and enabled? (as I don't think Syslinux, Memdisk nor FreeDOS kernel have built-in support for acting as XEN client).

FreeDOS 1.0 ISO works like this:
1) Boot from CDROM in non-emulation mode
2) Load isolinux.bin (old version, version 3.62 is latest release)
3) Load isolinux.cfg configuration file
4) Press 1 to load FreeDOS (loads Memdisk, then loads /ISOLINUX/DATA/FDBOOT.IMG, which is a compressed 360KB bootable floppy image file )
5) FDBOOT.IMG gets uncompressed in RAM, then is being executed (in RAM) by Memdisk in uncompressed form.
6) Bootsector is loaded, which in turn loads Kernel.sys (FreeDOS kernel)
7) Kernel.sys goes looking for \FDCONFIG.SYS and if that doesn't exist, \FDCONFIG.SYS. If that also fails, \COMMAND.COM
8) Selecting an option loads drivers and COMMAND.COM, then starts batchfile

Knowing the layout of the 360KB diskette, I'd say the FreeDOS kernel is not able to find any files (don't see any menu option in your screenshot which points to no config.sys being found..nor can kernel find command.com). I don't know if XEN is to blame for this, or Syslinux, Memdisk or FreeDOS, or any combination of these issues.

Could you refer me to the site which has a web-archive of the responses for the XEN mailinglists? Can't see if any threads with solutions were formed there.
Alternative options are to remaster the ISO with 1.44MB floppy emulation enabled instead of non-emulation with Isolinux. Or ofcourse try a bootdisk first, instead of a bootable cdrom.

Quoted 3 lines

Geraldo
ps: sorry for crossposting, at least i hope it helps :)

Bernd

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/