Guía para la Instalación de MINIX

Guía para la Instalación de MINIX (Sobre Partición libre) Laboratorio de Sistemas Operativos Guía para la Instalación de MINIX ______________________

2 downloads 26 Views 29KB Size

Recommend Stories


INSTALACIONES DE VAPOR DE A GUA DE ALTA PRESION
Normas del Código Municipal de Buenos Aires INSTALACIONES DE VAPOR DE A GUA DE ALTA PRESION Indice 8.11.3.0. Instalaciones de vapor de agua de alta pr

f9lj~ ck PJ>~ ?f~o ~ fa f?lle;u1mca ~!jff~j Senores Diputados Integrantes de la Comisi6n Permanente: Senores Diputado5 Gua emala, 23 de mayo de 2016
f9lJ~ ck PJ>~ ?f~o ~ fa f?lle;u1Mca ~ !jff~J ~ QQI. Gua em ala, 23 de mayo de 2016 Senores Diputados Integrantes de la Comisi6n Permanente: Tengo el

REGLAMENTO PARA LA GESTIÓN DE LA SUSTENTABILIDAD
REGLAMENTO PARA LA GESTIÓN DE LA SUSTENTABILIDAD U n i v e r s i d a d V e r a c r u z a n a LEGISLACIÓN UNIVERSITARIA REGLAMENTO PARA LA GESTIÓN D

Para la historia textual de La Galatea*
anales cervantinos, vol. xlii, pp. 47-72, 2010 issn: 0569-9878 Para la historia textual de La Galatea* Juan Montero** La edición príncipe La primav

Story Transcript

Guía para la Instalación de MINIX (Sobre Partición libre) Laboratorio de Sistemas Operativos

Guía para la Instalación de MINIX __________________________________________ 1 Introducción__________________________________________________________________1 Pre-Instalación________________________________________________________________1 Instalación ___________________________________________________________________2 Instalación automática de MINIX_______________________________________________________ 2 Instalación manual de MINIX _________________________________________________________ 2

Post-Instalación _______________________________________________________________3 Primera Parte ______________________________________________________________________ 3 Segunda Parte ______________________________________________________________________ 4 Tercera Parte_______________________________________________________________________ 4

Ejemplo de Instalación _________________________________________________________5

Laboratorio de Sistemas Operativos

Introducción Como primer paso para comenzar con la instalación de MINIX se deberá tener generados los disquetes con las imágenes de los archivos enumerados en la página de la materia. Las siguientes sentencias permiten cumplir dicho objetivo: 1) Crear el disquete de booteo: fdvol 1440 A: Boot\ROOT Boot\USR

En este caso, el disquette contiene el boot-root-usr(commands) quedando en: fd0a = boot y root fd0c = usr

2) Se deben crear también los siguientes: fdvol 1440 A: Base\USR.TAZ fdvol 1440 A: Source\SYS.TAZ fdvol 1440 A: Source\CMD.TAZ

- Comandos Básicos (3 disk) - Fuentes del Sistema (2 disk) - Fuentes de Comandos (3 disk)

NOTA: Luego de realizar esto, se puede utilizar el disquete de booteo y arrancar con dicho disquete, esto cargará el programa monitor de MINIX. Dicho programa permite elegir el sistema operativo a cargar en la computadora, mediante un menú, que en esta ocasión indicará solamente minix, pero si se presiona ESC, se pasa el control al monitor y mediante comandos se puede hacer que se cargue otro sistema operativo. A continuación veremos dos posibles escenarios en los cuales se puede realizar la instalación de MINIX. • Escenario 1: Computadora con una partición libre. La partición libre puede ser única o estar compartiendo el disco con otras particiones que contienen otros sistemas operativos. El hecho es que existe una partición eliminable, o espacio libre disponible para crear la partición donde se instalará el MINIX. NOTA: La partición que contendrá el MINIX deberá ser de por lo menos 40 MB, y no ser superior a 1GB, es aconsejable disponer de 100MB para la partición MINIX. Dentro de dicha partición se generarán las subparticiones utilizadas por el sistema operativo. •

Escenario 2: Computadora sin una partición libre En este caso, se deberá achicar una de las particiones ocupadas por otros sistemas operativos, en particular las particiones de DOS, pueden ser redimensionadas por una aplicación llamada FIPS, la misma que se distribuyen con el LINUX y que se encuentra disponible en la página de la materia. El fips, luego de analizar el tipo de disco y filesystem que se encuentra en la partición de DOS, muestra una pantalla indicando el tamaño de la partición actual y la nueva partición que se está generando. En un principio se verá que la nueva partición está en cero , y con las flechas hacia los costados se agrandan o achican las particiones.

Pre-Instalación Para la instalación de minix, en el disco rígido, se deberá utilizar el disquete de booteo y con él se deberá cargar el MINIX, presionando el signo = en la pantalla del monitor de minix. Luego de indicar que se está cargando el MINIX, aparecerá en pantalla los módulos del minix y los lugares de memoria donde se cargan. Paso seguido se genera un disco virtual para contener el filesystem de root, que es copiado del disquete.

Laboratorio de Sistemas Operativos

1/10

A continuación pide que se indique el lugar donde se encuentra el filesystem con los comandos (/usr), en mismo se encuentra en el disquete de booteo, pero hay que indicarle el slice correspondiente, en nuestro caso /dev/fd0c. Termina esta sección cuando se monta el filesystem /usr, se levantan los daemons y aparece el login. Para acceder se debe ingresar “root” y aparecerá el interprete de comandos con prompt #. Existen dos maneras de realizar la instalación de MINIX en el disco rígido, una manual y otra automática.

Instalación El uso de la instalación manual, permite al usuario desviarse de las selecciones preconfiguradas por la instalación automática.

Instalación automática de MINIX Para utilizar la instalación automática, se debe ejecutar el comando setup. Como primer paso se debe indicar que tipo de teclado se tiene, por defecto está el teclado US standard. El próximo paso creará las particiones usando el editor de tabla de particiones part. Con las teclas + y – se puede seleccionar el disco (/dev/hd0 es el primer disco rígido); con la tecla q se sale del editor sin grabar los cambios y con la tecla r se carga la tabla de particiones del disco elegido. Para crear una nueva partición, se debe modificar la partición marcada como NONE y cambiarle el tipo a MINIX (x81), del mismo modo para poder reutilizar una partición existente, basta con cambiarle el tipo. Cabe señalar que las particiones de Minix no deben ser menores de 30 MB, ni mayores a 128 MB (para MINIX-86) o 1GB (para MINIX-386). Para el siguiente paso, el script de instalación necesita saber el nombre de la partición recientemente creada, como ser hd2, hd6, etc. Automáticamente se crean dos subparticiones, una de 1440 KB para el filesystem de root y el resto para el filesystem usr, siendo este último montado como el nuevo /usr. A continuación se llenan los filesystems con el contenido del disquete de booteo y se actualiza el archivo /etc/fstab que indica los filesystems a montar en el arranque del sistema. Para las máquina que tienen mas de 4MB de RAM, basta con presionar Enter al pedirles el tamaño de la memoria para crear el cache.

Instalación manual de MINIX Como primer paso, se debe ejecutar el comando part, para generar las particiones donde se cargará el sistema operativo MINIX. Se debe crear una gran partición primaria de tipo MINIX y luego reparticionarla en tres subparticiones para root y usr. Se asume que se usará la segunda partición del primer disco rígido /dev/hd2 y que hd2a es la subpartición de root y hd2c es la de usr. Cabe señalar que la primer partición del segundo disco rígido es hd6. En el caso de tener discos SCSI, se utilizan/dev/sd2 para la segunda partición del disco con target 0. Para crear las subparticiones se presiona > en la partición primaria de MINIX. La subpartición de root debe ser de 1440K ya que la imagen que se guarda en el disquete se genera de esta subpartición. La segunda subpartición (b) no es tomada en cuenta por MINIX 2.0 para ningún uso en particular y por lo tanto puede ser utilizada, pero se hizo costumbre que la subpartición a sea root y la subpartción c sea usr. La subpartición c ocupa todo lo que resta de la partición primaria de MINIX. Para poder bootear desde /dev/hd2a se debe poner un master bootstrap en el /dev/hd2, esto lo hace el part, pero para estar seguros se debe ejecutar el siguiente comando: installboot –m /dev/hd2 /usr/mdec/masterboot

