Help - Search - Members - Calendar
Full Version: Problem With Memdisk
The CD Forum > CD Shell and Boot Scriptor > General
Björn_2
Hello,

I tried to create a boot-dvd with a bootable floppy-image described in the pinned topic of this forum.

Here are my files:
cdshell.ini
CODE
...
isolinux /boot/modules/memdisk initrd="/utils/img/floppy.ima run=$abteilung ip=$ip host=$hostname termVar=$termVar
...


Cmdline.bat
CODE
set run=%6
set ip=%8
set host=%10
set termVar=%12


autoexec.bat
CODE
...
:printUNATTENDEDTXT
echo [Data] > a:\unattended.txt
echo AutoPartition=1 > a:\unattended.txt
...

:install
%CDROM%:\setup\xp\I386\WINNT32.EXE /unattend0a:\unattended.txt


DVD-Layout:
CODE
|--boot
  |-- modules
     |-- memdisk
     |-- isolinux.csm
     |-- isolinux
        |-- memdisk


Now my problem:
When I typed in all the information needed the cdshell boots from floppy.ima

But the following messages appear:
CODE
ISOLINUX 2.11 08/18/2004
  Copyright (C) 1994-2004 H. Peter Anvin
isolinux: Starting up, DL=9F
isolinux: Loaded spec packet OK, drive = 9F
isolinux: Root directory at LBA = 0000001C
isolinux: About to load config file...
Loading /boot/modules/memdisk...
Loading /utils/img/floppy.ima.................
Ready.
MEMDISK 2.11 2004-08-16 Copyright 2001-2003 H. Peter Anvin
e820: 0000000000000000 000000000009e800 1
e820: 000000000009e800 0000000000001800 2
...
e820: 00000000FFFE0000 0000000000020000 2
Ramdisk at 0x07a40000, length 0x00168000
command line: BOOT_IMAGE=/boot/modules/memdisk initrd=/utils/img/floppy.ima run=Leistungen ip=192.168.11.83 host=test termVar=1
Disk is floppy, 1440 K, C/H/S = 80/2/18
Total size needed = 1655 bytes, allocating 2K
Old dos memory at 0x9e800 (map says 0x9e800), loading at 0x9e000
1588: 0xffff   15E801: 0x3c00 0x06a4
INT 13 08: Success, count = 3, BPT = 9e80:03c4
old:  int13 = ec6a40bd  int15 = 9e80027c
new: int13 = 9e000008  int15 = 9e00027c
Loading boot sector... booting...

Datenträger entfernen
Neustart: Taste drücken


What is the reason for this message. Where is my failure?

Thanks
Björn
Björn_2
My floppy.ima had had an error.

But now I have other problems.

First:
My VMWare tells me:
QUOTE
The CPU has been disabled by the guest operating system. You will need to power off or reset the virtual machine at this point.


Second:
If I try to start the floppy.ima via bcdw
CODE
if ($lastKey == key[y]); then bcdw boot \utils\img\floppy.ima run=$abteilung ip=$ip host=$hostname termVar=$termVar

the floppy.ima will start, but the 3 parameters (run, ip, host) will not set in Cmdline.bat.

Third:
In the autoexec.bat I will create the unattended.txt. But drive a:\ is the virtual floppy started by isolinux. If I create the file in the RamDrive the unattended.txt will be deleted at the next restart.
So I have to write the unattended.txt to the physical drive a:\.
But how?

Thanks for helping
Mike
If you use diskemu to emulate the floppy, it should map your physical A: to a virtual B: while the emulator is running. So you could write the file to B:, and on the next restart it will show up on A: (assuming you don't start the emulator again).
Björn_2
Oh, it's much complicated mad.gif

I have fixed several problems. Now, I can boot my floppy image with isolinux and memdisk.

But:
If I want to start winnt32, dos says me that it can't execute it (not for dos).
If I use winnt instead, there have to be a harddisk with a minimum of 500MB capacity. I don't have a harddisk when starting my floppy image.

So my new idea is:

- Start CDShell and type in the values you want
- Start then the floppy image and write the values to the physical floppy
- Write an additional information to the physical floppy which xp version the user would be install (for example WinXP Sp1, WinXP SP2, WinXP unattended, ...)
- restart the computer
- cdshell will start again but the user doesn't press a key
- the default option (if nobody press a key) is not to boot from hdd but to read the additional information from the floppy
- the additional information tells cdshell to start the right version of winnt32 with the correct parameter

But:
I have no access to the floppy in cdshell sad.gif

Has anybody an idea to solve my problem

Thank you very much for helping me
Björn_2
Perhaps I know how it can works.

If I use a BartPE image instead of a dos-image.
So I had access to the winnt32, I can start a command prompt where the user type in the dynamic values, the user can correct the input and I had write-access to the floppy.

But bevor I start work had would like to know how anyone else think about it.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.