Prosidius Posted April 5, 2005 Share Posted April 5, 2005 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 More sharing options...
[idkfa] Posted April 5, 2005 Share Posted April 5, 2005 (edited) 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 April 5, 2005 by [idkfa] Link to comment https://www.neowin.net/forum/topic/305226-updating-gentoo-config-files/#findComment-585729435 Share on other sites More sharing options...
kjordan2001 Posted April 5, 2005 Share Posted April 5, 2005 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. Link to comment https://www.neowin.net/forum/topic/305226-updating-gentoo-config-files/#findComment-585729450 Share on other sites More sharing options...
Prosidius Posted April 5, 2005 Author Share Posted April 5, 2005 I'm a n00b at this. :( 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! Link to comment https://www.neowin.net/forum/topic/305226-updating-gentoo-config-files/#findComment-585729458 Share on other sites More sharing options...
kjordan2001 Posted April 5, 2005 Share Posted April 5, 2005 I'm a n00b at this. :(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! 585729458[/snapback] Yes, you should have /dev/Boot as /dev/hdb1 Link to comment https://www.neowin.net/forum/topic/305226-updating-gentoo-config-files/#findComment-585729471 Share on other sites More sharing options...
Prosidius Posted April 5, 2005 Author Share Posted April 5, 2005 Yes, you should have /dev/Boot as /dev/hdb1 585729471[/snapback] 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? Link to comment https://www.neowin.net/forum/topic/305226-updating-gentoo-config-files/#findComment-585729477 Share on other sites More sharing options...
NullPointerException Posted April 5, 2005 Share Posted April 5, 2005 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 Link to comment https://www.neowin.net/forum/topic/305226-updating-gentoo-config-files/#findComment-585729491 Share on other sites More sharing options...
[idkfa] Posted April 5, 2005 Share Posted April 5, 2005 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) Link to comment https://www.neowin.net/forum/topic/305226-updating-gentoo-config-files/#findComment-585729498 Share on other sites More sharing options...
LaNcom Posted April 5, 2005 Share Posted April 5, 2005 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 --- Link to comment https://www.neowin.net/forum/topic/305226-updating-gentoo-config-files/#findComment-585729791 Share on other sites More sharing options...
Prosidius Posted April 5, 2005 Author Share Posted April 5, 2005 What do I add to the files? Link to comment https://www.neowin.net/forum/topic/305226-updating-gentoo-config-files/#findComment-585731410 Share on other sites More sharing options...
Knight' Posted April 6, 2005 Share Posted April 6, 2005 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 :) Link to comment https://www.neowin.net/forum/topic/305226-updating-gentoo-config-files/#findComment-585734036 Share on other sites More sharing options...
Recommended Posts