Results 1 to 9 of 9

Thread: unable to mount and read hard disk partitions.

  1. #1

    unable to mount and read hard disk partitions.

    Hi. I am a linux newbie and recently tried to check out knoppix live cd. There are three primary partitions in my hard drive and one extended partition. Two of the primary partitions run windows(98 and xp). The third partition is blank. Knoppix boots up alright but does not show the hard drive partitions on the desktop. I have tried mount /dev/hda1 /mnt/hda1. Even adding an entry /dev/hda1 /mnt/hda1 vfat umask=0,iocharset=iso8859-15,codepage=850 0 0 to /etc/fstab does not work. I get error message saying "/dev/hda5 already mounted or /mnt/hda5 busy". By modifying desktop properties I was able to display unmounted hard drive partitions onto the desktop. On trying to mount hda1 from the desktop I get the error message "only root can mount". Trying to mount from root too does not work.
    Please help

  2. #2
    Senior Member registered user
    Join Date
    Sep 2005
    Posts
    205
    I can try to give some help.

    If you try to mount partitions manually using the "mount" command, I'd suggest that you use some other directory than /mnt/xxx (and don't modify /etc/fstab)

    e.g.
    Code:
    mkdir /home/knoppix/hda1
    sudo mount /dev/hda1 /home/knoppix/hda1
    or
    Code:
    mkdir /home/knoppix/hda1
    sudo mount -t vfat -o umask=0,iocharset=iso8859-15,codepage=850 /dev/hda1 /home/knoppix/hda1
    The two primary partitions are probably /dev/hda1 and /dev/hda2.
    Empty extended partition is probably /dev/hda5, but if it doesn't have any filesystem on it, then you can't mount that partition before you create a filesystem on it.

  3. #3
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    Quote Originally Posted by malaire
    Empty extended partition is probably /dev/hda5, but if it doesn't have any filesystem on it, then you can't mount that partition before you create a filesystem on it.
    good info, but the empty extended partition would likely be hda3 or hda4, but can not be mounted. Once you create a logical drive(or many drives) in the extended partition they take on names like hda5, hda6 and so on. But the unmountable extended partition has to taake up one of the four partition spaces in the partition table (1 through 4). So it can never be hda5, but the first logical drive in it can be.

  4. #4
    Member registered user
    Join Date
    Mar 2004
    Location
    Hampton Roads, VA USA
    Posts
    81
    Harry, not to step on your wizened toes but aren't the identifiers /hda(1 through 4) reserved for primary partitions only? I thought once you started with extended/logical partitions you immediately got /hda(5 through ?). Don't get me wrong, I could have misunderstood the Linux naming conventions but this is what I was lead to believe.

    'Goon

  5. #5
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    Quote Originally Posted by RandomGoon
    Harry, not to step on your wizened toes but aren't the identifiers /hda(1 through 4) reserved for primary partitions only? I thought once you started with extended/logical partitions you immediately got /hda(5 through ?).
    Absolutely. hda1 through hda4 are real or primary partitions. hda5 and beyond are "logical drives" Logical drives reside on an extended partition, but they are not the extended partition, the extended partition is one of the 4 physical partitions that can exist on any hard disk (limited to 4 because of the tiny size of the partition table, just 64 bytes at the end of sector 0 track 0 cylinder 0). So the extended partition itself can never be hda5, although it can contain hda5, hda6 and other logical drives. Of course, you can never really mount the extended partition (just the logical drive or drives on the extended partition), so the hda3 or hda4 name would never come into play. And a nasty little truth about disk partitioning is that the "first" slot isn't always hda1, they can move around depending on how the OS looks at the partition spaces (it was never well defined in a published spefication and some OSs look at the partition table in a different order than others). But an extended partition is one of the 4 real partitions on the disk, not one of the logical partition that live in the extended partition. Or to put it another way, you can't store an extended partition in an extended partition, it has to be in one of the first 4 partition positions.
    ---
    Verifying of md5 checksum and burning a CD at slow speed are important.

  6. #6
    Thanks Malaire, Harry et al for the input.

    I tried the two codes but I still get the same error message.

    mount: /dev/hda5 already mounted or /home/knoppix/hda5 busy

    I find that knoppix is able to detect the removable usb drive(already mounted). However it can only read from the usb drive and not write to it and I find that I cannot change the read write permissions even from root using chmod. It tells me that the disk is only readable whereas I could do both read and write from windows.

  7. #7
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    Quote Originally Posted by mersonmathew
    Thanks Malaire, Harry et al for the input.

    I tried the two codes but I still get the same error message.

    mount: /dev/hda5 already mounted or /home/knoppix/hda5 busy

    I find that knoppix is able to detect the removable usb drive(already mounted). However it can only read from the usb drive and not write to it and I find that I cannot change the read write permissions even from root using chmod. It tells me that the disk is only readable whereas I could do both read and write from windows.
    Actually, my input was not to you, it was just about the hda5/extended partition remark.

    Your problem has been covered many many times before. You could have read through the forums and/or the wiki and found the answers. I don't know your partition types and can't guess since you mix Win98 and XP, but see answer #6 for some info.

  8. #8
    Senior Member registered user
    Join Date
    Sep 2005
    Posts
    205
    Quote Originally Posted by mersonmathew
    However it can only read from the usb drive and not write to it and I find that I cannot change the read write permissions even from root using chmod. It tells me that the disk is only readable whereas I could do both read and write from windows.
    If partition is already mounted as read-only, you can remount it as read-write with
    Code:
    sudo mount -o remount,rw /mnt/hdb5

  9. #9
    Thanks malaire!
    Harry you probably think that I have asked a dumb question. I wouldn't have posted if my query could be solved by the published solutions in the forum. None of the codes worked and neither does answer number 6 solve the problem.

    I have since installed Debian and can now mount all my partitions. ...but they still can't be mounted on knoppix. Wonder if knoppix has a bug.

