Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Big time newbie question!
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
Baconstrip
n00b
n00b


Joined: 03 Aug 2003
Posts: 9
Location: WI

PostPosted: Sun Aug 03, 2003 8:35 pm    Post subject: Big time newbie question! Reply with quote

Hello all.. I've decided to try my hand at installing Gentoo. Now its going to take a few tries, I can tell.. hehe. I've ran mandrake for awhile, but decided installing Gentoo would force me to learn a lot more about it rather than have mandrake install and configure everything for me.

The first problem I'm having is that when I boot from the ISO CD... I do an fdisk /dev/hda as the instructions say.

Problem is, its only seeing my 20gig hard drive as a 224MB hard drive and I cannot create the partitions at the size that I want.

Now I had a windows installation on the HD.. and I booted up with the XP CD and deleted the windows partition.

I apologize for the newbie question as I'm sure theres an easy answer.. but hey, gotta learn somehow!

Thanks alot!

-Bacon
Back to top
View user's profile Send private message
screwjack
n00b
n00b


Joined: 26 Jul 2003
Posts: 16
Location: san diego, ca

PostPosted: Sun Aug 03, 2003 8:52 pm    Post subject: Reply with quote

have you tried using cfdisk instead to see if the behavior is the same?
_________________
"Without deviation from the norm, 'progress' is not possible." - Frank Zappa
Back to top
View user's profile Send private message
Baconstrip
n00b
n00b


Joined: 03 Aug 2003
Posts: 9
Location: WI

PostPosted: Sun Aug 03, 2003 9:18 pm    Post subject: Reply with quote

CFdisk says I have 222.09 MB free :(
Back to top
View user's profile Send private message
Timm
Tux's lil' helper
Tux's lil' helper


Joined: 01 Nov 2002
Posts: 138
Location: Earth

PostPosted: Sun Aug 03, 2003 9:28 pm    Post subject: Reply with quote

What's the partition size you like to have? If it is larger than 60 GB, it won't work.
_________________
Timm
Back to top
View user's profile Send private message
Baconstrip
n00b
n00b


Joined: 03 Aug 2003
Posts: 9
Location: WI

PostPosted: Sun Aug 03, 2003 9:32 pm    Post subject: Reply with quote

Well I'd like to use all 20gigs of my harddrive.. but it says theres only 224 available.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


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

PostPosted: Sun Aug 03, 2003 9:35 pm    Post subject: Reply with quote

It sounds like the partition table may be corrupted. As long as you have nothing you need to keep on this drive, I would suggest zeroing the partition table and making a new one from scratch :
Code:
# dd if=/dev/zero of=/dev/hda bs=512 count=1
# fdisk /dev/hda

If this still doesn't work, you may need to reboot after the "dd" step so the BIOS can see the empty MBR/partition table.
Back to top
View user's profile Send private message
jlowell
Guru
Guru


Joined: 08 Jan 2003
Posts: 389

PostPosted: Sun Aug 03, 2003 9:42 pm    Post subject: Reply with quote

I would concur with cyrillic. Clean the thing off and start over. If you don't need anything that's been on the drive, there'll be only benefit in doing so.

Keep us posted.

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


Joined: 26 Jul 2003
Posts: 16
Location: san diego, ca

PostPosted: Sun Aug 03, 2003 9:52 pm    Post subject: Reply with quote

yeah - nuke it from orbit. it's the only way to be sure. :)
_________________
"Without deviation from the norm, 'progress' is not possible." - Frank Zappa
Back to top
View user's profile Send private message
Timm
Tux's lil' helper
Tux's lil' helper


Joined: 01 Nov 2002
Posts: 138
Location: Earth

PostPosted: Sun Aug 03, 2003 9:57 pm    Post subject: Reply with quote

Quote:
What's the partition size you like to have? If it is larger than 60 GB, it won't work.


Sorry for that, I didn't read your post well :(
_________________
Timm
Back to top
View user's profile Send private message
Baconstrip
n00b
n00b


Joined: 03 Aug 2003
Posts: 9
Location: WI

PostPosted: Sun Aug 03, 2003 9:59 pm    Post subject: Reply with quote

Hrm.. still no luck.

It says the following when I do an fdisk:

"You will not be able to write the partition table. Device contains neither a valid DOS parition table, nor Sun, SGI, or OSF disklabel. buildeing a new DOS disklabel. Changes will remain in memory only until you decide to write them. After that, of course, the previous content wont be recoverable.

Warning: invalid flag 0x0000 of parition table 4 will be corrected by w(rite)


And when I open in CFdisk, it says "opened disk read-only, you have no permission to write"
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


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

PostPosted: Sun Aug 03, 2003 10:12 pm    Post subject: Reply with quote

So, did it work when you tried to w(rite) the new table from fdisk ?

<edit> Also be sure you are trying to partition the correct drive. Maybe /dev/hda is your cdrom. Check "dmesg | less" to see how the kernel is detecting the drives. </edit>
Back to top
View user's profile Send private message
Baconstrip
n00b
n00b


Joined: 03 Aug 2003
Posts: 9
Location: WI

PostPosted: Sun Aug 03, 2003 10:24 pm    Post subject: Reply with quote

Ugh.. your right.. I feel so stupid! :P

Its recognizing the CD as HDA and the HD as HDE..

Is it alright if the HD is HDE and I install from there? Or should I open up my box and make it so the HD is the Primary Master (Dunno why it isnt.. I think I had problems when I built it trying to get the HD and the CDrom working :) )
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


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

