Spring 2007 Vmware and Linux kernel COMS W4118 Columbia University.

Slides:



Advertisements
Similar presentations
Drivers and the kernel1-1 Drivers and the kernel UNIX system has three layers: m The hardware m The operating system kernel m The user-level programs Kernel.
Advertisements

1 Virtualization, Compilation, Intro to Project 2 Sarah Diesburg 9/15/2010 COP4610 / CGS5765.
1 Dynamic DNS. 2 Module - Dynamic DNS ♦ Overview The domain names and IP addresses of hosts and the devices may change for many reasons. This module focuses.
Linux Boot Loaders. ♦ Overview A boot loader is a small program that exists in the system and loads the operating system into the system’s memory at system.
Booting and Shuting Down WeeSan Lee. Roadmap Bootstrapping Boot Loaders Startup/Init Scripts Reboot & Shutdown Q&A.
Linux can be generally divided into four major components: 1. KERNEL – OS, ultimate boss The kernel is the core program that runs programs and manages.
Booting the Linux Kernel Dr. Michael L. Collard 1.
CIS238/DL1 Chapter 15 Rebuilding the Linux Kernel Preparing the Source Code Locating the Source Code Installing the Source Code Read the Documentation.
Chapter Apache Installation on Linux. Acknowledgement The contribution made by Darrin Morison is acknowledged.
Project 0, Linux Dabbling CS-3013 A-term Project 0: Linux & Virtual Machine Dabbling CS-3013, Operating Systems.
S.Ha.R.K. Workshop28/02/05 S.Ha.R.K. Installation HowTo Tullio Facchinetti University of Pavia - Italy.
Project 0: Linux & VM Dabbling CS-3013, C-term Project 0: Linux & Virtual Machine Dabbling CS-3013, Operating Systems.
Project 0: Linux & VM Dabbling CS-502, Fall Project 0: Linux & Virtual Machine Dabbling CS-502, Operating Systems.
Project 0 -- Linux Dabbling CS-502 (EMC) Fall Project 0 Linux & Virtual Machine Dabbling CS-502, Operating Systems Fall 2009 (EMC)
Project 0 -- Linux Dabbling CS-3013 A-term Project 0 Linux & Virtual Machine Dabbling CS-3013, Operating Systems.
Virtual Machine and UNIX. What is a VM? VM stands for Virtual Machine. It is a software emulation of hardware. By using a VM, you can have the same hardware.
To run the program: To run the program: You need the OS: You need the OS:
Installing VMware & the Data ONTAP Simulator SE Technical Academy.
Modifying Network Packet Buffering in Network Layer CS518 Final Presentation and Instruction Guide Li Zhang.
Kernel Development using Virtualization Installing VMWare and using a virtual machine to build and test a Linux Kernel.
bWAPP – Bee Bug – Installation
CIS 191 – Lesson 2 System Administration. CIS 191 – Lesson 2 System Architecture Component Architecture –The OS provides the simple components from which.
LOGO Linux Installation. Linux Distribution Including shells, libraries, tools, compiler, servers, applications. Redhat, Fedora, Mandrake, SuSE, Debian,
COSC 4750 Customizing and maintenance. Installing software Redhat/Fedora (and linux in general) has a package installer, called rpm Many programs will.
Exercise #1: Exploring Open- Source Operating Systems with Virtual Machines J. H. Wang Mar. 9, 2010.
File system, VFS and Virtualization. A simple description of the UNIX system, also applicable to Linux, is this: "On a UNIX system, everything is a file;
1 Installation When this module is complete, you will be able to:  Set a static IP address for your laptop  Install the snom ONE software  Navigate.
09/21/081 Ho Chi Minh city University of Technology Linux kernel R.M. Introduction of building Linux kernel from source.
CS 444 Introduction to Operating Systems
Xen Basics A Primer for the CPS 110 Programming Assignments Angela Dalton.
CSE 451 – Operating Systems Section, Winter 2003 Scapegoats: Evan Welbourne Albert J. Wong
UNIX (Linux) Introduction Module-1. OS Kernel In computing, the kernel is the central component of OS. It is a bridge between applications and the actual.
CIS Lesson 5 Lesson 5 New Skills Boot time GRUB edits (review) Changing BIOS boot order on a VM (review) Mounting CD ISO and floppy Image files on.
OS Project 0 February 25, Outline  Linux Installation  Linux Kernel Compilation  System Call Development  Kernel Modules / 452.
Set up environment for mapreduce developing on Hadoop.
LOGO Linux Installation. Linux Distribution Including shells, libraries, tools, compiler, servers, applications. Redhat, Fedora, Mandrake, SuSE, Debian,
Linux Kernel Programming (LKP). LKP New sub-course New sub-course We will learn together We will learn together Evaluation of this part of course will.
Linux Operation System Computer Operation Manual.
The Linux Operating System R.Bigelow. What is an Operating System An operating system is a collection of programs that manage a computer's resources.
Virtual Machines Module 2. Objectives Define virtual machine Define common terminology Identify advantages and disadvantages Determine what software is.
1 Setup and Compile Linux Kernel Speaker: Yi-Ji Jheng Date:
Let's build a VMM service template from A to Z in one hour Damien Caro Technical Evangelist Microsoft Central & Eastern Europe
C Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup Additional Installation Topics.
Rebuilding Linux Kernel Dedicated to penguin lovers everywhere 26 September 20161Rebuilding kernel by Visakh M R.
Linux Administration – Finding You Way on the Command Line The Linux File Directory or Tree.
Using Linux Kaya Oğuz Room: 310.
Getting Started with Linux
The GRUB bootloader Michael Opdenacker Thomas Petazzoni Free Electrons
Operating System Kernel Compilation
Homework Reading Assignment Lab 1 Get ready for mp1
Linux 101 Training Module Linux Basics.
OS Homework 1 February 22, 2017.
Set up environment for mapreduce developing on Hadoop
UBUNTU INSTALLATION
CIT 480: Securing Computer Systems
Drivers and the kernel UNIX system has three layers: Kernel
linux and related thing
Lab 1 introduction, debrief
Project 0: Linux and Virtual Machine Dabbling
Operating System Kernel Compilation
The Linux Command Line Chapter 2
SAPC Hardware Pentium CPU (or 486) 4M usable memory
Project 0: Linux & Virtual Machine Dabbling
HiCommand Device Manager
Build A New Kernel and Add New System Calls in A Linux OS
COP 4343 Unix System Administration
Linux Operation System
Operating System Kernel Compilation
RHCSA Study Prep.
DIBBs Brown Dog Tutorial Setup
Presentation transcript:

