Seite 1 von 1

Boot-Image 20080826

Verfasst: 09 Sep 2008, 10:47
von APieper
Hallo an alle!

Nach dem ich mein Boot-Image aktualisiert habe, bekam ich folgende Fehlermeldung bei einer startenden Client-Installation:


[6] [Sep 09 10:25:23] Executing: /bin/mount -o 'loop' /etc/dosemu/dosboot.img /mnt/dos (Posix.py|567)
[2] [Sep 09 10:25:23] ->>> /etc/dosemu/dosboot.img: No such file or directory (Posix.py|167)
[6] [Sep 09 10:25:23] Exit code: 8192 (Posix.py|188)
[2] [Sep 09 10:25:23] Cannot mount: Command '/bin/mount -o 'loop' /etc/dosemu/dosboot.img /mnt/dos' failed (8192): /etc/dosemu/dosboot.img: No such file or directory
(Posix.py|569)
[1] [Sep 09 10:25:24] Traceback: (Logger.py|591)
[1] [Sep 09 10:25:24] line 567 in '<module>' in file '/usr/local/bin/master.py' (Logger.py|591)
[1] [Sep 09 10:25:24] line 73 in '<module>' in file '/mnt/opsi/install/winxppro_su/winxppro.py' (Logger.py|591)
[1] [Sep 09 10:25:24] line 570 in 'mount' in file '/var/lib/python-support/python2.5/OPSI/System/Posix.py' (Logger.py|591)
[1] [Sep 09 10:25:24] ==>>> Cannot mount: Command '/bin/mount -o 'loop' /etc/dosemu/dosboot.img /mnt/dos' failed (8192): /etc/dosemu/dosboot.img: No such file or directory
(master.py|583)


Ich muss dazu anmerken, dass ich den Befehl "runDosemu" in mein Installationsskript eingebaut habe.

Die Frage ist nun, ob im Boot-Image der DOS-Emulator noch vorhanden ist oder ob er versehentlich bzw. absichtlich rausgelassen wurde?

MFG
Andreas

Re: Boot-Image 20080826

Verfasst: 09 Sep 2008, 10:56
von wolfbardo
Hallo Andreas,
APieper hat geschrieben: Die Frage ist nun, ob im Boot-Image der DOS-Emulator noch vorhanden ist oder ob er versehentlich bzw. absichtlich rausgelassen wurde?
ja im Bootimage wurde aufgeräumt u.a. wg. viewtopic.php?f=7&t=35

U.a. wurde dosemu entfernt, da schon ziemlich lange nicht mehr benutzt in den Installationsscripten.

Gruss
Bardo Wolf

Re: Boot-Image 20080826

Verfasst: 09 Sep 2008, 11:39
von APieper
wolfbardo hat geschrieben:Hallo Andreas,
APieper hat geschrieben: Die Frage ist nun, ob im Boot-Image der DOS-Emulator noch vorhanden ist oder ob er versehentlich bzw. absichtlich rausgelassen wurde?
ja im Bootimage wurde aufgeräumt u.a. wg. viewtopic.php?f=7&t=35

U.a. wurde dosemu entfernt, da schon ziemlich lange nicht mehr benutzt in den Installationsscripten.

Gruss
Bardo Wolf

Hallo.

Das Problem ist aber, dass wir den DosEmu benutzen um das Tool CVTAREA auszuführen.
Was wurde denn noch aus dem Boot-Image herausgelassen?

MFG
Andreas

Re: Boot-Image 20080826

Verfasst: 09 Sep 2008, 12:15
von j.schneider
Hallo,

ist CVTAREA ein Tool zum konvertieren von fat nach ntfs?
Das Bootimage unterstützt mittlerweile den Schreibzugriff auf NTFS mittels ntfs-3g.

Gruß
Jan Schneider

Re: Boot-Image 20080826

Verfasst: 09 Sep 2008, 13:11
von APieper
Hi.

cvtarea erzeugt eine unfragmentierte Datei im FAT-Dateisystem. Diese wird beim Konvertieren nach NTFS durch
convert c: /FS:NTFS /CVTArea:Dateiname
benutzt, um die MFT zusammenhängend anzulegen.


Ausschnitt aus der OPK.chm:

Cvtarea is a flexible tool for creating files and analyzing the placement of those files on a FAT32 or FAT file system. With the
Cvtarea tool, you can create and place a contiguous file in a specific location on the disk.

If your manufacturing processes require you to format the hard disk with the FAT or FAT32 file system before converting the hard
disk drive to the NTFS file system, you can use the Cvtarea tool to create a reserved contiguous placeholder file to be used for the
NTFS metadata files after the conversion. The result will be a less fragmented and more efficient file system.



Wenn das Boot-Image den Schreibzugriff auf NTFS unterstützt, könnte man ja gleich Partitionen mit NTFS anlegen, Oder?

MFG
Andreas

Re: Boot-Image 20080826

Verfasst: 09 Sep 2008, 13:16
von j.schneider
APieper hat geschrieben: Wenn das Boot-Image den Schreibzugriff auf NTFS unterstützt, könnte man ja gleich Partitionen mit NTFS anlegen, Oder?
Ja, das kann man.

Re: Boot-Image 20080826

Verfasst: 09 Sep 2008, 13:37
von APieper
Welche Änderungen müssen am winxppro.py Skript gemacht werden damit die Winxp Installation von Anfang an auf einer NTFS-Partition stattfindet?

Welchen Wert muss der Parameter fsType der Funktion writePartitionBootRecord haben?

Re: Boot-Image 20080826

Verfasst: 09 Sep 2008, 13:49
von j.schneider
Der folgende Methodenaufruf legt eine NTFS-PArtition an und erstellt darauf ein NTFS-Dateisystem:

Code: Alles auswählen

disk.createPartition('0%', '10%', 'ntfs', type = 'primary', boot = True)
disk.createFilesystem(1, fs = 'ntfs')
Der Partition-Bootrecord wird dabei, so weit ich weiss, von mkfs.ntfs mit angelegt.
APieper hat geschrieben:Welche Änderungen müssen am winxppro.py Skript gemacht werden damit die Winxp Installation von Anfang an auf einer NTFS-Partition stattfindet?
Gute Frage, wurde von uns bisher noch nicht getestet.

Gruß
Jan Schneider