Clonezilla is an open-source disk and partition imaging/cloning application similar to commercial tools like Ghost and Acronis True Image. It can be used to clone hard drives, restore disk images, and deploy images across multiple systems. The presentation discusses Clonezilla features, how it works, related projects like DRBL-Winroll and Cloudboot, and use cases like mass deployment and bare metal recovery. It also provides information on the Clonezilla team and community.
OpenSolaris is an open source operating system based on Solaris with new releases every 6 months. It includes features like ZFS, Dtrace, zones, and more from Solaris. New features in OpenSolaris 2008.11 include improvements to the desktop, ZFS timeslider, package management, and multimedia support. The presentation concludes with a demonstration of new OpenSolaris features and information on resources for learning more.
Bringing up Android on your favorite X86 Workstation or VM (AnDevCon Boston, ...Ron Munitz
My session at AnDevCon Bostong, May 2013, Boston, MA.
This class introduces the concepts of AOSP and how to use it in order to configure and build one of the most popular Android devices available: The Android emulator, for an x86 target. You will then learn a reincarnation of the AOSP, intended to bring Android to as many x86 devices as possible. You will see its structure and compare it with the AOSP, and demonstrate how such a build works within Virtual Box, QEMU and more.
LEVEL: Intermediate
TOPIC AREA: Embedded Android
For Training/Consulting requests: info@thepscg.com
This document provides instructions for installing Oracle Applications R12 (12.1.3) on a Linux (64-bit) system. It describes downloading and unzipping the installation files, performing pre-install tasks like configuring disk space and software requirements, and outlines the installation process including setting environment variables and the directory structure. It also covers upgrading an existing 12.1.3 installation with a patch and provides solutions for potential issues that may occur.
This document provides instructions for configuring Distributed Replicated Block Device (DRBD) to create a high availability cluster between two servers. It discusses mirroring a block device via the network to provide network-based RAID 1 functionality. The document outlines the steps to install and configure DRBD, including installing packages, configuring resources, initializing metadata storage, starting the DRBD service, and creating a filesystem on the mirrored block device. It also provides requirements for DRBD and a sample installation script.
This document provides an outline for a FreeBSD training course. It covers topics such as why to use FreeBSD and UNIX, installing FreeBSD 10.2, disk partitioning, the directory structure, basic commands, creating and managing user accounts, and configuring networking, filesystems, and services. The outline is divided into multiple sections with subsections covering specific commands, configuration files, and how to accomplish tasks like installing software and shutting down the system.
The document provides an overview of FreeBSD, ZFS, and FreeNAS. It discusses FreeBSD features such as UFS2, ZFS, jails, security auditing, and PC-BSD. It also summarizes ZFS versions and features like snapshots, cloning, and RAID types. Finally, it outlines FreeNAS features like protocols, services, reporting, and the new TrueNAS hardware solution.
Building android for the Cloud: Android as a Server (AnDevConBoston 2014)Ron Munitz
My session at AnDevCon, May 2014, Boston, MA
In the cloud era, most software projects have shifted from asking "What hardware architecture should be chosen for my back-end?" to "Which cloud configuration should be used for my back-end?" Bringing up a cloud server has become an obvious choice for any Linux or Windows-based deployment. As Android emerges as the new Embedded Linux for a growing number of industries, it only makes sense to consider its cloud application as a server.
In this class, we will discuss why and how Android can be brought on the cloud system, and on any cloud infrastructure, using AWS (Amazon Web Services) as an example.
LEVEL: Intermediate
AUDIENCE: Developer Essentials
For Training/Consulting requests: info@thepscg.com
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1Osama Mustafa
The document provides step-by-step instructions to install Oracle Grid Infrastructure 11g Release 2 (11.2.0.3) on Solaris 11.1. It describes preparing the OS by creating users, groups and directories. It also covers configuring networking, disks and memory parameters. The main steps are: installing Grid software and configuring ASM, followed by installing the Oracle Database and configuring it on the RAC nodes using dbca. Setting up SSH access between nodes and troubleshooting installation errors are also addressed. The goal is to build a fully configured two-node Oracle RAC environment with ASM and single sign-on capabilities.
OpenSolaris is an open source operating system based on Solaris with new releases every 6 months. It includes features like ZFS, Dtrace, zones, and more from Solaris. New features in OpenSolaris 2008.11 include improvements to the desktop, ZFS timeslider, package management, and multimedia support. The presentation concludes with a demonstration of new OpenSolaris features and information on resources for learning more.
Bringing up Android on your favorite X86 Workstation or VM (AnDevCon Boston, ...Ron Munitz
My session at AnDevCon Bostong, May 2013, Boston, MA.
This class introduces the concepts of AOSP and how to use it in order to configure and build one of the most popular Android devices available: The Android emulator, for an x86 target. You will then learn a reincarnation of the AOSP, intended to bring Android to as many x86 devices as possible. You will see its structure and compare it with the AOSP, and demonstrate how such a build works within Virtual Box, QEMU and more.
LEVEL: Intermediate
TOPIC AREA: Embedded Android
For Training/Consulting requests: info@thepscg.com
This document provides instructions for installing Oracle Applications R12 (12.1.3) on a Linux (64-bit) system. It describes downloading and unzipping the installation files, performing pre-install tasks like configuring disk space and software requirements, and outlines the installation process including setting environment variables and the directory structure. It also covers upgrading an existing 12.1.3 installation with a patch and provides solutions for potential issues that may occur.
This document provides instructions for configuring Distributed Replicated Block Device (DRBD) to create a high availability cluster between two servers. It discusses mirroring a block device via the network to provide network-based RAID 1 functionality. The document outlines the steps to install and configure DRBD, including installing packages, configuring resources, initializing metadata storage, starting the DRBD service, and creating a filesystem on the mirrored block device. It also provides requirements for DRBD and a sample installation script.
This document provides an outline for a FreeBSD training course. It covers topics such as why to use FreeBSD and UNIX, installing FreeBSD 10.2, disk partitioning, the directory structure, basic commands, creating and managing user accounts, and configuring networking, filesystems, and services. The outline is divided into multiple sections with subsections covering specific commands, configuration files, and how to accomplish tasks like installing software and shutting down the system.
The document provides an overview of FreeBSD, ZFS, and FreeNAS. It discusses FreeBSD features such as UFS2, ZFS, jails, security auditing, and PC-BSD. It also summarizes ZFS versions and features like snapshots, cloning, and RAID types. Finally, it outlines FreeNAS features like protocols, services, reporting, and the new TrueNAS hardware solution.
Building android for the Cloud: Android as a Server (AnDevConBoston 2014)Ron Munitz
My session at AnDevCon, May 2014, Boston, MA
In the cloud era, most software projects have shifted from asking "What hardware architecture should be chosen for my back-end?" to "Which cloud configuration should be used for my back-end?" Bringing up a cloud server has become an obvious choice for any Linux or Windows-based deployment. As Android emerges as the new Embedded Linux for a growing number of industries, it only makes sense to consider its cloud application as a server.
In this class, we will discuss why and how Android can be brought on the cloud system, and on any cloud infrastructure, using AWS (Amazon Web Services) as an example.
LEVEL: Intermediate
AUDIENCE: Developer Essentials
For Training/Consulting requests: info@thepscg.com
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1Osama Mustafa
The document provides step-by-step instructions to install Oracle Grid Infrastructure 11g Release 2 (11.2.0.3) on Solaris 11.1. It describes preparing the OS by creating users, groups and directories. It also covers configuring networking, disks and memory parameters. The main steps are: installing Grid software and configuring ASM, followed by installing the Oracle Database and configuring it on the RAC nodes using dbca. Setting up SSH access between nodes and troubleshooting installation errors are also addressed. The goal is to build a fully configured two-node Oracle RAC environment with ASM and single sign-on capabilities.
Let Me Pick Your Brain - Remote Forensics in Hardened EnvironmentsNicolas Collery
Full Disk Encryption (FDE) may be rather useful as a defense mechanism against potential theft of a computer system. Usually such protections comes with some levels of hardening like removing administrative rights. However, when the system is compromised and requires careful forensic analysis, FDE and hardening can be quite painful to forensic analysts. This presentation delivered at IIC-SG-2018 (Infosec In the City - Singapore) and at Div0 (Division0 local security meetup) highlights few techniques to let a remote analyst perform investigations.
https://www.infosec-city.com
https://www.meetup.com/div-zero/
This document discusses various options for building and managing computer clusters, including do-it-yourself (DIY) clusters, pre-configured solutions like OSCAR and Rocks, and Microsoft solutions. It provides overviews of the software and processes for setting up and maintaining these different types of clusters.
Remix of two other open source presentations along with my own content, 40 slides set to play at 20 seconds auto-timed (similar to Pecha-Kucha style timing). This was delivered via Caribbean Tech Dev forum's monthly Google Hangout in November 2015, and video can be viewed at https://www.youtube.com/watch?v=xANrsSin_-0
This document discusses container technologies including App Container (appc) and rkt. It provides an overview of appc components like the image format, discovery, and executor. It then discusses rkt, an implementation of appc, describing its modular architecture with stages 0-2 and use of systemd and cgroups for isolation. It also touches on rkt security, networking, and integration with systemd and user namespaces.
Orchestrated Android-Style System Upgrades for Embedded LinuxKynetics
This document summarizes Diego Rondini's presentation at the Embedded Linux Conference Europe 2017 in Prague about orchestrating Android-style system upgrades for embedded Linux.
The presentation discussed [1] managing and deploying software updates on embedded Linux devices in a way similar to how Android handles over-the-air updates, [2] using the SWUpdate tool and Eclipse hawkBit for updating devices, and [3] their implementation of an "Update Factory" to remotely manage and deploy updates across a fleet of devices like Android. A demo was also promised.
Orchestrated Android-Style System Upgrades for Embedded LinuxNicolaLaGloria
This document summarizes Diego Rondini's presentation at the Embedded Linux Conference Europe 2017 in Prague about orchestrating Android-style system upgrades for embedded Linux. The presentation covered:
[1] Managing and deploying software updates on embedded Linux devices in a way that is similar to how Android handles over-the-air updates. This involves using SWUpdate to run updates from a recovery partition and Eclipse hawkBit for remote management and rollout campaigns.
[2] The architecture of "Update Factory" which implements the missing pieces to provide an Android-like OTA experience on embedded Linux, including device to cloud communication, bootloader coordination, a recovery partition and more.
[3] How SWUpdate can be used
Systemd: the modern Linux init system you will learn to loveAlison Chaiken
The talk combines a design overview of systemd with some tutorial incofrmation about how to configure it. Systemd's features and pitfalls are illustrated by short demos and real-life examples. Files used in the demos are listed under "Presentations" at http://she-devel.com/
Video of the live presentation will appear here:
http://www.meetup.com/Silicon-Valley-Linux-Technology/events/208133972/
OpenNebulaConf 2016 - Storage Hands-on Workshop by Javier Fontán, OpenNebulaOpenNebula Project
In this 90-minute hands-on workshop, some of the key contributors to OpenNebula will walk attendees through the configuration and integration aspects of the storage subsystem in OpenNebula. The session will also include lightning talks by community members describing aspects related to Storage with OpenNebula:
Deployment scenarios
Integration
Tuning & debugging
Best practices
Android As a Server- Building Android for the Cloud (AnDevCon SF 2013)Ron Munitz
My session in AnDevcon, November 2011, Burlingame, CA.
In the cloud era, most software projects have shifted from asking "What hardware architecture should be chosen for my back-end?" to "Which cloud configuration should be used for my back-end?" Bringing up a cloud server has become an obvious choice for any Linux or Windows-based deployment. As Android emerges as the new Embedded Linux for a growing number of industries, it only makes sense to consider its cloud application as a server.
In this class, we will discuss why and how Android can be brought on the cloud system, and on any cloud infrastructure, using AWS (Amazon Web Services) as an example.
LEVEL: Intermediate
AUDIENCE: Developer Essentials
For Training/Consulting requests: info@thepscg.com
This document provides an overview of the UNIX operating system. It begins with information about the lecture and preparation of materials. It then discusses the history of UNIX and differences between various UNIX variants such as AIX, FreeBSD, HP-UX, Linux, Solaris, and Tru64. It also covers the UNIX directory structure and userland components such as logging in, commands, and treating all system resources as files. The document promotes the UNIX philosophy of small, modular programs and using text files and pipes for communication.
This document discusses access control lists (ACLs) and how they are implemented across different platforms and file systems. It provides a history of ACL implementations including POSIX ACLs, NTFS ACLs, and NFSv4 ACLs. It also discusses specifics of how ACLs are supported and some issues that can arise with ACLs on the author's NetApp and FreeBSD environments. Overall, the document aims to educate about ACL standards and interoperability challenges across platforms.
Building Android for the Cloud: Android as a Server (Mobile World Congress 2014)Ron Munitz
My session in the Mobile World Congress WIPJam, Barcelona 2014.
In the cloud era, most software projects have shifted from asking "What hardware architecture should be chosen for my backend?" to "Which cloud configuration should be used for my backend?" Bringing up a cloud server has become an obvious choice for any Linux- or Windows-based deployment. As Android emerges as the new Embedded Linux for a growing number of industries, it only makes sense to consider its cloud application as a server. This session will discuss why and how Android can be brought on the cloud system, and on any cloud infrastructure, using AWS (Amazon Web Services) as an example.
Hp ux-11iv3-multiple-clones-with-dynamic-root-disks-dusan-baljevic-mar2014Circling Cycle
The document describes how to create multiple clones of a target system disk on HP-UX 11iv3 using Dynamic Root Disk (DRD). It shows creating a first clone on disk5, then a second clone on disk6, both cloning from the original system on disk7. Commands are provided to check the clone status and device mappings. The goal is to demonstrate that previous DRD clones, like disk5, can be reused to create additional clones on new disks.
Docker and friends at Linux Days 2014 in Praguetomasbart
Docker allows deploying applications easily across various environments by packaging them along with their dependencies into standardized units called containers. It provides isolation and security while allowing higher density and lower overhead than virtual machines. Core OS and Mesos both integrate with Docker to deploy containers on clusters of machines for scalability and high availability.
The document provides an overview of User Mode Linux (UML), including what it is, how it works, alternatives, and how to use it. UML allows running the Linux kernel as a userspace process, enabling uses like kernel debugging, security testing, and hosting virtual servers. It works by modifying the host kernel to create separate address spaces for guest kernels and processes using hardware virtualization. Key components discussed include filesystems, networking using TUN/TAP devices, management scripts, backups using LVM snapshots and blocksync, and network monitoring tools like MRTG and iftop.
Talk from Embedded Linux Conference, http://elcabs2015.sched.org/event/551ba3cdefe2d37c478810ef47d4ca4c?iframe=no&w=i:0;&sidebar=yes&bg=no#.VRUCknSQQQs
This document provides an overview of setting up a Splunk environment, including installation, configuration, and deployment options. It discusses installing Splunk Enterprise or Universal Forwarder software, enabling Splunk to run at system startup, and optionally configuring the Distributed Management Console. Recommendations are provided for system prerequisites like hardware sizing, ports, and time synchronization across servers. Standalone, distributed, and universal forwarder deployment models are introduced at a high level.
Let Me Pick Your Brain - Remote Forensics in Hardened EnvironmentsNicolas Collery
Full Disk Encryption (FDE) may be rather useful as a defense mechanism against potential theft of a computer system. Usually such protections comes with some levels of hardening like removing administrative rights. However, when the system is compromised and requires careful forensic analysis, FDE and hardening can be quite painful to forensic analysts. This presentation delivered at IIC-SG-2018 (Infosec In the City - Singapore) and at Div0 (Division0 local security meetup) highlights few techniques to let a remote analyst perform investigations.
https://www.infosec-city.com
https://www.meetup.com/div-zero/
This document discusses various options for building and managing computer clusters, including do-it-yourself (DIY) clusters, pre-configured solutions like OSCAR and Rocks, and Microsoft solutions. It provides overviews of the software and processes for setting up and maintaining these different types of clusters.
Remix of two other open source presentations along with my own content, 40 slides set to play at 20 seconds auto-timed (similar to Pecha-Kucha style timing). This was delivered via Caribbean Tech Dev forum's monthly Google Hangout in November 2015, and video can be viewed at https://www.youtube.com/watch?v=xANrsSin_-0
This document discusses container technologies including App Container (appc) and rkt. It provides an overview of appc components like the image format, discovery, and executor. It then discusses rkt, an implementation of appc, describing its modular architecture with stages 0-2 and use of systemd and cgroups for isolation. It also touches on rkt security, networking, and integration with systemd and user namespaces.
Orchestrated Android-Style System Upgrades for Embedded LinuxKynetics
This document summarizes Diego Rondini's presentation at the Embedded Linux Conference Europe 2017 in Prague about orchestrating Android-style system upgrades for embedded Linux.
The presentation discussed [1] managing and deploying software updates on embedded Linux devices in a way similar to how Android handles over-the-air updates, [2] using the SWUpdate tool and Eclipse hawkBit for updating devices, and [3] their implementation of an "Update Factory" to remotely manage and deploy updates across a fleet of devices like Android. A demo was also promised.
Orchestrated Android-Style System Upgrades for Embedded LinuxNicolaLaGloria
This document summarizes Diego Rondini's presentation at the Embedded Linux Conference Europe 2017 in Prague about orchestrating Android-style system upgrades for embedded Linux. The presentation covered:
[1] Managing and deploying software updates on embedded Linux devices in a way that is similar to how Android handles over-the-air updates. This involves using SWUpdate to run updates from a recovery partition and Eclipse hawkBit for remote management and rollout campaigns.
[2] The architecture of "Update Factory" which implements the missing pieces to provide an Android-like OTA experience on embedded Linux, including device to cloud communication, bootloader coordination, a recovery partition and more.
[3] How SWUpdate can be used
Systemd: the modern Linux init system you will learn to loveAlison Chaiken
The talk combines a design overview of systemd with some tutorial incofrmation about how to configure it. Systemd's features and pitfalls are illustrated by short demos and real-life examples. Files used in the demos are listed under "Presentations" at http://she-devel.com/
Video of the live presentation will appear here:
http://www.meetup.com/Silicon-Valley-Linux-Technology/events/208133972/
OpenNebulaConf 2016 - Storage Hands-on Workshop by Javier Fontán, OpenNebulaOpenNebula Project
In this 90-minute hands-on workshop, some of the key contributors to OpenNebula will walk attendees through the configuration and integration aspects of the storage subsystem in OpenNebula. The session will also include lightning talks by community members describing aspects related to Storage with OpenNebula:
Deployment scenarios
Integration
Tuning & debugging
Best practices
Android As a Server- Building Android for the Cloud (AnDevCon SF 2013)Ron Munitz
My session in AnDevcon, November 2011, Burlingame, CA.
In the cloud era, most software projects have shifted from asking "What hardware architecture should be chosen for my back-end?" to "Which cloud configuration should be used for my back-end?" Bringing up a cloud server has become an obvious choice for any Linux or Windows-based deployment. As Android emerges as the new Embedded Linux for a growing number of industries, it only makes sense to consider its cloud application as a server.
In this class, we will discuss why and how Android can be brought on the cloud system, and on any cloud infrastructure, using AWS (Amazon Web Services) as an example.
LEVEL: Intermediate
AUDIENCE: Developer Essentials
For Training/Consulting requests: info@thepscg.com
This document provides an overview of the UNIX operating system. It begins with information about the lecture and preparation of materials. It then discusses the history of UNIX and differences between various UNIX variants such as AIX, FreeBSD, HP-UX, Linux, Solaris, and Tru64. It also covers the UNIX directory structure and userland components such as logging in, commands, and treating all system resources as files. The document promotes the UNIX philosophy of small, modular programs and using text files and pipes for communication.
This document discusses access control lists (ACLs) and how they are implemented across different platforms and file systems. It provides a history of ACL implementations including POSIX ACLs, NTFS ACLs, and NFSv4 ACLs. It also discusses specifics of how ACLs are supported and some issues that can arise with ACLs on the author's NetApp and FreeBSD environments. Overall, the document aims to educate about ACL standards and interoperability challenges across platforms.
Building Android for the Cloud: Android as a Server (Mobile World Congress 2014)Ron Munitz
My session in the Mobile World Congress WIPJam, Barcelona 2014.
In the cloud era, most software projects have shifted from asking "What hardware architecture should be chosen for my backend?" to "Which cloud configuration should be used for my backend?" Bringing up a cloud server has become an obvious choice for any Linux- or Windows-based deployment. As Android emerges as the new Embedded Linux for a growing number of industries, it only makes sense to consider its cloud application as a server. This session will discuss why and how Android can be brought on the cloud system, and on any cloud infrastructure, using AWS (Amazon Web Services) as an example.
Hp ux-11iv3-multiple-clones-with-dynamic-root-disks-dusan-baljevic-mar2014Circling Cycle
The document describes how to create multiple clones of a target system disk on HP-UX 11iv3 using Dynamic Root Disk (DRD). It shows creating a first clone on disk5, then a second clone on disk6, both cloning from the original system on disk7. Commands are provided to check the clone status and device mappings. The goal is to demonstrate that previous DRD clones, like disk5, can be reused to create additional clones on new disks.
Docker and friends at Linux Days 2014 in Praguetomasbart
Docker allows deploying applications easily across various environments by packaging them along with their dependencies into standardized units called containers. It provides isolation and security while allowing higher density and lower overhead than virtual machines. Core OS and Mesos both integrate with Docker to deploy containers on clusters of machines for scalability and high availability.
The document provides an overview of User Mode Linux (UML), including what it is, how it works, alternatives, and how to use it. UML allows running the Linux kernel as a userspace process, enabling uses like kernel debugging, security testing, and hosting virtual servers. It works by modifying the host kernel to create separate address spaces for guest kernels and processes using hardware virtualization. Key components discussed include filesystems, networking using TUN/TAP devices, management scripts, backups using LVM snapshots and blocksync, and network monitoring tools like MRTG and iftop.
Talk from Embedded Linux Conference, http://elcabs2015.sched.org/event/551ba3cdefe2d37c478810ef47d4ca4c?iframe=no&w=i:0;&sidebar=yes&bg=no#.VRUCknSQQQs
This document provides an overview of setting up a Splunk environment, including installation, configuration, and deployment options. It discusses installing Splunk Enterprise or Universal Forwarder software, enabling Splunk to run at system startup, and optionally configuring the Distributed Management Console. Recommendations are provided for system prerequisites like hardware sizing, ports, and time synchronization across servers. Standalone, distributed, and universal forwarder deployment models are introduced at a high level.
This document provides summaries of various security tools used in security operations centers. It describes the purpose and link for each tool, including Sooty for automating analyst workflows, Peepdf for analyzing PDF files, PyREBox for reverse engineering sandboxes, Fail2Ban for blocking brute force attacks, OSSEC for host-based intrusion detection, and Splunk for log management and analytics. Over 20 security tools in total are summarized.
004 - Logging in the Cloud -- hide01.ir.pptxnitinscribd
Logging is important for security, compliance, and operations in the cloud. There are two main types of logs - logs of resources in the cloud (data plane) and logs of API calls that control cloud resources (control plane). CloudTrail is the primary way to log control plane API calls in AWS and provides information about who performed actions, resources affected, and other context. When implementing logging, accounts should be structured with organizational units and logging policies to ensure all accounts are logged appropriately for security and compliance.
Budgets and budget alarms in AWS can provide early warnings about cloud costs. Cost Explorer allows viewing spending trends while budgets set daily spending limits and trigger alerts. Budget alarms can be automated using infrastructure as code tools like the AWS CDK which defines budgets and alarms declaratively in a programming language for easy replication. While budgets monitor overall spending, they do not detect specific low cost abuses so additional security automation may be needed.
002 - Account Setup _ Primer -- hide01.ir.pptxnitinscribd
The document provides instructions for setting up a foundational cloud security environment in AWS. It includes:
1. Generating a root user account, enabling multi-factor authentication (MFA), and locking it down by delegating access and configuring billing/contact settings.
2. Creating an IAM user to use for the majority of actions, requiring the user to enable MFA when assuming roles for access.
3. Installing tools like aws-vault to facilitate secure CLI access using short-lived credentials from assumed roles, avoiding the need to store long-term access keys.
001 - Get acquainted with the AWS platform -- hide01.ir.pptxnitinscribd
This document provides an introduction to security in AWS, including identifying primary AWS offerings and security concerns. It discusses several major data breaches in AWS caused by misconfigured access keys and permissions, including Code Spaces (2014), Uber (2017), Tesla (2018), and Capital One (2019). The key lessons are to apply security principles like least privilege and defense in depth, protect access keys, safeguard metadata, detect changes, and keep systems simple. Understanding past breaches can help implement proper detection and response controls.
The document discusses bypassing endpoint detection and response (EDR) systems. It begins with an introduction and agenda, then provides background on the evolution of endpoint security technologies. It describes how EDRs and antiviruses work, including userland hooking techniques. The document outlines various 2022 EDR bypass techniques such as direct system calls, unhooking, and .NET evasion. It focuses on researching techniques to bypass AM-PPL (Antimalware Protected Process Light) and describes how to bypass it by abusing a 2018 vulnerability in Object Manager directories.
KALYAN MATKA | MATKA RESULT | KALYAN MATKA TIPS | SATTA MATKA | MATKA.COM | MATKA PANA JODI TODAY | BATTA SATKA | MATKA PATTI JODI NUMBER | MATKA RESULTS | MATKA CHART | MATKA JODI | SATTA COM | FULL RATE GAME | MATKA GAME | MATKA WAPKA | ALL MATKA RESULT LIVE ONLINE | MATKA RESULT | KALYAN MATKA RESULT | DPBOSS MATKA 143 | MAIN MATKA
The cherry: beauty, softness, its heart-shaped plastic has inspired artists since Antiquity. Cherries and strawberries were considered the fruits of paradise and thus represented the souls of men.
Fashionista Chic Couture Maze & Coloring Adventures is a coloring and activity book filled with many maze games and coloring activities designed to delight and engage young fashion enthusiasts. Each page offers a unique blend of fashion-themed mazes and stylish illustrations to color, inspiring creativity and problem-solving skills in children.
This tutorial offers a step-by-step guide on how to effectively use Pinterest. It covers the basics such as account creation and navigation, as well as advanced techniques including creating eye-catching pins and optimizing your profile. The tutorial also explores collaboration and networking on the platform. With visual illustrations and clear instructions, this tutorial will equip you with the skills to navigate Pinterest confidently and achieve your goals.
❼❷⓿❺❻❷❽❷❼❽ Dpboss Kalyan Satta Matka Guessing Matka Result Main Bazar chart Final Matka Satta Matta Matka 143 Kalyan Chart Satta fix Jodi Kalyan Final ank Matka Boss Satta 143 Matka 420 Golden Matka Final Satta Kalyan Penal Chart Dpboss 143 Guessing Kalyan Night Chart
Boudoir photography, a genre that captures intimate and sensual images of individuals, has experienced significant transformation over the years, particularly in New York City (NYC). Known for its diversity and vibrant arts scene, NYC has been a hub for the evolution of various art forms, including boudoir photography. This article delves into the historical background, cultural significance, technological advancements, and the contemporary landscape of boudoir photography in NYC.
1. OSC Fall Tokyo, 2012 Clonezilla.org
Ceasar Sun, Steven Shiau,
Jazz Wang, Thomas Tsai
http://clonezilla.org, http://drbl.org
National Center for High-Performance Computing
Taiwan
Q3, 2012
Clonezilla :
A Next Generation Clone
Solution for Cloud
2. 2
OSC Fall Tokyo, 2012 Clonezilla.org
Outline
Introduction to Clonezilla
A Quick Demo as a Begining
Feature/How/Limitation/Image Architecture
Comparison with Live and Sever Edition(SE)
A Toolkit for Windows Mass Deployment : DRBL-
Winroll
A Possible Solution in Cloud : Cloudboot
Cases of Usages
Unattended Recovery CD or USB
Mass Deployment with Multicast by SE
One Image to Multi Devices Deployment
Q&A
3. 3
OSC Fall Tokyo, 2012 Clonezilla.org
Outline
Introduction to Clonezilla
A Quick Demo as a Begining
Feature/How/Limitation/Image Architecture
Comparison with Live and Sever Edition(SE)
A Toolkit for Windows Mass Deployment : DRBL-
Winroll
A Possible Solution in Cloud : Cloudboot
Cases of Usages
Unattended Recovery CD or USB Tool
Mass Deployment with Multicast by SE
One Image to Multi Devices Deployment
Q&A
4. 4
OSC Fall Tokyo, 2012 Clonezilla.org
About us
● From Taiwan, working for the NPO
NCHC (National Center for High-
Performance Computing)
● Developers of free/open-source
software:
– DRBL, Clonezilla
– DRBL-Winroll, Tux2live
– Partclone, Tuxboot,
Cloudboot
– ... more
Taiwan image source: wikipedia.org
5. 5
OSC Fall Tokyo, 2012 Clonezilla.org
What is Clonezilla?
● A partition and disk imaging/cloning utility similar to
Ghost® and True image®
● A bare metal recovery tool for
*Logo source: (1) Larry Ewing, Simon Budig and Anja Gerwinski, (2) Apple ,(3) Microsoft,
(4) Marshall Kirk McKusick, (5) VMWare
*1 *2 *3 *4 *5
VMFS
VMFS
VMware
ESX/ESXi
6. 6
OSC Fall Tokyo, 2012 Clonezilla.org
A Quick Demo as a Begining
● Restore a bare hard disk by Clonezilla Live
– http://clonezilla.org/clonezilla-live.php
● A pre-saving image Ubuntu 12.04 system
– Text mode only. The whole system uses about 1.0 GB s
pace. Using grub2 as boot loader.
– /dev/sda1 is used as swap partition
– /dev/sda2 on / and /dev/sda3 on /home with ext4 and rei
serfs
● Use sshfs as repository
7. 7
OSC Fall Tokyo, 2012 Clonezilla.org
Clonezilla ( 再生龍 )
● Clonezilla [OCS (Opensource Clone System)]
– Integrate Partclone (http://partclone.org/), Partimage,
ntfsclone and udpcast1
(http://udpcast.linux.lu/)
● What does it handle ?
– Physical data : basic unit is partition, then LVM, and part of
hardware RAID
– Partition table / Boot sector : (MBR:446+64+2, GPT, EFI)
– Hidden data : data between boot sector and 1st
partition
● Block-based recovery, is different from
– File base recovery : Differential / Incremental backup
– Hardware recovery (recovery card) : Instant recovery
● Two kind of release
– Live edition
– Server edition (SE)
8. 8
OSC Fall Tokyo, 2012 Clonezilla.org
Clonezilla Feature
● Free (GPL) Software
● File systems supported:
– Ext2/3/4, ReiserFS, Reiser4, XFS, JFS, BrtFS, HFS+, UFS,
VMFS, FAT and NTFS
– Supports LVM2
– Support some hardware RAID chips (by kernel)
● Smart copying for supported filesystem. For unsupported file
systems sector-to-sector copying is done via dd.
● Boot loader : syslinux, grub 1/2 ; MBR and hidden data (if exist)
● Serial console
● Unattended mode
● One image restoring to multiple local devices
● Multicast supported in Clonezilla Server Edition (SE)
● The image format is transparent, open and flexible
● Use Clonezilla-live as client OS on server edition
9. 9
Start
Read image
Create partition table
Find the
image
of device
Create LV if LV image
found in image dir
End
YES
Restore the
image of
device to device
Tune the file
file system size
to fit partition size
Reinstall grub
if assigned
NO
Decide
device
imaging
engine
partclone
ntfsclone
partimage
Start
Parse partition table
End
NO
Find the file
system of
device
YES
Smart copying?
Decide
device
imaging
engine
YES
Use dd to
save
image to
stdout
NO
Decide
compressing
engine
Save stdin as file in
the image dir
Save MBR/GPT data
Save partition table
Save hardware info
partclone
ntfsclone
partimage
Save device image
to stdout
gzip/pigz
bzip2/pbzip2
Find the
Device
(partition/L
V)
xz/pxz
lzip/plzip
lzma
lzo
Save and Restore procedure of Clonezilla
Flow chart
about restoring
disk image
Flow chart
about saving
disk image
Imaging and compressing engines can be easily added
10. 10
OSC Fall Tokyo, 2012 Clonezilla.org
Open and Flexible Format of Clonezilla Image
hardware information
image name
real data of partition
partition info from parted and sfdisk
Use dd to save MBR and
other hidden data
disk C.H.S. value via sfdisk
UUID and label info of sda2 (swap partition)
root@debian:~# ls alFh /home/partimag/lucidimg/
total 220M
drwxrxrx 2 root root 512 07:12 ./
drwxrxrx 7 root root 168 07:12 ../
rwrr 1 root root 420 07:12 disk
rwrr 1 root root 34K 07:12 Infodmi.txt
rwrr 1 root root 18K 07:12 Infolshw.txt
rwrr 1 root root 1.4K 07:12 Infolspci.txt
rwrr 1 root root 260 07:12 Infopackages.txt
rwrr 1 root root 10 07:12 parts
rw 1 root root 216M 07:12 sda1.ext4ptclimg.gz.aa
rw 1 root root 2.3M 07:12 sda5.ext4ptclimg.gz.aa
rwrr 1 root root 36 07:11 sdachs.sf
rwrr 1 root root 1.0M 07:11 sdahiddendataaftermbr
rwrr 1 root root 512 07:11 sdambr
rwrr 1 root root 434 07:11 sdapt.parted
rwrr 1 root root 310 07:11 sdapt.sf
rwrr 1 root root 53 07:12 swapptsda2.info
11. OSC Fall Tokyo, 2012 Clonezilla.org
Comparison :
Live vs SE(Server Edition)
Live SE(Server Edition)
Support The same for:
File system, LVM/Boot loader/Hidden data
Installation None, just boot and go
Need to install DRBL
package
(or use DRBL Live , but still need
to configure)
Basic OS Debian/Ubuntu Depends on OS installed
Multicast/
Broadcast
None
(still “udpcast” package
included, only be used on SE*)
Yes
(only unicast can be used when
image save)
Portable Easy Hard
Extra effort
● Storage preparation
● Step by step via user
● Installation, configuration
● pxe/etherboot required in
clients
Usage
● Single machine usage
● System recovery CD/DVD
● Mass deployment
● Central management
12. 12
OSC Fall Tokyo, 2012 Clonezilla.org
Developers
● Steven Shiau
● K. L. Huang
● Ceasar Sun
● Jazz Wang
● Thomas Tsai
● Jean-Francois Nifenecker
● Louie Chen
● Nagappan Alagappan
13. 13
OSC Fall Tokyo, 2012 Clonezilla.org
Language File Contributors
● English (en_US): Dylan Pack.
● German (de_DE): Michael Vinzenz.
● Spanish (es_ES): Juan Ramón Martínez and Alex Ibáñez López.
● French (fr_FR): Jean-Francois Nifenecker and Jean Francois
Martinez.
● Italian (it_IT): Gianfranco Gentili.
● Japanese (ja_JP): Akira Yoshiyama and Annie Wei.
● Brazilian Portuguese (pt_BR): Marcos Pereira da Silva Cruz.
● Russian (ru_RU): Anton Pryadko and Igor Melnikov.
● Simplified Chinese
(zh_CN): Zhiqiang
Zhang and Liang Qi.
● Traditional Chinese
(zh_TW): T. C. Lin.
14. 14
OSC Fall Tokyo, 2012 Clonezilla.org
Bugs Report/Patches
● cbeazer
● nj-dude
● Asou Y.S. Chang
● Manuel Borchers
● Miracle Linux corporation
● Bill Marohn
● Orgad Shaneh
● Chris Cooper
● lukas666
● John Ouzts
● Juergen Chiu
● username8
● martinr88
● Yung-Jen Yu
● jeff-aptimize
● gsusterman
● wellurs
● dersucker
● Patrick Verner
● Adam Walker
● ...
15. 15
OSC Fall Tokyo, 2012 Clonezilla.org
Partners
● The following companies either embed Clonezilla in
their products or promote Clonezilla:
– Linmin
– eRacks Open Source Systems
– Miracle Linux
● Clonezilla/DRBL are members of OIN (Open
Invention Network)
17. OSC Fall Tokyo, 2012 Clonezilla.org
DRBL-Winroll:
A toolkit for MS-Windows Mass Deployment
● Goal
– Adjust Windows Hostname, Workgroup name, SID
automatically
● For working in MS Network (Neighborhood)/NetBIOS protocol
– Provide network auto-setup function
– Provide auto-add to AD domain functionNEW from v1.3.0
– Provide system monitor function in Windows clientsNEW from v1.3.1
– Provide central management via ssh command
● Via ssh daemon
● Feature
– Windows application : easy to install
– Independent service : Only need a DHCP server on LAN (or
use auto-network configuration )
– Suit for mass deployment clone tool (ex: Clonezilla, Ghost,
Acronis True Image)
– Central management via ssh (ex; 'dcs' command in DRBL)
18. OSC Fall Tokyo, 2012 Clonezilla.org
DRBL-Winroll Framework
MS Windows
winroll.conf
winrollsrv
service
Windows registry
* Hostname/Workgr
oup name adjustmen
t
* Network configure
* Add client to AD
* Renew SID
Commands via ssh
sshd
service
* ssh authorization
by key
* execute command Central manage :
* Poweron/off
monitor
service
* Collect system
information by
Munin Node
19. OSC Fall Tokyo, 2012 Clonezilla.org
Cloudboot -
A framework for booting from cloud resource
Feature
● A framework : Allow PCs to boot from cloud
resources
● Booting special system or utility on any computer
with a wired Internet connection
● DRBL Live, Clonezilla Live, GParted, … etc
● Linux netinstall
● Easy to build your private Cloudboot service
● Ready for global Cloudboot
● Developing, beta version
● License - GNU General Public License (GPL)
http://cloudboot.org
20. OSC Fall Tokyo, 2012 Clonezilla.org
Cloudboot Framework
● Based on iPXE, PHP & syslinux
● Use iPXE Script to access cloud boot resource. Then PHP Scri
pt accept command from iPXE and create syslinux style MENU f
or net-booting use.
22. 22
OSC Fall Tokyo, 2012 Clonezilla.org
Clonezilla @ Linux Journal
● In Linux Journal, January
2011
● Report Clonezilla project
and show in cover headline
Clonezilla –
High Performance Open- Source
Cloning
http://www.linuxjournal.com/
23. 23
OSC Fall Tokyo, 2012 Clonezilla.org
One of The Best Free Software of 2012
● PC Magazine
● The Best Free
Software of 2012
● Backup/Sync
category
http://www.pcmag.com/article2/0,2817,2381535,00.asp
24. 24
OSC Fall Tokyo, 2012 Clonezilla.org
● Nagappan Alagappan from VMware
– Palo Alto, CA, USA
– “As a product company, we need to test our product in all
popular operating system, when exploring different
opportunity, we found Clonezilla appropriate, Reason: It
support all the Linux distribution (RedHat, SUSE, Ubuntu,
Mandriva) and different file system, which we use (ext3, ext4,
reiserfs)”
● Initially evaluated Clonezilla live and found a very good
performance, Windows XP image restoration 7 minutes,
Ubuntu 3 minutes, SUSE / RHEL 5 minutes from a NFS
server.
● Later we (in VMware) have implemented a service, which
will automate the Clonezilla reimaging part, without any
manual intervention.”
Use case in enterprise
25. 25
OSC Fall Tokyo, 2012 Clonezilla.org
Use case in enterprise
Juergen Chiu
Canonical Ltd. Taipei, Taiwan
● Clonezilla helps me a lot in system backup
, recovery and ISO image creating
"In my job, I need to handle different type of system and create t
he ISO image for customers. Your great tool, Clonezilla, helps m
e a lot in system backup, recovery and ISO image creating. I only
need to download the Clonezilla zip file, and create the bootable
usb key in few easy steps, then I can use that key to backup the s
ystems and create the ISO image by the same key. And the key is
just the recovery partition as I need. All procedures take me only
about 1 hour to finish all stuffs. I love your tool and that is really
cover all functions what I need to have in Linux system recovery
scope. Clonezilla is the best all-in-one tool that I have never seen
before."
26. 26
OSC Fall Tokyo, 2012 Clonezilla.org
Use case in enterprise
MIRACLE System Savior(MSS)
● As an Disaster Recovery Solution in enterprise:
● HP Blade Server with multipath in Storage Area
Network. VMWae EXSi Server with Red Had
Enterprise Linux, Windows guests.
● Backup/Recovery systems in just few minutes.
27. 27
OSC Fall Tokyo, 2012 Clonezilla.org
Use case in community
● Christian , WMOC 2012 , Germany
● World Masters Orienteering
Championships
● Use Clonezilla and DRBL-Winroll to
deploy over 20 laptop for the contest.
– “All runners carried a transponder chip on their
fingers, to which the control stations they had to find
and "punch" wrote timestamps. After they reached
the finish line, we read out their transponder chips to
check if they completed the course and calculate
their times. In the tent there are five laptops with
their operators and printers. Overall we had over 20
laptops in use for readout, problem handling, results
printing, publishing, entries management, radio
control times, speaker support etc.”
Source: Christian
http://wmoc2012.de and http://goslarsche.de
28. 28
OSC Fall Tokyo, 2012 Clonezilla.org
Clonezilla Used in Taiwan's “National PCs”
Source: De-Wen Huang
30. 30
OSC Fall Tokyo, 2012 Clonezilla.org
Limitations of Clonezilla
● The destination partition must be equal or larger than the
source one
● Recovery Clonezilla live with multiple CDs or DVDs is not
implemented yet
● Differential/incremental backup is not implemented yet
● Live imaging/cloning is not implemented
yet
● Software RAID/fake RAID is not
supported by default (extra manual
processing is required)
31. 31
OSC Fall Tokyo, 2012 Clonezilla.org
Outline
Introduction to Clonezilla
A Quick Demo as a Begining
Feature/How/Limitation/Image Architecture
Difference with Live and Sever Edition(SE)
A Toolkit for Windows Mass Deployment : DRBL-
Winroll
A Possible Solution in Cloud : Cloudbootl
Cases of Usages
Save an image of whole disk
Unattended Recovery CD or USB Tool
Mass Deployment with Multicast by SE
One Image to Multi Devices Deployment
Q&A
32. 32
OSC Fall Tokyo, 2012 Clonezilla.org
● Clonezilla Live
– http://clonezilla.org/clonezilla-live
● A running Ubuntu 12.04 system
– Text mode only. The whole system uses about 1.3
GB space. Using grub2 as boot loader.
– /dev/sda1 is used as swap partition
– /dev/sda2 on / and /dev/sda3 on /home with ext4 and
reiserfs
● Use Clonezilla live to save the whole disk as an
image
– Use sshfs as repository
Clonezilla Live Demo (1)
Save an image
33. 33
OSC Fall Tokyo, 2012 Clonezilla.org
Clonezilla Live Demo (2)
Unattended recovery CD or USB flash drive
Scenario: your customer need a recovery solution
How:
Have an image ready first
Use a machine with RAM >= 768 MB
Boot Clonezilla live
Mount the image repository
Select "recovery-iso-zip" option then follow the steps
Demo
34. 34
OSC Fall Tokyo, 2012 Clonezilla.org
Clonezilla Live Demo
Mass Deployment with Multicast by SE
Scenario: to deploy PCs in computer classroom with one
image
How:
Have an image ready first
Select multicast to restore disk
Installation and configuration ready with
Clonezilla SE (DRBL Live)
Boot DRBL live,
Configure Clonezilla SE environment : network /
sshfs as image repository
Choose "multicast" and "restoredisk" option then
follow the steps
35. 35
OSC Fall Tokyo, 2012 Clonezilla.org
Clonezilla Live Demo
One Image to Multi Devices Deployment
Scenario: to deploy USB sticks with same image one time
How:
Have an image ready first
Use sshfs as image repository
– Mount 4 hard disk to simulate USB sticks
Boot DRBL Live CD,
Mount the image repository
Choose "1-2-mdisks" and "restoredisk" option then
follow the steps
36. 36
OSC Fall Tokyo, 2012 Clonezilla.org
Future Work/Wishlist
● Software RAID/FakeRAID support
● File-based imaging
● Recovery Clonezilla live with multiple CDs or DVDs
● More file systems support, ZFS, Minix...
● Encryption file system support. Encryption for the image
● Scheduling
● VLAN setting
● ISCSI source disk
● Password protection
● LVM without partition
● GUI
● ...
37. 37
OSC Fall Tokyo, 2012 Clonezilla.org
Other projects we have...
Tux2live
Build your Linux
live system from HD
Partclone
Support multi file
system backup
● DRBL (Diskless Remote Boot in Linux)
● DRBL-winroll
● Tux2live
● Partclone
● Tuxboot
● Cloudboot (beta)
Other cloud relative in
NCHC
– Ezilla
– Haduzilla
– Crawlzilla
38. 38
OSC Fall Tokyo, 2012 Clonezilla.org
Our Booth...
●
展示スペー ,
2F ,Room 206
● More detail for:
– Other projects
– Demonstrations
– Instructions
– Others ….
We are here
42. 42
OSC Fall Tokyo, 2012 Clonezilla.org
Bare Metal Recovery
● The term “Bare Metal” refers to a computer that does
not contain an operating system and data.
● Bare Metal Recovery/Restore
– It means to the process of restoring data to a
"bare metal" component
– Typically the process includes reinstalling the
operating system and software applications and
then, if possible, restoring data and configurations..
● When need to do ?
– Mass deployment
– Disaster recovery
– Hardware
replacement/crash
– ....
43. 43
OSC Fall Tokyo, 2012 Clonezilla.org
Bare Metal Recovery (cont')
● Available types:
– Block-based (image) recovery (e.g. 'dd')
– File-based recovery (e.g. 'cp', 'tar', 'rsync'...)
– Mix both: combine file base with block
information
● Use different tool for different purpose
– Save a lot of time if choose right toolkit
44. 44
OSC Fall Tokyo, 2012 Clonezilla.org
Raw copying*
– A possibility to perform sector-by-sector copying of a
whole partition
Smart copying*
– A possibility to distinguish which portions of the
partition really contain data and to copy these only
Live copying*
– A drive or volume can be copied/imaged while it is in
use, avoiding the need for booting into a separate
operating system or Live CD.
Smart copy full disk
– A possibility to distinguish which portions of the disk
really contain data and to copy these only
Terminology
* The descriptions are from http://en.wikipedia.org/wiki/Comparison_of_disk_cloning_software
45. 45
OSC Fall Tokyo, 2012 Clonezilla.org
URL Version
Clonezilla live clonezilla.org 1.2.8-46
FOG www.fogproject.org 0.30
Fsarchiver www.fsarchiver.org 0.6.12
G4L g4l.sourceforge.net 0.37
Mondo Rescue www.mondorescue.org 2.2.9.6
Partimage partimage.org 0.6.9*
Acronis® True Image www.acronis.com 2011
Norton Ghost™ www.symantec.com 15.0
Bare Metal Recover Tools
Free /Open Source Software
Proprietary Software
46. 46
OSC Fall Tokyo, 2012 Clonezilla.org
● About these comparisons:
Please let us know if the information in
comparisons is not correct.
47. 47
OSC Fall Tokyo, 2012 Clonezilla.org
Comparison – General Info
Interface
Provides
Live USB
Provides
Live CD
Live
copying
Differential
backup
Based on License
Clonezilla TUI Y Y N N partclone GPL
FOG GUI N N N N partimage GPL
Fsarchiver CML Y Y Y Y GPL
G4L TUI Y Y N N
g4u, dd,
partimage,
ntfsclone
GPL
Mondo Rescue TUI Y Y Y Y
afio,
mondi GPL
Partimage TUI Y Y N N GPL
True Image GUI Y Y Y Y Proprietary Proprietary
Ghost GUI Y Y Y Y Proprietary Proprietary
48. 48
OSC Fall Tokyo, 2012 Clonezilla.org
Comparison – General Info(cont')
Smart copy
full disk (No
LVM2, no
firmware
RAID)
Smart copy
full disk
with LVM2
Smart copy
full disk
with
firmware
RAID
Raw
copying
Without
server
Server/
client
Clonezilla Y Y N Y Y Y
FOG Y N N Y N Y
Fsarchiver N N N N Y N
G4L N N N Y N Y
Mondo Rescue Y Y N Y Y N
Partimage N N N N Y Y
True Image Y Y N Y Y Y
Ghost Y N N Y Y Y
49. 49
OSC Fall Tokyo, 2012 Clonezilla.org
Comparison – Smart Copying File
Systems of Linux
ext2/3 ext4 reiserfs reser4 xfs jfs btrfs
Clonezilla Y Y Y Y Y Y Y
FOG Y N Y N Y Y N
Fsarchiver Y Y Y Y Y Y Y
G4L Y N Y N Y Y N
Mondo Rescue Y Y Y Y Y Y Y
Partimage Y N Y N Y Y N
True Image Y Y N N N N N
Ghost Y N N N N N N
50. 50
OSC Fall Tokyo, 2012 Clonezilla.org
HFS+
(Mac)
FAT
(MS Win)
NTFS
(MS Win)
UFS
(*BSD)
VMFS
(Vmware
Esx(i))
Clonezilla Y Y Y Y Y
FOG N Y Y N N
Fsarchiver N N Y N N
G4L N Y Y N N
Mondo Rescue N Y N N N
Partimage N Y Y N N
True Image N Y Y N Y
Ghost N Y Y N N
Comparison – Smart Copying File systems of
Other Oses
51. 51
OSC Fall Tokyo, 2012 Clonezilla.org
Advanced Usage
with Clonezilla Live
52. 52
OSC Fall Tokyo, 2012 Clonezilla.org
● A running Ubuntu 12.04 system
– Text mode only. The whole system uses about 1.3 GB
space
– /dev/sda1 on / (grub2) and /dev/sda5 on / with ext4
– /dev/sda3 is used as swap partition
● Destroy the whole system by:
– dd if=/dev/zero of=/dev/sda1 bs=1M count=10
– dd if=/dev/zero of=/dev/sda3 bs=1M count=10
– dd if=/dev/zero of=/dev/sda bs=1M count=10
● Recover the whole system by Clonezilla live with a
previous saved image via sshfs
Clonezilla Live Demo (2)
Restore an image
53. 53
OSC Fall Tokyo, 2012 Clonezilla.org
Pre-process and post-process when
restoring a system
Boot parameters provide a mechanism to preset
some options => Set in the config file of isolinux,
syslinux, pexelinux or grub.
Besides the boot parameters from Debian live,
Clonezilla also provides ocs_prerun* and
ocs_postrun* parameters
ocs_prerun* is for pre-process, right before
Clonezilla job is run and ocs_postrun* is for post-
process, right after the Clonezilla job is done.
Limitation: No double quotation mark (“) or single
quotation mark (') in your command.
ocs_prerun* Clonezilla jobs ocs_postrun*
54. 54
OSC Fall Tokyo, 2012 Clonezilla.org
Pre-aprocess and post-process when
restoring a system (cont')
The order to run is:
ocs_prerun1, ocs_prerun2, ocs_prerun3...
ocs_postrun1, ocs_postrun2, ocs_postrun3...
Examples
To do a file system check for 1st
partition, use:
ocs_prerun1=”fsck /dev/sda1”
To lease an IP address from a DHCP server:
ocs_prerun1=”dhclient -v eth0”
To mount a file system and modify a file after restoring:
ocs_postrun1=”mount /dev/sda1 /mnt” ocs_postrun2=”sed -i -e
s/old/new/ /etc/hostname” ocs_postrun3=”umount /mnt”
Boot parameters doc are available on http://clonezilla.org
55. 55
OSC Fall Tokyo, 2012 Clonezilla.org
Unattended recovery with a file server
Scenario: You have a file server and want to use a CD of
Clonezilla (no image included) to restore different
machines
How
Have an image ready on the file server first
Use boot parameters to make that, e.g. for NFS server:
append initrd=/live/initrd.img boot=live config noswap nolocales edd=on
nomodeset noprompt ocs_prerun1="dhclient -v eth0"
ocs_prerun2="sleep 2" ocs_prerun3="mount -t nfs
192.168.120.254:/home/partimag /home/partimag" ocs_live_run="ocs-sr
-g auto -e1 auto -e2 -b -r -j2 -p reboot restoredisk squeeze-updated-
20110711 sda" ocs_live_extra_param="" ocs_live_keymap="NONE"
ocs_live_batch="no" ocs_lang="en_US.UTF-8" vga=788 ip=frommedia
nosplash
Here we preset (1) the keymap as default (NONE, i.e. US keymap),
(2) the language as English (en_US.UTF-8), (3) configure the
network, (4) mount the image repository on NFS server, and (5)
run the restoring command
56. 56
OSC Fall Tokyo, 2012 Clonezilla.org
Unattended recovery with a file server (cont')
The complete command for ocs_live_run can be gotten from the
Clonezilla wizard
57. 57
OSC Fall Tokyo, 2012 Clonezilla.org
A customized live CD for remote
troubleshooting
Scenario: Your customer want you to do a remote
troubleshooting, however, he knows nothing about GNU/Linux.
How
For remote troubleshooting, you need
Network connection after booting
Password for the account “user” need to be changed
(The default password is “live”)
Ssh service is started automatically
append initrd=/live/initrd.img boot=live config noswap nolocales edd=on
nomodeset noprompt ocs_prerun1="dhclient -v eth0" ocs_prerun2="sleep
2" usercrypted=WwLqQXIdMIzoo ocs_daemonon="ssh"
ocs_live_run="/bin/bash" ocs_live_keymap="NONE"
ocs_live_batch="no" ocs_lang="en_US.UTF-8" vga=788 ip=frommedia
nosplash
The encrypted password of “user” was obtained by
echo YOUR_PASSWORD | mkpasswd -s
58. 58
OSC Fall Tokyo, 2012 Clonezilla.org
Serial console and PXE booting usage
Scenario: A cluster with serial console only, no VGA
connection
For serial console, 2 boot parameters are required to
redirect the screen output:
live-getty and console, e.g. append them to the previous
case:
append initrd=/live/initrd.img boot=live config noswap nolocales
edd=on nomodeset noprompt ocs_prerun1="dhclient -v eth0"
ocs_prerun2="sleep 2" usercrypted=WwLqQXIdMIzoo
ocs_daemonon="ssh" ocs_live_run="/bin/bash" live-getty
console=ttyS0,38400n81 ocs_live_keymap="NONE"
ocs_live_batch="no" ocs_lang="en_US.UTF-8" vga=788
ip=frommedia nosplash
59. 59
OSC Fall Tokyo, 2012 Clonezilla.org
What if boot parameters can not do?
In this case, modify the root file system. The
difference is, it's a read-only file system.
How → copy then rebuild
Unsquashfs the root file system “filesystem.squash” of
Clonezilla live, modify it.
mkdir ~/zip-tmp ~/squashfs-tmp
unzip clonezilla-live-1.2.12-55-i686-pae.zip -d
~/zip-tmp
cp ~/zip-tmp/live/filesystem.squashfs ~/squashfs-
tmp
cd ~/squashfs-tmp; sudo unsquashfs
filesystem.squashfs
Modify the files in squashfs-root, e.g. add some
files.
60. 60
OSC Fall Tokyo, 2012 Clonezilla.org
What if boot parameters can not do?
(cont')
Rebuild the new filesystem.squashfs and replace the
original one ,then rebuild clonezilla-live zip file:
sudo mksquashfs squashfs-root filesystem.squashfs.new -b
1024k -comp xz -Xbcj x86 -e boot
sudo cp filesystem.squashfs.new ~/zip-
tmp/live/filesystem.squashfs
cd ~/zip-tmp ; sudo zip -r ../clonezilla-live.new.zip ./*
61. OSC Fall Tokyo, 2012 Clonezilla.org
Project of the Month, January 2010
62. 62
OSC Fall Tokyo, 2012 Clonezilla.org
Barny Sanchez
Information Systems Security, Southbridge,
Massachusetts
Cloned 1,084 systems using DRBL (Clonezi
lla SE)
"I've used DRBL to clone 1,084 systems so far! It was si
mple! All I had to do was divide each system into groups
of 80-100 PCs and then use multicasting to do the clonin
g. It took anywhere from 16-38 minutes to clone each sys
tem. The images of various operating systems averaged 1
GB in size. DRBL has reduced the recovery/cloning fact
or by more than 500% as compared to the commercial sol
ution I used previously! You can imagine how happy my
project managers are!"
Use case in enterprise