Find the answer to your Linux question:
Results 1 to 8 of 8
I'm trying to install Slackware. If I enter cfdisk at the root prompt it says it cannot open the disk drive. If I enter something like fdisk /dev/hda nothing happens. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    fmw
    fmw is offline
    Just Joined!
    Join Date
    Mar 2007
    Posts
    32

    Square One with Partitioning


    I'm trying to install Slackware. If I enter cfdisk at the root prompt it says it cannot open the disk drive. If I enter something like fdisk /dev/hda nothing happens. The drive and computer are OK because I can install anything else I want on it. What have I missed?

  2. #2
    Just Joined!
    Join Date
    Apr 2009
    Posts
    90
    If your machine uses SATA then your hard disk may very likely be /dev/sda.

    Type `dmesg | less` at the command prompt, and look through it for hard disk information.

  3. #3
    fmw
    fmw is offline
    Just Joined!
    Join Date
    Mar 2007
    Posts
    32
    It does the same thing using sda as the drive device. My equipment is probably too current for the distro.

  4. $spacer_open
    $spacer_close
  5. #4
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,025
    Can you post the output of
    Code:
    fdisk -l
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  6. #5
    fmw
    fmw is offline
    Just Joined!
    Join Date
    Mar 2007
    Posts
    32
    fdisk -l produces no output at all. It just repeats the root prompt on the next line. There is no question that this distro doesn't recognize a hard drive. This same hard drive has had Scientific Linux and Open SuSe on it. I think my hardware is probably too new.

  7. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Quote Originally Posted by fmw
    fdisk -l produces no output at all.
    How did you gain root privileges?
    Execute su - ( its minus sign ) instead of su command.
    Code:
    su -
    fdisk -l
    Or type complete path of fdisk.
    Code:
    /sbin/fdisk -l
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #7
    Just Joined!
    Join Date
    Apr 2009
    Posts
    90
    I still recommend going through the dmesg output.

    Especially if you are using some hardware controller like RAID or such.

  9. #8
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,025
    Quote Originally Posted by fmw View Post
    If I enter cfdisk at the root prompt it says it cannot open the disk drive.
    Maybe a silly question on my part, but you are providing the device name, right?
    Code:
    cfdisk /dev/sdx
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

Posting Permissions

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