Jump to content

Marietto

Member
  • Posts

    10
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Italy

Posts posted by Marietto

  1. Hello to everybody,

    I'm trying to start the unattended installation of Windows 7 using GRUB4DOS with a different approach.

    My first hard disk is partitioned like this :

    (hd0,0) : Windows 7 100 MB hidden partition

    (hd0,1) : partition where is installed Windows 7

    This is what I did on (hd0,0) from Linux :

    a) mv Boot Boot_

    b) mv bootmgr bootmgr_

    c) copied here the file autounattend.xml

    c) copied here grldr

    d) copied here menu.lst with this content inside :

    title : Start the installation of Windows 7

    root (hd0,1)

    chainloader /bootmgr

    on (hd0,1) I copied all the files and folder located on the Windows 7 DVD,so here I have these files and folders :

    $Recycle.Bin

    Documents and Settings

    Program Files

    ProgramData

    Users

    Windows

    boot

    bootmgr

    efi

    setup.exe

    sources

    support

    upgrade

    After having done this,I have installed the GRUB4DOS bootloader on sda from Linux,with this command :

    ./bootlace.com /dev/sda

    and I rebooted the computer. At the boot time it asks to me to press a special key if I want to load the old bootmgr. I don't do it and the grub4dos menu appears on the screen,showing the message :

    Start the installation of Windows 7

    When I press a key,the installation of Windows 7 starts correctly,but the autounattend.xml file is not detected. I don't understand why,because I have copied it on the root of (hd0,0) and of (hd0,1). I read somewhere that it should be copied o the root of the disk,is this right ? What's the root in my scenario,(hd0,0)/ or (hd0,1)/ ?

  2. Hello to everybody,

    I'm trying to make an unattended installation of Windows 7 over a pre-existing installation of Windows 7. This is the autounattend.xml file I'm using :

    <?xml version="1.0" encoding="utf-8"?>

    <unattend xmlns="urn:schemas-microsoft-com:unattend">

    <settings pass="windowsPE">

    <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <SetupUILanguage>

    <UILanguage>en-US</UILanguage>

    </SetupUILanguage>

    <InputLocale>en-US</InputLocale>

    <SystemLocale>en-US</SystemLocale>

    <UILanguage>en-US</UILanguage>

    <UILanguageFallback>en-US</UILanguageFallback>

    <UserLocale>en-US</UserLocale>

    </component>

    <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <DiskConfiguration>

    <Disk wcm:action="add">

    <DiskID>0</DiskID>

    <WillWipeDisk>false</WillWipeDisk>

    </Disk>

    </DiskConfiguration>

    <ImageInstall>

    <OSImage>

    <InstallTo>

    <DiskID>0</DiskID>

    <PartitionID>1</PartitionID>

    </InstallTo>

    </OSImage>

    </ImageInstall>

    <UserData>

    <AcceptEula>false</AcceptEula>

    <FullName>Windows</FullName>

    <Organization>Windows</Organization>

    </UserData>

    </component>

    </settings>

    <settings pass="specialize">

    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <ComputerName>Windows</ComputerName>

    </component>

    </settings>

    <settings pass="oobeSystem">

    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <FirstLogonCommands>

    <SynchronousCommand wcm:action="add">

    <Order>1</Order>

    <Description>Fase4</Description>

    <CommandLine>c:\reinstallazione\fase4.bat</CommandLine>

    </SynchronousCommand>

    </FirstLogonCommands>

    </component>

    </settings>

    </unattend>

    Now this is the problem I need to fix : Usually Windows 7 creates a 100 MB hidden partition instead to install itself in one only single partition. For this reason,the autounattend.xml file I created can't be valid everytime. Plus,I need to make the unattended re-installation of Windows 7 64 bit,and this is another reason why I need to use al least 4 different kinds of autounattend.xml files :

    version n. 1) can be used if the old installation of Windows 7 32 bit hadn't created a 100 MB hidden partition. In this case :

    <?xml version="1.0" encoding="utf-8"?>

    <unattend xmlns="urn:schemas-microsoft-com:unattend">

    <settings pass="windowsPE">

    <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    ....

    <ImageInstall>

    <OSImage>

    <InstallTo>

    <DiskID>0</DiskID>

    <PartitionID>1</PartitionID>

    </InstallTo>

    </OSImage>

    </ImageInstall>

    version n. 2) the old installation of Windows 7 64 bit hadn't created a 100 MB hidden partition. In this case :

    <?xml version="1.0" encoding="utf-8"?>

    <unattend xmlns="urn:schemas-microsoft-com:unattend">

    <settings pass="windowsPE">

    <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    ....

    <ImageInstall>

    <OSImage>

    <InstallTo>

    <DiskID>0</DiskID>

    <PartitionID>1</PartitionID>

    </InstallTo>

    </OSImage>

    </ImageInstall>

    version 3) the old installation of Windows 7 32 bit had created a 100 MB hidden partition. In this case :

    <?xml version="1.0" encoding="utf-8"?>

    <unattend xmlns="urn:schemas-microsoft-com:unattend">

    <settings pass="windowsPE">

    <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    ....

    <ImageInstall>

    <OSImage>

    <InstallTo>

    <DiskID>0</DiskID>

    <PartitionID>2</PartitionID>

    </InstallTo>

    </OSImage>

    </ImageInstall>

    version n. 4) the old installation of Windows 7 64 bit had created a 100 MB hidden partition. In this case :

    <?xml version="1.0" encoding="utf-8"?>

    <unattend xmlns="urn:schemas-microsoft-com:unattend">

    <settings pass="windowsPE">

    <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    ....

    <ImageInstall>

    <OSImage>

    <InstallTo>

    <DiskID>0</DiskID>

    <PartitionID>2</PartitionID>

    </InstallTo>

    </OSImage>

    </ImageInstall>

    Since I can start the autounattended re-installation of Windows 7 only copying the autounattend.xml file in one only place,the root of the CD/ROM,because it is the only place where it is detected and because whe whole system will be loaded from there,my question is : how can I configure the file autounattend.xml to avoid the problem that I have explained above ?

  3. Hello,

    I'm trying to create a bootable CD with FreeDOS and without the long file names limitation. Inside the ISO image I've included the FreeDOS files and a lot of files contain files longer than 31 chars as for example these :

    activedirectory-webservices-replacement.man

    application-experience-program-compatibility-assistant-replacement.man

    and so on.

    I make the ISO image using mkisofs with the following parameters :

    -o fdoem.iso -b isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info -table -N -r -iso-level 4 -J -l -D -joliet-long -relaxed-filenames CDROOT

    this is what happens when I make the ISO image.

    Using "mkisofs.rc"

    Warning: creating filesystem that does not conform to ISO-9660.

    Warning: Creating ISO-9660:1999 (version 2) filesystem.

    Warning: ISO-9660 filenames longer than 31 may cause buffer overflows in the OS.

    Size of boot image is 4 sectors -> No emulation

    2.83% done, estimate finish Mon Sep 27 14:11:58 2010

    5.66% done, estimate finish Mon Sep 27 14:11:58 2010

    99.00% done, estimate finish Mon Sep 27 14:12:01 2010

    Total translation table size: 2048

    Total rockridge attributes bytes: 113522

    Total directory bytes: 319488

    Path table size(bytes): 3142

    Max brk space used 14a68b0

    176773 extents written (345 MB)

    Created cdrom imagefile fdoem.iso out of directory CDROOT

    as you can see,there are no problems.

    After having created the ISO image,I've burnt it using NERO with the following parameters :

    Mod Data : Mode 1

    File System : ISO 9660 + Joliet

    Name File Lenght (ISO) : Max 31 chars (lev.2 )

    Charset : ISO 9660 (standard CD/ROM ISO)

    After having burnt the CD,I see that the long file names are read correctly by Windows,but not by FreeDOS. Here they are truncated with the 8+3 format. As I read,FreeDOS does not support long file names,so I'm using the DOSLFN driver.

    The DOSLFN.TXT file,says :

    c (CDROM support): Enables CDROM support, i.e. DOSLFN uses much more memory

    to keep code for CDROM initialization and CDROM access. This switch defaults

    to the state whether SHSUCDX v3.01 is loaded or not (this version of DOSLFN

    does not work with MSCDEX or earlier versions of SHSUCDX). You must include

    a c+ switch if you load DOSLFN before SHSUCDX, and you want long file names

    on CDROM!

    Since I load DOSLFN after SHSUCDX,I don't need to use the -c+ switch. But I see that the 8+3 chars limitation is not removed when FreeDOS has been loaded,so,I have removed the old version of SHSUCDX that I used before (2.1) and I have changed it with the new version (3.01) suggested and I started the DOSLFN driver from the command line with the -c+ switch,but this has not helped me at all,because every file and folder are still truncated at 8+3 chars. Do you have any suggest ? Thanks in advance.

  4. Hello to everyone,

    I want to start the unattended installation of Windows 7 from FreeDOS (it runs in LIVE mode on the DVD/ROM) using Grub4dos. This is the partition scheme of the disk with which I work :

    (hd0) : 300 GB

    (hd0,0) : NTFS (hidden partition,it contains the boot folder and the file bootmgr)

    (hd0,1) : NTFS (This is the installation partition)

    Since the boot files of Windows 7 are located on (hd0,0),to start the unattended installation of Windows 7 I have :

    1) renamed bootmgr to bootmgr_ on (hd0,0) to prevent booting Windows 7 from there

    2) copied all the installation files of 7 on the root of partition (hd0,1)

    3) copied Autounattend.xml on the root of the partition (hd0,1)

    4) created menu.lst :

    title Start the installation of Windows Vista/7 32/64 bit

    find --set-root --ignore-floppies --ignore-cd /bootmgr

    chainloader /bootmgr

    5) grub.exe and menu.lst are located on the root of the DVD/ROM,because Freedos runs in Live mode.

    grub4dos detects the correct bootmgr and the installation of Win 7 starts correctly. The problem is that Autounattend.xml is not detected at all,even if it is on the root of (hd0). Why ?

  5. Hello,

    my name's Mario. I come from Italy. I'm trying to create a Windows 7 Italian Language pack Slipstream Installation DVD. I've built the iso image correctly using Vlite. During the installation process I can choose between italian and english,but If I choose the italian language the installation stops with the following error message :

    It's not possibile to setup informations related to the offline local settings. Informations saved during the installation cannot be saved.

    update :

    I'm using WAIK for Windows 7 beta. I've copied the file wimgapi.dll from C:\Program Files\Windows AIK\Tools\x86 to C:\Program Files\vLite because I know about the bug,but it doesn't works,vLlite 1.2 doesn't recognize WAIK anyway. why ?

    Thanks.

×
×
  • Create New...