Results 1 to 4 of 4

Thread: How do I tell which kind of file system a hdd has in Knoppix

Hybrid View

  1. #1
    Junior Member registered user
    Join Date
    May 2005
    Posts
    10

    How do I tell which kind of file system a hdd has in Knoppix

    I've got viruses up the yin yang on my C drive for windows, so I'd like to use knoppix to clean it. I got f-prot working and all, but I'd like to have it clean it too. I've read it's unsafe to do this with NFTS but ok with FAT so I just want to know how to check which my C drive is in knoppix. I've tried right clicking and choosing properties but that doesn't work.

  2. #2
    Senior Member registered user
    Join Date
    Apr 2004
    Location
    Germany
    Posts
    100
    1) Mount the partition
    If I remember correctly, this is simply a left-click on the partition's
    icon; it should show a green "LED" afterwards.
    If that doesn't work, open a console and type
    <almost code>
    mount -o ro -t xxx /dev/hdyz
    </almost code>
    Substitute "yz" with the appropriate value for disk and partition
    (probably "a1") and "xxx" with "vfat" or "ntfs". A successful
    operation should tell you the filesystem type. Oops, I assume too
    much: should your disk be SCSI (or SATA) substitute an "s" for the "h".

    2) Once the partition is mounted, type in a console
    <code>
    mount
    </code>
    All mounted partitions will be shown along with their types.

  3. #3
    Junior Member registered user
    Join Date
    May 2005
    Posts
    10
    Thanks for the help.

  4. #4
    Junior Member registered user
    Join Date
    Jul 2006
    Location
    Zurich of all places
    Posts
    11
    It's actually even easier than that. You can see this information by an fdisk listing. Once you're in Knoppix, open the X terminal by clicking on Konsole (you're obviously this far anyway, but just for completeness).

    In the terminal, type in the command
    Code:
    su
    This switches you to superuser, which you need to run fdisk. Now enter the command
    Code:
    fdisk -l
    You should get a listing that looks similar to this output that I pulled from Google (note that in this case the df command was also used):
    Code:
    # fdisk -l
    
    Disk /dev/hda: 40.0 GB, 40020664320 bytes
    16 heads, 63 sectors/track, 77545 cylinders
    Units = cylinders of 1008 * 512 = 516096 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/hda1               1        8625     4346968+   b  W95 FAT32
    Partition 1 does not end on cylinder boundary.
    /dev/hda2   *        8626       60915    26354160    7  HPFS/NTFS
    Partition 2 does not end on cylinder boundary.
    /dev/hda3           60916       61118      102312   83  Linux
    Partition 3 does not end on cylinder boundary.
    /dev/hda4           61119       77545     8279208    f  W95 Ext'd (LBA)
    Partition 4 does not end on cylinder boundary.
    /dev/hda5           61119       76505     7755016+  83  Linux
    /dev/hda6           76506       77545      524128+  82  Linux swap
    
    # df
    Filesystem           1K-blocks      Used Available Use% Mounted on
    /dev/hda5              7633264   6928080    317436  96% /
    /dev/hda3                99075     24602     69358  27% /boot
    none                    124044         0    124044   0% /dev/shm
    Partition /dev/hda1 (probably C:\) is formatted with FAT, and partition /dev/hda2 is formatted with NTFS (possibly D:\ or E:\ in Windows).

    You can also run
    Code:
    df -H
    The -H switch provides a more readable output (MB or GB instead of 1K-blocks).

    Maybe that will help anyone who does a forum search in the future.

Similar Threads

  1. System crashes when creating compressed file system
    By insolit in forum Customising & Remastering
    Replies: 2
    Last Post: 03-04-2006, 01:08 AM
  2. Can't find KNOPPIX file system
    By Spool32 in forum Laptops
    Replies: 4
    Last Post: 11-18-2004, 08:26 PM
  3. Can't Find KNOPPIX File System..
    By MR.Error in forum General Support
    Replies: 1
    Last Post: 09-27-2004, 06:58 AM
  4. What kind of file system chould I use?
    By newknoppixguy in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 08-29-2004, 09:08 PM
  5. No root file system (but system works)
    By freyley in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 01-31-2003, 09:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



LOT OF 2  Micron 16GB 2Rx8 PC4-2666V-EE1-11 P/N: MTA18ASF2G72AZ-2G6D1ZG picture

LOT OF 2 Micron 16GB 2Rx8 PC4-2666V-EE1-11 P/N: MTA18ASF2G72AZ-2G6D1ZG

$199.95



x6 SK Hynix 8GB 1Rx4 PC4-2133P DDR4 17000 ECC Memory HMA41GR7AFR4N-TF picture

x6 SK Hynix 8GB 1Rx4 PC4-2133P DDR4 17000 ECC Memory HMA41GR7AFR4N-TF

$170.00



Lot Of 8 Micron 8GB 2Rx8 PC4-2666V-RE2-11 ECC REG Server Ram MTA18ASF1G72PDZ-2G6 picture

Lot Of 8 Micron 8GB 2Rx8 PC4-2666V-RE2-11 ECC REG Server Ram MTA18ASF1G72PDZ-2G6

$210.00



LOT OF 6 Samsung 64GB 4DRx4 PC4-2666V M386A8K40BM2-CTD6Q Server RAM picture

LOT OF 6 Samsung 64GB 4DRx4 PC4-2666V M386A8K40BM2-CTD6Q Server RAM

$1799.99



USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



LOT OF 8 MICRON 32GB 4GX72 DDR3 SERVER RAM MTA40ALF4G72MDZ-1G6E4B40B picture

LOT OF 8 MICRON 32GB 4GX72 DDR3 SERVER RAM MTA40ALF4G72MDZ-1G6E4B40B

$750.00



Lot of 3~BAD~NON-WORKING Micron 64GB 4DRx4 PC4-2666V-LE2 Server RAM Memory DDR4 picture

Lot of 3~BAD~NON-WORKING Micron 64GB 4DRx4 PC4-2666V-LE2 Server RAM Memory DDR4

$600.00



LOT OF 2  SK Hynix 8GB  1Rx8 PC4-3200AA ECC  HMA81GR7CJR8N-XN picture

LOT OF 2 SK Hynix 8GB 1Rx8 PC4-3200AA ECC HMA81GR7CJR8N-XN

$89.95



Micron MTA18ASF2G72XF1Z-2G9WP1ABVGD 16GB 1Rx4 NN4-2933Y DDR4 ECC NVDIMM picture

Micron MTA18ASF2G72XF1Z-2G9WP1ABVGD 16GB 1Rx4 NN4-2933Y DDR4 ECC NVDIMM

$74.50