Find the answer to your Linux question:
Results 1 to 7 of 7
Hey everyone, This is one of the first times I am using Linux through a command prompt and I was told to run a very old version, slackware 1.1.2. I'm ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    3

    f disk problems


    Hey everyone,
    This is one of the first times I am using Linux through a command prompt and I was told to run a very old version, slackware 1.1.2. I'm trying to install it in virtualbox and it lets me log in as root but then says, "You will need one or more partitions of type 'Linux native' prepared." It says, "most users can use the linux 'fdisk' utility to create adn tage the types of all these partitions." It wants me to run fdisk to create a swap partition. I type

    fdisk

    and this comes back

    Unable to read /dev/hda

    any suggestions how I can run fdisk to make a linux native partition?

  2. #2
    Linux Newbie ursusca's Avatar
    Join Date
    Dec 2008
    Location
    Toronto
    Posts
    116
    Hello,

    First you need to identify which drive it is that you are going to partition.
    Code:
    fdisk -l
    List the partition tables for the specified devices.
    Next that you know which drive you are going to partition type
    fdisk /dev/<specified devices>

  3. #3
    Just Joined!
    Join Date
    Mar 2010
    Posts
    3
    I type in

    fdisk -l

    I then type in

    fdisk /dev/hda

    again it comes back saying its not able to read /dev/hda.

    I'm wondering if "hda" is not right. If this is the case, how do I know what the correct destination is to type in?

  4. $spacer_open
    $spacer_close
  5. #4
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Quote Originally Posted by anditworked View Post
    This is one of the first times I am using Linux through a command prompt and I was told to run a very old version, slackware 1.1.2. I'm trying to install it in virtualbox and it lets me log in as root but then says, "You will need one or more partitions of type 'Linux native' prepared." It says, "most users can use the linux 'fdisk' utility to create adn tage the types of all these partitions." It wants me to run fdisk to create a swap partition. I type

    fdisk

    and this comes back

    Unable to read /dev/hda

    any suggestions how I can run fdisk to make a linux native partition?
    Welcome to the forums!

    The kernel in most modern distributions see hard drives as sda rather than hda, so you could try that. However, the version of Slackware that you are trying to install (1.1.2) is over 16 years old now, so I think you will likely run into all kinds of issues along the way unless the hardware that you are using is also 15 or 16 years old.
    oz

  6. #5
    Just Joined!
    Join Date
    Mar 2010
    Posts
    3
    I tried using sda rather than hda but still no luck. Is there a version of slackware that is basic but not TOO old that would work on modern computer hardware within VirtualBox?

  7. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Could you post the output of fdisk -l command as suggested by ursusca?
    Code:
    fdisk -l
    * Its small L in 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
    Linux Newbie ursusca's Avatar
    Join Date
    Dec 2008
    Location
    Toronto
    Posts
    116
    Quote Originally Posted by anditworked View Post
    I tried using sda rather than hda but still no luck. Is there a version of slackware that is basic but not TOO old that would work on modern computer hardware within VirtualBox?
    Slackware 10.1 is supported by VirtualBox.

    Also you may try another small Linux distros:
    * Damn Small Linux
    * Puppy Linux
    * Feather Linux
    * DeLi
    * Vector Linux
    * Zenwalk
    * Antix
    * PClos TinyME
    * Debian
    * Slackware

Posting Permissions

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