Categories
How to(s)? Projects Software

How to Boot from a Ubuntu SAN

Introduction

The following section is a brief overview of “How to Boot from a Ubuntu SAN” with a Microsoft Server Operating System, and is intended as a reference.

These instructions were done as a guide to setup a test environment.

The following Microsoft Server Operating systems have been tested:

  • Windows 2003 SP-3
  • Windows 2008 SP-2 (Core)
  • Windows 2008 SP-2 (Enterprise)
  • Windows 2008 SP-2 (Standard)

If you see anything that is in “error” or would like to have something added, please feel free to contact us.

SDC

Install the Windows Operating System

Install the Windows Operating System as you normally would, with the following notes:

  • Install the OS unto an External Storage Device;
    • This Device will later be moved and mounted on the Ubuntu target
  • Format the OS installation partition as small as possible, but keep in mind:
    • Physical RAM on the Initiator/Client machine;
    • Windows Patching needs;

Minimal Recommendations:

Although numerous attempts were done with a bare minimal requirements, it is STRONGLY suggested that you install the following:

  • Windows Server 2003 SP2 or Greater

Download iSCSI support (2003 and below)

If you are installing a Microsoft Windows OS 2003 SP2 (or below), then you will need to do the following:

Install and Setup of Microsoft iSCSI Software Initiator (2003 and below)

The basic installation of the software is straight forward,

    1. Run the setup program;
    2. In the Microsoft iSCSI Initiator Installation window, be sure to select:
      • Initiator Service
      • Software Service
      • DO NOT SELECT “Microsoft MPIO Multipathing Support for iSCSI” because it is NOT COMPATIBLE with iSCSI boot.
No Multipathing
No Multipathing
    1. In the next dialog box, you will be asked to select “Configure iSCSI Network Boot Support”
Configure Network Boot
Configure Network Boot
  1. After the installation is complete, Reboot the system to check that is boots correctly.

Transferring Windows OS Image to Ubuntu

In these steps, you will be physically and digitally transferring the Target OS image.

    1. Shut down the Windows OS machine;
    2. Disconnect the Drive from the Windows machine;
    3. Reconnect the Drive to the Ubuntu Server;
    4. Once mounted, Open a Terminal Window;
    5. Type in the following command:
      • Disk pathExample: /dev/sdb
      • Bytes per CylinderExample: 8225280
      • Ending cylinder number for the partitionExample: 1026

sudo fdisk -l

Which should return something similar to:

Disk Allocations
Disk Allocations

You will need the the following information:

    1. Using this information, type in:

dd if=/dev/sdb of=/path/to/image/file.img bs=8225280 count=1026

It is strongly recommended that the /path/to/file.img, be placed into a LARGE /var path.

Note: Using /dev/sdb copies the Master Boot Record (MBR), while /dev/sdb1 just copies the partition.

    1. To verify the image transfer, use the following command:

fdisk -l /path/to/image/file.img

Making the Windows OS image available on iSCSI

Now the Windows OS image need to be made available:

    1. In the terminal window, type in:

sudo gedit /etc/ietd.conf

    1. Add the following to the end of the file:
      • yyyy is the year and mm is the month that the domain became valid.
      • is written as 1.168.192 or com.yourdomain (this will change in your environment).
      • [Optional identifier] is used to further identify the target.
      • Path= is where your files are located on the local machine.

Target iqn.yyyy-mm.com.mydomain:[Optional identifier]
Lun 0 Path=/path/to/image,Type=fileio,IOMode=rw

Where:

    1. Restart the iSCSI daemon:

sudo invoke-rc.d iscsitarget restart

Configure your Ubuntu DHCP Server

Now to configure your DHCP Server:

    1. In the terminal window, type in:

sudo gedit /etc/dhcpd.conf

    1. Add the following to the end of the file:

filename "";
option root-path "iscsi:my.target.dns.name::::iqn.2007-08.name.dns.target.my:iscsiboot";

Note: The second line (“Option…”) should be all on one line.

    1. Restart the DHCP daemon:

sudo /etc/init.d/dhcpd restart

Boot from the Diskless Client

