3 If a program depends on the correct label and/or serial number for the
4 CD-Rom, you can use the following command to extract that information:
6 dd if=<your cdrom device> bs=1 skip=32808 count=32
8 You need read access to the device, so perhaps you have to do it as root.
9 Put the resulting string (without trailing blanks) into your
10 wine.ini/.winerc file like:
15 [FIXME: if someone knows how to get the serial number in Linux, please
16 put this information here].
18 If you have access to a Win32 system and C-compiler, you can compile the
19 following program to extract this information:
21 ------------------------- begin volinfo.c ---------------------------
25 int main(int argc,char **argv[])
27 char drive, root[]="C:\\", label[1002], fsname[1002];
28 DWORD serial, flags, filenamelen, labellen = 1000, fsnamelen = 1000;
30 printf("Drive Serial Flags Filename-Length "
32 for (drive = 'C'; drive <= 'Z'; drive++)
35 if (GetVolumeInformationA(root,label,labellen,&serial,
36 &filenamelen,&flags,fsname,fsnamelen))
38 strcat(label,"\""); strcat (fsname,"\"");
39 printf("%c:\\ 0x%08lx 0x%08lx %15ld \"%-20s \"%-20s\n",
40 drive, (long) serial, (long) flags, (long) filenamelen,
47 Probably you can get that information also from the File Manager in
50 ------------------------- end volinfo.c -----------------------------
55 Some installed programs only look for the CD-Rom in the drive letter
56 that the CD-Rom had when the program was installed. In this case, make
57 sure you use the correct letter, especially if you installed the
58 program under Windows and are now trying to run it in Wine.
59 Some programs reportedly store the drive letter in their .INI file,
60 so you might look there and try to change it.