Laboratorio de Sistemas Operativos

2/10

Los próximos pasos serán: 1) Generar el filesystem para usr, llenarlo con los comandos básicos y dejarlo activo en lugar del filesystem del disquete, mkfs /dev/hd2c // genera el filesystem de minix en /dev/hd2c readall –b /dev/hd2c | sh // verifica todo el filesystem por bad blocks mount /dev/hd2c /mnt // monta el filesystem generado cpdir –v /usr /mnt // copia todo el /usr en el filesystem generado umount /dev/hd2c umount /dev/fd0 mount /dev/hd2c /usr 2) Generar el filesystem para root: mkfs –i 512 /dev/hd2a // genera el filesystem de minix en /dev/hd2c mount /dev/fd0 /fd0 // monta el filesystem del disquete mount /dev/hd2a /mnt // monta el filesystem generado cpdir –v /fd0 /mnt // copia todo el /usr en el filesystem generado umount /dev/fd0 rm /mnt/etc/issue // para que no aparezca el mensaje “use setup” vi /mnt/etc/fstab // para nombrar los nuevos devices del MINIX. root=/dev/hd2a usr=/dev/hd2c umount /dev/hd2a installboot –d /dev/hd2a /usr/mdec/bootblock boot // hace booteable la partición hd2a. 3) Cambiar las variables de booteo del monitor de MINIX, esto se hace desde el monitor ejecutando los siguientes comandos: rootdev=hd2a // genera el filesystem de minix en /dev/hd2c ramimagedev=hd2a // monta el filesystem del disquete save Ya está instalado el MINIX en el disco rígido.

Post-Instalación Primera Parte Para agregar mas funcionalidad al MINIX, se debe instalar los comandos y las fuentes para poder generar kernel de MINIX modificados. Para ello se debe tener generados los disquetes mencionados en el punto 2 de la sección introducción. Se instalarán todas en el subdirectorio /usr mediante el siguiente comando: # setup /usr Colocando los disquetes correspondientes a USR.TAZ, luego los de SYS.TAZ y por último los de CMD.TAZ, para cada uno de ellos se deberá ejecutar el mismo comando. En el caso que la máquina no tenga memoria suficiente para ejecutar el comando setup, se deberá realizar los siguientes comandos en su lugar: cd /usr vol /dev/fd0 | uncompress | tar xvfp –

Laboratorio de Sistemas Operativos

3/10

Segunda Parte Uno de los últimos pasos es nombrar el equipo, esto se hace escribiendo el nombre del mismo en el archivo /etc/hostname. Esto se hace utilizando el siguiente comando: echo nombre > /etc/hostname.file Por último se puede modificar el programa monitor para que arranque automáticamente el minix luego de ocurrir un timeout, para lo cual se debe cambiar la función main. En el monitor se escribe: main() { trap 5000 minix; menu } Para agregar opciones al menú que muestra el monitor de minix, se debe ejecutar en el monitor el siguiente comando: name(d, Boot DOS) { boot hd1 } save Esto genera una opción de menú para bootear con la partición 1 del disco rígido. Por último, se debe seleccionar la partición donde se instaló el MINIX como partición activa para que al encender la computadora bootee con dicha partición apareciendo en pantalla el menú del monitor de minix, para esto se utiliza el comando de DOS fdisk o el comando de MINIX part.

