Hi,
there are only some little changes, I dont know the modifications in the
nt5 install script so you have to try it by yourself.

use:
mkfs.ntfs -f /dev/hdXX # to create a ntfs file system
ntfs-3g /dev/hdXX /c # to mount the ntfs drive to /c

If the active boot partition is ntfs you have to add the bootloader in
this way:
                if [[ "${BOOTPART}" == "ntfs" ]]
                then
                        dd if=/z/etc/binary/ntldr_boot_code_ntfs_1
of=/dev/dsk$BOOTNUMBER bs=1 count=426 seek=84 > $LOGTTY 2>&1
                        dd if=/z/etc/binary/ntldr_boot_code_ntfs_2
of=/dev/dsk$BOOTNUMBER bs=1 count=7680 seek=512 > $LOGTTY 2>&1
                fi

You can exctract the bootcode from an existing XP Installation in this way:

dd if=/dev/hda1 of=/tmp/ntldr_boot_code_ntfs_1 bs=1 count=426 seek=84
dd if=/dev/hda1 of=/tmp/ntldr_boot_code_ntfs_2 bs=1 count=7680 seek=512

After copy the files to the ntfs partition, I will copy the setupldr to
/c/inldr and set this in the bootsect.dat:

        if [[ "${BOOTPART}" == "ntfs" ]]
        then
                copy_files "$OS_DIR/i386/setupldr.bin" "/c/inldr" 3
"Copy setupldr.bin."
                message_start "Creating bootsect.dat"
                        dd if=/dev/dsk$BOOTNUMBER
of=/c/\$win_nt\$.~bt/bootsect.dat bs=8192 count=1 > $LOGTTY 2>&1
                        #replace n.t.l.d.r with i.n.l.d.r
                        echo -e -n "\x49"| dd
of=/c/\$win_nt\$.~bt/bootsect.dat bs=1 seek=514 conv=notrunc > $LOGTTY 2>&1
                        echo -e -n "\x4e"| dd
of=/c/\$win_nt\$.~bt/bootsect.dat bs=1 seek=516 conv=notrunc > $LOGTTY 2>&1
                message_end
        fi

The rest is the same as with fat32.

The complete script will be in the unattended-gui svn repository after I
am ready with the vista/2008 installation.


greetings mario

Randy McAnally schrieb:
> Hi Mario,
> 
> I'm very interested.  I've got issues with the amount if time Windows takes 
> to install...probably half of it is rebooting several times to convert the 
> FS...ect.  Especially on large drives/arrays...
> 
> --
> Randy
> www.FastServ.com
> 
> ---------- Original Message -----------
> From: Mario Gzuk <[EMAIL PROTECTED]>
> To: Randy McAnally <[EMAIL PROTECTED]>
> Cc: unattended-devel@lists.sourceforge.net
> Sent: Tue, 25 Nov 2008 11:52:22 +0100
> Subject: Re: Native NTFS
> 
>> Hi,
>> I have updated the script (from unattended-gui,  the nt5x-install is 
>> based on this one) to use ntfs. But you will need the ntfstools and 
>> ntfs-3g installed in the boot-cd. If you are interested I can try to 
>> describe  how it works...
>>
>> greetings mario
>>
>> Randy McAnally schrieb:
>>> Has anyone tried to modify nt5x-install to create a full sized NTFS 
>>> partition in the beginning since parted and recent kernels support it 
>>> (instead of converting fat to ntfs)?  Does it not work for some reason?
>>>
>>> --
>>> Randy
>>> www.FastServ.com
>>>
>>>
>>>
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's 
> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great 
> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the 
> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> unattended-devel mailing list
>>> unattended-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/unattended-devel
>>>
> ------- End of Original Message -------
> 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
unattended-devel mailing list
unattended-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to