cs312-lecture4_slides

cs312-lecture4_slides - CS 312 Linux System Administration...

Info iconThis preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 312 Linux System Administration 4: Booting Lance Albertson OSU Picture © Greg Keene used under CC SA 3.0 license
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Today's Objectives Boot loaders Single-user mode Start-up scripts Shutting down
Background image of page 2
Bootstrapping “pull itself up by its own bootstraps” Driver loading Period of vulnerability configuration errors, missing hardware, damaged filesystems init – always PID 1
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Steps in boot process Kernel initialization Hardware configuration System processes Operator intervention (single-user) Execution of start-up scripts Multi-user operation
Background image of page 4
Booting PCs vs Proprietary hardware BIOS, OpenBoot PROM, etc BIOS Very simple compared to OpenBoot PROM Select devices to boot from Network booting via PXE MBR (first 512 bytes)
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Boot loaders Grub (Grand Unified Bootloader) Dynamic fixes during booting Can read the filesystem Index based – (hd0,0) = sda1 Backup Kernel Images LILO (Linux Loader) Painful during kernel upgrades (forget to run lilo!) static configuration
Background image of page 6
Single-user Mode What is it used for? Troubleshoot problems Manual Filesystem Checks Booting with bare services Fix boot problems Add “single” to kernel option Solaris/BSD boot -s Picture © Flickr user 'blam4c'
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Startup Script Tasks Checking disks with fsck Mounting system's disks Configuring network interfaces Starting up daemons & network services
Background image of page 8
System-V Linux derived from System-V Run levels level 0 – sys is completely down level 1 or S – single-user mode level 2 through 5 – multi-user levels level 6 – reboot level Picture © Flickr user 'adamvandenberg'
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
/etc/inittab Tells init what to do on each level Starts getty (terminals) Commands to be run or kept running Setting up a serial console
Background image of page 10
init.d Scripts One script for one service/daemon Start up services such as sshd, httpd, etc Commands start, stop, reload, restart sshd init script
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 12
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 06/28/2009 for the course CS 312 taught by Professor Staff during the Spring '08 term at Oregon State.

Page1 / 32

cs312-lecture4_slides - CS 312 Linux System Administration...

This preview shows document pages 1 - 12. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online