LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-21-2006, 02:55 PM   #1
PCSpectra.com
LQ Newbie
 
Registered: Sep 2006
Posts: 1

Rep: Reputation: 0
Installing Gentoo


I downloaded the installcd for gentoo

I'm reading the docs and just getting started when I fdisk...

I get an error saying I cannot write to partition tables because sector size is 2048 (not 512).

I have poked aorund google a bit and found little on the subject. It seems Linux assumes a sector size of 512, so this is something I need to set in a conf file I assume???

Which file and where is it?

Secondly, while fdisk-ing about when prompted to select first and last cylinders, I noticed Gentoo didn't prompt me for the last cylinder and then noticed Gentoo was only displaying a single cylinder???

This is faulty as I'm looking at my BIOS right now and according to it, I have:

C: 1024
H: 255
S: 63
CHS Capacity: 8422MB
LBA Capacity: 30020MB

The latter is what I obviously want. How do I use LBA mode instead of CHS? I assume it's the first issue I raise which is causing Gentoo to not find any cylinders *except* for one???

Any ideas???

p.s-This is a latest Gentoo I just D/L and burnt to CD

Cheers
 
Old 09-21-2006, 03:54 PM   #2
ctkroeker
Senior Member
 
Registered: May 2005
Location: Paraguay
Posts: 1,565
Blog Entries: 1

Rep: Reputation: 50
cfdisk
Graphical fdisk. I think it has an option for LBA/CHS.
 
Old 09-21-2006, 04:07 PM   #3
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
If you are running the minimal installation CD you would do a lot better to download. burn, and run the Live CD. You can read the on line documentation while you build your operating system.

I've never heard about fdisk complaining about block size because that is determined when you create a file system. Do you have an old motherboard/BIOS? It seems like I haven't even seen an LBA or direct access option in a motherboard BIOS for ages. If I recall correctly you want the LBA option.

One thing you should be aware of with Gentoo. It is configured very very differently than other Linux distributions. Gentoo is a lot of fun. I run a Gentoo machine for kicks. But it is not a good distro if you want to learn the Unix way of configuring things. In other words you can't port your Gentoo expertise to HP-UX or to Solaris or any other true Unix. Gentoo is just too different.

Last edited by stress_junkie; 09-21-2006 at 04:12 PM.
 
Old 09-21-2006, 04:39 PM   #4
Sugarat
Member
 
Registered: Sep 2003
Posts: 71

Rep: Reputation: 15
I used to use Gentoo.. and after switching to Slackware I'm far happier. Just as fast without the hassle. Just my opinion mind.
 
Old 09-22-2006, 12:20 AM   #5
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 37
I'm switching between Slack, Gentoo and Debian.
Gentoo is a nice distro if your patient to wait all that compiling...

How did you modify the partitions? "fdisk /dev/sda1" or "fdisk /dev/sda"?
 
Old 10-21-2006, 08:18 AM   #6
jerzeejerome
Member
 
Registered: Aug 2006
Location: Jersey, USA
Distribution: Fedora 6, Slackware
Posts: 66

Rep: Reputation: 15
Quote:
Originally Posted by stress_junkie
If you are running the minimal installation CD you would do a lot better to download. burn, and run the Live CD. You can read the on line documentation while you build your operating system.

I've never heard about fdisk complaining about block size because that is determined when you create a file system. Do you have an old motherboard/BIOS? It seems like I haven't even seen an LBA or direct access option in a motherboard BIOS for ages. If I recall correctly you want the LBA option.

One thing you should be aware of with Gentoo. It is configured very very differently than other Linux distributions. Gentoo is a lot of fun. I run a Gentoo machine for kicks. But it is not a good distro if you want to learn the Unix way of configuring things. In other words you can't port your Gentoo expertise to HP-UX or to Solaris or any other true Unix. Gentoo is just too different.
What would be the best disttibution(s) for that?
 
Old 10-21-2006, 05:32 PM   #7
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 37
Slackware definetly

Slack doesn't have much tools to aid you in your task so you need to do them by hand which will teach you on how to do these things. I'd recommend it for you. The installation is quick but the configuration takes longer then.
 
Old 10-30-2006, 12:50 AM   #8
joomster
LQ Newbie
 
Registered: Oct 2006
Posts: 1

Rep: Reputation: 0
Problem Solved

While installing Gentoo AMD64 onto my machine, I had an encounter with this problem. A friend helped me solve the issue by teaching me this command.

dmesg | grep hd

Now when I ran it on my computer we realized that my problem wasn't the hardware configuration but it was hitting the wrong device.

testing NMI watchdog ... OK.
ide0: BM-DMA at 0x20b0-0x20b7, BIOS settings: hdaMA, hdbMA
hda: ATAPI DVD DD 2X16X4X16, ATAPI CD/DVD-ROM drive
hdb: HDS722580VLAT20, ATA DISK drive
hdb: max request size: 512KiB
hdb: 160836480 sectors (82348 MB) w/1794KiB Cache, CHS=16383/255/63, UDMA(100)
hdb: cache flushes supported
hdb: hdb1
hda: ATAPI 63X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex
e1000: eth0: e1000_watchdog: 10/100 speed: disabling TSO

What this means is that most likely your harddrive is linked to the ide cable in the slave position instead of the master, and another device such as your cd-rom (my case) is on the master of the ide cable.

The best way to resolve this issue is to seperate the two devices and put each on there own ide and both on master. However, if that is not possible in your situation as it is in mine, you might have to leave it as is and just use "fdisk /dev/hdb" instead of "fdisk /dev/hda"

Regards,
Joshua....aka "Joomster"
 
Old 11-22-2006, 09:48 PM   #9
jerzeejerome
Member
 
Registered: Aug 2006
Location: Jersey, USA
Distribution: Fedora 6, Slackware
Posts: 66

Rep: Reputation: 15
Quote:
Originally Posted by Zmyrgel
Slackware definetly

Slack doesn't have much tools to aid you in your task so you need to do them by hand which will teach you on how to do these things. I'd recommend it for you. The installation is quick but the configuration takes longer then.
You were right.
 
  


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
installing gentoo from another os magillig Linux - Newbie 1 12-02-2005 11:45 AM
How do I start installing stage 3 of gentoo from universal gentoo 2005-1? kazuya1977 Linux - General 1 11-11-2005 11:30 AM
Installing Gentoo cs.cracker Linux - Newbie 2 03-02-2005 02:07 PM
Installing Gentoo TazLinux Linux - Software 1 10-24-2004 02:43 PM
Help Installing Gentoo krissly1 Linux - Software 2 12-21-2003 10:36 PM


All times are GMT -5. The time now is 03:00 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration