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

    • Stylish Samsung Galaxy S25 Edge gets 20% discount sending it to lowest price by Paul Hill If you’re in the market for a powerful, stylish phone, then you may be interested in the Galaxy S25 Edge, which is now reduced to $969.99, down 20% from the $1,219.99 list price. This is the lowest price that the device has been at on Amazon. You can get the device at this price if you go for the Titanium Icyblue or Titanium Silver editions. These models are the top-end S25 Edge variants with 512GB of storage. While this Samsung device may be about as thick as a pencil, it’s constructed from titanium and uses Corning Gorilla Glass Ceramic 2 on the display. This should ensure durability, despite its thin design. The thickness of this phone is just 5.8mm, and it weighs 163g. Camera capabilities and AI enhancements The Galaxy S25 Edge's camera system is impressive. It has a 200MP main camera with optical image stabilization and a 2x optical quality zoom. This feature magnifies the image using optical mechanisms in the camera lens so that the zoomed image retains its original clarity, detail, and resolution of the scene. On the back, there is also a 12MP ultrawide camera with autofocus and on the front, there’s a 12MP camera. Like many phones coming out now, there are AI-powered camera features such as Night Video, Best Face for group shots, Portrait Selfie, and Gallery Search by description. Notably, there is no dedicated telephoto lens like in the S25+ and S25 Ultra. This is a tradeoff that the company decided to make to achieve its ultrathin design. Telephoto lenses are camera lenses that are designed to make distant objects appear closer and larger in your photos and videos. The absence of this telephoto lens may be a deal breaker for those looking to use this camera for professional shots; otherwise, it’s still very impressive, especially with that 200MP main camera. Performance, display, and integrated AI features The S25 Edge is powered by the Snapdragon 8 Elite chipset, specifically the 3-nanometer Qualcomm SM8750-AB. It has an octa-core CPU (2x4.47 GHz Oryon V Phoenix L + 6x3.53 GHz Oryon V2 Phoenix M) and an Adreno 830 GPU. This model's display is a 6.7-inch QHD+ Dynamic AMOLED 2X with a 120Hz adaptive refresh rate and high brightness. This device has plenty of other AI features too, outside of the camera, including Cross App Action, Audio Eraser for videos, Now Brief/Now Bar for personalized information, and of course, Google Gemini. With 12GB of RAM, the specs on this phone are really very good. It should be capable of doing most tasks you throw at it, including gaming. You may wonder if it will handle games well, given that the thin design means it could overheat. Samsung has already thought about this and included a reconfigured vapor chamber that helps to keep the phone cool. Battery life and charging speed: The main compromise Aside from the removal of the telephoto lens, this phone also has a drawback in terms of battery life. Its 3,900 mAh battery capacity means it’s smaller than many other devices, even compared to budget phones. Another disappointing aspect is the charging, where the wired charging speed is limited to 25W—that’s lower than what you find on very affordable Xiaomi POCO devices. This battery limitation might make this device a bad choice if you’re away from a charger for long periods. One affordable way to mitigate this downside is by carrying a portable charger, but still, it’s ironic that you buy a thin phone to be lighter and then end up carrying a brick-sized charger around with you. You could also just bring your charger and plug it into an outlet. Is the Galaxy S25 Edge the smart buy for you? If you’re someone who wants a sleek, lightweight phone that has a premium build and can easily slice through tasks you throw at it, then the Galaxy S25 Edge is very likely for you. It’s also great for anyone looking for a standout camera that doesn’t need a telephoto lens. However, if you need a device with all-day battery life because you’re going camping or to the middle of nowhere, then you could probably find a better fit with a longer battery life. If this device is for you, check out the links below. Samsung Galaxy S25 Edge (Titanium Icyblue): $969.99 (Amazon US) / MSRP $1,219.99 Samsung Galaxy S25 Edge (Titanium Silver): $969.99 (Amazon US) / MSRP $1,219.99 This Amazon deal is US-specific and not available in other regions unless specified. If you don't like it or want to look at more options, check out the Amazon US deals page here. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • I got too many apps I use actively. Theres been too often I completely blank on the name of the application and had to manually look through the list for it. Now I'm using Start11 and got my apps sorted in the Start menu by categories so that if I'm looking for Krita i can find it under "Art editors". If MS are going to change it, they should consider making automated categories. Seen some Linux distros do that. But if they do, theres probably gonna be a lot of wrongly categorized apps though, unfortunately.
    • LAV Filters 0.80.0 by Razvan Serea LAVFSplitter is a multi-format media splitter that uses libavformat (the demuxing library from ffmpeg) to demux all sorts of media files. LAV Splitter is a Souce Filter/Splitter required to demux the files into their separate elementary streams. LAV Audio and Video Decoder are powerful decoders with a focus on quality and performance, without any compromises. Supported Formats: MKV/WebM, AVI, MP4/MOV, MPEG-TS/PS (including basic EVO support), FLV, OGG, and many more that are supported by ffmpeg! LAV Filters are based on ffmpeg and libbluray and is aimed to offer a all-around solution to perfect playback of file-based Media as well as Blu-rays. LAV Filters 0.80.0 changelog: LAV Splitter NEW: Introduced the IURLSourceFilterLAV interface to allow opening URLs with custom user agent and referrer NEW: Added support for WebP images Changed: Increased the length of the advanced subtitle selection field, so its no longer cut off after 255 characters Changed: Improved buffering behavior on badly interleaved video files Fixed: Audio streams with an unknown/unsupported codec are no longer selected for playback, as long as others are present Fixed: Improved accuracy of reported FPS from AviSynth scripts LAV Video NEW: D3D11 support for HEVC 4:2:2 and 4:4:4 hardware decoding NEW: Dolby Vision extension metadata is exported for renderers to use Changed: Added additional media types to support more video streams Changed: Updated dav1d for significant AV1 decoding improvements Fixed: Improved handling of H.264 4:4:4 files encoded by certain versions of x264 Fixed: VP9 DXVA2/D3D11 decoding could result in artifacts on some clips Fixed: Decoding ProRes reports more accurate color details LAV Audio Changed: Added support for additional ADPCM audio codecs Download: LAV Filters 0.80.0 | 15.5 MB (Open Source) View: LAV Filters Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Haven't really used it much for years, not specific to Windows 11.. it's there but I mostly ignore it. I do install StartAllBack though bust mostly for the other bits that it brings. I prefer the "alt-space" type launchers (KRunner in Plasma, Flow in Windows or the like), a lot less clutter and more smarts like bookmark/history searches and other useful plugins.
  • Recent Achievements

    • First Post
      emptyother earned a badge
      First Post
    • Week One Done
      Crunchy6 earned a badge
      Week One Done
    • One Month Later
      KynanSEIT earned a badge
      One Month Later
    • One Month Later
      gowtham07 earned a badge
      One Month Later
    • Collaborator
      lethalman went up a rank
      Collaborator
  • Popular Contributors

    1. 1
      +primortal
      675
    2. 2
      ATLien_0
      277
    3. 3
      Michael Scrip
      220
    4. 4
      +FloatingFatMan
      168
    5. 5
      Steven P.
      161
  • Tell a friend

    Love Neowin? Tell a friend!