Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
It should have worked, but I have a question about the command you used.
Code:
dd if=/dev/zero of=/dev/fda
/dev/fda? I've not seen that one before. Look into /etc/fstab, or run 'fdisk -l' to find out what your system calls the hard drive. Then correct the dd command.
Fdisk may not be in your PATH environment variable. So, try the full path to the executable called fdisk. Like this: /sbin/fdisk -l.
Side note: if you intend to try to re-make your partitions, you must do it from a liveCD. You shouldn't try re-making partitions from a mounted partition. That is, if the partition yout OS is running from is one of the partitions you intend to work on. Your work should involve unmounted partitions. Also, you need root authority to do it.
Last edited by bigrigdriver; 02-20-2008 at 02:53 PM.
Fdisk may not be in your PATH environment variable. So, try the full path to the executable called fdisk. Like this: /sbin/fdisk -l.
Side note: if you intend to try to re-make your partitions, you must do it from a liveCD. You shouldn't try re-making partitions from a mounted partition. Also, you need root authority to do it.
It would help to know more about your computer: make, model, hardware (especially hard drive vendor and disk size).
Fdisk may not be in /sbin on your system. So, in a terminal, run 'locate fdisk' to find out where the fdisk executable is located. Then use the path given to you in the locate results to run the command. Example: suppose locate finds it in /usr/sbin/fdisk. Then you would run the command as '/usr/sbin/fdisk -l'.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.