cfdisk fatal error: cannot open disk drive (on serial ata)
DamnSmallLinuxThis forum is for the discussion of DamnSmallLinux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
cfdisk fatal error: cannot open disk drive (on serial ata)
Hi,
I successfully installed Damn Small Linux 4.2.5 on a Dell Dimension 4500 (pretty old) from the live CD. This computer has a parallel ata interface (the standard ultra ata one, predecessor of the serial ata).
The commands I used to partition the drive were:
Code:
sudo -s
cfdisk /dev/hda
and they worked fine.
I tried the very same CD to install it on my HP Pavilion a1330n, which has a serial ATA type hard disk drive, and:
Code:
sudo -s
works fine, but the
Code:
cfdisk /dev/sda
gives a blank screen with this message:
"FATAL ERROR: Cannot open disk drive
Press any key to exit cfdisk"
Does Damn Small Linux support serial ata, and how do I install it on such a disk?
Did you note the "BUGS" comment at the bottom of the man page that cfdisk cannot handle multiple disks? Try unplugging all drives except the one you want to partition.
Alternatively, either parted or fdisk should work from a command line. (Not being a DSL user, I don't know what you'd need to do to get those installed, but fdisk is part of the util-linux-ng GNU package that contains cfdisk, so it's likely that you already have fdisk available.)
Whenever I've had that problem I reboot from the LiveCD and type install at the boot prompt, which boots into a menu instead of booting into X. Selecting cfdisk from that menu usually allows me access to my drives.
I think my HDD is damaged - the serial ATA one . I need to use a weird combination of steps to turn it on. Most of the time it looks like this:
1. I power on my PC, and I can only see the power and the HDD leds burning, but it won't boot.
2. I press and hold the power button for a few seconds until the optical drives leds blink, at which moment I release the power button, and the PC reboots, and starts normally (if I hold it a bit longer, it shuts down).
3. Sometimes, I need to power it off before step 2 works.
This started to happen since I accidentally struck my PC when it was turned on as I was taking a sit at my desk.
How should I diagnose my HDD?
It's a Pavilion a1330n.
I can install for example Ubuntu without any problems, but the strange way of powering on the PC persists...
I recently added a second serial ata drive to my laptop and noticed that GRUB was unable to access the drive for boot. (Since it was a second drive, I didn't need it to be bootable.) I have Ubuntu (Hardy), and Vista (which was pre-installed) on the first drive, and Fedora 9 on the second. When I boot Fedora 9 (using GRUB, the kernel, and the initial RAM disk image, from the first drive), I get about a page of error messages about the second drive being "frozen" until the kernel gives up and resets the disk transfer rate from 3Gb/sec to 1.5Gb/sec. After that, everything works fine.
The point in all that is that perhaps your problem is just that your drive is slower than what it's telling your BIOS it can handle.
OK, I was having this problem on a simple IDE drive. Turns out it was a permissions issue.
Try booting in using the DSL live CD, and then go to a terminal (A little icon on the application bar, not in the menu,) and type...
sudo cfdisk
Worked for me, Good luck.
More....
I had troubles when I had 2 drives and a logical volume manager (LVM) spanning across the 2 drives.
One failed, (not the boot one (hda)) then DOS fdisk couldn't remove the partitions. Also, I couldn't get DSL cfdisk to do it either (I forgot to do the sudo part then.)
I had to start an install using xubuntu and make it repartition the drive, then I could boot DOS and FDISK could then delete that and recreate another. Turns out CFDISK still couldn't do the work then I remembered the sudo thing. (several hours wasted on a simple thing.)
cfdisk should suggest the permissions issue to remind us poor forgetful humans.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.