Tercera Parte Completando hasta la sección anterior “Segunda Parte”, el MINIX queda operativo. Por lo tanto ya se puede comenzar a trabajar sobre los código fuentes. En esta parte, se hará mención a la instalación del módulo de red. El procedimiento se puede ver también al final del Ejemplo de instalación. Para modificar los parámetros del MINIX, se debe modificar el archivo /usr/include/minix/config.h y en particular se debe habilitar el uso de la red. #define ENABLE_NETWORKING 1 /* enable TCP/IP code */ Luego de modificar los parámetros se ejecutan los siguiente comandos: cd /usr/src/tools make hdboot // Este comando compila e instala una nueva imagen en /minix/ Por último se hace shutdown del MINIX y en el monitor se ejecutan los comandos para indicar los parámetros de la placa de red: DPETH0=300:5 I/O address 300; IRQ 5 save boot Al reiniciar el sistema, se debe indicar cual es el nro IP de la máquina y cual es el servidor DNS, modificando los archivos /etc/ethers, /etc/hosts y /etc/resolv.conf.

Laboratorio de Sistemas Operativos

4/10

Ejemplo de Instalación Minix installation demo. Author: Kees J. Bot +-------------------------------------------------------+ | This is a log of a Minix installation on my notebook | | in the form of a number of screen images with bits of | | explanatory text in these boxes. The floppy images | | have already been made and the system is booted with | | a diskette that contains both ROOT and USR combined. | | That is why I typed 'fd0c' after starting Minix: | +-------------------------------------------------------+ Minix 2.0.0 Copyright 1997 Prentice-Hall, Inc. Executing in 32-bit protected mode Memory size = 8010K MINIX = 295K RAM disk = 480K Available = 7236K RAM disk loaded. Tue Oct 1 16:21:37 MET 1996 Finish the name of device to mount as /usr: /dev/fd0c /dev/fd0c is read-write mounted on /usr Starting standard daemons: update. Login as root and run 'setup' to install Minix. Minix Release 2.0 Version 0 noname login: +-------------------------------------------------------+ | As suggested I log in as root and enter 'setup' to | | start the installation script. | +-------------------------------------------------------+ noname login: root # setup This is the Minix installation script. Note 1: If the screen blanks suddenly then hit F3 to select "software scrolling". Note 2: If things go wrong then hit DEL and start over. Note 3: The installation procedure is described in the manual page usage(8). It will be hard without it. Note 4: Some questions have default answers, like this: [y] Simply hit RETURN (or ENTER) if you want to choose that answer. Note 5: If you see a colon (:) then you should hit RETURN to continue. : +-------------------------------------------------------+ | I hit the ENTER key and am asked about my keyboard | +-------------------------------------------------------+ What type of keyboard do you have? french german

italian japanese

latin-am olivetti

You can choose one of:

scandinavn spanish

uk us-std

us-swap

Keyboard type? [us-std] +-------------------------------------------------------+ | I'm blessed with a standard U.S. keyboard so I type | | ENTER again. Now it gets serious: | +-------------------------------------------------------+ Minix needs one primary partition of at least 30 Mb (it fits in 20 Mb, but it needs 30 Mb if fully recompiled. Add more space to taste.) If there is no free space on your disk then you have to back up one of the other partitions, shrink, and reinstall. See the appropriate manuals of the the operating systems currently installed. Restart your Minix installation after you have made space.

Laboratorio de Sistemas Operativos

5/10

To make this partition you will be put in the editor "part". Follow the advice under the '!' key to make a new partition of type MINIX. Do not touch an existing partition unless you know precisely what you are doing! Please note the name of the partition (hd1, hd2, ..., hd9, sd1, sd2, ... sd9) you make. (See the devices section in usage(8) on Minix device names.) : +-------------------------------------------------------+ | ENTER brings up the 'part' partition editor. The | | question marks indicate that no partition table is | | loaded yet. I must first choose a disk. | +-------------------------------------------------------+ Select device Device /dev/hd0 Num Sort ? ? ? ? ? ? ? ?

