Jump to content

"line 1 Contains A Syntax Error"


shaked

Recommended Posts

Hello,

Today tried to create Winddows Xp Installation with VIA VT8237 SATA driver (motherboard:ASUS A7V600-X),By the next message.

But at the installation appears the next error:

"Line 1 contains a syntax error"

Someone knows problem source?

thanks,

Shaked

Link to comment
Share on other sites


WINNT.SIF file:

; Generated by nLite 0.99.8 beta 4

;

[Data]Autopartition = 0

MsDosInitiated = 0

UnattendedInstall = Yes

[unattended]

UnattendMode = FullUnattended

UnattendSwitch = Yes

OemPreinstall = Yes

OemSkipEula = Yes

FileSystem = *

WaitForReboot = No

NoWaitAfterTextMode = 1

NoWaitAfterGUIMode = 1

TargetPath = Windows

DriverSigningPolicy = Ignore

NonDriverSigningPolicy = Ignore

Hibernation = No

[MassStorageDrivers]

"VIA RAID Controller(Windows XP)" = "OEM"

[OEMBootFiles]

TXTSETUP.OEM

TXTSETUP.OEM:

d1 = "VIA RAID Combo Driver Diskette", \RAID\winxp\VIAMRAID.SYS, \

d2 = "VIA RAID Combo Driver Diskette", \RAID\win2000\VIAMRAID.SYS, \

d3 = "VIA RAID Combo Driver Diskette", \RAID\Winnt40\VIAMRAID.SYS, \

d4 = "VIA RAID Combo Driver Diskette", \RAID\2003ia32\VIAMRAID.SYS, \

#d9 = "VIA RAID Combo Driver Diskette", \RAID\x64\VIAMRAID.SYS, \

d5 = "VIA ATA/ATAPI Host Controller Driver", \PIDE\winxp\viapdsk.sys, \

d6 = "VIA ATA/ATAPI Host Controller Driver", \PIDE\win2000\viapdsk.sys, \

d7 = "VIA ATA/ATAPI Host Controller Driver", \PIDE\winnt40\viapdsk.sys, \

d8 = "VIA ATA/ATAPI Host Controller Driver", \PIDE\2003ia32\viapdsk.sys, \

Link to comment
Share on other sites

If i remember correctly you need to change

OemPreinstall = Yes

to

OemPreinstall = No

Thank you very much, the problem with line 1 is solved.

But now the installation does not identify the hard drive, Someone has an idea why the problem exists?.

thanks.

Link to comment
Share on other sites

Well... the answer is VERY simple... By setting OemPreinstall=No, Setup won't find the drivers anymore...

You HAVE to set it OemPreinstall=Yes.

And... line 1 of WHICH FILE contains an error? Please post your txtsetup.oem file.

Below txtsetup.oem file contents,That situated by the folders windosXpCD\$OEM$\TEXTMODE and I386\$OEM$ (The explanations accounts were delete) :

[Disks]d1 = "VIA RAID Combo Driver Diskette", \RAID\winxp\VIAMRAID.SYS, \

d2 = "VIA RAID Combo Driver Diskette", \RAID\win2000\VIAMRAID.SYS, \

d3 = "VIA RAID Combo Driver Diskette", \RAID\Winnt40\VIAMRAID.SYS, \

d4 = "VIA RAID Combo Driver Diskette", \RAID\2003ia32\VIAMRAID.SYS, \

#d9 = "VIA RAID Combo Driver Diskette", \RAID\x64\VIAMRAID.SYS, \

d5 = "VIA ATA/ATAPI Host Controller Driver", \PIDE\winxp\viapdsk.sys, \

d6 = "VIA ATA/ATAPI Host Controller Driver", \PIDE\win2000\viapdsk.sys, \

d7 = "VIA ATA/ATAPI Host Controller Driver", \PIDE\winnt40\viapdsk.sys, \

d8 = "VIA ATA/ATAPI Host Controller Driver", \PIDE\2003ia32\viapdsk.sys, \

[Defaults]

scsi = VIARAID_MULTIPLE_XP

[scsi]

VIARAID_MULTIPLE_2003IA32 = "VIA RAID Controller(Windows 2003 IA32)"

VIARAID_MULTIPLE_XP = "VIA RAID Controller(Windows XP)"

VIARAID_MULTIPLE_2K = "VIA RAID Controller(Windows 2000)"

VIARAID_MULTIPLE_NT = "VIA RAID Controller(Windows NT4)"

#VIARAID_MULTIPLE_2003K864 = "VIA RAID Controller(Windows 2003 AMDx86-64)"

VIAPDSK_VT4149_2003IA32 = "VIA ATA/ATAPI Host Controller(Windows 2003IA32)"

VIAPDSK_VT4149_XP = "VIA ATA/ATAPI Host Controller(Windows XP)"

VIAPDSK_VT4149_2K = "VIA ATA/ATAPI Host Controller(Windows 2000)"

