1 Page

Lab17aGRUB

Course: CENT 253, Fall 2009
School: University of Hawaii -...
Rating:
 
 
 
 
 

Word Count: 488

Document Preview

253 CENT LAB 17A GRUB BOOTLOADER NAME ______________________ OVERVIEW: In this lab, you are going to copy (not move!) your existing kernel and initrd files to a new location, and modify your menu.lst file appropriately to boot the newly created kernel. 1. Use root user privileges for this lab. 2. Create the directory /kernel (this is /kernel, NOT ~/kernel!) 3. Use the command uname -r to determine your current...

Register Now

Unformatted Document Excerpt

Coursehero >> Hawaii >> University of Hawaii - Hilo >> CENT 253

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
253 CENT LAB 17A GRUB BOOTLOADER NAME ______________________ OVERVIEW: In this lab, you are going to copy (not move!) your existing kernel and initrd files to a new location, and modify your menu.lst file appropriately to boot the newly created kernel. 1. Use root user privileges for this lab. 2. Create the directory /kernel (this is /kernel, NOT ~/kernel!) 3. Use the command uname -r to determine your current kernel version. _______________________ 4. Copy the files /boot/vmlinuz-kernelversion and /boot/initrd-kernelversion to the newly created /kernel directory. Make sure to copy the file starting vmlinuz, not vmlinux. Example: you could do this using command substitution: cp /boot/vmlinuz-`uname -r` /kernel 5. In the /kernel directory, create symbolic links named vmlinuz and initrd that point to the appropriate related file in the /kernel directory. 6. As a precaution, make a backup copy of your /boot/grub/menu.lst file, called /boot/grub/menu.lst.prelab17a. Open the original /boot/grub/menu.lst file for editing, and make the following changes. a. Duplicate the menu item stanza relevant to your current kernel, and set the title of the newly created stanza to the single word Lab17A. Do not modify the original stanza in any way. b. In the newly created menu item stanza, update the references to the kernel and initrd files, so that they refer to the newly created files /kernel/vmlinuz-kernelversion and /kernel/initrdkernelversion. You will need to update the references to the root partition and the absolute path as well. To c. the kernel command line, add the argument panic=42. (You may consult the bootparam(7) man page for more information, if you are curious). d. Set the bootloader password to cent253, using a plaintext (unencrypted) password. (If the bootloader already had a password, merely comment out the line specifying the original password). e. Comment out the gfxmenu entry. The gfxmenu does not work when a password is used. Save your changes. 7. Reboot your machine. At the GRUB menu, a. Select the newly created menu item, then enter "p" to enter the bootloader's password (cent253). b. Use "e" to open the newly added stanza (Lab17A) for editing. c. In the editor, append the argument Linux=fun to the kernel commandline, leaving all other arguments in place. Press Enter to save your changes. d. Use "b" to boot your machine. Note: If you are not able to boot using the new configuration, reboot usin...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

University of Hawaii - Hilo - CENT - 253
CENT 253 System Administration of UNIX Network Applications Remote Shell Commands1Client-Server ApplicationsMost networking applications use a client-server relationship A client application requests services on behalf of the user:web browser
University of Hawaii - Hilo - CENT - 253
CENT 253 LAB 19NETWORK APPLICATIONSNAME _OVERVIEW: In this lab you will explore using remote network applications. PART 1: USING NETWORK CLIENTS1. Rename the ~/Lab18a directory in your home directory from the previous lab to ~/Lab19. 2. Use yo
University of Hawaii - Hilo - CENT - 253
CENT 253For this exam, you should be able to:Task Description1. 2. Create and manage user and group accounts using the command line. (Lab 10) Manage file permissions and ownership, including secondary group assignments, using the command line. (La
University of Hawaii - Hilo - CENT - 253
CENT 253REVIEW FOR EXAM 2 WRITTEN EXAMSECTION 7 USER AND GROUP ACCOUNTS 1. What is the function or purpose of user accounts? 2. What are the key configuration files related to user accounts? Specifically, the file that contains user account infor
University of Hawaii - Hilo - CENT - 253
CENT 253REVIEW FOR EXAM 2 WRITTEN EXAMSECTION 7 USER AND GROUP ACCOUNTS 1. What is the function or purpose of user accounts? 2. What are the key configuration files related to user accounts? Specifically, the file that contains user account infor
University of Hawaii - Hilo - CENT - 253
CENT 253 System Administration of UNIXPackage Management1Overview1. 2. 3. 4.Software Packages Package Formats Command Line Package Management Build and Install Software from Source Software2Software PackagesA software package is a colle
University of Hawaii - Hilo - CENT - 253
CENT 253 System Administration of UNIXSystem Logging 1 syslog Pages 661-6701OverviewSystem Logging Services2System Logging (syslog) ServicesThe central service for system logging provided by Linux/UNIX. The syslog service provides the sys
University of Hawaii - Hilo - CENT - 253
CENT 253 System Administration of UNIXLog Rotation logrotate Pages 666-6701logrotate UtilityUtility used to rotate log files. Examine the contents of /var/log directory and look for sequential file extensions. logrotate performs daily maintena
University of Hawaii - Hilo - CENT - 253
CENT 253 LAB 20PACKAGE MANAGEMENTNAME _OVERVIEW: In this lab you will explore managing software packages from the command line. PART 1: EXERCISES 1. Complete Exercise 7-5, RPM Package-Related Operations, on pages 314-315 in the textbook. PART 2
University of Hawaii - Hilo - CENT - 253
CENT 253 LAB 21ASYSTEM LOGGING 1NAME _OVERVIEW: In this lab you will explore managing the system logging service. PART 1: PRE-CONFIGURATION 1. Using YaST, go to System Services (Runlevel Services) and locate any references to automaticallygene
University of Hawaii - Hilo - CENT - 253
CENT 253 System Administration of UNIXHardware Devices Section 131OverviewHardware Information & Overview Removable System HardwarePCMCIA Devices Hot Pluggable Devices Fire WireNonremovable System HardwarePCI DevicesFile System Device No
University of Hawaii - Hilo - CENT - 253
CENT 253 LAB 22HARDWARE DEVICESNAME _OVERVIEW: In this lab you will explore system hardware information from the command line. PART 1: HARDWARE INFORMATIONCollect the following information about your machine's hardware, and store it in the spe
University of Hawaii - Hilo - CENT - 253
CENT 253 System Administration of UNIXRAIDChapter 13 Mass Storagehttp:/en.wikipedia.org/wiki/RAID http:/www.tldp.org/HOWTO/Software-RAID-HOWTO.html mdadm man page1RAIDRedundant Array of Inexpensive/Independent Disks Goals:provide fault tol
University of Hawaii - Hilo - CENT - 253
CENT 253 System Administration of UNIXLogical Volume Managementhttp:/en.wikipedia.org/wiki/Logical_volume_management http:/www.novell.com/coolsolutions/feature/14735.html http:/www.hccfl.edu/pollock/AUnix1/LVM.htm1Logical Volume ManagementUse
University of Hawaii - Hilo - CENT - 253
CENT 253 LAB 23ARAIDNAME _For this exercise, you will create a RAID array out of disk partitions which all reside on the same disk. This is not something you would want to do in the real world. Whatever you are trying to achieve with a RAID arr
University of Hawaii - Hilo - CENT - 253
CENT 253 LAB 23BLOGICAL VOLUME MANAGEMENTNAME _PART 1: USE THE COMMAND LINE TO CREATE A VOLUME GROUP AND 2 LOGICAL VOLUMES1. Use the fdisk command to remove any RAID partitions left over from the previous exercise. Write your changes to disk,
University of Hawaii - Hilo - CENT - 253
CENT 253 System Administration of UNIXIntroduction to Shell Scripts 11ScriptsA script is a (text) file that contains a list of commands to execute A UNIX/Linux script is similar to a DOS batch file There are two basic ways to use scripts in the
University of Hawaii - Hilo - CENT - 253
CENT 253 System Administration of UNIX Introduction to Scripts 21Script Input: Command Line ArgumentsCommand line arguments can be used with scripts, as well as with regular commands. Bash uses the following positional parameters within scripts
University of Hawaii - Hilo - CENT - 253
CENT 253 Lab 25ASHELL SCRIPTS 1NAME _PART 1: CREATE A SCRIPT TO DRIVE THE GNUPLOT PROGRAM1. Use YaST to verify that the gnuplot and eog packages are installed. If not, install them using YaST. 2. Generate a simple text file, ~/gnuplot.txt, tha
University of Hawaii - Hilo - CENT - 253
CENT 253 Lab 25B CHALLENGE LABSHELL SCRIPTS 2NAME _Create a short executable bash script named ~/bin/ispython that expects a single command line argument, which is a file name. If the first line of the named file is exactly "#!/usr/bin/python"
University of Hawaii - Hilo - CENT - 253
CENT 253 REVIEW FOR EXAM 3 WRITTEN EXAM NEW MATERIAL FOR EXAM 3 SECTION 7 PACKAGE MANAGEMENT1. Describe two formats commonly used for software packages, including a description of the methods used to bundle and/or compress them. 2. How is a source R
University of Hawaii - Hilo - CENT - 253
CENT 253REVIEW FOR EXAM 3 WRITTEN EXAMNEW MATERIAL FOR EXAM 3 SECTION 7 PACKAGE MANAGEMENT1. Describe two formats commonly used for software packages, including a description of the methods used to bundle and/or compress them. 2. How is a source
Georgia Tech - ISYE - 4231
Project 2 - Set Covering/Partitioning Engineering Optimization ISYE 4231, Section AGeorgia Institute of Technology Due: Wednesday, April 16th Collaboration Policy: You are allowed to discuss your project with other students. You must choose your own
Georgia Tech - GROUP - 8803
Smart SeekCS 8803 AIAD (Spring 2008) ProjectGroup#22 Ajay Choudhari, Avik Sinharoy, Min Zhang, Mohit Jain1Outline Problem background and motivation Project Goals System architecture The social network toolFacebook app Gathering user data
University of Hawaii - Hilo - CENT - 253
CENT 253 LAB 01Refer to:LINUX INSTALLATIONNAME: _Section 1: Getting Started with Linux: Novell's Guide to CompTIA's Linux+Overview: In this lab you will be installing and configuring SUSE Linux Enterprise Desktop 10 using an installation D
University of Hawaii - Hilo - CENT - 253
CENT 253 LAB 02LINUX INTRODUCTIONNAME _OVERVIEW: In this lab you will explore Linux desktop environments and features. Since we are using a different version of SUSE Linux than used in the textbook, there may be some differences between the exe
University of Hawaii - Hilo - CENT - 253
CENT 253 LAB 04FILE LINKS & FINDNAME _OVERVIEW: In this lab you will explore utilities for finding files and searching for text in Linux. PART 1: EXERCISES1. Complete Exercise 5-7 Link files on page 173 in the textbook.2. Complete Exercise 5
University of Hawaii - Hilo - CENT - 253
CENT 253 LAB 05GREPNAME _OVERVIEW: In this lab you will the grep utility for searching for text in Linux. You can have me review all of the work at one time, if desired. PART 1: EXERCISES 1. Complete Exercise 5-9 Search File Content on pages 18
University of Hawaii - Hilo - CENT - 253
CENT 253 LAB 07 USING THE LINUX SHELL I NAME _ OVERVIEW: In this lab you will experiment with using different aspects of the Linux shell. PART 1: EXERCISES 1. Complete Exercise 6-1 Execute Commands on the Command Line, on pages 220-221 in the textboo
University of Hawaii - Hilo - CENT - 253
CENT 253 LAB 08USING THE LINUX SHELLIINAME _OVERVIEW: In this lab you will experiment with using different aspects of the Linux shell. PART 1: EXERCISES 1. Complete Exercise 6-3 Use the alias Command, on page 229 in the textbook. 2. Complete
University of Hawaii - Hilo - CENT - 253
CENT 253 LAB 10 USERS & GROUPS NAME _ OVERVIEW: In this lab you will experiment with managing user and group accounts from the command line. PART 1: EXERCISES 1. Complete Exercise 7-1, Archive Files, on pages 271-272 in the textbook. PART 2: ADDING U
University of Hawaii - Hilo - CENT - 253
CENT 253 LAB 13 DISK QUOTAS NAME _ OVERVIEW: In this lab you will experiment with managing user and group accounts from the command line. PART 1: EXERCISE 1. Complete Exercise 7-4, Disk Quotas, on pages 288-290 in the textbook. Note the following: Y
University of Hawaii - Hilo - CENT - 253
CENT 253 LAB 14A PROCESSES & JOBS NAME _ OVERVIEW: In this lab you will experiment with processes and jobs. PART 1: EXERCISES 1.Complete Exercise 8-1, Control Processes (form GUI and command line), on pages 351-353 in the textbook.KDE System Gua
University of Hawaii - Hilo - CENT - 253
CENT 253 LAB 14B PROCESSES & JOBS NAME _ OVERVIEW: In this lab you will experiment with process priorities and services (daemons). PART 1: EXERCISES 1. Complete Exercise 8-2, Manage Linux Processes and Services Part II, on pages 357-358 in the textb
University of Hawaii - Hilo - CENT - 253
CENT 253 LAB 15 CRON AND AT NAME _ OVERVIEW: In this lab you will experiment with using the cron and at daemon services. PART 1: EXERCISES 1.Complete Exercise 8-5, Schedule Jobs with cron and at on pages 381-384 in the textbook.PART 2: SCHEDULING
University of Hawaii - Hilo - CENT - 253
CENT 253 LAB 16 RUNLEVELS AND SYSTEM INITIALIZATION NAME _ OVERVIEW: In this lab you will experiment with runlevels and system initialization. PART 1: EXERCISES 1. 2. Complete Exercise 8-3, Work with Runlevels, on pages 363 -344 in the textbook. Not
University of Hawaii - Hilo - CENT - 253
CENT 253 LAB 17AGRUB BOOTLOADERNAME _OVERVIEW: In this lab, you are going to copy (not move!) your existing kernel and initrd files to a new location, and modify your menu.lst file appropriately to boot the newly created kernel. 1. Use root use
University of Hawaii - Hilo - CENT - 253
CENT 253 LAB 17B TROUBLESHOOTING 1 PART 1 CREATING A BOOT FLOPPYIn this part of the assignment you will create a boot floppy. 1. Open a terminal window and su to the root account. 2. Get a floppy disk from the instructor's desk (top drawer).NAME _
University of Hawaii - Hilo - CENT - 253
CENT 253 LAB 20 PACKAGE MANAGEMENT NAME _ OVERVIEW: In this lab you will explore managing software packages from the command line. PART 1: EXERCISES 1.Complete Exercise 7-5, RPM Package-Related Operations, on pages 314-315 in the textbook.PART 2:
University of Hawaii - Hilo - CENT - 253
CENT 253 LAB 22 HARDWARE DEVICES NAME _ OVERVIEW: In this lab you will explore system hardware information from the command line. PART 1: HARDWARE INFORMATIONCollect the following information about your machine's hardware, and store it in the specif
University of Hawaii - Hilo - CENT - 253
CENT 253 LAB 23ARAIDNAME _For this exercise, you will create a RAID array out of disk partitions which all reside on the same disk. This is not something you would want to do in the real world. Whatever you are trying to achieve with a RAID arr
University of Hawaii - Hilo - CENT - 253
CENT 253 LAB 23B LOGICAL VOLUME MANAGEMENT NAME _ PART 1: USE THE COMMAND LINE TO CREATE A VOLUME GROUP AND 2 LOGICAL VOLUMES1. 2. Use the fdisk command to remove any RAID partitions left over from the previous exercise. Write your changes to disk,
University of Hawaii - Hilo - CENT - 253
CENT 253 Lab 25ASHELL SCRIPTS 1NAME _PART 1: CREATE A SCRIPT TO DRIVE THE GNUPLOT PROGRAM1. Use YaST to verify that the gnuplot and eog packages are installed. If not, install them using YaST. 2. Generate a simple text file, ~/gnuplot.txt, tha
University of Hawaii - Hilo - CENT - 253
CENT 253 Lab 25B CHALLENGE LABSHELL SCRIPTS 2NAME _Create a short executable bash script named ~/bin/ispython that expects a single command line argument, which is a file name. If the first line of the named file is exactly "#!/usr/bin/python"
University of Hawaii - Hilo - CENT - 253
CENT 253 LAB 26 LINUX TROUBLESHOOTING 2 PART 1 BUGGING YOUR SYSTEM1. 2. 3. 4.NAME _In this part of the assignment you will install some examples of possible problems with Linux. Open a terminal window and su to the root account. Download the fil
University of Hawaii - Hilo - CENT - 253
CENT 252 ASSIGN 05ATEXT PROCESSINGNAME _1. Create the file ~/bashusers.txt, which contains lines from the /etc/passwd file which contain the text /bin/bash. 2. Create the file ~/nostdhome.txt, which contains only lines from the /etc/passwd file
University of Hawaii - Hilo - CENT - 253
CENT 252 ASSIGN 05ATEXT PROCESSINGNAME _1. Create the file ~/bashusers.txt, which contains lines from the /etc/passwd file which contain the text /bin/bash. 2. Create the file ~/nostdhome.txt, which contains only lines from the /etc/passwd file
University of Hawaii - Hilo - CENT - 253
CENT 252 ASSIGN 061.PROCESSESNAME _In order to have a fixed set of processes to examine, you are to take a snapshot of all current processes on your machine. Use the following sequence of commands to first capture the headers for the columns o
University of Hawaii - Hilo - CENT - 253
CENT 252 ASSIGN 06PROCESSESNAME _1. In order to have a fixed set of processes to examine, you are to take a snapshot of all current processes on your machine. Use the following sequence of commands to first capture the headers for the columns o
University of Hawaii - Hilo - CENT - 253
CENT 252 ASSIGN 08References:LINUX INSTALLATIONNAME: _Chapter 8 in The Complete Guide to Linux System AdministrationWhat you need to do: Install Fedora Core 4 on the removable hard drive following the information provided below. For the pu
University of Hawaii - Hilo - CENT - 253
CENT 252 ASSIGN 08References:LINUX INSTALLATIONNAME: _Chapter 8 in The Complete Guide to Linux System AdministrationWhat you need to do: Install Fedora Core 4 on the removable hard drive following the information provided below. For the pu
University of Hawaii - Hilo - CENT - 253
CENT 252 ASSIGN 09AGRUB BOOTLOADERNAME _You are going to copy (not move!) your existing kernel and initrd to a new location, and modify your grub.conf appropriately to boot the newly created kernel.1. 2. 3. 4.Create the directory /kernel. U
University of Hawaii - Hilo - CENT - 253
CENT 252 ASSIGN 09AGRUB BOOTLOADERNAME _You are going to copy (not move!) your existing kernel and initrd to a new location, and modify your grub.conf appropriately to boot the newly created kernel. 1. Create the directory /kernel. 2. Use the c
University of Hawaii - Hilo - CENT - 253
CENT 252 ASSIGN 09BPart 1: Exploring /etc/inittabSYSTEM INITIALIZATIONNAME _1. As a precaution, make a backup of your /etc/inittab file, by copying it to the file /etc/inittab.prelab9b 2. Make the following changes to your /etc/inittab file. I
University of Hawaii - Hilo - CENT - 253
CENT 252 ASSIGN 09BPart 1: Exploring /etc/inittabSYSTEM INITIALIZATIONNAME _1. As a precaution, make a backup of your /etc/inittab file, by copying it to the file /etc/inittab.prelab9b 2. Make the following changes to your /etc/inittab file. I
University of Hawaii - Hilo - CENT - 253
CENT 252 ASSIGN 10BSWAP SPACE AND TUNINGNAME _Part 1: This exercise will use the first partition created in the previous assignment. The next to the last partition of the specified drive should be about 128 megabytes in size, and have a partiti
University of Hawaii - Hilo - CENT - 253
CENT 252 ASSIGN 10BSWAP SPACE AND TUNINGNAME _Part 1: This exercise will use the first partition created in the previous assignment. The next to the last partition of the specified drive should be about 128 megabytes in size, and have a partiti
University of Hawaii - Hilo - CENT - 253
CENT 252 ASSIGN 10C PACKAGE MANAGEMENT NAME _ Part 1:In this part, you will use the rpm package management tool to install and update a package file (or a set as needed).1. Using the Fedora Core 4 web site, http:/download.fedora.redhat.com/pub/fedor
University of Hawaii - Hilo - CENT - 253
CENT 252 ASSIGN 10CPACKAGE MANAGEMENTNAME _Part 1:In this part, you will use the rpm package management tool to install and update a package file (or a set as needed).1. Using the Fedora Core 4 web site, http:/download.fedora.redhat.com/pub/fe
University of Hawaii - Hilo - CENT - 253
CENT 252 ASSIGN 11Agroupadd groupnameUSER & GROUP ACCOUNTSNAME _Part 1: In this exercise, you will be adding users to groups. If the group you need does not exist, you will have to make it using the groupadd command. It is very simple and take
University of Hawaii - Hilo - CENT - 253
CENT 252 ASSIGN 11AUSER & GROUP ACCOUNTSNAME _Part 1: In this exercise, you will be adding users to groups. If the group you need does not exist, you will have to make it using the groupadd command. It is very simple and takes only one argument