LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 01-06-2007, 12:47 AM   #1
winter_wizzerd
LQ Newbie
 
Registered: Jan 2007
Posts: 3

Rep: Reputation: 0
fdisk will not write partition table


using slackware 10.1, booted cd #1 and standard ide kernel
this is a new never been written on WD320 GB drive.

as soon as i enter 'fdisk /dev/hda' i am told i am not able to write this partition table. no valid table etc.

fdisk -l yields:
disk /dev/hda: 664 MB, 664735744 bytes
255 heads, 63 sectors/track, 80 cylinders
units= cylinders of 16065 * 512 = 8225280 bytes

i have to add up the bytes but these numbers do not look like 320 GB.

i tried to use 'o' under fdisk, and read the other threads under the 'click here to find similar threads' button and tried to use the dd if~of && etc statement offered there, but did not help. also i do not see any jumpers on this drive.

any other thoughts will be great. thank you

BTW this is my first post so if any other info may be relevant please ask and i will post it.
 
Old 01-06-2007, 02:02 AM   #2
z3r0.0v3rrid3
LQ Newbie
 
Registered: Sep 2006
Posts: 29

Rep: Reputation: 15
Welcome to LQ! I am kind of new here too, but I will do my best to help you out.

Firstly, is the drive you are using a IDE Hard disk or is it a SATA Hard disk?

If its a SATA you need to boot with the kernel sata.i and then try using fdisk /dev/sda

If its really a IDE drive, it is the primary master or secondary master? /dev/hda usually is the primary and /dev/hdc is usually the secondary master.

Last edited by z3r0.0v3rrid3; 01-06-2007 at 02:07 AM.
 
Old 01-06-2007, 02:16 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,799

Rep: Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923
That looks like a CD drive - your new disk apparently hasn't been recognised.
Normally even new disks will (should) be seen by "fdisk -l"
Check all the obvious cable connections. Might be BIOS, might be kernel - try a 2.6 one.
 
Old 01-06-2007, 08:02 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 10,882
Blog Entries: 1

Rep: Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307
Quote:
Originally Posted by winter_wizzerd
using slackware 10.1, booted cd #1 and standard ide kernel
this is a new never been written on WD320 GB drive.

as soon as i enter 'fdisk /dev/hda' i am told i am not able to write this partition table. no valid table etc.

fdisk -l yields:
disk /dev/hda: 664 MB, 664735744 bytes
255 heads, 63 sectors/track, 80 cylinders
units= cylinders of 16065 * 512 = 8225280 bytes

i have to add up the bytes but these numbers do not look like 320 GB.

i tried to use 'o' under fdisk, and read the other threads under the 'click here to find similar threads' button and tried to use the dd if~of && etc statement offered there, but did not help. also i do not see any jumpers on this drive.

any other thoughts will be great. thank you

BTW this is my first post so if any other info may be relevant please ask and i will post it.
Hi,

Welcome to Slackware!

The WD 320se is ATA and uses a EIDE interface the [WD Interface Guide] does indicate the jumper block selection for M/S/CSEL is there.

My question to what BIOS and system you are putting the HD in? Some older BIOS don't recognize large drives.

What does your BIOS recognize? What is the system hardware?
 
Old 01-06-2007, 10:55 AM   #5
winter_wizzerd
LQ Newbie
 
Registered: Jan 2007
Posts: 3

Original Poster
Rep: Reputation: 0
fdisk will not write partition

hi thanks for replying.

this is indeed an ata ide drive. when machine is first booted
the bios recognizes the cd burner as well as the wd hd as the secondary master. the primary master is the cd drive, because this started life as a 4 drive raid sys, but when i first hooked up the drives the cards bios did not recognize the drive on port 1. even when i switched in the drive from port 2.

i removed the raid card and tried to just get a single drive sys to work, but ran into the problem stated in the subject. just finished replacing the raid card and now all ports are recognized by the card bios. i boot, fdisk and still get the message ~ not able to write to partition table...etc.


MB chaintech 7ctkjd
bios award V.6.00pg

the kernel i believe is 2.4.1. i have never setup a drive larger that 10GB and never had this problem unless the drive itself had problems. of course now everything is dying almost
right at the same time. this kernel version came out near somewhere near a year ago, so there has to be support for this large disk. the bios i am not sure. these boards are somewhere near 5 maybe 6 years old? they where given to me and worked with 10GB drives so i never thought to look up info for them. i will have to find out if there is a bios update available for these or i might have to by a new board
that will support these size drives.
 
Old 01-06-2007, 11:08 AM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 10,882
Blog Entries: 1

Rep: Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307
Quote:
Originally Posted by winter_wizzerd
hi thanks for replying.

this is indeed an ata ide drive. when machine is first booted
the bios recognizes the cd burner as well as the wd hd as the secondary master. the primary master is the cd drive, because this started life as a 4 drive raid sys, but when i first hooked up the drives the cards bios did not recognize the drive on port 1. even when i switched in the drive from port 2.

i removed the raid card and tried to just get a single drive sys to work, but ran into the problem stated in the subject. just finished replacing the raid card and now all ports are recognized by the card bios. i boot, fdisk and still get the message ~ not able to write to partition table...etc.


MB chaintech 7ctkjd
bios award V.6.00pg

the kernel i believe is 2.4.1. i have never setup a drive larger that 10GB and never had this problem unless the drive itself had problems. of course now everything is dying almost
right at the same time. this kernel version came out near somewhere near a year ago, so there has to be support for this large disk. the bios i am not sure. these boards are somewhere near 5 maybe 6 years old? they where given to me and worked with 10GB drives so i never thought to look up info for them. i will have to find out if there is a bios update available for these or i might have to by a new board
that will support these size drives.
Hi,

I would make the cdrom slave on ide0 or move the cdrom to ide1 and make it master. You then could make the wd320 the master on ide0. If you have both on the same channel then make sure that the HD is master with the cdrom as slave on the channel. Some older BIOS especially award have some problems with cdrom booting.

You could use the sbootmgr to allow boot selection if you have a floppy or removable media.

As for drive size, you could partition the drive with a small /boot then partition as you want. Once you boot, linux doesn't care about the BIOS.

You could move the wd320 to ide1 and make it master if the BIOS has a problem with booting a cdrom on ide1.

Also make sure the WD320 EIDE cable is an 80 to insure the drive will work at the desired performance.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
You will not be able to write the partition table ulmo_55 Slackware - Installation 6 02-20-2009 04:10 AM
fdisk said my HD didn't have valid partition table??? bombman Linux - Newbie 6 08-28-2006 11:53 AM
Cannot use fdisk to write partition data evolvedlight Slackware - Installation 4 04-20-2005 09:00 AM
cant write partition table brandonloserkid Slackware - Installation 1 01-19-2004 01:04 AM
you will not be able to write the partition table 5oh Linux - Newbie 9 01-05-2004 12:16 PM


All times are GMT -5. The time now is 01:38 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration