LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 01-11-2005, 10:31 AM   #1
nr5
Member
 
Registered: Dec 2004
Posts: 65

Rep: Reputation: 15
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!
 
Old 01-11-2005, 10:49 AM   #2
nr5
Member
 
Registered: Dec 2004
Posts: 65

Original Poster
Rep: Reputation: 15
Using cfdisk will give me the message "no permission to write"

WHY *cry*
 
Old 01-11-2005, 11:05 AM   #3
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Are you doing this as root user?
 
Old 01-11-2005, 11:14 AM   #4
nr5
Member
 
Registered: Dec 2004
Posts: 65

Original Poster
Rep: Reputation: 15
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
 
Old 01-11-2005, 11:18 AM   #5
nr5
Member
 
Registered: Dec 2004
Posts: 65

Original Poster
Rep: Reputation: 15
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.
 
Old 01-11-2005, 11:37 AM   #6
nr5
Member
 
Registered: Dec 2004
Posts: 65

Original Poster
Rep: Reputation: 15
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!
 
Old 01-11-2005, 11:50 AM   #7
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
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?
 
Old 01-11-2005, 12:34 PM   #8
nr5
Member
 
Registered: Dec 2004
Posts: 65

Original Poster
Rep: Reputation: 15
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.
 
Old 01-11-2005, 12:48 PM   #9
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Quote:
hda: TEAC CD-ROM CD-224E, ATAPI CD/DVD-ROM drive
That kinda looks like the drives are not jumpered correctly.
 
Old 01-11-2005, 12:51 PM   #10
nr5
Member
 
Registered: Dec 2004
Posts: 65

Original Poster
Rep: Reputation: 15
what does jumbered mean?
I just got this server delivered... any idea how to fix this?

Thanks!
 
Old 01-11-2005, 01:01 PM   #11
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
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.
 
Old 01-11-2005, 01:25 PM   #12
nr5
Member
 
Registered: Dec 2004
Posts: 65

Original Poster
Rep: Reputation: 15
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...)
 
Old 01-11-2005, 02:03 PM   #13
nr5
Member
 
Registered: Dec 2004
Posts: 65

Original Poster
Rep: Reputation: 15
okok i dont know HOW but it just started to work... thats the funny part...

anyway it works now =D

Thx.
 
  


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
Changing Partition Id in fdisk DaVenom Linux - General 3 09-06-2005 08:45 AM
Cannot delete partition with fdisk jackpal Linux - Hardware 2 07-18-2005 11:57 AM
How do I partition on fdisk? Sa3atsky Slackware 4 09-10-2004 06:47 PM
fdisk partition blackzone Linux - Newbie 6 08-22-2004 07:47 AM
FDisk partition types Odin_of_Asgard Linux - Software 1 05-12-2004 03:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:09 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration