SlackwareThis Forum is for the discussion of Slackware Linux.
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.
ok so i get to where i need to make my partitions, and type "Fdisk /dev/hda" then i get the message "You will not be able to write the partition table. Device contains neither a vaild DOS partition table, nor Sun, SGI or OSF disklabel. Building a new DOS disklabel. Changes will remain in memory only. Until you decide to write them. After that, of course, the previous content won't be recoverable.
Warning: Invalid flag 0x0000 of partition table 4 will be corrected by w(rite)".
Then it won't let me make partitions, what am i doing wrong.
Have you thought of using Linux to partition the drive? Mandriva's latest version of DiskDrake (which is part of the installation process) is the best graphical partitioning program I've seen so far. QTParted (which comes with Mepis and is also part of the Mepis install process) is a pretty good graphical partitioning tool.
Try using cfdisk instead of fdisk, that way you'll get to "look" at your hard drive while you're making the changes.
Edit:
But it's not as user friendly as DiskDrake or QTParted . Let this be a lesson to us all; allow what you've read to register with ALL of your brain before you react, especially when you've been up for 48 hours straight!
Originally posted by cegha ok so i get to where i need to make my partitions, and type "Fdisk /dev/hda" then i get the message "You will not be able to write the partition table. Device contains neither a vaild DOS partition table, nor Sun, SGI or OSF disklabel. Building a new DOS disklabel. Changes will remain in memory only. Until you decide to write them. After that, of course, the previous content won't be recoverable.
Warning: Invalid flag 0x0000 of partition table 4 will be corrected by w(rite)".
Then it won't let me make partitions, what am i doing wrong.
Welcome to LQ!
You could have provided more information for us...
Since you're in the Slackware forum, I'm assuming you're installing Slackware.
As someone else said, cfdisk is much nicer than fdisk, and it's available on the Slackware CD1. That first CD has a file titled Slackware-HOWTO and you should read it before you start the installation. (Funny how reading the directions is the last thing most people try.)
Most Slackware installation help files recommend fdisk, but even the fdisk manual page recommends cfdisk over fdisk. It's much more intuitive, also.
Here's a couple more Slackware resources. If you're gonna be a Slacker, you're going to have to learn to read. You should start using Google <Linux> like you own it.
i have just decided to quit with it, im 99.9% sure its a harddrive problem, if i use cfdisk from within ubuntu (which i have insalled right now), just says when i use cfdisk, "opened disk read-only - you have no permission to write" then it says "FATAL ERROR: Bad primary partition O: Partition ends in the final partital cylinder, Press and key to exit cfdisk". Im tired of screwing with it i think its the stupid *** old harddrive, that is 2gig, im just going to get some xbox harddrives that are 10gig off a site for like $5 each and put 2 10 gig ones in it. That should fix the problem. If someone does know how to fix it that would help too.
I know this post is ancient, but the info doesn't die. I am facing a similar problem, except i am nopt a newbie. I have a 250G HD that i am trying to recover and your answers here were incredibly insulting and arrogant (not all but most - you know who ...).
This is a tough problem - fdisk wont write partition table or disk label, and you bozos treated it like someone just asked how to log in...
arrrggghhhh - folks like you do more harm to the linux community than SCO.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.