Chinaunix首页 | 论坛 | 博客
  • 博客访问: 612430
  • 博文数量: 204
  • 博客积分: 5172
  • 博客等级: 上校
  • 技术积分: 2092
  • 用 户 组: 普通用户
  • 注册时间: 2009-12-08 21:48
个人简介

一个毫无毅力之人的自勉

文章分类

全部博文(204)

文章存档

2014年(1)

2013年(54)

2012年(50)

2011年(94)

2010年(3)

2009年(3)

分类: LINUX

2012-03-29 11:14:00



================

 FAQ - Ext2Fsd

================


-------------------------------------------------------------------------

Q) What systems could Ext2Fsd 0.51 support


A) Windows 2000, xp, 2003, Vista, Win7 (X86, AMD64)

   Windows NT 4.0 is no longer supported.


   My stress test systems:

   Win7 AMD64/X86, Vista AMD64, XP pro X86, Win2k SP4


-------------------------------------------------------------------------

Q) How to install ext2fsd version 0.51


A) Just click the file of ext2fsd-0.51.exe. It will guide you for all.

   and writing on ext3 partition:


   Senior users can try the setup.bat or registry manually editing.


-------------------------------------------------------------------------

Q) How to uninstall


A) If you created group "Ext2Fsd" in your "Start Menu", just click

   the link of "Uninstall Ext2Fsd".


   Or you need "Add/Remove Programs" in "Control Panel" to remove

   the program.


-------------------------------------------------------------------------

Q) Vista always reports "The parameter is not right" when executing any

   applications from my linux partition


A) The exact reason is unknown yet. But it's related to UAC. This issue

   can be cured by disabling UAC.


-------------------------------------------------------------------------

Q) How to mount an ext2fsd partition or a volume ?


A) It's becoming easy with the help of the program "Ext2 Volume Manager".

   Just "right click" on the dialog list, and select "Change Drive Letter".

   Then you'll see the mount point dialog, you can add, change or remove

   any driver letters.


-------------------------------------------------------------------------

Q) Windows explorers shows up my mounted Ext3 partition as unformatted ?

A) 1, Make sure ExtsFsd service is started: 

      Ext2Mgr: Tools Menu->Service Management->Start Button

   2, If ExtsFsd is started already, then try to remove the drive letter

      and re-assign 


-------------------------------------------------------------------------

Q) How could I change the volume's codepage and other attributes ?


A) Right click the Ext2/Ext3 partition or volume in the list with your mouse,

   you could see the menu item of "Ext2 Management", or double click and then

   click the "Properties" button in Properties dialog.


   Do not forget to apply your changes. These settings won't be kept after

   booting, I'll implement it in next version.


   Make sure the ext2fsd service is already started, or you won't get the

   chance of changing ext2 volume information.


-------------------------------------------------------------------------

Q) What's a permanent mountpoint ?


A) Windows system's mount manager will automatically mount volumes and

   assign driver letters during booting. For xp and later systems, windows

   only create unique volume ids for all the recognized volume/partitions,

   such as FAT32, NTFS. The ext2/ext3 volumes could not be mounted by the

   windows mount manager.


   Ext2Mgr provides 3 methods to mount a Linux volume:


   1, Using Windows API DefineDosDevice

      Driver letter won't be kept and be lost after reboot. But it's convenient

      for a temporary usage.


   2, Using Windows MountMgr + Ext2Mgr

      This method provides automatic mounting when Ext2Mgr detects new

      disk is plugged and removal of driver letters after disk is removed.

      If you are heavily using removable disks, this is the best choice.


   3, Using registry to store the driver letter as a DosDevice

      This method always works and it's better for fixed harddisks. Under

      some conditions, you need a reboot to see the driver letter in explorer.


      You could also modify the registry manually, see below:


      [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices]

      "X:"="\\Device\\HarddiskVolume1"


-------------------------------------------------------------------------

Q) Windows Explorer always says the directory is not empty when deleting

