Skip to contentSkip to conversation

dumb(?) question about .config file

DISCUSSION David Hollister 4 participants 5 messages Sep 21, 2001

lore
Share & tools
lore
#0 lore raw

Hey folks,

I have what may be a dumb question, but I can't seem to find a suitable answer.

Let's say you install RedHat out of the box. When you do that, even if you install the kernel source, you don't get a .config file. Is there some way to create a .config file based on the running kernel?

I thought "make oldconfig" would do it, but from what I've read, it doesn't sound like that's necessarily true.

Email me privately with your scorn, flames, or even an answer if you have one.

Thanks.

Signature · 3 lines
David Hollister
Driversoft Engineering:  http://devicedrivers.com
Digital Audio Resources: http://digitalaudioresources.org
#1 lore raw
Quoted 8 lines · David Hollister

I have what may be a dumb question, but I can't seem to find a suitable answer.

Let's say you install RedHat out of the box. When you do that, even if you install the kernel source, you don't get a .config file. Is there some way to create a .config file based on the running kernel?

I thought "make oldconfig" would do it, but from what I've read, it doesn't sound like that's necessarily true.

Install the kernel SRPM and look in the SOURCES directory. They're all there.

Signature · 1 line
Ignacio Vazquez-Abrams  <[email protected]>
#2 lore raw

I believe there should be a config in /boot, there is in mandrake 8.0, so I assume it's the same.

Quoted 21 lines · Ignacio Vazquez-Abrams
Quoted 8 lines · David Hollister

I have what may be a dumb question, but I can't seem to find a suitable answer.

Let's say you install RedHat out of the box. When you do that, even if you install the kernel source, you don't get a .config file. Is there some way to create a .config file based on the running kernel?

I thought "make oldconfig" would do it, but from what I've read, it doesn't sound like that's necessarily true.

Install the kernel SRPM and look in the SOURCES directory. They're all there.

Signature · 7 lines
Ignacio Vazquez-Abrams  <[email protected]>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
#3 lore raw
Quoted 2 lines · Joe Kellner

I believe there should be a config in /boot, there is in mandrake 8.0, so I assume it's the same.

Nope. At about Mandrake 7.0 or so, Mandrake diverged from Red Hat, so they're different enough now.

Signature · 1 line
Ignacio Vazquez-Abrams  <[email protected]>
#4 lore raw
In reply to Joe Kellner

in /usr/src/linux there is a configs directory that has files with names of kernel configurations, simply whatever matches what you want, or are running to /usr/src/linux/.config and run make oldconfig

Garrett - [email protected]

Quoted 32 lines · Joe Kellner

I believe there should be a config in /boot, there is in mandrake 8.0, so I assume it's the same.

Quoted 14 lines · Ignacio Vazquez-Abrams
Quoted 9 lines · David Hollister

I have what may be a dumb question, but I can't seem to find a suitable answer.

Let's say you install RedHat out of the box. When you do that, even if you install the kernel source, you don't get a .config file. Is there some way to create a .config file based on the running kernel?

I thought "make oldconfig" would do it, but from what I've read, it doesn't sound like that's necessarily true.

Install the kernel SRPM and look in the SOURCES directory. They're all there.

Quoted 8 lines

--
Ignacio Vazquez-Abrams <[email protected]>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/