Results 1 to 3 of 3

Thread: odd output from fdisk

  1. #1
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    24

    odd output from fdisk

    I run the following and this is what I see

    root@Linux:~# fdisk /dev/hdb

    Command (m for help): p

    Disk /dev/hdb: 3228 MB, 3228696576 bytes
    128 heads, 63 sectors/track, 782 cylinders
    Units = cylinders of 8064 * 512 = 4128768 bytes

    Device Boot Start End Blocks Id System
    /dev/hdb1 1 121 487840+ 82 Linux swap
    /dev/hdb2 122 782 2665152 5 Extended
    /dev/hdb5 * 122 782 2665120+ 83 Linux

    I do not know why hdb2 is there. If it is mounted on my desktop it does not allow me to open it. If I try to delete #2 it deletes hdb2 and hdb5.


    Here is my fstab

    # /etc/fstab: filesystem table.
    #
    # filesystem mountpoint type options dump pass
    /dev/hdb5 / ext2 defaults,errors=remount-ro 0 1
    /dev/hdb1 none swap sw 0 0
    proc /proc proc defaults 0 0
    /dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
    /dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
    /dev/dvd /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
    /dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
    # Added by KNOPPIX
    /dev/hdd1 /mnt/hdd1 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0 0
    # Added by KNOPPIX
    /dev/hda1 /mnt/hda1 reiserfs noauto,users,exec 0 0
    /dev/hdb2 /mnt/hdb2 ext2 noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0 0
    /etc/fstab (END)

    Also I am trying to get Open Office to install but I have no room left. From the above is there any way to tell what space I have left? Is there anything like Windows explorer that would show each drive with the space available. My drive icons on my desktop do not seem to help.

    If I check each desktop icon hda1 hdb1 or hdd5 they all say the same thing 95% used, 144mb/2.5gb...yet they are all different sized drives as per the below...so why do I see them all as 2.5GB via their ICONS on the desktop??

    Disk /dev/hdd: 1281 MB, 1281181696 bytes
    64 heads, 63 sectors/track, 620 cylinders
    Units = cylinders of 4032 * 512 = 2064384 bytes

    Device Boot Start End Blocks Id System
    /dev/hdd1 1 620 1249888+ 83 Linux

    Disk /dev/hda: 2564 MB, 2564352000 bytes
    128 heads, 63 sectors/track, 621 cylinders
    Units = cylinders of 8064 * 512 = 4128768 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 1 621 2503840+ 83 Linux

    Disk /dev/hdb: 3228 MB, 3228696576 bytes
    128 heads, 63 sectors/track, 782 cylinders
    Units = cylinders of 8064 * 512 = 4128768 bytes

    Device Boot Start End Blocks Id System
    /dev/hdb1 1 121 487840+ 82 Linux swap
    /dev/hdb2 122 782 2665152 5 Extended
    /dev/hdb5 * 122 782 2665120+ 83 Linux

    Thanks!

  2. #2
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    24
    I did alot of forum and web searching and I can not figure it out. Perhaps I will just bite the bullet and get a new HD instead of trying to live with 3 very old drives.

    I just do not get why CFDISK does not allow me to modify this disk

    Disk /dev/hdb: 3228 MB, 3228696576 bytes
    128 heads, 63 sectors/track, 782 cylinders
    Units = cylinders of 8064 * 512 = 4128768 bytes

    Device Boot Start End Blocks Id System
    /dev/hdb1 1 121 487840+ 82 Linux swap
    /dev/hdb2 122 782 2665152 5 Extended
    /dev/hdb5 * 122 782 2665120+ 83 Linux

  3. #3
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by Eradicator
    I did alot of forum and web searching and I can not figure it out. Perhaps I will just bite the bullet and get a new HD instead of trying to live with 3 very old drives.

    I just do not get why CFDISK does not allow me to modify this disk

    Disk /dev/hdb: 3228 MB, 3228696576 bytes
    128 heads, 63 sectors/track, 782 cylinders
    Units = cylinders of 8064 * 512 = 4128768 bytes

    Device Boot Start End Blocks Id System
    /dev/hdb1 1 121 487840+ 82 Linux swap
    /dev/hdb2 122 782 2665152 5 Extended
    /dev/hdb5 * 122 782 2665120+ 83 Linux
    The problem you are having is that you do not understand the concept of partitioning very well. You have 1 primary partition on the drive (/dev/hdb1) and an extended partition (/dev/hdb2) which is a container for other logical partitions in this case /dev/hdb5 you could have several more in there if you wanted eg hdb6, hdb7 etc.. . When you try to delete the hdb2 you are deleting the whole container (partition) which includes hdb5 which is the only thing that can happen. You should maybe do a little searching and reading on partitioning.

    As to why the icons all show 2.5gb not really sure what is happening there unless the same drive partition is being displayed by all the icons the easiest way to find out how much space is in use is to df -h in a console window which will give you all the space used and free for all mounted partitions.

    To free up space for other programs you can apt-get install localepurge which will purge the excess locales and man pages in other languages if you tell it to. You can also get rid of kde-i18n-?? internationalization packages of KDE and there are a bunch of xserver-??? packages that are not needed and just taking up space this should free up at least a couple of hundered MB.

Similar Threads

  1. problem with fdisk
    By eljoky in forum General Support
    Replies: 3
    Last Post: 02-01-2005, 08:36 PM
  2. Need help using Fdisk in Knoppix..
    By ashore in forum General Support
    Replies: 2
    Last Post: 07-26-2004, 08:05 PM
  3. ntfsresize/fdisk - where's my new partitions?
    By martianrobot in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 03-16-2004, 04:40 PM
  4. fdisk /sfdisk output
    By hololi in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 03-05-2003, 05:31 AM
  5. FDISK
    By Waver in forum Ideas
    Replies: 1
    Last Post: 02-15-2003, 06:52 PM

Posting Permissions

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


HPGYT DELL 960GB SATA 6Gb/s 2.5in Internal SSD 0HPGYT MTFDDAK960TCB picture

HPGYT DELL 960GB SATA 6Gb/s 2.5in Internal SSD 0HPGYT MTFDDAK960TCB

$59.00



G5T03 Dell Intel DC S3700 Series 800GB SATA 6Gb/s 2.5

G5T03 Dell Intel DC S3700 Series 800GB SATA 6Gb/s 2.5" SSD 0G5T03 SSDSC2BA800G3E

$55.00



### MZ-7KE1T0 Samsung 850 Pro Series 1TB 2.5 inch SATA3 SSD ### picture

### MZ-7KE1T0 Samsung 850 Pro Series 1TB 2.5 inch SATA3 SSD ###

$105.00



M.2 NVME SATA SSD Enclosure USB 3.2 Gen 2 10Gbps for M-Key or M+B Key SSD to 8TB picture

M.2 NVME SATA SSD Enclosure USB 3.2 Gen 2 10Gbps for M-Key or M+B Key SSD to 8TB

$19.86



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$19.99



Intel DC S3510 Series 120GB SSD 2.5

Intel DC S3510 Series 120GB SSD 2.5" 6Gb/s SATA Solid State Drive SSDSC2BB120G6K

$9.99



Western Digital PC SN730 256GB NVMe SDBQNTY-256G M.2 2280 PCIe Solid State (SSD) picture

Western Digital PC SN730 256GB NVMe SDBQNTY-256G M.2 2280 PCIe Solid State (SSD)

$16.00



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$13.99



Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot picture

Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot

$198.99



Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5

Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5" SATA III 6GB/s for PC/MAC Lot

$188.09