Laptops :: DELL Latitude XPi CD (problems on X-server)
ok, my dsl on hdd works fine. when i type cfdisk i've got this fatal error: Cannot open disk drive
You need to be the "root" (IE: super user) in order to use these commands.
Try typing:
sudo su
cfdisk /dev/hdd
The sudo su part will give you root access.
Also, keep in mind that your FORMAT command is used to format the PARTITION, not the DRIVE.
So, for example if you make a new partition #2 on your hdd drive, you use
cfdisk /dev/hdd
to edit the DRIVE's partition table, but you use
mkswap /dev/hdd2
to format the 2nd partition for swap usage.
original here.