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

    • Microsoft confirms Recycle Bin bug across all versions of Windows by Usama Jawad A couple of days ago, we reported that the latest Patch Tuesday update has seemingly resulted in a lot of issues for many users, including OneDrive and Dropbox access problems, BitLocker recovery lockouts, and BSODs. Although Microsoft is yet to acknowledge these bugs, it has confirmed another, relatively smaller issue across all supported versions of Windows. In an update on its Windows Release Health Dashboard, Microsoft has confirmed that after installing June's Patch Tuesday update (KB5094126), you'll experience unexpected behavior when leveraging Recycle Bin. Basically, when you attempt to delete an item from the Recycle Bin, the confirm dialog will show you the internal file name of that content rather than the actual name. For example, the file may be named abc.png, but the confirm dialog will ask if you're sure that you want to permanently delete $Rxxxxx.png from the Recycle Bin. This is pretty much it for the scope of the bug itself; it just displays the wrong name in the confirm dialog. The correct name will be shown in the list view of the Recycle Bin and if you restore the file, it will return with the correct name as well. This issue affects pretty much all supported versions of Windows client and server, including: Client: Windows 11, version 26H1; Windows 11, version 25H2; Windows 11, version 24H2; Windows 11, version 23H2; Windows 10, version 22H2; Windows 10 Enterprise LTSC 2021; Windows 10 Enterprise LTSC 2019; Windows 10 Enterprise LTSB 2016 Server: Windows Server 2025; Windows Server 2022; Windows Server 2019; Windows Server 2016; Windows Server 2012 R2; Windows Server 2012 As things currently stand, Microsoft is working on a concrete solution that will be released in a "future" Windows update. It remains to be seen if the firm will wait till the next Patch Tuesday or roll out an out-of-band (OOB) fix. The good news is that commercial customers can deploy a workaround right now, but they will have to reach out to Microsoft Support for Business for additional details.
    • They said by this time everyone will have flying cars. WELL...
    • A study by physicist Henry Tye of Cornell University suggests that the universe may not expand forever. Instead, it could eventually stop expanding, begin contracting and end in a "Big Crunch" roughly 20 billion years from now. Maybe not as we now know that time can flow backwards.
    • Of course. Simply reverse the polarity.
    • It is clear from this aricle that "Time Is On My Side" no matter which direction it is flowing., https://noai.duckduckgo.com/?i...m%2Fwatch%3Fv%3DsEj8lUx0gwY
  • Recent Achievements

    • Reacting Well
      BizSAR earned a badge
      Reacting Well
    • First Post
      AndreaB earned a badge
      First Post
    • Week One Done
      Huge Trailer earned a badge
      Week One Done
    • Week One Done
      Classifyskilleducation earned a badge
      Week One Done
    • One Month Later
      eurospharma62 earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      577
    2. 2
      +Edouard
      183
    3. 3
      PsYcHoKiLLa
      75
    4. 4
      Michael Scrip
      72
    5. 5
      neufuse
      64
  • Tell a friend

    Love Neowin? Tell a friend!