最近在規劃用LINUX來電腦XP作業系統的備份和還原。
想說,可以的話,在每部電腦裡,切出大約10G空間裝個Debian LINUX。
grub可以多重開機,只要能讓使用者一開機就自動進到XP就行了。
用Debian LINUX把partimage套件給裝上,就能針對XP用到的磁碟分割做像是GHOST功能的備份了。
以後要把使用GHOST的習慣改掉,畢竟是有版權的軟體。在企業用可要很小心!
安裝partimage不難,但前提是LINUX要能分辨出NTFS磁碟分割才行。
所以要加NTFS-3g這個套件。
下面就是Debian要能辨識NTFS的說明和作法!
+==================================================================+
How to mount NTFS filesystem on your debian LINUX?
* Installation On Debian Etch
First, download NTFS-3g. 2 packages are needed here: ntfs-3g and libntfs-3g.
You can use wget to download them:
wget http://snapshot.debian.net/archive/2007/03/01/debian/pool/main/n/ntfs-3g/libntfs-3g0_0.0.0+20061031-6_i386.deb
wget http://snapshot.debian.net/archive/2007/03/01/debian/pool/main/n/ntfs-3g/ntfs-3g_0.0.0+20061031-6_i386.deb
Then install the dependencies:
sudo apt-get install fuse-utils libfuse2
Finally you can install ntfs-3g
(using the 2 Debian packages you just downloaded):
sudo dpkg -i libntfs-3g0_0.0.0+20061031-6_i386.deb
sudo dpkg -i ntfs-3g_0.0.0+20061031-6_i386.deb
On Debian Sid, Ubuntu Edgy or Ubuntu Feisty
No need to download anything, nor to install any dependencies.
Simply typing:
sudo apt-get install ntfs-3g
will do the trick.
* Mounting partitions
Mounting partition is done quite simply. For example, this command (one line):
sudo mount -t ntfs-3g /dev/sda1 /mnt/windows -o umask=0,nls=utf8
will mount a partition
(/dev/sda1 in that case, replace with your actual windows partition)
on the /mnt/windows directory (which must exist and be empty),
using the utf8 character set (for maximum compatibility with foreign languages)
and giving read/write/execute permissions to everyone.
Once you have established that this command work fine on your system,
you can add an entry for it in /etc/fstab:
/dev/sda1 /mnt/windows ntfs-3g umask=0,nls=utf8 0 0
If you wish, you can unmount that partition in the standard way:
sudo umount /dev/sda1
* Tips
The output of
sudo fdisk -l | grep -i ntfs
will tell you the location of your windows partition.
+==================================================================+
Planet News Roundup
22 小時前

沒有留言:
張貼留言