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

    • Ew... Not going to download that crap, even if it's free!
    • They can say whatever they want about the delay, it was paid for. No way it just happens to release exactly 1 year later, gtfo.
    • There's a similar 2025 model that's even cheaper (£474)
    • Black Myth: Wukong hits Xbox this August, exactly a year after PlayStation launch by Pulasthi Ariyasinghe Developer Game Science delivered one of the biggest action games of all time last year, with Black Myth: Wukong going on to sell tens of millions in its launch month and winning a multitude of awards. However, the title skipped out on a platform it was originally announced to launch in: Xbox. Following a long string of reasons and delays, it seems the port is finally coming to the platform. Today, Game Science announced that the Xbox Series X|S version of Black Myth: Wukong now has a release date, with it landing on August 20, 2025. Pre-orders for the title will become available starting June 18. Interestingly, this Xbox release date is set exactly one year after the original release on PlayStation 5 and PC. Game Science originally stated that the delay was due to technical issues with Xbox consoles. However, Microsoft refuted that claim quickly and alluded that the delay was due to some sort of console exclusivity deal between Game Science and Sony. In today's announcement, Game Science once again says that the delay was due to its work on porting the game to Xbox and meeting its quality standards. "Bringing Black Myth: Wukong to Xbox Series X|S—and ensuring the experience met our internal quality standards—was no easy feat," said the studio today regarding the long delay on Xbox platforms. "Fortunately, we were able to complete this challenging task smoothly within the first year of the game's official release." "If you're an Xbox player who hasn't yet experienced the game on another platform, we're confident it will stand among the finest ARPGs available on Xbox," added Game Science. For those looking to jump into the game a little cheaper than usual, Game Science will be hosting Black Myth: Wukong's first-ever sale on June 18. The 20% off discount will be available across PC, PlayStation, and even the Microsoft Store for the Xbox Series X|S pre-order.
  • Recent Achievements

    • Week One Done
      theevergreentree earned a badge
      Week One Done
    • Dedicated
      Fryer Tuck earned a badge
      Dedicated
    • Week One Done
      luxoxfurniture earned a badge
      Week One Done
    • First Post
      Uranus_enjoyer earned a badge
      First Post
    • Week One Done
      Uranus_enjoyer earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      441
    2. 2
      +FloatingFatMan
      248
    3. 3
      snowy owl
      228
    4. 4
      ATLien_0
      213
    5. 5
      Xenon
      152
  • Tell a friend

    Love Neowin? Tell a friend!