Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Are the NTFS directory junctions mounted before Windows boot?

Reply
Thread Tools Display Modes

Are the NTFS directory junctions mounted before Windows boot?

 
 
Luca Villa
Guest
Posts: n/a

 
      12-31-2007
I bought a SATA SSD drive that is many times faster than my harddisk
but it's only 32GB.
I see it as D: under my Windows Vista.
It's so fast that I moved my pagefile.sys to it and I had another
idea: to move the C:\WINDOWS directory to it and create a directory
junction that binds a virtual directory C:\WINDOWS to the real
directory D:\WINDOWS where I will move all the Windows files to.

Do you think that Windows will be able to boot from that directory
junction? is the directory junction "mounted" before the Windows files
are read during the boot?
 
Reply With Quote
 
 
 
 
Rick Rogers
Guest
Posts: n/a

 
      01-01-2008
Hi,

Don't do it. If you want to run from that drive, install to that drive. You
can't mount a folder there until the OS loads, and if the OS is there it
cannot load.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP
http://mvp.support.microsoft.com/
Windows help - www.rickrogers.org
My thoughts http://rick-mvp.blogspot.com

"Luca Villa" <> wrote in message
news:4b4bd626-a9ab-465d-bbd6-...
>I bought a SATA SSD drive that is many times faster than my harddisk
> but it's only 32GB.
> I see it as D: under my Windows Vista.
> It's so fast that I moved my pagefile.sys to it and I had another
> idea: to move the C:\WINDOWS directory to it and create a directory
> junction that binds a virtual directory C:\WINDOWS to the real
> directory D:\WINDOWS where I will move all the Windows files to.
>
> Do you think that Windows will be able to boot from that directory
> junction? is the directory junction "mounted" before the Windows files
> are read during the boot?


 
Reply With Quote
 
Luca Villa
Guest
Posts: n/a

 
      01-01-2008
Isn't the directory junction support an integrated feature of NTFS
like for example the file compression?
For analogy, do you think that I can't compress (NTFS) Windows boot
files as well?
 
Reply With Quote
 
Rick Rogers
Guest
Posts: n/a

 
      01-01-2008
Hi,

Yes, but until the OS is loaded to read the file system nothing is going to
happen.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP
http://mvp.support.microsoft.com/
Windows help - www.rickrogers.org
My thoughts http://rick-mvp.blogspot.com

"Luca Villa" <> wrote in message
news:829b712b-6fd4-40fb-b10f-...
> Isn't the directory junction support an integrated feature of NTFS
> like for example the file compression?
> For analogy, do you think that I can't compress (NTFS) Windows boot
> files as well?


 
Reply With Quote
 
Luca Villa
Guest
Posts: n/a

 
      01-01-2008
> but until the OS is loaded to read the file system nothing is going to happen

When exactly the OS loads the file system driver?
I believe that it loads the file system driver before ANY file is
read, including the files in the root of C:\ and in c:\Windows.
If the NTFS file system driver includes the directory junction support
why can't it work?
 
Reply With Quote
 
Luca Villa
Guest
Posts: n/a

 
      01-01-2008
According to the document at http://warp.senecac.on.ca/peter/ios1...week7_boot.ppt,
and the first part of the Microsoft document
http://technet2.microsoft.com/window....mspx?mfr=true,
the file ntfs.sys seems to be the first real file read, and it seems
to be read before the operating system.

Now my doubts are:
- how can the system read c:\windows\system32\drivers\ntfs.sys from
the NTFS drive before itself is loaded?
- can't I just move it to c:\ to solve my problem of having c:\windows
as directory junction?


"When the Power is turned on:

The BIOS, which is a chip on the motherboard is in control of the PC.
The first instruction to the processor is a "wake up" call to resume
full power.
Then the BIOS performs a POST test to check hardware and memory
If OK you hear a "short beep" which means the POST was successful
Then the BIOS transfers control to the MBR which scans the partition
table looking for the system partition
The system partition is the "active partition" and when a partition is
active, a "flag" in the boot sector is turned on, which points to the
operating system boot files on the system partition (the boot files
are always located at Sector 0 of the partition)

After the Ntldr loads, which is the flash screen with the progress bar
at the bottom, the OS begins to load the NTFS.sys file system.
Boot.ini is the second file, but the OS would NOT be able to load the
boot.ini into memory from the disk drive, (it's a text file) if part
of the NTFS.sys which is the driver for the NTFS file system had not
been loaded first.

After the NTFS.SYS file system has finished loading, the operating
system transitions the microprocessor from Real Mode to Protected
Mode, and loads the NToskrnl.exe file, which in turn loads the
remaining parts of Windows."
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Indexing Volumes Mounted in empty NTFS folders. deadonthefloor Windows Vista File Management 0 12-15-2007 09:50 PM
boot directory in vista dimov000 Windows Vista Performance 6 08-24-2007 12:36 PM
Search across links and junctions Lucvdv Windows Vista File Management 0 08-03-2007 01:29 PM
Cannot copy file from network share on NTFS drive to local NTFS drive MDaniel Windows Vista General Discussion 1 01-14-2007 11:29 PM
Junctions? David Wright Windows Vista General Discussion 2 12-14-2006 12:50 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59