A) There are several possible reasons:

    1, the directory or any file under it is being used

    2, there are hidden files inside the directory, try to make explorer

       show all files or do "dir/a" in a cmd shell

    3, remove all hiding patterens with ext2mgr:  "." prefixed names


-------------------------------------------------------------------------

Q) How to start Ext2Fsd automatically during system booting


A) Open program "Ext2 Volume Manager" and click menu "Service Management"

   in submenu "Tools". Select "SERVICE_SYSTEM_START" and apply the changes.


   You could click the "Start" button to start ext2fsd service. But it's

   only start the service, not enabling auto-starting.


-------------------------------------------------------------------------

Q) The system configuration changed, but Ext2Mgr doesn't refresh ?


A) Current version of "Ext2 Volume Manager" does not monitor system changes.

   You must refresh it manually: click "Tools" -> "Reload and Refresh". Or

   just simply close and reopen the program :)


-------------------------------------------------------------------------

Q) Ext2Mgr hotkeys


A) F1:  Help (this FAQ.txt)

   F2:  About Ext2Mgr

   F3:  Ext2 Volume Management

   F4:  Mountpoint Management (Drive Letter)

   F5:  Reload and Refresh

   F6:  Show Properties

   F7:  Ext2Fsd Service Management

   F8:  Ext2Fsd Statistics

   F9:  Remove Dead Letters

   F10: Copy Everything to Clipboard

   F11: Flush Cache to Disk

   F12: Change Partition Type


-------------------------------------------------------------------------

Q) Why is Ext2Mgr only listing CD/DVD devices or nothing on Vista ?


A) Vista's User Account Control (UAC) prohibits Ext2Mgr to query system

   SECRET of harddisk/volume configurations.


   You need run Ext2Mgr as administrator or disable UAC to stop Vista's

   endless natter forever :)


-------------------------------------------------------------------------

Q) How to turn off "Driver signature check" on Vista


A) Normally you can disable it by pressing F8 when booting and select

   "Disable Driver Signature Enforcement"


   If you want to disable it forever, do as the followings guide:


   1, Run cmd.exe as administrator

   2. Execute the followings in the cmd shell: 


      bcdedit -set loadoptions DDISABLE_INTEGRITY_CHECKS

      bcdedit -set nointegritychecks ON 


WARNING: Turning off "siging check" might put you in danger of other

         evil softwares like virus/trojan horse.


-------------------------------------------------------------------------

Q) I don't like Ext2Mgr showing the splash screen


A) Add a parameter "/quiet" in command when executing Ext2Mgr, like

   "Ext2Mgr /quiet" or ""Ext2Mgr -quiet""


-------------------------------------------------------------------------

Q) How to build Ext2Fsd package ?


A) You need Winddk (sold by Microsoft) and use the gnu ntifs.h header file.

   But you have the ifskit if you want building for X86_64 systems. Then

   you just select a build environment (such as windows 2003 free), and

   then execute "build" under the root directory of Ext2Fsd source code.



Matt



I kept running into the same problem jdgping had. After the program was installed and the HDD had a letter assigned you would be asked to format the drive. 

With EXT2FSD I have the same problem as well. Also, when I'd try to start the service (under service management), I'd receive this message, "Ext2Fsd could NOT be started".

However, after spending 2+ hours trying to figure out what was wrong.....I was able to fix the problem!! Big Grin I ended up getting my drive to be detected using the ext2FSD program.


Fix:

1: Uninstall EXT2FSD and EXT2IFS (Restart)

2: Restart again, during restart press F8 to bring up the, "Advanced Boot Options".

3: Under Advanced Boot Options highlight, "Disable Driver Signature Enforcement" (Hit enter).

4: Install EXT2FSD (Restart)

5: Restart again, during restart press F8 to bring up the, "Advanced Boot Options".

6: Under Advanced Boot Options highlight, "Disable Driver Signature Enforcement" (Hit enter).

7: Start up (if you don't have it started on start up) EXT2FSD. Assign your HDD a letter.

8: Right click your listed HDD in the EXT2FSD program. Select service management, Service Status should be started. If not click the Start button.









Mountvol
创建、删除或列出卷的装入点。Mountvol 是一种不需要驱动器号而连接卷的方式。
语法:
mountvol [Drive:]Path VolumeName
mountvol [Drive:]Path /d
mountvol [Drive:]Path /l
mountvol [Drive:]Path /p
mountvol /r
mountvol /n
mountvol /e
mountvol Drive:/s


参数:
[Drive:]Path
    指定装入点将驻留其中的现有 NTFS 目录文件夹。 
VolumeName
    指定装入点目标卷的卷名。该卷名结构为 \\?\Volume{GUID}\,其中 {GUID} 为全局唯一标识符 (GUID)(例如,\\?\Volume\{2eca078d-5cbc-43d3-aff8-7e8511f60d0e}\)。 
/d
    从指定文件夹中删除卷装入点。 
/l
    列出指定文件夹装入的卷名。 
/p
    从指定的目录中删除卷装入点、卸载基本卷、使基本卷脱机,使其不可安装。如果其他过程正在使用该卷,则 mountvol 将在卸载该卷之前关闭所有打开的句柄。使用 /p 卸载的卷将在卷列表中作为 NOT MOUNTED UNTIL A VOLUME MOUNT POINT IS CREATED(创建卷装入点后才安装)列出。如果该卷不只一个装入点,则在使用 /p 之前请使用 /d 删除其他装入点。可通过指派卷装入点而使基本卷可以重新安装。 
/r
    删除系统中不再存在的卷的装入点目录和注册表设置。这将防止以前在系统中的卷自动被装入,并防止将在添加回系统时被授予以前的卷装入点。 
/n
    禁用新基本卷的自动装入。新卷添加到系统时不会自动装入。 
/e
    重新启用新基本卷的自动装入。 
/s
    仅限于基于
    Itanium计算机。装入指定驱动器上的
    EFI 系统分区。 
/?
    在命令提示符下显示帮助。 

注释

    * 如果用完了可用的驱动器号,则装入无驱动器号的本地卷。
    * 如果希望不重新格式化或更换硬盘而扩展卷空间,可向另一卷中添加装入路径。
    * 如果使用一个具有多条装入路径的卷,其好处是可以使用单个驱动器号(如 C:)访问所有的本地卷。虽然您可以装入本地卷并且为它们指派驱动器号,但是不需要记住哪个卷对应哪个驱动器号。简单而言就是可以把其他的分区都挂载到C:的一个目录路径下面,创建和Linux类似的文件目录结构。

以下是使用MountVol自动检测并修改光驱的盘符(挂载点)的一个例子,使用前先用mountvol /l 列出当前所有的装载点,找到光驱所对应的文件卷的GUID,修改下面脚本对应的参数就可以使用了。

initialization.cmd

@echo off
:_Begin
echo 正在初始化,请等待...
mountvol G:\ /L>nul
if errorlevel 1 goto _load
goto _unload

:_load
mountvol D:\ /D
if errorlevel 1 goto _loaderror

mountvol G:\ \\?\Volume{此处为光驱卷的GUID}\
if errorlevel 1 goto _loaderror

echo ===================================
echo 成功挂载!!
echo ===================================
goto _end

:_loaderror
echo ***********************************
echo 挂载出现错误!请检查...
echo ***********************************
goto _end

:_unload
mountvol G:\ /D
if errorlevel 1 goto _unloaderror

mountvol D:\ \\?\Volume{
此处为光驱卷的GUID}\
if errorlevel 1 goto _unloaderror

echo ===================================
echo 成功卸载!!
echo ===================================
goto _end

:_unloaderror
echo ***********************************
echo 卸载出现错误!请检查...
echo ***********************************

:_end
pause
阅读(7444) | 评论(0) | 转发(0) |
0

上一篇:camera isp

下一篇:camera

给主人留下些什么吧!~~