LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 10-25-2002, 08:30 PM   #1
LokiPartera
LQ Newbie
 
Registered: Oct 2002
Posts: 5

Rep: Reputation: 0
fdisk and cfdisk problems


I have a machine that was running RH 7.2, I'm trying to put a full install of Gentoo on it right now. Install went fine till time to partition the hard drive...

fdisk and cfdisk think my 20GB hd is 233 MB total in size with no partitions. It had a standard RH partition setup before I tried to install Gentoo.

Don't really know what direction to go in to try and fix this..
Thanks!
 
Old 10-29-2002, 01:43 PM   #2
nizo505
LQ Newbie
 
Registered: Oct 2002
Posts: 3

Rep: Reputation: 0
I have never used gentoo, but you might do a redhat install, and when it asks you to partition the disk (before the install), use fdisk to delete whatever partitions are already defined, and bail out of the RedHat install and try the gentoo install again. Presumably gentoo has a way to setup/partition a disk that doesn't have any partitions on it?
 
Old 10-29-2002, 01:50 PM   #3
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 57
Welcome to LQ, the pair of you.

Are you doing this on a fairly old computer, or is it fairly new? Perhaps you need to specifically tell Linux, at boot time, the physical size of your drive. If you go into your BIOS and find out it's properties (C/H/S), then you can pass those to the kernel as boot parameters.

Just a suggestion.
 
Old 10-30-2002, 01:11 AM   #4
LokiPartera
LQ Newbie
 
Registered: Oct 2002
Posts: 5

Original Poster
Rep: Reputation: 0
Used the RH install disk to look at the partions... It sees a 20GB hard drive like it should. My computer is about 3 years old, a Compaq Presario 5868 to be exact. The hd is a Western Digital so nothing unusual there. After using the Druid partition manager in RH I tried Gentoo again to the same results. Then I tried fdisk from the RH install disk, and that didn't change anythng... I have even gone so far as to use the partition manager on a WinXP install disk <shiver>

I think it's a problem with fdisk or the gentoo install program not correctly recognizing the hard drive, unfortunately I have no clue how to fix that. Suggestions are greatly appreciated!

Great suggestion Thymox! How do I do that?

Last edited by LokiPartera; 10-30-2002 at 01:13 AM.
 
Old 10-30-2002, 01:48 AM   #5
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 46
What do you mean by "tried fdisk from RH install disk and that didn't
change anything"? Did you try writing the partition table and it failed,
or did it correctly write the partition table, but Gentoo isn't buying it?
Have you tried setting up your partitions with RH, then skipping the
partition portion of Gentoo's install?
How are you partitioning your disk? (extended partitions? DOS partitions?)
Post your partition table (from RH) here, if it's at all possible. . .
 
Old 10-30-2002, 03:17 PM   #6
LokiPartera
LQ Newbie
 
Registered: Oct 2002
Posts: 5

Original Poster
Rep: Reputation: 0
Think I figured it out. I was writing down the partition tables to post when I noticed that the correct table from RH's fdisk was look at /dev/hdc NOT /dev/hda like it did in Gentoo. When I jumped into fdisk in Gentoo and used /dev/hdc it showed my my correct hard drive!!! Thanks for the suggestions all!
 
Old 10-30-2002, 05:13 PM   #7
lopoetve
Member
 
Registered: Aug 2001
Distribution: Too many.
Posts: 102

Rep: Reputation: 15
yea easy solutions!

btw, have you done any more work on that crappy ASM file yet?
 
  


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 and cfdisk not available in SuSE? fitzov Linux - Newbie 2 04-27-2005 04:48 AM
FDISK or cfdisk in Linux gardenair Linux - Newbie 6 03-14-2005 05:01 PM
problems with fdisk and cfdisk ah786 Linux - Newbie 1 10-23-2004 07:50 PM
CFdisk does not see new HD but Fdisk does? BajaNick Linux - Software 6 08-28-2004 11:31 AM
fdisk and cfdisk missing when begin install Seiera Slackware 12 11-12-2003 07:27 PM


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

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration