Boot-Image 20080826

Antworten
APieper
Beiträge: 13
Registriert: 09 Sep 2008, 10:35

Boot-Image 20080826

Beitrag 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
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1354
Registriert: 01 Jul 2008, 12:10

Re: Boot-Image 20080826

Beitrag 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


OPSICONF 2024
https://opsi.org/en/opsiconf/

Basisworkshop Mainz :

17. - 20. 06. 2024


opsi support - uib gmbh
For productive opsi installations we recommend maintainance + support contracts which are the base of opsi development.

http://www.uib.de
APieper
Beiträge: 13
Registriert: 09 Sep 2008, 10:35

Re: Boot-Image 20080826

Beitrag 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
Benutzeravatar
j.schneider
uib-Team
Beiträge: 1819
Registriert: 29 Mai 2008, 15:14

Re: Boot-Image 20080826

Beitrag 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
APieper
Beiträge: 13
Registriert: 09 Sep 2008, 10:35

Re: Boot-Image 20080826

Beitrag 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
Benutzeravatar
j.schneider
uib-Team
Beiträge: 1819
Registriert: 29 Mai 2008, 15:14

Re: Boot-Image 20080826

Beitrag 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.
APieper
Beiträge: 13
Registriert: 09 Sep 2008, 10:35

Re: Boot-Image 20080826

Beitrag 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?
Benutzeravatar
j.schneider
uib-Team
Beiträge: 1819
Registriert: 29 Mai 2008, 15:14

Re: Boot-Image 20080826

Beitrag 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
Antworten