Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CFDisk Problem?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
gotvols
n00b
n00b


Joined: 08 May 2006
Posts: 14
Location: Florida

PostPosted: Mon May 08, 2006 2:54 pm    Post subject: CFDisk Problem? Reply with quote

When I try to use cfdisk it gives me the following error:

opened disk read-only - you have no permissions to write

How do I fix this problem? Any help would be appreciated.
Back to top
View user's profile Send private message
asiB4
Guru
Guru


Joined: 16 Jan 2006
Posts: 370
Location: Inside the electric circus

PostPosted: Mon May 08, 2006 3:24 pm    Post subject: Reply with quote

have you chosen the correct disk to partition when using cfdisk, such as; cfdisk /dev/hda or cfdisk /dev/sda (depending on your hardware setup)? if you are using a livecd and just type cfdisk without specifying a disk it will try running on the cd, which would be read-only and give that error. check the link below for more information. hope that helps.

http://www.linuxmanpages.com/man8/cfdisk.8.php
_________________
Registered Linux User #332738

Back to top
View user's profile Send private message
gotvols
n00b
n00b


Joined: 08 May 2006
Posts: 14
Location: Florida

PostPosted: Mon May 08, 2006 3:35 pm    Post subject: Reply with quote

I normally just type in cfdisk and it goes directly to my main hard drive. I got a new computer so this one might be different. I'll try chosing the location. I'll post the reults.
Back to top
View user's profile Send private message
n2gen2
n00b
n00b


Joined: 08 May 2006
Posts: 5

PostPosted: Mon May 08, 2006 9:07 pm    Post subject: Reply with quote

asiB4 wrote:
have you chosen the correct disk to partition when using cfdisk, such as; cfdisk /dev/hda or cfdisk /dev/sda (depending on your hardware setup)? if you are using a livecd and just type cfdisk without specifying a disk it will try running on the cd, which would be read-only and give that error. check the link below for more information. hope that helps.

http://www.linuxmanpages.com/man8/cfdisk.8.php


I have the same issue and I tried the above and it didn't help. I still get the same error.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Mon May 08, 2006 11:05 pm    Post subject: Reply with quote

Try this command. It will list all detected harddrives. That way you will know the correct device name to use.
Code:
# fdisk -l
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum