Damn Small Linux CFdisk command error


Recommended Posts

Recently I've downloaded DSL and used the live CD to check it out; however, I have decided to install it now. I read the instructions, and they said use fcdisk to create/delete the partitions and then create a partition for it. I do as stated, I open the terminal and type in fcdisk, and I get an error saying "FATAL ERROR: Cannot open disk drive". So, what do I do?

  Kreuger said:

I've never heard of fcdisk to modify a partion or do anything. I think it might be a typo because fdisk is the common way (that I know)

I think the OP meant cfdisk. It gives you a DOS-like fdisk screen. I haven't used it in quite a while and I just rely on plain old fdisk instead. Not's not hard to use.

@OP: Is there anything "special" about your HDD setup? RAID? SATA? broken drive? There might be some driver or drive problem is fdisk -l gives you an error.

  mitch00 said:

Are you root or regular user? Gotta be root to access fdisk or cfdisk

Mitch is right. At least that has been my experience.

Barney

I typed in CFDISK, then it said could not identify the hd signature/partitions, so it started with a new table. Then I went to create a partition that took the full hd, and said write. Soon as i pressed write.. it just freezes. Left it on for an hour, nothing happened. Maybe there is an alternative to removing/adding partitions? Possibly download a tool while im on the cd?

If you cannot write a partition table, there are serious problems. :ermm:

Let's try zeroing the whole 512 bytes of MBR, and see how that goes.

(as root)

dd if=/dev/zero of=/dev/hda bs=512 count=1

should write one 512 byte chunk of zeros to the very beginning of the hard drive.

Then try going in and creating your partition table.

If that fails, you have a strange permissions issue (are you sure you are root?), or bad hardware, or a corrupt version of fdisk. (listed roughly in order of likelihood)

  • 1 year later...
  markjensen said:
If you cannot write a partition table, there are serious problems. :ermm:

Let's try zeroing the whole 512 bytes of MBR, and see how that goes.

(as root)

dd if=/dev/zero of=/dev/hda bs=512 count=1

should write one 512 byte chunk of zeros to the very beginning of the hard drive.

Then try going in and creating your partition table.

If that fails, you have a strange permissions issue (are you sure you are root?), or bad hardware, or a corrupt version of fdisk. (listed roughly in order of likelihood)

Although I haven't tried the above yet... I am able to partition, format, and re-partition using gpart. Yet when I use DSL it hangs just like what was described above.

The only oddity is that I'm using a SolidState Drive (1 GB that I bought from logic supply). However, I've successfully installed OpenSuSE on there (partitioning, formatting, and installation)... as well as using Gpart afterwards to re-write the patition table to get ready for DSL.

I honestly forget the board model #, I'm pretty sure it's a PC Chips board wiht a Celeron 400 mhz processor, 128 MB ram and that's it. There's no floppy drive connected.

I'd love to put DSL on this board as this will be going in my car (hence the solid state drive) and since I only have 1gb of space the smaller the linux the better. :)

I'll try the zero'ing out later tonight. If you have any other ideas or suggesitons please post. Thanks. :)

Download the gparted live-cd (30mb) and use it, it will be easier than cfdisk. What kind of hard drive do you have? IDE, STA, SCSI? And what chipset does your computer use? Damn Small Linux use an old 2.4 kernel, it may not be suported (unfortunally). But gparted may fix all your problems. In the worst case serario, if you really want it, install it on a USB key.

I have to advise you that DSL is nice if you change nothing, but dont try to change something, use only package from their package manager or you will broke DSL.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Rumor: Apple eyeing over 5 million Samsung displays for '2026' foldable iPhone by David Uzondu You've probably been hearing rumors about Apple foldables for a while now, and in fact, this is perhaps the umpteenth article you've read about the topic. Still, new information from analyst Ming-Chi Kuo, claims that production of the first foldable iPhone could finally kick off later this year, pointing toward a launch in 2026. This news centers on a major component order, with Samsung being the exclusive supplier for the initial run, which neatly corroborates previous supply chain reports we have seen over the years. Apple and Samsung are supposedly working together to solve the one thing that has bugged people since foldables became a thing: the crease. Samsung has improved its panels over time, but Apple is reportedly pushing to have it nearly invisible before any phone ships to customers. This obsession with getting the hardware perfect feels very on-brand. After all, this is the company that is usually late to the party with new product categories, perfecting its take on devices like iPhones, iPads, the Apple Watch, and also AI. Okay, that last one isn't going smoothly for the company, but its track record with hardware is generally a different story. And the evidence for that hardware push is now getting much more specific. The new report from Kuo (translated) claims that Samsung Display is setting up a production line with the capacity of close to 8 million units. For context, the original Galaxy Fold sold less than a million units, and Samsung has been notoriously cagey about the exact number ever since. Despite their growing popularity, foldables are still a pretty niche category, but an initial order of this size, if true, suggests Apple thinks it can be the company to finally push them into the mainstream. Then again, Apple has not had a ton of success with its recent foray into the niche mixed-reality segment with the Apple Vision Pro, so maybe its magic touch has its limits. Of course, you should always take this sort of information with a grain of salt until you hear an official word from Apple. The specs are not finalized, and tech timelines can change depending on production issues or last-minute tweaks.
    • Cheaper maybe; effective, based on past experience, not likely. And yes, companies are on the market to generate profits but there is a huge difference between long terms plans and short ones generating profits but compromising the long term health, and consequently profits, of companies.
    • Lightweight = 100 MB, really? IrfanView is 4 MB!
    • Cool! Something no one wants that eats up storage space and battery life for free! /s
    • GT games are boring compared to Forza (Horizon or Motorsport)
  • Recent Achievements

    • First Post
      MikeK13 earned a badge
      First Post
    • One Month Later
      OHI Accounting earned a badge
      One Month Later
    • Week One Done
      OHI Accounting earned a badge
      Week One Done
    • First Post
      Thornskade earned a badge
      First Post
    • Week One Done
      Higante88 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      699
    2. 2
      ATLien_0
      267
    3. 3
      Michael Scrip
      202
    4. 4
      +FloatingFatMan
      171
    5. 5
      Steven P.
      134
  • Tell a friend

    Love Neowin? Tell a friend!