Type ? ? ? ? ? ? ? ?

----first---Cyl Head Sec ?

?

?

? ? ? ?

? ? ? ?

? ? ? ?

--geom/last-Cyl Head Sec ? ? ? ? ? ? ? ? ? ?

? ? ? ?

? ? ? ?

------sectors----Base Size

Kb

?

?

?

? ? ? ?

? ? ? ?

? ? ? ?

Type '+' or '-' to change, 'r' to read, '?' for more help, '!' for advice +-------------------------------------------------------+ | This notebook has only one disk, so I type 'r': | +-------------------------------------------------------+ Select device Device /dev/hd0 Num 1 2* 3 4

Sort hd1 hd2 hd3 hd4

Type 12 81 MINIX 00 None 00 None

----first---Cyl Head Sec 0

0

0

0 5 0 0

1 0 0 0

0 0 0 0

--geom/last-Cyl Head Sec 485 16 63 488 15 62 4 426 0 0

15 14 0 0

62 52 -1 -1

------sectors----Base Size

Kb

0

492912

246456

63 5040 0 0

4977 425303 0 0

2488 212651 0 0

at-hd0: Conner Peripherals 240MB - CP2251 +-------------------------------------------------------+ | There are two partitions already present on the disk, | | one that contains setup stuff for the notebook and a | | 208 megabyte partition that already contains Minix. | | The AT disk driver has tickled the IDE disk to make | | it tell its type and make. It is a message from deep | | in the kernel, not from part. | | For this install I want a new partition, so I move | | over to the Size field of the first unused slot, line | | 3 with type "None". I could type a number now, but | | I want to use the rest of the disk, so I hit 'm' | | there once or twice to let part propose something. | +-------------------------------------------------------+ Size in sectors Device /dev/hd0 Num 1 2* 3 4

Sort hd1 hd2 hd3 hd4

Type 12 81 MINIX 81 MINIX 00 None

----first---Cyl Head Sec 0

0

0

0 5 426 0

1 0 14 0

0 0 53 0

--geom/last-Cyl Head Sec 485 16 63 488 15 62 4 426 488 0

15 14 15 0

62 52 62 -1

------sectors----Base Size

Kb

0

492912

246456

63 5040 430343 0

4977 425303 62569 0

2488 212651 31284 0

+-------------------------------------------------------+ | Note that the end of partition 2 and the start of | | partition 3 are not on a cylinder boundary. Minix | | doesn't care about that, but Linux fdisk would throw | | a fit if it would see this. In this case I'm happy, | | so I type 'q' to quit, and 'y' to save the table: | +-------------------------------------------------------+

Laboratorio de Sistemas Operativos

6/10

Size in sectors Device /dev/hd0 Num 1 2* 3 4

Sort hd1 hd2 hd3 hd4

Type 12 81 MINIX 81 MINIX 00 None

----first---Cyl Head Sec 0

0

0

0 5 426 0

1 0 14 0

0 0 53 0

--geom/last-Cyl Head Sec 485 16 63 488 15 62 4 426 488 0

15 14 15 0

62 52 62 -1

------sectors----Base Size

Kb

0

492912

246456

63 5040 430343 0

4977 425303 62569 0

2488 212651 31284 0

Save partition table? (y/n) y Please finish the name of the primary partition you have created: (Just type RETURN if you want to rerun "part") /dev/hd3 You have created a partition named: /dev/hd3 The following subpartitions are about to be created on /dev/hd3: Root subpartition: /usr subpartition:

/dev/hd3a /dev/hd3c

1440 kb rest of hd3

