Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
01-11-2005, 10:31 AM
|
#1
|
Member
Registered: Dec 2004
Posts: 65
Rep:
|
Partition with fdisk fails!?
Hello,
I get this message when i try to run fdisk /dev/hda
"You will not be able to write the partition table.
Note: sector size is 2048 (not 512)
Device contains nither a valid DOS partition table, nor Sun or OSF disklabel
untill you decide to write them. After that, of course, the previouse content wont be reconerable.
Warning: invalid flag 0x0000 of partition table will be corrected by w(rite)"
I have no idea what that means... And I cant create any partitions because they wont be saved after i write "w".
Im currently trying to install Gentoo on a DELL PowerEdge server... Anyone know how to fix this pls!?
Thanks!
|
|
|
01-11-2005, 10:49 AM
|
#2
|
Member
Registered: Dec 2004
Posts: 65
Original Poster
Rep:
|
Using cfdisk will give me the message "no permission to write"
WHY *cry*
|
|
|
01-11-2005, 11:05 AM
|
#3
|
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
|
Are you doing this as root user?
|
|
|
01-11-2005, 11:14 AM
|
#4
|
Member
Registered: Dec 2004
Posts: 65
Original Poster
Rep:
|
I think so yes. One of my friends said that he thinks that fdisk is looking in a BIOS or something... but hes not sure...
Im really really stuck at the moment.. cant install anything
|
|
|
01-11-2005, 11:18 AM
|
#5
|
Member
Registered: Dec 2004
Posts: 65
Original Poster
Rep:
|
AHH!! I created a user and loged in as that user. Then when i write "su" and the password i get "su: Permission denied"?!?!
Maybe thats whats bugging the fdisk?
Last edited by nr5; 01-11-2005 at 11:23 AM.
|
|
|
01-11-2005, 11:37 AM
|
#6
|
Member
Registered: Dec 2004
Posts: 65
Original Poster
Rep:
|
I should maybe add that I am booting from a CD now to install Gentoo... maybe its only looking at the CD volume?
Still in a sticky spot here.
Appreciate any help!
|
|
|
01-11-2005, 11:50 AM
|
#7
|
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
|
Most installs are done as root user but I don't know what's going on. Does your bios see the drives ok? Do you have the drive jumpered as Primary Master?
|
|
|
01-11-2005, 12:34 PM
|
#8
|
Member
Registered: Dec 2004
Posts: 65
Original Poster
Rep:
|
everything is OK in bios. But i found something else thats bothering me...
hda: TEAC CD-ROM CD-224E, ATAPI CD/DVD-ROM drive
when i write dmesg | less
I might add that my HD is a SCSI and not IDE.
Last edited by nr5; 01-11-2005 at 12:41 PM.
|
|
|
01-11-2005, 12:48 PM
|
#9
|
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
|
Quote:
hda: TEAC CD-ROM CD-224E, ATAPI CD/DVD-ROM drive
|
That kinda looks like the drives are not jumpered correctly.
|
|
|
01-11-2005, 12:51 PM
|
#10
|
Member
Registered: Dec 2004
Posts: 65
Original Poster
Rep:
|
what does jumbered mean?
I just got this server delivered... any idea how to fix this?
Thanks!
|
|
|
01-11-2005, 01:01 PM
|
#11
|
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
|
Before things get really messed up, you should get a live body in there to help.
The hard drives and cdrom drives have jumpers ( switches ) on them which are used to set a drive as one of these.
Primary Master ( usually /dev/hda or first hard drive. Not a cdrom )
Secondary Master ( usually /dev/hdb or second hard drive Not a cdrom )
Primary Slave ( usually /dev/hdc or first cdrom drive )
Secondary Slave ( usually /dev/hdd or second cdrom drive )
If you have SATA drives, all of that can be totally different.
|
|
|
01-11-2005, 01:25 PM
|
#12
|
Member
Registered: Dec 2004
Posts: 65
Original Poster
Rep:
|
isnt there just a way for me find out what to use instead of "hda"? Thats sould be easy??
I tried the whole alfabeth with sdX (since i got a SCSI disk but none worked...)
|
|
|
01-11-2005, 02:03 PM
|
#13
|
Member
Registered: Dec 2004
Posts: 65
Original Poster
Rep:
|
okok i dont know HOW but it just started to work... thats the funny part...
anyway it works now =D
Thx.
|
|
|
All times are GMT -5. The time now is 02:09 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|