Spring 2007 Vmware and Linux kernel COMS W4118 Columbia University

Spring 2007 Login to your assigned CLIC machine  Find your vmware account from the file “Vmware account assignment” in coursework shared files folder. Example: primary: os140 : zc2109 backup: os141 : zc2109

Spring 2007 Login to your assigned CLIC machine  According to your account, find your assigned CLIC machines from the file “Vmware machines in CLIC” in coursework shared files folder. Example: Machines VM1 VM2 VM3 VM4 VM5 lisbon.clic.cs.columbia.edu

Spring 2007 Login to your assigned CLIC machine  Login to your assigned CLIC machine with the command ssh – X yourmachine.clic.cs.columbia.edu or ssh – Y yourmachine.clic.cs.columbia.edu

Spring 2007 Prepare your vmware  After logging in to your assigned machine, create a folder named “.vmware” in your home directory by command: mkdir.vmware  Copy the license to your “.vmware” directory cp ~w4118/vmware/license.ws.5.0.vmware/

Spring 2007 Get Linux kernel source code  Copy the Linux kernel source code to a temporary location, like the current work directory cp ~w4118/vmware/linux tar.bz2./  Copy the kernel compilation configure to a temporary location cp ~w4118/vmware/config /

Spring 2007 Start your vmware  From your designated machine, run vmware vmware  Load the vm from your assigned directory. File -> open -> filesystem -> /vmware[x] -> linux.vmx  Select power on, start your linux in vmware User: root Pwd: osw4118

Spring 2007 Vmware IP address  Get your vmware IP address From inside the vm, type command "ifconfig" to get the IP If you don't see an IP like xxx type "dhclient"

Spring 2007 Copy file into vmware  Copy linux kernel source code into your vmware From the host system, your assigned CLIC machine scp linux tar.bz2  Copy linux configure file into vmware scp config :

Spring 2007 Compile the kernel Inside your vmware  Untar the source: tar xvjf linux tar.bz2  Copy config into the folder linux as ".config" cp config linux /  Make linked copy of the source code dir: cp -al linux / linux pudding

Spring 2007 Compile your kernel  Create configuration for your kernel compilation From inside linux pudding, type command make oldconfig  Compile the kernel 1. make 2. make modules 3. make modules_install Now verify that /lib/modules/ was created

Spring 2007 Make an entry for your kernel  Type command depmod –ae  Create initial image for preload modules mkinitrd /boot/initrd img Now verify that /boot/initrd img was created

Spring 2007 Make an entry for your kernel  cp linux pudding/arch/i386/boot/ bzImage /boot/vmlinuz.hmwk1  Modify grub loader (/boot/grub/grub.conf), add entry: title HW1 Kernel root (hd0,0) kernel /vmlinuz.hmwk1 ro root=/dev/VolGroup00/LogVol00 initrd /initrd img

Spring 2007 Start your kernel Reboot and Start your new kernel