[+] Hdd file system

Tematy związane z oprogramowaniem, instalacją, konfiguracją
chomik

Post autor: chomik »

Kod: Zaznacz cały

#
#deb cdrom:[Debian GNU/Linux 4.0 r3 _Etch_ - Official i386 DVD Binary-1 2008021$
#deb cdrom:[Debian GNU/Linux 4.0 r3 _Etch_ - Official i386 DVD Binary-1 2008021$
deb [url]http://ftp.pl.debian.org/debian/[/url] etch main
deb-src [url]http://ftp.pl.debian.org/debian/[/url] etch main

deb [url]http://security.debian.org/[/url] etch/updates main contrib
deb-src [url]http://security.debian.org/[/url] etch/updates main contrib
deb [url]http://www.backports.org/debian[/url] etch-backports main contrib non-free


[ Dodano: 2008-07-01, 08:26 ]
udało mi sie zainstalować ntfs-3g

po wpisaniu tego do konsoli
mam

Kod: Zaznacz cały

chomik:/home/chomik# ntfs-3g
ntfs-3g: No device is specified.

ntfs-3g 1.516 - Third Generation NTFS Driver

Copyright (C) 2005-2006 Yura Pakhuchiy
Copyright (C) 2006-2007 Szabolcs Szakacsits

Usage:    ntfs-3g <device|image_file> <mount_point> [-o option[,...]]

Options:  ro, force, locale=, uid=, gid=, umask=, fmask=, dmask=,
          streams_interface=. Please see details in the manual.

Example:  ntfs-3g /dev/sda1 /mnt/win -o force,locale=en_EN.UTF-8

Ntfs-3g news, support and information:  [url]http://ntfs-3g.org[/url]
na dodatek powiem ze korzystam z srodowiska graficznego KDE
fnmirk
Senior Member
Posty: 8322
Rejestracja: 03 grudnia 2007, 06:37

Post autor: fnmirk »

Wrzuć zawartość teraz

Kod: Zaznacz cały

cat /etc/fstab
i jako root:

Kod: Zaznacz cały

fddisk -l /dev/sda
Za sda podaj nazwę swojego dysku np.: hda lub sdb itp.
chomik

Post autor: chomik »

Kod: Zaznacz cały

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sda1       /               ext2    defaults,errors=remount-ro 0       1
/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/hdd        /media/cdrom1   udf,iso9660 user,noauto     0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0

Kod: Zaznacz cały

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        2611    20972826   83  Linux
/dev/sda2            2612        9728    57167302+   f  W95 Ext'd (LBA)
/dev/sda5            2612        9728    57167271    7  HPFS/NTFS
chomik:/home/chomik#
fnmirk
Senior Member
Posty: 8322
Rejestracja: 03 grudnia 2007, 06:37

Post autor: fnmirk »

Teraz to powinieneś zajrzeć do >tego tematu<

W katalogu /media musisz utworzyć katalog, w którym zamontujesz wspomnianą partycję.
Logujesz się jako root:

Kod: Zaznacz cały

mkdir /mnt/dysk_win
Następnie edytujesz jako root plik:

Kod: Zaznacz cały

nano /etc/fstab
Wpisujesz poniższy tekst:

Kod: Zaznacz cały

/dev/sda5     /mnt/dysk_win    ntfs-3g    auto,rw,user,defaults,utf8   0 0
Po zakończeniu pisania naciśnij Ctrl+O i enter.
Poniższe polecenie pozwoli sprawdzić czy wszystko jest w porządku.

Kod: Zaznacz cały

mount -a
Więcej informacji znajdziesz w:

Kod: Zaznacz cały

man mount
man fstab
i na forum.
chomik

Post autor: chomik »

po wpisaniu mount -a
mam

Kod: Zaznacz cały

chomik:/home/chomik# mount -a
$LogFile indicates unclean shutdown (0, 0)
Failed to mount '/dev/sda5': Operacja nie obsługiwana
Mount is denied because NTFS is marked to be in use. Choose one action:

Choice 1: If you have Windows then disconnect the external devices by
          clicking on the 'Safely Remove Hardware' icon in the Windows
          taskbar then shutdown Windows cleanly.

Choice 2: If you don't have Windows then you can use the 'force' option for
          your own responsibility. For example type on the command line:

            mount -t ntfs-3g /dev/sda5 /mnt/dysk_win -o force

    Or add the option to the relevant row in the /etc/fstab file:

            /dev/sda5 /mnt/dysk_win ntfs-3g defaults,force 0 0
fnmirk
Senior Member
Posty: 8322
Rejestracja: 03 grudnia 2007, 06:37

Post autor: fnmirk »

A co jest po restarcie systemu?
chomik

Post autor: chomik »

ok temat mozna zamkanc wszystko działa ;-) thx
ODPOWIEDZ