LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
Search this Thread
Old 02-07-2006, 05:14 AM   #1
Tiepo
LQ Newbie
 
Registered: Feb 2006
Posts: 24

Rep: Reputation: 15
Unhappy problems with fdisk and cfdisk on slackware 10.2


Hey all
I am new to slackware and I am trying to install it on my computer. But I am having problems with "fdisk and "cfdisk".


Computer specs

Cpu: sempron 2600
Graphics Card: Geforce 5200fx
HDD: WD800 (western digital 80gb) IDE, Secondary Master.

After pressing "enter" at the boot screen. And selecting my correct keyboard map. I log on as "root".

When trying to use "Cfdisk" I get an error message saying "Opened disk-read - only you have no permission to write"

Fdisk gave me a different problem. It would not allow me to create a partition over "668mb" this was the maximum I could create and I could not create any other partitions.

I did the following with fdisk:
entered "fdisk" using the command "fdisk /dev/hda" and typing "n" to create a new partition, then "p" for primary and "1". I use the first cylinder (the default) by pressing enter. Then I used 81 (the max) as the last cylinder (the highest cylinder I can choose from). I pressed "P" for print and sure enough my partition is 668mb.

But I can't use all of my hdd. I cannot create another partition and I cannot make the partition bigger. Fdisk thinks that my hdd is 668mb when it is 80gb.

I have tried installing windows on my computer which uses the full 80gb and ubuntu (which did also). So I do not think it is a hardware problem.

Also I have checked the cds md5 checksums (on the slackware 10.2 cds)and they appear to all be valid.

Anyway suggestions? Thanks

Tiepo
 
Old 02-07-2006, 05:37 AM   #2
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
well do u need a SATA driver for this kind of drive?

slackware might not be loading the driver required on its own

so load the kernel during boot time with SATA support and seeif this works

regards
 
Old 02-07-2006, 06:19 AM   #3
Tiepo
LQ Newbie
 
Registered: Feb 2006
Posts: 24

Original Poster
Rep: Reputation: 15
Smile

Quote:
Originally Posted by masand
well do u need a SATA driver for this kind of drive?

slackware might not be loading the driver required on its own

so load the kernel during boot time with SATA support and seeif this works

regards
Thanks for the quick reply masand. I have tried the sata boot by typing "sata.i" at boot. However I still get the same results.
 
Old 02-07-2006, 06:24 AM   #4
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
what about other boot options

i do not have access to slackware disc right now,so i do not remeber those

there are some scsi options also i beleive

regards
 
Old 02-07-2006, 06:57 AM   #5
Geist3
Member
 
Registered: Oct 2003
Location: Richmond, Virginia USA
Distribution: Slackware 12.2
Posts: 59

Rep: Reputation: 15
Does your BIOS setup for your IDE hard drive follow the slackware.com install recommendations?
 
Old 02-07-2006, 07:54 AM   #6
BerzinTehvs
Member
 
Registered: Mar 2005
Location: Latvia
Distribution: Slackware
Posts: 47

Rep: Reputation: 15
If your drive is secondary master, i suppose you shuold try
cfdisk /dev/hdc
the "secondary master" means its PATA-drive, so there is no reason to use sata.i
 
Old 02-07-2006, 08:17 AM   #7
Tiepo
LQ Newbie
 
Registered: Feb 2006
Posts: 24

Original Poster
Rep: Reputation: 15
Cool

Quote:
Originally Posted by BerzinTehvs
If your drive is secondary master, i suppose you shuold try
cfdisk /dev/hdc
the "secondary master" means its PATA-drive, so there is no reason to use sata.i
Yes thankyou BerzinTehvs
This works. I cant beleive I didn't try this
Thanks for your help everyone.
 
Old 02-07-2006, 08:24 AM   #8
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
i also cannot believe that i did not lookup to this

but what was that which eneabled u to fdisk ontp and create those small partitons
 
Old 02-07-2006, 09:01 AM   #9
Tiepo
LQ Newbie
 
Registered: Feb 2006
Posts: 24

Original Poster
Rep: Reputation: 15
I have no idea. I have only one writeable disk device (my hdd). I guess its one of lifes mysteries

The only thing on primary master is my dvd rom drive but it doesn't have a burner or anything.

Last edited by Tiepo; 02-07-2006 at 09:05 AM.
 
Old 02-07-2006, 11:14 PM   #10
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
that might be the reason that u were only able to fdisk that drive in read only mode

regards
 
Old 02-08-2006, 12:18 AM   #11
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
The problem is that cfdisk by default uses /dev/hda if you don't give it any arguments, so you were trying to partition your DVD-ROM; hence the size and permissions. If you're using another device location, as you learned, just give that after "cfdisk" From "man cfdisk"
Quote:
DESCRIPTION
cfdisk is a curses based program for partitioning any hard disk drive. Typical values of the device argu-
ment are:

/dev/hda [default]
/dev/hdb
/dev/sda
/dev/sdb
/dev/sdc
/dev/sdd
The read-only mode problem was the same ... the DVD-ROM is read-only, not the hard drive.
 
Old 02-08-2006, 07:49 AM   #12
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 66
If your primary ide drive is the DVD drive, you really ought to switch the cables where they attach to the motherboard before you install.Will help later with confusion
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
FDISK or cfdisk in Linux gardenair Linux - Newbie 6 03-14-2005 04:01 PM
problems with fdisk and cfdisk ah786 Linux - Newbie 1 10-23-2004 06:50 PM
CFdisk does not see new HD but Fdisk does? BajaNick Linux - Software 6 08-28-2004 10:31 AM
Problems using cfdisk for Slackware 9.1 vespatian Linux - Newbie 5 12-10-2003 06:41 PM
fdisk and cfdisk problems LokiPartera Linux - Newbie 6 10-30-2002 04:13 PM


All times are GMT -5. The time now is 01:25 AM.

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