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.
so i just installed xandros 3.0 on to my primary hard drive and everything runs fine. but i want to know how i can format and partition my 2nd hard drive so that it can be used. currently it is ntfs and is read only. i tried to use fdisk but it didn't work. so i need to know how to format and partition it.
when i tried fdisk, it said there were no logical drives, so i went to delete the extended and it said i cant do that until i've deleted the logical. where do i get cfdisk and mkfs??? i'm only new to linux cause stupid windows kept pissing me off. stupid hack piece of shit
Originally posted by emokid ummm. can you please explain what i'm meant to do??
From what I understand about what you want to do. Put the drive in the machine and boot up. Once you get into linux at a bash prompt type cfdisk and take it from there. The fdisk on a Window$ boot disk will not work.
Remember when invoking cfdisk and or fdisk, you have to specify the drive.
If its going to be the secondary drive on the primary controller.. it would be /dev/hdb
So doing:
cfdisk /dev/hdb
Would launch cfdisk to start editing your partitions for your disk. I've installed Xandros once and it seemed pretty limited to what is installed, do a locate or whereis for cfdisk to see if it's actually installed.
And if you want to get rid of the logical crap fdisk outputs when trying to use that, you can always wipe the partition info from the drive by doing a:
dd if=/dev/zero of=/dev/hdX bs=1024 count=1024
But be very careful not to invoke that command on any drive you have data you intend to keep. And the X represents the drive letter, depending on what controller the drive is connected to.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.