Hit return if everything looks fine, or hit DEL to bail out if you want to think it over. The next step will destroy /dev/hd3. : +-------------------------------------------------------+ | Let's destroy some zeros and ones, I hit ENTER: | +-------------------------------------------------------+ Migrating from floppy to disk... Scanning /dev/hd3c for bad blocks. (Hit DEL to stop the scan if are absolutely sure that there can not be any bad blocks. Otherwise just wait.) cp /fd0/etc/hostname.file /mnt/etc/hostname.file cp /fd0/etc/motd /mnt/etc/motd +-------------------------------------------------------+ | Lots of files are put on the disk. It is a combined | | ROOT+USR diskette, so both parts are installed with- | | out pause. When done I am greeted with the following | | message, showing that Minix has a short memory, | | because at boot it said: Memory size = 8010K. I | | could type 8010, but ENTER will do. +-------------------------------------------------------+ mkdir /mnt/root mkdir /mnt/tmp cp /fd0/.ellepro.b1 /mnt/.ellepro.b1 /dev/fd0 unmounted from /fd0 /dev/hd3a unmounted from /mnt What is the memory size of this system in kilobytes? [4096 or more] Second level file system block cache set to 1024 kb. +-------------------------------------------------------+ | Setup is now done with the migration to disk, so it | | wants me to type 'halt' and 'boot hd3'. It says | | "please", so I comply: | +-------------------------------------------------------+ Please insert the installation ROOT floppy and type 'halt' to exit Minix. You can type 'boot hd3' to try the newly installed Minix system. See "TESTING" in the usage manual. # halt System Halted

Laboratorio de Sistemas Operativos

7/10

fd0>boot hd3 Minix 2.0.0 Copyright 1997 Prentice-Hall, Inc. Executing in 32-bit protected mode at-hd0: Conner Peripherals 240MB - CP2251 Memory size = 8010K MINIX = 295K RAM disk = 1024K

Available = 6692K

Tue Oct 1 16:39:24 MET 1996 /dev/hd3c is read-write mounted on /usr Starting standard daemons: update. Login as root and run 'setup /usr' to install floppy sets. Minix Release 2.0 Version 0 noname login: +-------------------------------------------------------+ | Type 'root' and 'setup /usr'. ENTER, ENTER, input | | floppy 1 of the USR.TAZ set, and ENTER. | +-------------------------------------------------------+ noname login: root # setup /usr What is the size of the images on the diskettes? [all] What floppy drive to use? [0] Please insert input volume 1 and hit return created directory: local/lib created directory: local/man created directory: local/src created directory: man Can't make directory mdec: File exists +-------------------------------------------------------+ | Usage(8) warns about this "File exists" message, and | | that it doesn't matter. Otherwise this would go | | wrong: | +-------------------------------------------------------+ mdec/boot, 050 tape blocks mdec/bootblock, 01 tape blocks mdec/extboot, 01 tape blocks +-------------------------------------------------------+ | Lots of files installed, I add floppy 2 and 3 of | | USR.TAZ when it asks for them. When done I type | | "setup /usr" again for SYS.TAZ, and once more for | | CMD.TAZ. Five floppies later and I'm done. | +-------------------------------------------------------+ src/commands/talkd/talk.h, 03 tape blocks src/commands/talkd/talkd.c, 03 tape blocks src/commands/talkd/talkd.h, 01 tape blocks /tmp/LAST, 0 tape blocks Done. +-------------------------------------------------------+ | As an example I give the system the name "finiah", | | but seeing one of Michael Temari's network programs | | extracted inspires me to make a network kernel. Log | | in as 'bin' and bring into the one | | true editor of the aging computer geek: | +-------------------------------------------------------+ # echo finiah >/etc/hostname.file # ^D Minix Release 2.0 Version 0 finiah login: bin ! vi /usr/include/minix/config.h +-------------------------------------------------------+ | I change the following parameters for more processes, | | a bigger cache, no 2nd level cache, networking, only | | the AT/IDE disk driver and 4 pseudo ttys for remote | | login: | +-------------------------------------------------------+

Laboratorio de Sistemas Operativos

8/10

#define NR_PROCS

40

