From e47169f72b47195d5d31035be3b1398e95b544ce Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 1 Mar 2010 19:30:53 +0100 Subject: public_hurd_boxen/zenhost: Fixed some of the TODOs. Some other updates, too. --- public_hurd_boxen/zenhost.mdwn | 122 ++++++++++++++--------------------------- 1 file changed, 40 insertions(+), 82 deletions(-) diff --git a/public_hurd_boxen/zenhost.mdwn b/public_hurd_boxen/zenhost.mdwn index e13c49b1..812b9ef2 100644 --- a/public_hurd_boxen/zenhost.mdwn +++ b/public_hurd_boxen/zenhost.mdwn @@ -1,4 +1,4 @@ -[[!meta copyright="Copyright © 2009 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2009, 2010 Free Software Foundation, Inc."]] [[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable id="license" text="Permission is granted to copy, distribute and/or modify this @@ -15,37 +15,56 @@ License|/fdl]]."]]"""]] [[!inline pages=public_hurd_boxen/xen_handling feeds=no]] -# Installing +# Installing a New Machine * Enable loggin with screen (`C-a H`). - * lvcreate ... + * \# lvcreate ... - * ~tschwinge/machines/MACHINE + * ~tschwinge/machines/[MACHINE] - * ~tschwinge/install_crosshurd + * \# MACHINE=[MACHINE] TARGET=/dev/zenhost/[MACHINE]-root ~tschwinge/install_crosshurd - * MACHINE + * TODO - * /dev/zenhost/...-root + I: Extracting /var/cache/apt/archives/dash_0.5.5.1-3_hurd-i386.deb... + tar: ./bin/sh: Cannot create symlink to `dash': File exists + tar: ./usr/share/man/man1/sh.1.gz: Cannot create symlink to `dash.1.gz': File exists + tar: Exiting with failure status due to previous errors - * /etc/xen/MACHINE + Ignore? -- + - * xm create -c MACHINE + * \# sudo umount /tmp/crosshurd.[MACHINE] + \# sudo rmdir /tmp/crosshurd.[MACHINE] - * /install + * /etc/xen/[MACHINE] - * If needed: + * \# xm create -c [MACHINE] + + * \# /install + + * TODO - * cd /dev/ && ./MAKEDEV hd2 + Unpacking debconf (from .../debconf_1.5.28_all.deb) ... + + debconf-set-selections + warning: Unknown type error, skipping line 9 - * mkfs.ext2 -I 128 -b 4096 /dev/hd2 + * TODO - * mkdir /media/data && settrans /media/data /hurd/ext2fs /dev/hd2 + +---------------------------Configuring grub-pc------------------------------+ - * rmdir /home && ln -s media/data/home / + Make it not install GRUB packages. + + Likewise, the *gnumach* package need not be installed. + + * If needed: - * mkdir /media/data/home + \# cd /dev/ && ./MAKEDEV hd2 + \# mkfs.ext2 -I 128 -b 4096 /dev/hd2 # TAKE CARE! + \# mkdir /media/data && settrans /media/data /hurd/ext2fs /dev/hd2 + \# rmdir /home && ln -s media/data/home / + \# mkdir /media/data/home * If needed: restore (parts of) some files @@ -53,84 +72,23 @@ License|/fdl]]."]]"""]] * /etc/{passwd,shadow,group,gshadow} - * adduser ... sudo + * \# adduser ... sudo - * passwd root + * \# passwd root * /etc/ssh/ssh_host_*key* Can do this here or have to move after install_packages due to the files being overwritten again (don't think so)? - * syncfs -s; halt + * \# syncfs -s && halt - * xm create -c MACHINE + * \# xm create -c [MACHINE] - * /install_packages + * \# /install_packages * add line to zenhost's `/etc/hosts` -## TODO - -### crosshurd - - I: Extracting /var/cache/apt/archives/dash_0.5.5.1-3_hurd-i386.deb... - tar: ./bin/sh: Cannot create symlink to `dash': File exists - tar: ./usr/share/man/man1/sh.1.gz: Cannot create symlink to `dash.1.gz': File exists - tar: Exiting with failure status due to previous errors - -Ignore? - -### /install - - Unpacking debconf (from .../debconf_1.5.28_all.deb) ... - + debconf-set-selections - warning: Unknown type error, skipping line 7 - -Fix. - - Configuring dash - ---------------- - - The system shell is the default command interpreter for shell scripts. - - Using dash as the system shell will improve the system's overall performance. It - does not alter the shell presented to interactive users. - - Use dash as the default system shell (/bin/sh)? yes - -Automate. - - Configuring libpam-runtime - -------------------------- - - Pluggable Authentication Modules (PAM) determine how authentication, - authorization, and password changing are handled on the system, as well as - allowing configuration of additional actions to take when starting user - sessions. - - Some PAM module packages provide profiles that can be used to automatically - adjust the behavior of all PAM-using applications on the system. Please - indicate which of these behaviors you wish to enable. - - 1. Unix authentication - - (Enter the items you want to select, separated by spaces.) - - PAM profiles to enable: 1 - -Automate. - - +---------------------------Configuring grub-pc------------------------------+ - -Add grub*- somewhere. - - +---------------------ca-certificates configuration------------------------+ - | Trust new certificates from certificate authorities? | - -Used to be configured later -- move seeding forward. - ---- # snubber -- cgit v1.2.3