Similar Threads

  1. Unable to mount NTFS partitions
    By Tenfjord in forum General Support
    Replies: 3
    Last Post: 06-27-2005, 05:41 AM
  2. How to read the hard disk?
    By NinaBlount in forum MS Windows & New to Linux
    Replies: 6
    Last Post: 05-14-2005, 12:43 AM
  3. How to disable automount of hard disk partitions
    By Myster_fr in forum Customising & Remastering
    Replies: 4
    Last Post: 06-04-2004, 02:25 AM
  4. How do you mount and read ntfs partitions?
    By Thaidog in forum General Support
    Replies: 13
    Last Post: 04-11-2004, 02:23 PM
  5. Replies: 0
    Last Post: 03-12-2004, 11:00 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
  •  


1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot picture

1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot

$80.39



Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot picture

Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot

$73.29



Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5

Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5" (Low Power) Hard Drive -PC, CCTV DVR

$24.99



Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive picture

Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive

$269.99



CISCO A03-D1TBSATA 1TB 7.2K 6G 2.5INCH SATA HDD picture

CISCO A03-D1TBSATA 1TB 7.2K 6G 2.5INCH SATA HDD

$9.00



1TB Hard Disk HTS541010A9E680 HDD:5K1000-1000  1TB 2.5

1TB Hard Disk HTS541010A9E680 HDD:5K1000-1000 1TB 2.5" SATA HDD

$12.00



1TB HDD/SSD 2.5

1TB HDD/SSD 2.5" SATA Hard Drive for Laptop with Win 10/Win 11 Pro Pre-installed

$27.99



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



2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage US picture

2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage US

$41.69



Seagate Laptop SSHD 1TB ST1000LM014 8GB NAND Flash 2.5

Seagate Laptop SSHD 1TB ST1000LM014 8GB NAND Flash 2.5" Solid Sata Hybrid Drive

$25.99