Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

Last questions before installing Gentoo

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
Thranduil
n00b
n00b
User avatar
Posts: 13
Joined: Sat Mar 13, 2004 10:26 am
Location: Austria

Last questions before installing Gentoo

  • Quote

Post by Thranduil » Thu Mar 18, 2004 12:46 pm

hi all,

all this question are related to the official gentoo.org - Installation Guide
Official Installation Guide

I hope you can help me

1.) Chapter 7. - from Code Listing 2 on

What commands must I use, if I want to install Kernel 2.6 instead of 2.4? Can i do this with the vanilla version? What must I notice? etc. - all differences between the documentation and the 2.6 kernel - install plz

2.) How can I read one variable ("IUSE_VIDEO_CARDS") from the file "/usr/portage/x11-base/xfree-drm" during the installation?

3.) Chapter 8. - Code Listing 5

What must I add, if I want to "install" my cd-burner/writer (dont know if this is the correct english term :?) next to my cd-rom-drive ?

4.) Chapter 9 - Code Listing 5

If I have my root dir at /dev/hda1 - then it is hd0,0 !! What is the hd0,x - number for other /dev/hda's - for example for /dev/hda7 ??

I hope I've explained everything correctly :D

greetings
Thran

P.S: Please explain everything in detail and for "normal-noob-users" understandably...[/url]
Something draws nearer, I can feel it.

.: The board is set, the pieces are moving. We come to it at last, the great battle of our time. :.
Top
rewt
n00b
n00b
User avatar
Posts: 58
Joined: Thu Feb 19, 2004 9:38 am

  • Quote

Post by rewt » Thu Mar 18, 2004 12:58 pm

Hi,
can't help with the kernel question

For question 2. At what point do you want to read the variable and is it exported? (I guess so?) Something as simple as

Code: Select all

echo $IUSE_VIDEO_CARDS
could do the trick?
If you have a cd writer it should appear in Linux, there is no installing as such. You have to compile the kernel to support ATAPI / SCSI over IDE but that's about it I think

The x is the kernel reference - 1: /dev/hda1 is hd0,0
hda2 is hd0,1
hda7 is hd0,6
hdb1 is hd1,0
etc

Hope that helps
Because sometimes peace is another word for surrender... and secrets have a way of getting out
Top
spitzwegerich
l33t
l33t
User avatar
Posts: 697
Joined: Tue Mar 04, 2003 12:36 pm
Location: Lower Bavaria, Central Europe

  • Quote

Post by spitzwegerich » Thu Mar 18, 2004 1:01 pm

1)

Code: Select all

emerge development-sources
create the /usr/src/linux symlink

Code: Select all

cd /usr/src/linux
make menuconfig
make && make modules_install
3)
Add a line similar to the CD-ROM line (also with readonly set, only change the device and the mount point). The CD-writing ability is not important here.

4)
/dev/hda2 - hd0,1
/dev/hda3 - hd0,2
...
Last edited by spitzwegerich on Thu Mar 18, 2004 1:06 pm, edited 1 time in total.
"Work is the curse of the drinking classes."
-Oskar Wilde
Top
nevynxxx
Veteran
Veteran
Posts: 1123
Joined: Wed Nov 12, 2003 1:34 pm
Location: Manchester - UK

Re: Last questions before installing Gentoo

  • Quote

Post by nevynxxx » Thu Mar 18, 2004 1:04 pm

Thranduil wrote:
1.) Chapter 7. - from Code Listing 2 on

What commands must I use, if I want to install Kernel 2.6 instead of 2.4? Can i do this with the vanilla version? What must I notice? etc. - all differences between the documentation and the 2.6 kernel - install plz
emerge gentoo-dev-kernel
Thranduil wrote: 2.) How can I read one variable ("IUSE_VIDEO_CARDS") from the file "/usr/portage/x11-base/xfree-drm" during the installation?
Not sure but I have "VIDEO_CARDS="rage128" in /etc/make.conf
Thranduil wrote: 3.) Chapter 8. - Code Listing 5

What must I add, if I want to "install" my cd-burner/writer (dont know if this is the correct english term :?) next to my cd-rom-drive ?
With a 2.6 kernel, not much, having cdr as a use flag is good, read the use descriptions, there is a link to them on the docs site, for others. Then emerge cdrecord
Thranduil wrote: 4.) Chapter 9 - Code Listing 5