#if (MACHINE == IBM_PC && _WORD_SIZE == 4) #define NR_BUFS 1024 /* # blocks in the buffer cache */ #define NR_BUF_HASH 2048 /* size of buf hash table; MUST BE POWER OF 2*/ #endif #define ENABLE_CACHE2 #define #define #define #define #define #define

0

ENABLE_NETWORKING 1 /* ENABLE_AT_WINI 1 /* ENABLE_BIOS_WINI 0 /* ENABLE_ESDI_WINI 0 /* ENABLE_XT_WINI 0 /* ENABLE_ADAPTEC_SCSI 0 /*

enable enable enable enable enable enable

TCP/IP code */ AT winchester driver */ BIOS winchester driver */ ESDI winchester driver */ XT winchester driver */ ADAPTEC SCSI driver */

#define NR_PTYS 4 /* # pseudo terminals (0 to 64) */ +-------------------------------------------------------+ | The main kernel Makefile is in /usr/src/tools. The | | command 'make hdboot' compiles a new image and puts | | it in /minix/, next to the distribution kernel: | +-------------------------------------------------------+ ! cd tools/ ! make hdboot +-------------------------------------------------------+ generic/tcp_send.o generic/udp.o exec cc -c -m -I. -I.. -I/usr/include putk.c exec cc -o inet -i inet.a putk.o install -S 10k inet exec cc -O -D_MINIX -D_POSIX_SOURCE init.c -o init install -S 192w init installboot -image image ../kernel/kernel ../mm/mm ../fs/fs ../inet/inet init text data bss size 54432 9000 38624 102056 ../kernel/kernel 12544 1176 32072 45792 ../mm/mm 28816 2196 1101676 1132688 ../fs/fs 66480 7420 94400 168300 ../inet/inet 6828 2032 1356 10216 init ------ ------ ------ ------169100 21824 1268128 1459052 total exec sh mkboot hdboot cp image /dev/hd3a:/minix/2.0.0r0 Done. +-------------------------------------------------------+ | Shut the system down to return to the boot monitor. | | The 2nd level cache is no longer needed, so I set the | | RAM disk size to zero. The NE2000 card of the note- | | book is at I/O address 300, IRQ 5. Save and boot. | +-------------------------------------------------------+ ! shutdown Broadcast message from bin@finiah (console) Tue Oct 1 18:08:49 1996... The system will shutdown NOW System Halted hd3a>unset ramsize hd3a>DPETH0=300:5 hd3a>save hd3a>boot +-------------------------------------------------------+ | The new boot messages show that things have changed. | | The ethernet driver has found an NE2000, the larger | | block cache has made the kernel (MINIX) larger, and | | the RAM disk is done away with. One of my other PC's | | has seen fit to answer the RARP request (here is my | | ethernet address, what is my IP address?) of my | | notebook, but the notebook doesn't yet know how to | | translate 127.36.93.27 to its own name yet. | +-------------------------------------------------------+

Laboratorio de Sistemas Operativos

9/10

Minix 2.0.0 Copyright 1997 Prentice-Hall, Inc. Executing in 32-bit protected mode ne2000: NE2000 at 300:5 at-hd0: Conner Peripherals 240MB - CP2251 Memory size = 8010K MINIX =1441K RAM disk = 0K Available = 6569K Tue Oct 1 18:12:41 MET 1996 /dev/hd3c is read-write mounted on /usr Starting standard daemons: update. Starting network daemons: rarpd nonamed irdpd talkd. Starting network services: shell login telnet ftp. Minix Release 2.0 Version 0 127.36.93.27 login: root # +-------------------------------------------------------+ | Let's be lazy and make this machine get its naming | | information from its neighbour. To make it stand on | | its own I would have to create an /etc/ethers and an | | /etc/hosts. Reboot and all is well. | +-------------------------------------------------------+ # echo nameserver 127.36.93.25 >/etc/resolv.conf # shutdown -r

Laboratorio de Sistemas Operativos

10/10

Get in touch

Social

© Copyright 2013 - 2024 MYDOKUMENT.COM - All rights reserved.