It is now possible to boot from your Diskless client:

  1. Insert and Boot the Initiator/Client from the Etherboot media.
  2. After a short time, the Target OS should start to boot in a Normal fashion.

Etherboot Project

  • Required for Booting the Local Computer over the network to the SAN.
  • Booting can be done with Floppies, CD/DVD or USB devices.
  • This documentation is derived from the “HowTo Guides – Boot from SAN

– Andrew
§ § § § §
[adrotate banner=”1″]
Categories
Software

How to recover a “Lost” command window (W2K8 Core)

For a project that I am working on, I have just started working with W2K8 Core, which is administrated via the Command Line, and NOT for the faint of heart.

The following “notes” are being shared during my adventure:

  • How to recover a “Lost” command window

I was REALLY surprised with how difficult it was to find a quick answer to this is, either via Google or on Microsoft, but I finally found “it”…

To recover, you can press CTRL+ALT+DELETE, click Start > Task Manager, click File, click Run, and type cmd.exe.
Alternatively, you can log off and log back on again.

– The Log “Off and On” did NOT work for me.

– Andrew
§ § § § §
[adrotate banner=”1″]
Categories
Information Reference

Windows 2008 Server – Core

For a project that I am working on, I have just started working with W2K8 Core, which is administrated via the Command Line, and NOT for the faint of heart.

The following “notes” are being shared during my adventure:

  • How to recover a “Lost” command window

I was REALLY surprised with difficult it was to find a quick answer to this is, either via Google or on Microsoft, but I finally found “it”…

To recover, you can press CTRL+ALT+DELETE, click Start > Task Manager, click File, click Run, and type cmd.exe.
Alternatively, you can log off and log back on again.

– The Log "Off and On" did NOT work for me.

– Andrew
§ § § § §
[adrotate banner=”1″]
Categories
Add-Ons Software

What CD/DVD burning software is supported?

My simple question is this:

What CD/DVD burning software is supported on Windows 2008 Standard Server?

Background:

A client of mine just bought a new HP ML350 G5 (March 2009), which came with a HP branded GSA-H53L (E2C) DVD Rewriter (Manufactured – July 2008) and bundled with Roxio DigitalMediaPlus (circa 2005 (MyDVD v6.1)).

When I start the install of the Roxio software, I immediately get a DLA error…

After Google-ing around, there are known issues with Roxio’s DLA software, and the drive itself appears to be a discontinued LG OEM model.

When the VAR that sold the Server is contacted, they point to HP…

When HP is contacted, they point to the VAR…

I have checked the following, and NONE show NAMED support for Windows 2008 Standard Server:

  • Alcohol 120%
  • Corel WinDVD 9
  • CyberLink Power2Go 6
  • Droppix Recorder XE
  • GEAR PRO Mastering Edition 8.00
  • Nero 9 nor BackItUp 4
  • NTI Media Maker 8
  • Roxio Creator 2009 nor Roxio Creator 2009 Ultimate

They support Vista, but not NAMED support for Windows 2008 Server, which the Owner of the company wants to see/hear.

What we are looking for is a simple, reliable way to burn data to CD/DVD media; create/mountISO images if need be (example: SQL 2008 install), and maybe take advantage of the LightScribe capabilities of the drive.

Can someone out there enlighten me to a product!

Thanks in advance,

Andrew

03 Oct 2009 01:02:58

All:

Sorry for not following up on this in several months, but I took the suggestion of Tim Quan, and ended up downloading and installing ImgBurn from ImgBurn.com.

After doing a couple of test burns, and several months of keeping my fingers crossed, ImgBurn seems to be working fine.

The interface does take a little getting use to, but ImgBurn does offer allot of features for the price!(FREE)

Many thanks to Tim Quan, the Author of ImgBurn and all the other folks that chipped in their two cents!

Andrew

03 Oct 2009 01:02:58

All:

Another suggested software package was StarBurn from RocketDivision, which came from Paul Svirin.

I have NOT downloaded or tried this software, but if someone out there would like to add their comments/thoughts….

– Andrew
§ § § § §
[adrotate banner=”1″]