VIAPDSK_VT4149_NT = "VIA ATA/ATAPI Host Controller(Windows NT4)"

#=======================================#

[Files.scsi.VIARAID_MULTIPLE_XP]

driver = d1, viamraid.sys, VIAMRAID_NT5

inf = d1, viamraid.inf

## Cat file directive. It should be marked with non-digital signed driver

catalog = d1, viamraid.cat

[Files.scsi.VIARAID_MULTIPLE_2K]

driver = d2, viamraid.sys, VIAMRAID_NT4

inf = d2, viamraid.inf

## Cat file directive. It should be marked with non-digital signed driver

catalog = d2, viamraid.cat

[Files.scsi.VIARAID_MULTIPLE_NT]

driver = d3,viamraid.sys,VIAMRAID_NT4

inf = d3,viamraid.inf

[Files.scsi.VIARAID_MULTIPLE_2003IA32]

driver = d4, viamraid.sys, VIAMRAID_NT5

inf = d4, viamraid.inf

## Cat file directive. It should be marked with non-digital signed driver

catalog = d4, viamraid.cat

#[Files.scsi.VIARAID_MULTIPLE_2003K864]

#driver = d9, viamraid.sys, VIAMRAID_NT5

#inf = d9, viamraid.inf

#[HardwareIds.scsi.VIARAID_MULTIPLE_2003K864]

#id = "PCI\VEN_1106&DEV_3249","viamraid"

#id = "PCI\VEN_1106&DEV_3149","viamraid"

#id = "PCI\VEN_1106&DEV_3164","viamraid"

[HardwareIds.scsi.VIARAID_MULTIPLE_2003IA32]

id = "PCI\VEN_1106&DEV_3249","viamraid"

id = "PCI\VEN_1106&DEV_3149","viamraid"

id = "PCI\VEN_1106&DEV_3164","viamraid"

[HardwareIds.scsi.VIARAID_MULTIPLE_XP]

id = "PCI\VEN_1106&DEV_3249","viamraid"

id = "PCI\VEN_1106&DEV_3149","viamraid"

id = "PCI\VEN_1106&DEV_3164","viamraid"

[HardwareIds.scsi.VIARAID_MULTIPLE_2K]

id = "PCI\VEN_1106&DEV_3249","viamraid"

id = "PCI\VEN_1106&DEV_3149","viamraid"

id = "PCI\VEN_1106&DEV_3164","viamraid"

#=======================================#

[Files.scsi.VIAPDSK_VT4149_XP]

driver = d5, viapdsk.sys, VIAMRAID_NT5

inf = d5, viapide.inf

## Cat file directive. It should be marked with non-digital signed driver

catalog = d5, viapdsk.cat

[Files.scsi.VIAPDSK_VT4149_2K]

driver = d6, viapdsk.sys, VIAMRAID_NT4

inf = d6, viapide.inf

## Cat file directive. It should be marked with non-digital signed driver

catalog = d6, viapdsk.cat

[Files.scsi.VIAPDSK_VT4149_NT]

driver = d7, viapdsk.sys, VIAMRAID_NT4

inf = d7, viapide.inf

[Files.scsi.VIAPDSK_VT4149_2003IA32]

driver = d8, viapdsk.sys, VIAMRAID_NT5

inf = d8, viapide.inf

## Cat file directive. It should be marked with non-digital signed driver

catalog = d8, viapdsk.cat

[HardwareIds.scsi.VIAPDSK_VT4149_2003IA32]

id = "PCI\VEN_1106&DEV_4149","viapdsk"

[HardwareIds.scsi.VIAPDSK_VT4149_XP]

id = "PCI\VEN_1106&DEV_4149","viapdsk"

[HardwareIds.scsi.VIAPDSK_VT4149_2K]

id = "PCI\VEN_1106&DEV_4149","viapdsk"

#===============================================================================

[Config.VIAMRAID_NT5]

value = Parameters\PnpInterface, 5, REG_DWORD, 1

[Config.VIAMRAID_NT4]

value = "", Tag, REG_DWORD, 1

Link to comment
Share on other sites

Thank you Bâshrat the Sneaky.

I acted according to the instructions in the message, but still the hard disk was not identified.

I attached the TXTSETUP.OEM and part of WINNT.SIF ,will be happy if will be able to examine if there are in them errors.

______________________________________________

WINNT.SIF:

[MassStorageDrivers]"VIA RAID Controller(Windows XP)" = "OEM"

[OEMBootFiles]

TXTSETUP.OEM

viamraid.cat

viamraid.sys

TXTSETUP.OEM (in $OEM$\TEXTMODE and I386\$OEM$):

[Disks]d1 = "VIA RAID Combo Driver Diskette", \RAID\winxp\VIAMRAID.SYS, \

d2 = "VIA ATA/ATAPI Host Controller Driver", \PIDE\winxp\viapdsk.sys, \

[Defaults]

scsi = VIARAID_MULTIPLE_XP

[scsi]

VIARAID_MULTIPLE_XP = "VIA RAID Controller(Windows XP)"

VIAPDSK_VT4149_XP = "VIA ATA/ATAPI Host Controller(Windows XP)"

#=======================================#

[Files.scsi.VIARAID_MULTIPLE_XP]

driver = d1, viamraid.sys, VIAMRAID_NT5

inf = d1, viamraid.inf

## Cat file directive. It should be marked with non-digital signed driver

catalog = d1, viamraid.cat

[HardwareIds.scsi.VIARAID_MULTIPLE_XP]

id = "PCI\VEN_1106&DEV_3249","viamraid"

id = "PCI\VEN_1106&DEV_3149","viamraid"

id = "PCI\VEN_1106&DEV_3164","viamraid"

#=======================================#

[Files.scsi.VIAPDSK_VT4149_XP]

driver = d5, viapdsk.sys, VIAMRAID_NT5

inf = d5, viapide.inf

## Cat file directive. It should be marked with non-digital signed driver

catalog = d5, viapdsk.cat

#===============================================================================

[Config.VIAMRAID_NT5]

value = Parameters\PnpInterface, 5, REG_DWORD, 1

[Config.VIAMRAID_NT4]

value = "", Tag, REG_DWORD, 1

Link to comment
Share on other sites

d1 = "VIA RAID Combo Driver Diskette", \RAID\winxp\VIAMRAID.SYS, \

d2 = "VIA ATA/ATAPI Host Controller Driver", \PIDE\winxp\viapdsk.sys, \

Well... those are still subfolders of which you have to get rid...

Be able to explain please you your intention?

I endeavoured to add the next line to the file, but still the hard drive is was not identified:

[Disks]d1 = "VIA RAID Combo Driver Diskette", \RAID\winxp\VIAMRAID.SYS, \TEXTMODE

d2 = "VIA ATA/ATAPI Host Controller Driver", \PIDE\winxp\viapdsk.sys, \

Link to comment
Share on other sites

  • 3 weeks later...

Here's what I did. I got help from another post in this forum (can't remember where it's at; I'll let you know in the near future hopefully). Thanks for the driver packs Bashrat. But for some odd reason, I could never get them to work with the VIA SATA 8237 drivers. It always errored out. If the drivers need to be OEM without a floppy, then there are some settings that are required for the WINNT.SIF file.

[GuiUnattended]

OemSkipWelcome = 1

[Data]

UnattendedInstall=Yes

MSDosInitiated=No

The following lines also must be added to TXTSETUP.SIF:

[sourceDisksFiles]

viamraid.sys = 1,,,,,,4_,4,1,,,1,4

viapdsk.sys = 1,,,,,,4_,4,1,,,1,4

[HardwareIdsDatabase]

PCI\VEN_1106&DEV_3149 = "viamraid"

PCI\VEN_1106&DEV_4149 = "viapdsk"

[sCSI.Load]

viamraid = viamraid.sys,4

viapdsk = viapdsk.sys,4

[sCSI]

viamraid = "VIA SATA RAID Controller"

viapdsk = "VIA ATA/ATAPI Host Controller"

I used the "OEM" method of adding drivers by creating the $OEM$ folder in the source folder (and the i386 folder as well to make sure). I also compressed the driver files using the makecab command. When you download the latest drivers, you use the "DriverDisk" folder to create the File structure needed for the $OEM$/$1\Drivers folder. Only copy the TXTSETUP.OEM file and the 2 folders with them.

Make sure to reference the drivers in the WINNT.SIF file by doing something similar to this:

[unattended]

OemPnPDriversPath = "Drivers\VIAMRAID;Drivers\VIAMRAID\PIDE\Winxp;Drivers\VIAMRAID\RAID\Winxp"

That's what I used in my folder structure.

That's how I got it to FINALLY work. I spent 1 week trying to figure out what was wrong after following all the SATA driver slipstreaming forums and sites I could find. There was a certain error that always came up after the textmode installation was finished, and it was finally solved with the lines above in the [Data] section in WINNT.SIF

So Bashrat, how do I get those driver packs to work? It just won't work for me. Maybe it's my configuration? I'm using a SATA and an IDE hard drive, but wanted Windows XP SP2 on my SATA drive. I have no floppy. I'm also using a PCI sound card because it has 2 cd connectors on it and my mini-ATX mobo only comes with one. My GeForce FX 5700LE is also generic (Apollo Graphics, but they supposedly only produce everything BUT NVidia cards on their website. The card still works good though, and overclocks really well 225/325 stock -> 275/400 overclocked, but that's actually supposed to be the "normal" clock for a 5700 anyway...go figure).

Is there something that I was doing wrong? Maybe it was that I was combining both methods for installing drivers instead of just doing one or the other?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...