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

    • Hey Nick! 👋 No worries at all — you're not alone in this, and it's great you're asking for help. Let me walk you through a simple, step-by-step fix using the tool mentioned on that AOMEI Partition Assistant guide — it really does the trick for many people with this exact issue! ✅ Here’s how to restore your USB back to full 256GB on Windows 11: Download & Install AOMEI Partition Assistant Go to the link you shared: AOMEI Partition Assistant and click the Download Freeware button. Insert your USB stick (Sandisk Ultra 256GB) Make sure it's properly connected. Wait for the system to detect it. Launch AOMEI Partition Assistant Once open, you'll see all your connected drives listed. Locate your USB Drive Look for the one that says something like Disk X – Removable and shows only 3.1GB or so. Right-click on your USB Drive’s Partition Then select Delete Partition → confirm the deletion. Now, right-click on the unallocated space (it should now show full unallocated capacity) Choose Create Partition → format it as FAT32 or exFAT (recommended for larger drives) → click OK. Click “Apply” in the top left corner Then hit Proceed to execute the pending operations. Wait a bit... and boom! 🎉 Your USB should now be restored to its full 256GB capacity!
    • When Facebook bought Beat Saber, they promised exactly this would never happen. Facebook can’t not lie.
    • Depends on what you mean by "this data". Nvidia can show you quite a few of those as well in their performance overlay, and I guess they might've assumed that if anyone wants to see more, they'll just use Afterburner as the de facto standard. As for real framerate vs framegen framerate, I don't think they exactly want you to know, given that their marketing has been strongly focused on hiding the real framerate and pretending the generated one is all that matters...
    • Yeah, but that never works out well. You can just give your power user more options and they'll be happy. Your new generation can just go with whatever you think is the best default.
  • Recent Achievements

    • First Post
      Fuzz_c earned a badge
      First Post
    • First Post
      TIGOSS earned a badge
      First Post
    • Week One Done
      slackerzz earned a badge
      Week One Done
    • Week One Done
      vivetool earned a badge
      Week One Done
    • Reacting Well
      pnajbar earned a badge
      Reacting Well
  • Popular Contributors

    1. 1
      +primortal
      710
    2. 2
      ATLien_0
      279
    3. 3
      Michael Scrip
      209
    4. 4
      +FloatingFatMan
      200
    5. 5
      Steven P.
      131
  • Tell a friend

    Love Neowin? Tell a friend!