Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 01-25-2004, 05:21 PM   #1
Registered: Jan 2004
Distribution: Fedora & Debian
Posts: 43

Rep: Reputation: 15
Fedora with a stock kernel

I used Debian for a little bit more than a year and now i installed fedora and i am really happy with this distribution. I have a few fedora specific questions.

Why i can't boot from a stock kernel with root=LABEL=/ in grub.conf and fstab. I get a kernel panic, where the kernel cant mount "/".

In Debian there is the config called /etc/modules. There are modules defined which are loaded at boot time. How is this handled in fedora?

What does modules.conf modprobe.conf and modprobe.conf.dist do anyway in Fedora?

For what is the boot parameter rhgb?

Why are the paths /sbin and /usr/sbin not exported in a x-terminal?

Thank you in advance!
Old 01-26-2004, 01:05 AM   #2
Senior Member
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
I wish I could answer you about the root=LABEL=/ thing. I had immense troubles with grub and those lines, trying to do a custom kernel with Fedora.
As far as I could tell, (hint, I didn't put much time into it.. Just went back to Slack where things just always work they way they're supposed to) it read the root label from fstab (somehow, without mounting root first? Confusing to me.)

Not sure about module autoloading, although I'd suspect it's within /etc/init.d/init.modules or somesuch within. Red Hat's boot scripts make me dizzy.

rhgb boot parameter is for the "Red Hat Graphical Boot) It's that pretty splash screen you get that shows either a progress bar, or details of the boot process.

And as far as paths getting exported, you'll want to look at whether you've got a .bashrc or .bash_profile in your home folder. Do you mean when you do an "su" you don't get /sbin or /usr/sbin in your path? When you use "su" in Fedora, you are simply getting root priveleges -- not another login shell with root's settings. You're retaining the environment variables of your user's login, and hence the same path as your user.
Use "su -" to create a root login shell which will incluide */sbin in the path variable.

Bash, by default, doesn't export environment variables to child shells/scripts. (Something not entirely related, but good to keep in mind when workin within xterms and Xwindows. Won't necessarily have all the same variables as your text console.)

Hope some of this helps, as it's late and I've been working all day.
I'm also no Red Hat or Fedora expert. Just fiddled around with it for a while after I'd heard some good reviews.

Old 01-26-2004, 03:56 PM   #3
Registered: Jan 2004
Distribution: Fedora & Debian
Posts: 43

Original Poster
Rep: Reputation: 15
first thank you for your answer.
you were wright as you wrote that I meant the "su" stuff. i thought it is for security reason or something
the root=LABEL=/ thing makes me crazy. i think it has to do with the initrd ramdisk and/or devlabel imho.
i have most modules compiled in the kernel, so i actually do not need a ramdisk( or should i use a ramdisk? - let me know ) i can boot the kernel when i change root=LABEL=/ in the fstab to /dev/hdx. but i would really want to know what is a) the advantage of a label and b) how can i set up a custom kernel which will boot with this option.
and what i also need to know is where the config for the module autoloading is?
i hope some experts can help me

Old 01-26-2004, 04:05 PM   #4
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Moved: Seems more suitable in our Fedora forum. Regards.
Old 01-26-2004, 06:03 PM   #5
Registered: Jan 2004
Distribution: Fedora & Debian
Posts: 43

Original Poster
Rep: Reputation: 15
i hope this helps too


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
What is stock kernel? kskkumar Linux - General 6 09-13-2008 04:46 AM
using stock kernel with fedora core 4, why make it so hard? silex_88 Fedora 4 12-06-2005 09:56 PM
Pakcages in stock kernel kskkumar Linux - General 1 11-25-2005 11:38 PM
Stock Install of Fedora Core 4 with SELinux SYD2005 Linux - Security 2 06-27-2005 07:31 PM
Upgrading stock 2.4.22 kernel to 2.5.x then to 2.6.6 with existing stock .config file Kyl3 Slackware 8 06-09-2004 05:34 PM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration