Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

Anonymous
2012 year 7 month 6 day Friday 17:48:02 MDT 

  1. % witchcraft
  2. VERSION: gentoo install test v0.00
  3. (means dont try to run it yet, for the sake of your computer.  retreat while you can.)
  4. Hi, "root".
  5. welcome to the latest incarnation of the witchcraft script.
  6. what do you want to do?
  7.  
  8.     A.    write iso of current operating system (rewic)
  9.     B.    install a new operating system (cauldren)
  10.     C.    do it all yourself
  11. b
  12. Choice was b. sorry, this part of the script is still under construction.  running it in a couple seconds anyway
  13.  
  14. ok, so you want to install some hardcore 'nix.
  15.  
  16. this script presumes you have already prepared your hard drive partitions, and know where you will install to.
  17. what do you want to do?
  18.  
  19.     A.    simple install  -  less choices, control, flexibility.  just presets.
  20.     B.    proper install  -  pick which metadistro, and which desktop config.
  21.     C.    v leet install  -  do it all yourself
  22. b
  23. Choice was "b". sorry, this part of the script is still under construction.  running it in a couple seconds anyway
  24. what meta-distro do you want your witch based on?
  25. 1) Gentoo
  26. 2) Funtoo
  27. 3) Exherbo
  28. 4) Gentoo/BSD
  29. 5) Gentoo/Hurd
  30. 6) FreeBSD
  31. 7) combo
  32. 8) other
  33.  
  34. enter number preference of preference:
  35. 1
  36. Choice was 1, sorry, this part of the script is incomplete
  37. this is where you get taken to the gentoo bit
  38. setting editor to mcedit
  39. so when you use your browser to find and select your stage, package manager, kernel, etc later on in this script, it will use your proxy, if you need it.
  40. will you need to use a http-proxy to access the web? (y)(if not sure, probably not):
  41. n
  42. enter name for your distro/mount-point and press [ENTER](this will make a directory of that name in /mnt/___.):
  43. tooti
  44. do you need to partition? (y/n):
  45. n
  46. ok, ready to go so...
  47. where ya putting your root dir? (e.g. sda3):
  48. sda3
  49. mount: /dev/sda3 already mounted or /mnt/tooti busy
  50. mount: according to mtab, /dev/sda3 is already mounted on /mnt/tooti
  51. you want a separate boot right? (y):
  52. y
  53. where ya putting your boot dir? (e.g. sda1):
  54. sda2
  55. mount: /dev/sda2 already mounted or /mnt/tooti/boot busy
  56. mount: according to mtab, /dev/sda2 is already mounted on /mnt/tooti/boot
  57. you want a separate home too? (y):
  58. y
  59. where ya putting your home dir? (e.g. sda1):
  60. sda4
  61. mount: /dev/sda4 already mounted or /mnt/tooti/home busy
  62. mount: according to mtab, /dev/sda4 is already mounted on /mnt/tooti/home
  63. drive prep complete
  64. witchcraft can use browsers to download vital parts (and less vital parts too)
  65. which browser would you like to use? (make sure you have it available to use)
  66. enter the name of your chosen browser now:midori
  67. great, you have decided to use "midori"
  68. ok
  69. READ INSTRUCTIONS CAREFULLY ~ here you need to download a stage3 compressed tarball to /mnt/tooti/ ~ once you've read these instructions, press y (and enter) to use "midori" web browser to navigate http://www.gentoo.org/main/en/mirrors2.xml to downalod your stage3 tarball for the base system. 
  70. Once the page loads and you've found a nearby mirror, navigate to the releases/x86/autobuilds/ directory. There you should see all available stage files for your architecture (they might be stored within subdirectories named after the individual subarchitectures). if using links text browser: Select one and press D to download. Otherwise, download however you wish.  This may take some time.  When it has finished, quit the browser (press q in links browser) (or just close the tab) and the rest of this script will resume.
  71. ready to do find your stage3? (y - yes) (p - yes, with proxy support ~ may not work)
  72. y
  73. excellent you seem to have got your stage3 downloaded successfully.
  74. unpacking your stage3. this may take some time, please wait.
  75. that's as much as we can do for that now.  are you enjoying this so far?y
  76. /bin/witchcraft: line 190: [: missing `]'
  77. Now that the stage is installed, we continue to installing Portage, the package manager.  READ CAREFULLY:
  78. Press y to use " midori " to navigate http://www.gentoo.org/main/en/mirrors2.xml to the snapshots directory in a mirror close to you.
  79. in the snapshots directory, download the latest Portage snapshot (portage-latest.tar.bz2) by selecting it and pressing D. When it finishes downloading, exit the browser by pressing q.
  80. ready to download your portage (y - yes) (p - yes, with proxy support)y
  81. excellent you seem to have got your package manager (portage) gubbins downloaded successfully.
  82. just uncompressing your portage now, have a little wait.
  83. made backup make.conf
  84. how do you wanna handle configuring your /etc/make.conf file? (or rather, your /mnt/tooti/etc/make.conf file, since we have not chrooted into your new system yet.)
  85.  
  86. m - manually edit
  87. d - dont care, do it for me, default it.   (warning, incomplete! overwrites!)
  88. w - wget from _____
  89. c - copy from _____
  90. v - vanilla - dont touch it!
  91. u - use the fully commented one from /mnt/tooti/usr/share/portage/config/make.confv
  92. well that is easily done.  ... done.
  93. not finished with your make.conf yet.  wanna pick a fast portage-mirror?
  94.  
  95. m - manually edit
  96. d - dont care, auto-pick, default it with mirrorselect.
  97. v - vanilla - dont touch it.d
  98. * Downloading a list of mirrors... Got 240 mirrors.
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143. ┌─────────────────────────────────────────Gentoo Download Mirrors───────────────────────────────────────────┐
  144. │ Please select your desired mirrors:                                                                       │
  145. │ * = supports ipv6                                                                                         │
  146. │ ┌────↑(-)───────────────────────────────────────────────────────────────────────────────────────────────┐ │
  147. │ │[*] rsync://rsync.mirrorservice.org/www.ibiblio.org/ge UK: The UK Mirror Service                       │ │
  148. │ │[*] http://www.mirrorservice.org/sites/www.ibiblio.org UK: The UK Mirror Service                       │ │
  149. │ │[*] ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/ UK: The UK Mirror Service                       │ │
  150. │ │[ ] rsync://gentoo.kiev.ua/gentoo-distfiles            Ukraine: gentoo.kiev.ua                         │ │
  151. │ │[ ] ftp://gentoo.kiev.ua/                              Ukraine: gentoo.kiev.ua                         │ │
  152. │ │[ ] http://gentoo.kiev.ua/ftp/                         Ukraine: gentoo.kiev.ua                         │ │
  153. │ │[ ] http://gentoo.iteam.net.ua/                        Ukraine: ITEAM gentoo mirror                    │ │
  154. │ │[ ] ftp://portage.org.ua/                              * Ukraine: portage.org.ua                       │ │
  155. │ │[ ] http://portage.org.ua/                             * Ukraine: portage.org.ua                       │ │
  156. │ │[ ] http://mirror.mcs.anl.gov/pub/gentoo/              * USA: Argonne National Laboratory              │ │
  157. │ │[ ] rsync://mirror.mcs.anl.gov/gentoo/                 * USA: Argonne National Laboratory              │ │
  158. │ │[ ] ftp://mirror.mcs.anl.gov/pub/gentoo/               * USA: Argonne National Laboratory              │ │
  159. │ │[ ] http://mirror.datapipe.net/gentoo                  USA: Datapipe Managed Hosting                   │ │
  160. │ └────↓(+)───────────────────────────────────────────────────────────────────────────────────────85%─────┘ │
  161. ├───────────────────────────────────────────────────────────────────────────────────────────────────────────┤
  162. │                                   <  OK  >                  <Cancel>                                      │
  163. └───────────────────────────────────────────────────────────────────────────────────────────────────────────┘
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171. * Downloading a list of mirrors... Got 240 mirrors.
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216. ┌─────────────────────────────────────────Gentoo Download Mirrors───────────────────────────────────────────┐
  217. │ Please select your desired mirrors:                                                                       │
  218. │ * = supports ipv6                                                                                         │
  219. │ ┌───────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  220. │ │[ ] http://gentoo.localhost.net.ar/                    Argentina: LocalHost Soluciones Innovadoras     │ │
  221. │ │[ ] ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo/ Argentina: LocalHost Soluciones Innovadoras     │ │
  222. │ │[ ] http://ftp.swin.edu.au/gentoo                      Australia: Swinburne University of Technology   │ │
  223. │ │[ ] ftp://ftp.swin.edu.au/gentoo                       Australia: Swinburne University of Technology   │ │
  224. │ │[ ] http://gentoo.inode.at/                            Austria: Inode                                  │ │
  225. │ │[ ] ftp://gentoo.inode.at/source/                      Austria: Inode                                  │ │
  226. │ │[ ] rsync://gentoo.lagis.at/gentoo-distfiles/          * Austria: Lagis                                │ │
  227. │ │[ ] http://gentoo.lagis.at/                            * Austria: Lagis                                │ │
  228. │ │[ ] ftp://gentoo.lagis.at/                             * Austria: Lagis                                │ │
  229. │ │[ ] http://gd.tuwien.ac.at/opsys/linux/gentoo/         Austria: Vienna Univ. of Technology             │ │
  230. │ │[ ] ftp://gd.tuwien.ac.at/opsys/linux/gentoo/          Austria: Vienna Univ. of Technology             │ │
  231. │ │[ ] rsync://gd.tuwien.ac.at/opsys/linux/gentoo/        Austria: Vienna Univ. of Technology             │ │
  232. │ │[ ] rsync://gentoo.c3sl.ufpr.br/gentoo/                * Brazil: C3SL, Federal University of Paraná    │ │
  233. │ └────↓(+)───────────────────────────────────────────────────────────────────────────────────────5%──────┘ │
  234. ├───────────────────────────────────────────────────────────────────────────────────────────────────────────┤
  235. │                                   <  OK  >                  <Cancel>                                      │
  236. └───────────────────────────────────────────────────────────────────────────────────────────────────────────┘
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244. look at this and make sure it looks right (and then press q to continue once you have looked)
  245. did that look right? (y/n)
  246. y
  247. well if it is not sorted as you want, you can always tweak it later.
  248.  copying your net connection dns stuffs to your tooti with
  249. "cp -L /etc/resolv.conf /mnt/tooti/etc/resolv.conf" cp -L /etc/resolv.conf
  250. /bin/witchcraft: line 307: /mnt/tooti/etc/resolv.conf: No such file or directory
  251. TO THE CHROOT
  252. In a few moments, we will change the Linux root towards the new location. To make sure that the new environment works properly, we need to make certain file systems available there as
  253. well.
  254. you should be running this from a clean non-borked system (systemrescuecd is a good choice), if not... pray.
  255. mount -t proc none /mnt/tooti/proc
  256. mount --rbind /dev /mnt/tooti/dev
  257. ENTER THE CHROOT
  258. chroot /mnt/tooti /bin/bash citchroot
  259. creating a new environment using env-update, which essentially creates environment variables, then loading those variables into memory using source.
  260. env-update
  261. >>> Regenerating /etc/ld.so.cache...
  262. source /etc/profile
  263. export PS1="(tooti chroot) "
  264. making sure tooti's portage tree is up to date with "emerge --sync" quietly.  may take several minutes...
  265. !!! getaddrinfo failed for 'rsync.gentoo.org': [Errno -2] Name or service not known
  266. rsync: getaddrinfo: rsync.gentoo.org 873: Name or service not known
  267. rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.9]
  268. >>> Retrying...
  269. !!! Exhausted addresses for rsync.gentoo.org
  270. portage up to date.
  271. First, a small definition is in place.
  272.  
  273. A profile is a building block for any Gentoo system. Not only does it specify default values for USE, CFLAGS and other important variables, it also locks the system to a certain range of package versions. This is all maintained by the Gentoo developers.
  274.  
  275. Previously, such a profile was untouched by the users. However, there may be certain situations in which you may decide a profile change is necessary.
  276.  
  277. You can see what profile you are currently using (the one with an asterisk next to it)
  278. eselect profile list
  279. Available profile symlink targets:
  280.   [1]   default/linux/x86/10.0 *
  281.   [2]   default/linux/x86/10.0/selinux
  282.   [3]   default/linux/x86/10.0/desktop
  283.   [4]   default/linux/x86/10.0/desktop/gnome
  284.   [5]   default/linux/x86/10.0/desktop/kde
  285.   [6]   default/linux/x86/10.0/developer
  286.   [7]   default/linux/x86/10.0/server
  287.   [8]   hardened/linux/x86
  288.   [9]   hardened/linux/x86/selinux
  289. pick a number of profile you'd like to switch to, if any, careful not to select a number that doesnt exist.  (type letter and hit enter)
  290.  
  291.     a=1, b=2, c=3, d=4, e=5, f=6, g=7, h=8, i=9, j=10, k=11, l=12, m=13, n=14, o=15
  292. c
  293. you can always try changing this later, using eselect.
  294. you should have already made a make.conf file, and depending on what option you picked, and what you did, you may have already configured your USE flags, if you havn't, not to worry, we can do that now, or even change them later.
  295.  
  296. make sure the useflags look right (and then press q to continue once you've looked)
  297. sh: /bin/zsh: No such file or directory
  298. what would you like to do for your useflags in make.conf?
  299.  
  300. m - manually edit
  301. d - dont care, do it for me, default it.  (warning, incomplete! overwrites!)
  302. w - wget from _____ (warning this will overwrite existing make.conf)
  303. c - copy from _____ (warning this will overwrite existing make.conf)
  304. v - vanilla - dont touch it!  leave as is now.
  305. u - use the fully commented one from /mnt/tooti/usr/share/portage/config/make.conf (warning, this will overwrite existing make.conf)
  306. enter letter of preference:
  307. v
  308. You will probably only use one or maybe two locales on your system. You can specify locales you will need in /etc/locale.gen
  309.  
  310. e.g.
  311.  
  312. en_GB ISO-8859-1
  313. en_GB.UTF-8 UTF-8
  314. en_US ISO-8859-1
  315. en_US.UTF-8 UTF-8
  316.  
  317.  
  318.  
  319. m - manually edit
  320. d - dont care, do it for me, default it.  (warning, incomplete! overwrites!)
  321. w - wget from _____ (warning this will overwrite existing locale.gen)
  322. c - copy from _____ (warning this will overwrite existing locale.gen)
  323. v - vanilla - dont touch it!  leave as is now.
  324.  
  325. m
  326. now running local-gen
  327. /bin/witchroot: line 197: local-gen: command not found
  328. now you'll likely need a kernel too
  329. let's get your timezone sorted for that...
  330.  Look for your timezone in /usr/share/zoneinfo, then we'll copy it to /etc/localtime
  331. enter timezone
  332. e.g:
  333. GMT
  334.  
  335. GMT
  336. cp: omitting directory `/usr/share/zoneinfo/'
  337. The core around which all distributions are built is the Linux kernel. It is the layer between the user programs and your system hardware. Gentoo provides its users several possible kernel sources. A full listing with description is available at http://www.gentoo.org/doc/en/gentoo-kernel.xml
  338. so let's get on with getting you a kernel...
  339. how would you like to get a kernel?
  340. g - gentoo-sources + genkernel
  341. m - manual (incomplete)
  342.  
  343. select which option:   
  344. g
  345. - skipping kernel modules section, due to incompleteness.  see 7.e. Kernel Modules here: http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=7#doc_chap5
  346.  
  347. _______What is fstab?
  348.  
  349. Under Linux, all partitions used by the system must be listed in /etc/fstab. This file contains the mount points of those partitions (where they are seen in the file system structure), how they should be mounted and with what special options (automatically or not, whether users can mount them or not, etc.)
  350.  
  351. _______Creating /etc/fstab
  352.  
  353. /etc/fstab uses a special syntax. Every line consists of six fields, separated by whitespace (space(s), tabs or a mixture). Each field has its own meaning:
  354.  
  355. The first field shows the partition described (the path to the device file)
  356. The second field shows the mount point at which the partition should be mounted
  357. The third field shows the filesystem used by the partition
  358. The fourth field shows the mount options used by mount when it wants to mount the partition. As every filesystem has its own mount options, you are encouraged to read the mount man page (man mount) for a full listing. Multiple mount options are comma-separated.
  359. The fifth field is used by dump to determine if the partition needs to be dumped or not. You can generally leave this as 0 (zero).
  360. The sixth field is used by fsck to determine the order in which filesystems should be checked if the system wasn't shut down properly. The root filesystem should have 1 while the rest should have 2 (or 0 if a filesystem check isn't necessary).
  361.  
  362. so let's get on with setting up your fstab
  363. how would you like to configure your fstab?
  364. m - manual         (opens in editor)
  365. s - skip           (manual later)
  366. g - guided         (warning incomplete)
  367. select which option:   
  368. s
  369.  
  370. you'll wanna be online too right?
  371. what do you want to do about your hostname (in /etc/conf.d/hostname)
  372. m - manually edit
  373. d - dont care, do it for me, default it.  (overwrites!)
  374. w - wget from _____ (warning this will overwrite existing /etc/conf.d/hostname)
  375. c - copy from _____ (warning this will overwrite existing /etc/conf.d/hostname)
  376. v - vanilla - dont touch it!  leave as is now.
  377. e - enter hostname now. (warning this will overwrite existing /etc/conf.d/hostname)
  378. e
  379. ok, so that should be your /etc/conf.d/hostname configured so it has your hostname.
  380. what do you want to do about your domain name (in /etc/conf.d/net)
  381. m - RECOMMENDED: manually edit
  382. d - dont care, do it for me, default it.  (adds ns_domain_lo="witchnet")
  383. w - wget from _____ (warning this will overwrite existing /etc/conf.d/net)
  384. c - copy from _____ (warning this will overwrite existing /etc/conf.d/net)
  385. v - RECOMMENDED: vanilla - dont touch it!  leave as is now.
  386. e - enter hostname now. (warning this will overwrite existing /etc/conf.d/net)
  387. d
  388. u wanna use dhcp right? y/n: 
  389. y
  390. and u want to have networking activated at boot automatically for you, of course, right? y/n: 
  391. y
  392. ok..
  393. cd /etc/init.d
  394. ln -s net.lo net.eth0
  395. this next bit is clever.  you should learn about rc-update.  a nice feature of gentoo.
  396. rc-update add net.eth0 default
  397.  * service net.eth0 added to runlevel default
  398. If you have several network interfaces, you need to create the appropriate net.eth1, net.eth2 etc. just like you did with net.eth0.
  399. now we inform linux about your network. in /etc/hosts
  400. do you need PCMCIA? y/n: 
  401. y
  402.  
  403. Performing Global Updates:
  404. (Could take a couple of minutes if you have a lot of binary packages.)
  405.   .='update pass'  *='binary update'  #='/var/db update'  @='/var/db move'
  406.   s='/var/db SLOT move'  %='binary move'  S='binary SLOT move'
  407.   p='update /etc/portage/package.*'
  408. /usr/portage/profiles/updates/2Q-2012........................
  409.  
  410.  
  411.  
  412.  * IMPORTANT: 3 news items need reading for repository 'gentoo'.
  413.  * Use eselect news to read news items.
  414.  
  415. Calculating dependencies... done!
  416.  
  417. >>> Verifying ebuild manifests
  418.  
  419. >>> Starting parallel fetch
  420.  
  421. >>> Emerging (1 of 15) dev-util/yacc-1.9.1-r4
  422.  * Fetching files in the background. To view fetch progress, run
  423.  * `tail -f /var/log/emerge-fetch.log` in another terminal.
  424. >>> Downloading 'rsync://rsync.mirrorservice.org/www.ibiblio.org/gentoo/distfiles/yacc-1.9.1.tar.Z'
  425. rsync: getaddrinfo: rsync.mirrorservice.org 873: Name or service not known
  426. rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.9]
  427. >>> Downloading 'http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/yacc-1.9.1.tar.Z'
  428. --2012-07-06 23:02:59--  http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/yacc-1.9.1.tar.Z
  429. Resolving www.mirrorservice.org... failed: Name or service not known.
  430. wget: unable to resolve host address `www.mirrorservice.org'
  431. >>> Downloading 'ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/yacc-1.9.1.tar.Z'
  432. --2012-07-06 23:03:00--  ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/yacc-1.9.1.tar.Z
  433.            => `/usr/portage/distfiles/yacc-1.9.1.tar.Z'
  434. Resolving ftp.mirrorservice.org... failed: Name or service not known.
  435. wget: unable to resolve host address `ftp.mirrorservice.org'
  436. >>> Downloading 'ftp://metalab.unc.edu/pub/Linux/devel/compiler-tools/yacc-1.9.1.tar.Z'
  437. --2012-07-06 23:03:00--  ftp://metalab.unc.edu/pub/Linux/devel/compiler-tools/yacc-1.9.1.tar.Z
  438.            => `/usr/portage/distfiles/yacc-1.9.1.tar.Z'
  439. Resolving metalab.unc.edu... failed: Name or service not known.
  440. wget: unable to resolve host address `metalab.unc.edu'
  441. !!! Couldn't download 'yacc-1.9.1.tar.Z'. Aborting.
  442.  * Fetch failed for 'dev-util/yacc-1.9.1-r4', Log file:
  443.  *  '/var/tmp/portage/dev-util/yacc-1.9.1-r4/temp/build.log'
  444.  
  445. >>> Failed to emerge dev-util/yacc-1.9.1-r4, Log file:
  446.  
  447. >>>  '/var/tmp/portage/dev-util/yacc-1.9.1-r4/temp/build.log'
  448.  
  449.  * Messages for package dev-util/yacc-1.9.1-r4:
  450.  
  451.  * Fetch failed for 'dev-util/yacc-1.9.1-r4', Log file:
  452.  *  '/var/tmp/portage/dev-util/yacc-1.9.1-r4/temp/build.log'
  453. First we set the root password with "passwd"
  454. New password:
  455. BAD PASSWORD: it is too short
  456. BAD PASSWORD: is too simple
  457. Retype new password:
  458. passwd: password updated successfully
  459. that should be your root password configured.  dont forget it, remember it.
  460. Gentoo uses /etc/rc.conf for general, system-wide configuration. Here comes /etc/rc.conf, enjoy all the comments in that file :)
  461.  
  462. /bin/witchroot: line 384: mcedit: command not found
  463.  
  464. hopefully you've got all you need, sorted in rc.conf.  if you changed your editor in rc.conf, this next bit should use it instead now.
  465. Gentoo uses /etc/conf.d/keymaps to handle keyboard configuration. Edit it to configure your keyboard.
  466. Take special care with the keymap variable! If you select the wrong keymap, you will get weird results when typing on your keyboard!
  467.  do you need to change your keymap?
  468. n
  469. /bin/witchroot: line 395: mcedit: command not found
  470. Gentoo uses /etc/conf.d/hwclock to set clock options. Edit it according to your needs.
  471. wanna change time?
  472. n
  473. /bin/witchroot: line 400: mcedit: command not found
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498. Fri Jul  6 23:04:12 Local time zone must be set--see zic manual page 2012
  499. ok, so you should probably have your network, main config file (rc.conf), keyboard and clock configured.
  500. now lets get tooled up with a system logger, command scheduler, and more file and network tools.
  501.  
  502.  Installing Necessary System Tools
  503. system logger
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534. system logger
  535. Some tools are missing from the stage3 archive because several packages provide the same functionality. It is now up to you to choose which ones you want to install.
  536.  
  537. The first tool you need to decide on has to provide logging facilities for your system. Unix and Linux have an excellent history of logging capabilities -- if you want you can log everything that happens on your system in logfiles. This happens through the system logger.
  538.  
  539. Gentoo offers several system loggers to choose from. There are:
  540. sysklogd, which is the traditional set of system logging daemons,
  541. syslog-ng, an advanced system logger,
  542. and metalog which is a highly-configurable system logger. Others might be available through Portage as well - our number of available packages increases on a daily basis.
  543.  
  544. If you plan on using sysklogd or syslog-ng you might want to install logrotate afterwards as those system loggers don't provide any rotation mechanism for the log files.
  545.  
  546. To install the system logger of your choice, emerge it and have it added to the default runlevel using rc-update.
  547.  
  548. choose a systemlogger to install and add to startup:
  549.  
  550. a. emerge syslogd && rc-update add syslogd default
  551. b. emerge syslog-ng && rc-update add syslog-ng default
  552. c. emerge metalog && rc-update add metalog default
  553. d. enter name of other system logger
  554. e. no thnx (only if you're sure)
  555.  
  556.  
  557. select a,b,c or d and press ENTER.
  558.  
  559. b
  560. /bin/witchroot: witchroot: line 444: syntax error near unexpected token `&'
  561. /bin/witchroot: witchroot: line 444: `[ "y" == "d" ] && read -p "enter name of your choice of system logger: " SYSLOGA && emerge  && & rc-update add  default   #add a sort of failsafe, so that if the emerge fails because no such package exists, user can then choose a,b,c,d or e again.  ~ yes, see this is an example where putting this into functions makes sense.  ...but i'll carry on with this rudimentary version for now.'
  562. deskfigselector is temporarily out of order while fixing main install
  563. sorry no deskfig selection yet

Paste Details

Tags: witch

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

worth-right
worth-right
fantasy-obligation