PostPosted: Sun Aug 03, 2003 10:28 pm    Post subject: Reply with quote

/dev/hde is fine. Just make sure you use this instead of /dev/hda for your /etc/fstab entries as well.
Back to top
View user's profile Send private message
Baconstrip
n00b
n00b


Joined: 03 Aug 2003
Posts: 9
Location: WI

PostPosted: Sun Aug 03, 2003 10:40 pm    Post subject: Reply with quote

Thanks for the help, guys :)
Back to top
View user's profile Send private message
guard0
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jun 2003
Posts: 96

PostPosted: Sun Aug 03, 2003 10:44 pm    Post subject: Reply with quote

and grub/lilo, and when you go to format
anywhere you see hdaN in the install docs, just change it to hdeN
(you must have adrive on a raid controller, or an extra ide controller...)

cyrillic wrote:
/dev/hde is fine. Just make sure you use this instead of /dev/hda for your /etc/fstab entries as well.
Back to top
View user's profile Send private message
Smokey
n00b
n00b


Joined: 27 Aug 2003
Posts: 10
Location: USA

PostPosted: Thu Aug 28, 2003 10:18 pm    Post subject: Reply with quote

cyrillic wrote:
So, did it work when you tried to w(rite) the new table from fdisk ?

<edit> Also be sure you are trying to partition the correct drive. Maybe /dev/hda is your cdrom. Check "dmesg | less" to see how the kernel is detecting the drives. </edit>


I get same error Baconstrip did but when I use dmesg | less I don't see the drives listed........
BTW I'm installing on vmware.
Back to top
View user's profile Send private message
Smokey
n00b
n00b


Joined: 27 Aug 2003
Posts: 10
Location: USA

PostPosted: Thu Aug 28, 2003 10:29 pm    Post subject: Reply with quote

cyrillic wrote:
It sounds like the partition table may be corrupted. As long as you have nothing you need to keep on this drive, I would suggest zeroing the partition table and making a new one from scratch :
Code:
# dd if=/dev/zero of=/dev/hda bs=512 count=1
# fdisk /dev/hda

If this still doesn't work, you may need to reboot after the "dd" step so the BIOS can see the empty MBR/partition table.


was gonna try that but dunno how it affects vmware?? is vmware like a sterile environment where I can't mess up my windows install?
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