Updating Gentoo config files


Recommended Posts

I am installing Gentoo and it's going pretty good. Emerge System was great and I hope fstab is correct(it says the boot is /dev/Boot Good?). It says though 8 config files need updating in the /etc/ directory. How does one update these?

Link to comment
https://www.neowin.net/forum/topic/305226-updating-gentoo-config-files/
Share on other sites

etc-update

to update your configs

man etc-update

gives you documentation.

/dev/Boot should be replaced with the partition where your kernel is going, most likely that'll be the same partition as the rest of your system, so just comment the whole line ("#").

Edited by [idkfa]

I guess you are trying to edit your fstab file.

where it says

/dev/BOOT you change it to

/dev/hdb1 an so on...

EDIT: i was late :p

I don't have to do the whole kernel config thing again right after I edit the file since I already compiled the kernel?

No, you don't have to recompile the kernel

Thanks,

I don't have to do the whole kernel config thing again right after I edit the file since I already compiled the kernel?

585729477[/snapback]

No, just make sure bzImage and System.map are where they are supposed to be, e.g. /boot (make sure it is mounted before copying the files there)

Better than etc-update would be dispatch-conf, as it stores backups of your changes to make it easier to revert if you run into problems. To use dispatch-conf, emerge rcs and edit /etc/dispatch-conf.conf to your liking. This is my config:

--- snip ---

#

# dispatch-conf.conf

#

# Directory to archive replaced configs

archive-dir=/etc/config-archive

# Use rcs for storing files in the archive directory?

# (yes or no)

use-rcs=yes

# Diff for display

diff="diff -Nu %s %s"

# Pager for diff display

pager="less --no-init --QUIT-AT-EOF"

# Automerge files comprising only CVS interpolations (e.g. Header or Id)

# (yes or no)

replace-cvs=yes

# Automerge files comprising only whitespace and/or comments

# (yes or no)

replace-wscomments=yes

# Automerge files that the user hasn't modified

# (yes or no)

replace-unmodified=yes

--- snap ---

Better than etc-update would be dispatch-conf, as it stores backups of your changes to make it easier to revert if you run into problems. To use dispatch-conf, emerge rcs and edit /etc/dispatch-conf.conf to your liking. This is my config:

--- snip ---

#

# dispatch-conf.conf

#

# Directory to archive replaced configs

archive-dir=/etc/config-archive

# Use rcs for storing files in the archive directory?

# (yes or no)

use-rcs=yes

# Diff for display

diff="diff -Nu %s %s"

# Pager for diff display

pager="less --no-init --QUIT-AT-EOF"

# Automerge files comprising only CVS interpolations (e.g. Header or Id)

# (yes or no)

replace-cvs=yes

# Automerge files comprising only whitespace and/or comments

# (yes or no)

replace-wscomments=yes

# Automerge files that the user hasn't modified

# (yes or no)

replace-unmodified=yes

--- snap ---

585729791[/snapback]

Thanks for that, pretty useful :)

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Get used to this, with AI tooling now uncovering new vulns and getting them exploitable far faster than has ever been possible before software is going to need to be updated far more frequently.
    • You don't need to "close all browser sessions constantly" or wait for updates to install. The updates download in the background while you use the browser, without interrupting you, they install automatically the next time you launch the app. And they install very fast (depending on your storage speeds, of course), you have to wait at most 2-3 extra seconds, if any. Seems like you haven't used Edge in a loooooooong time...
    • Segra 1.6.0 by Razvan Serea Segra is a free, open-source OBS-powered game recorder offering fast gameplay capture, instant clips, AI highlights, deep game integration, and seamless uploads—perfect for gamers, streamers, and content creators. Lightweight, fast, zero bloat. Segra key features: Automatic Game Recording: Begin capturing gameplay the moment your game launches, with zero manual setup. Instant Clipping: Save important moments instantly using a customizable hotkey—perfect for highlights, montages, or quick shares. Segra AI Highlights: Let Segra automatically detect kills, assists, deaths, and key events to generate polished highlight reels without manual editing. Gameplay Uploads: Upload recordings and clips directly to Segra.tv for fast sharing and cloud access. Deep Game Integration: Enjoy advanced game-data tracking across hundreds of supported titles, enabling smart highlight generation and stat-informed clipping. High-Performance Capture: Record up to 4K at 144 FPS using OBS-powered technology with minimal performance impact, supporting NVENC, AMD VCE, and custom quality controls. Segra Editor: Edit recordings easily with timeline controls, segment management, and event-based navigation to build the perfect clip. Customization Options: Adjust hotkeys, output formats, storage paths, codecs, capture quality, and performance settings for a tailored recording experience. Segra 1.6.0 changelog: Recording: Added HDR support. Grand Theft Auto: Added game integration for deaths (FiveM and RAGE MP supported). Highlights: Added customizable padding for highlights. Replay Buffer: Added a shockwave visual effect when a replay buffer clip is saved. Audio: Increased the maximum sound effects volume from 100% to 200%. Hotkeys: Fixed hotkeys not triggering while unrelated keys were held. Installer: Added code signing to verify publisher identity, branded the installer, and reduced OS security warnings. OBS: Updated the supported OBS version to 32.1.2. Download: Segra 1.6.0 | 74.4 MB (Open Source) View: Segra Homepage | Github | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • According to the developer(s):    
  • Recent Achievements

    • One Month Later
      Clizby earned a badge
      One Month Later
    • One Month Later
      Timaximus earned a badge
      One Month Later
    • Week One Done
      Timaximus earned a badge
      Week One Done
    • Rookie
      FBSPL went up a rank
      Rookie
    • First Post
      davidbazooked earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      508
    2. 2
      PsYcHoKiLLa
      176
    3. 3
      +Edouard
      163
    4. 4
      Steven P.
      86
    5. 5
      ATLien_0
      79
  • Tell a friend

    Love Neowin? Tell a friend!