phunni Posted August 17, 2003 Report Share Posted August 17, 2003 How can I find out (in a non-mandrake distro) what type of format one of my partitions is? If you're thinking - didn't he set that himself at install? Yes I did, but humour me ... :wink: Quote Link to comment Share on other sites More sharing options...
Germ Posted August 17, 2003 Report Share Posted August 17, 2003 fdisk -l Quote Link to comment Share on other sites More sharing options...
bvc Posted August 17, 2003 Report Share Posted August 17, 2003 fdisk -l won't do it unless it's because fdisk doesn't know reiserfs localhost:~# fdisk -l /dev/hda Disk /dev/hda: 30.7 GB, 30735581184 bytes 255 heads, 63 sectors/track, 3736 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 1658 13317853+ b Win95 FAT32 /dev/hda2 1659 3736 16691535 f Win95 Ext'd (LBA) /dev/hda5 1659 1696 305203+ 82 Linux swap /dev/hda6 1697 1986 2329393+ 83 Linux /dev/hda7 1987 2524 4321453+ 83 Linux /dev/hda8 2525 3161 5116671 83 Linux /dev/hda9 3162 3736 4618656 83 Linux localhost:~# Use (carefully) parted. localhost:~# parted -i GNU Parted 1.6.5 Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This program is free software, covered by the GNU General Public License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Using /dev/hda Information: The operating system thinks the geometry on /dev/hda is 3736/255/63. Therefore, cylinder 1024 ends at 8032.499M. (parted) print Disk geometry for /dev/hda: 0.000-29311.734 megabytes Disk label type: msdos Minor Start End Type Filesystem Flags 1 0.031 13005.747 primary fat32 boot 2 13005.747 29306.074 extended lba 5 13005.778 13303.828 logical linux-swap 6 13303.859 15578.657 logical reiserfs 7 15578.688 19798.857 logical ext3 8 19798.888 24795.637 logical reiserfs 9 24795.668 29306.074 logical reiserfs (parted) quit Information: Don't forget to update /etc/fstab, if necessary. localhost:~# great app!! :wink: If you don't have/don't want to get (I suggest you do for rescues) and install parted localhost:~# df -T Filesystem Type 1K-blocks Used Available Use% Mounted on /dev/hda8 reiserfs 5116504 1837028 3279476 36% / /dev/hda1 vfat 13304832 8061416 5243416 61% /mnt/c /dev/hda6 reiserfs 2329316 914688 1414628 40% /mnt/ml /dev/hda7 ext3 4253540 2040384 1997084 51% /mnt/rh /dev/hda9 reiserfs 4618508 3424556 1193952 75% /mnt/share localhost:~# :wink: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.