If I have my root dir at /dev/hda1 - then it is hd0,0 !! What is the hd0,x - number for other /dev/hda's - for example for /dev/hda7 ??
sorry i don't do grub
My Public Key

Wanted: Instructor in the art of Bowyery
Top
Thranduil
n00b
n00b
User avatar
Posts: 13
Joined: Sat Mar 13, 2004 10:26 am
Location: Austria

  • Quote

Post by Thranduil » Thu Mar 18, 2004 1:17 pm

about question 2:

see Chapter 7: - 7.e "Installing Separate Kernel Modules" and then I want to install the xfree-drm

about the cd-writer:

Whats the completely command line?

the kernel:

What is the exactly 2.6 - kernel version? 2.6.3?
Something draws nearer, I can feel it.

.: The board is set, the pieces are moving. We come to it at last, the great battle of our time. :.
Top
michaelb
l33t
l33t
User avatar
Posts: 686
Joined: Thu Jun 06, 2002 2:10 pm
Location: Ann Arbor, MI

  • Quote

Post by michaelb » Thu Mar 18, 2004 2:35 pm

The section in the install handbook points out the differences between compiling a 2.4 series kernel and a 2.6 series kernel. If you want the 2.6 kernel, the only thing you need to know that is not expressly spelled out in the install handbook is what to emerge. I use gentoo-dev-sources, which gives you a 2.6 kernel with the gentoo patch set. The current exact version is

Code: Select all

 # emerge -pv gentoo-dev-sources

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-kernel/gentoo-dev-sources-2.6.3-r1  -build  0 kB 

Total size of downloads: 0 kB
For the issue with your CD burner, you just need to add a second line to fstab, which will point to the second drive. fstab does not care if it's a writer or a regular CDRom, so

Code: Select all

/dev/cdroms/cdrom0    /mnt/cdrom    auto      noauto,user    0 0
/dev/cdroms/cdrom1    /mnt/cdburner    auto      noauto,user    0 0
Of course, you will have to create the mount point for it to mount on

Code: Select all

# mkdir /mnt/cdburner
HTH,
Michael
Behold, The power of SEARCH!
Top
Sven Vermeulen
Retired Dev
Retired Dev
User avatar
Posts: 1345
Joined: Thu Aug 29, 2002 8:10 am
Location: Mechelen, Belgium
Contact:
Contact Sven Vermeulen
Website

Re: Last questions before installing Gentoo

  • Quote

Post by Sven Vermeulen » Thu Mar 18, 2004 3:26 pm

Thranduil wrote: 1.) Chapter 7. - from Code Listing 2 on

What commands must I use, if I want to install Kernel 2.6 instead of 2.4? Can i do this with the vanilla version? What must I notice? etc. - all differences between the documentation and the 2.6 kernel - install plz
To install the vanilla 2.6 sources, use emerge development-sources. To install the 2.6 sources with Gentoo patches, use emerge gentoo-dev-sources. Note that none of these kernel sources are available if you want to perform a networkless installation.

In this case you will have to download the vanilla-sources-2.4.24 as mentioned in the guide and, once completely installed, install the new kernel sources.
Thranduil wrote: 2.) How can I read one variable ("IUSE_VIDEO_CARDS") from the file "/usr/portage/x11-base/xfree-drm" during the installation?
Use a pager (such as less) to view the contents of an ebuild. For instance, less /usr/portage/x11-base/xfree-drm/xfree-drm-4.3.0-r2.ebuild. You can also use grep: grep IUSE_VIDEO_CARDS /usr/portage/x11-base/xfree-drm/xfree-drm-4.3.0-r2.ebuild.
Thranduil wrote: 3.) Chapter 8. - Code Listing 5

What must I add, if I want to "install" my cd-burner/writer (dont know if this is the correct english term :?) next to my cd-rom-drive ?
Nothing in particular if you are going to use a 2.6 kernel anyway (as you don't have to setup IDE-SCSI emulation anymore). Just a line like the /dev/cdrom example.
Thranduil wrote: 4.) Chapter 9 - Code Listing 5

If I have my root dir at /dev/hda1 - then it is hd0,0 !! What is the hd0,x - number for other /dev/hda's - for example for /dev/hda7 ??
hda7 will probably turn into (hd0,6).
Top
Post Reply

7 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic