Help - Search - Members - Calendar
Full Version: Updating Gentoo config files
Neowin Forums > *nix Customization & Support > Linux Client Support
Adamb10
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?
[idkfa]
CODE
etc-update
to update your configs

CODE
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 ("#").
kjordan2001
If you made a separate boot partition, /dev/Boot should be something like /dev/hda4 or whatever you made the small partition. Otherwise you don't need that line.
Adamb10
I'm a n00b at this. sad.gif

I got this for my paritions:

hdb1 = boot
hdb2 = Swap
hdb3 = Root

So I just change each line to the drive parition name like hdb1?

Thanks!
kjordan2001
QUOTE(Adamb10 @ Apr 5 2005, 06:55)
I'm a n00b at this.  sad.gif

I got this for my paritions:

hdb1 = boot
hdb2 = Swap
hdb3 = Root

So I just change each line to the drive parition name like hdb1?

Thanks!
[right][snapback]585729458[/snapback][/right]

Yes, you should have /dev/Boot as /dev/hdb1
Adamb10
QUOTE(kjordan2001 @ Apr 5 2005, 06:58)
Yes, you should have /dev/Boot as /dev/hdb1
[right][snapback]585729471[/snapback][/right]

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?
NullPointerException
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 tongue.gif

QUOTE
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
[idkfa]
QUOTE(Adamb10 @ Apr 5 2005, 15:00)
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?
[right][snapback]585729477[/snapback][/right]


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)
LaNcom
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 ---
Adamb10
What do I add to the files?
Knight'
QUOTE(LaNcom @ Apr 5 2005, 15:32)
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 ---
[right][snapback]585729791[/snapback][/right]


Thanks for that, pretty useful smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.