Create an Ubuntu LiveUSB with Persistence
- A USB thumbdrive of 8GB capacity or larger
- A Windows Workstation with internet access
- Prepare a USB drive of capacity 8GB or larger.
- Format the drive in Windows to FAT-32. (Windows will prompt you automatically to do this once you insert it.)
DOWNLOADING THE REQUIRED FILES:
From a Windows Workstation, download the following first:
- Download and install Live Linux USB Creator: http://www.linuxliveusb.com/en/download
- Download the latest version of Ubuntu Desktop 16.04 (ISO):
- Navigate to: http://releases.ubuntu.com/xenial/
- Download the latest ISO for Ubuntu 16.04. For example, as of this writing, the latest release is:
CREATING AN UBUNTU LiveUSB WITH PERSISTENCE:
- Launch 'LiLi USB Creator'.
- Select the USB drive you want to use under 'Step 1' in LiLi.
- In 'Step 2', click on "ISO / IMG / ZIP" and navigate to the Ubuntu 16.04 ISO you have downloaded.
- LiLi will verify the ISO file, and will warn you that it is using settings for 15.04 (ignore this and proceed to the next step).
- In 'Step 3', drag the slider to 1024MB (for 1GB persistence). This will allow permit you to save diagnostic tools and log files on the USB drive.
- Leave all default settings as-is in 'Step 4'.
- Click on the lightning bolt icon in 'Step 5' to create the LiveUSB with Persistence. This may take up to 10 minutes to complete.
- When you see the message "Your LinuxLive key is now up and ready!", please safely eject and then remove the USB drive from your Windows Workstation.
TEST AND DOWNLOAD UTILITIES ONTO THE LiveUSB WITH PERSISTENCE:
These diagnostic utilities, SM-Lumberjack and LSIget, will 'persist' in the root user's home directory ('/') through reboots. NOTE: If you wish to verify the 'persistence' of these files under root ('/'), you can `reboot` and select 'Test it out' again from the LiveCD boot menu.
- Power off your workstation.
- Re-insert your LiveUSB drive.
- Power on your workstation again and as it is booting, select the option to boot from the LiveUSB drive. NOTE: This process/hotkey varies by manufacturer. Supermicro systems use F11 to select from a "one-time boot menu" and 'Del' to change BIOS settings; others use F2 as a hotkey to modify BIOS and boot order settings.
- Once booted, you'll be presented with a graphical window asking you to either 'Test' or 'Install' the OS from the USB drive. Choose 'Test it out'.
- Once you are fully booted into the Live OS, hit 'Start/Windows/Superkey' and type 'terminal' and hit <ENTER>.
- Become root and then download our diagnostic tools using the following commands:
You are now ready to gather logs from your airgapped or otherwise non-network connected system. Run `poweroff`/`reboot`, remove the LiveUSB from your workstation, and insert it into the target server.
BOOT INTO THE LiveUSB ON THE TARGET SERVER AND GATHER LOGS:
- As in above, with the LiveUSB inserted, select the option to boot from it on your server. (For Supermicro servers, hit F11 for a 'one-time boot menu'; select the USB drive.)
- Select 'Test it out' when prompted.
- Go to a terminal: <WindowsKey/Superkey>; type "terminal"; hit <ENTER>.
- Become root: $ sudo su -
- Check that your diagnostic utilities are still in the root directory ('/'); run: ls
- You should see these files listed:
Next, gather logs using these utilities (LSIget may be optional; consult with your Support Representative as to whether this is needed.)
- # chmod +x sm-lumberjack.sh
- # ./sm-lumberjack.sh
- Select 'Yes' to accept the EULA and proceed with running Lumberjack.
- If you DON'T HAVE NETWORKING on the target server: Select 'no', 'no', 'no' to opt out of downloading LSIget, ipmitool, and smartmontools.
- If you DO HAVE NETWORKING, select 'yes', 'yes', 'yes' to download and run LSIget, ipmitool, and smartmontools.
- If the script hangs, or appears to not be doing anything for more than 5 minutes, hit 'Ctrl+C' and try again and then choose 'no' for all additional downloads.
- tar xvzf lsigetlinux_latest.tgz
- cd lsigetlinux_080416/
- Once these scripts have completed their log-gathering, poweroff from the LiveOS, move the USB drive back to your workstation (boot normally), and forward these log files to your Support Representative.
You may attach these to an existing support ticket, or email firstname.lastname@example.org to create a new ticket. (Please reference any other related, open tickets when emailing us.)
If your logs are too large to upload or send via email, please let us know and we can provide you with guest access to our SFTP server to upload the files.
Setup Ubuntu 14.04.5 LTS Server with Software Raid1 for OS. (Video)
The attached video will demonstrate a complete Ubuntu 14.04.5 LTS Server setup with the following. Legacy Bios Mode. 240 GB Raid 1 - 2 X 240 GB SSD - OS drive 800 GB Raid 0 - 2 X 400 GB SSD - SCRATCH The video is approximately 6 Minutes and ...
Installing NVIDIA drivers for Ubuntu 14.04/16.04 with multiple graphics adapters.
Generally the NVIDIA Linux drivers work with most of their cards. Some cases with Tesla's and higher end cards may have slight differences. The cards I'm working with today are the Quadro and Geforce series. FIRST Make sure your primary card is in ...
How to Create and Boot from a LiveCD/USB Drive
STAGE 1: Download .ISO image, prepare USB flash drive First, you will need an .ISO image of a Linux OS that you will put onto a USB drive (4GB+ recommended). As far as .ISO images go, you can use one from any OS that you wish. We strongly suggest ...
Create Linux LiveCD from Windows using Rufus
Download Rufus. Download a Linux ISO: Ubuntu: Direct Download: http://www.ubuntu.com/download/desktop Torrent, Net Install: http://www.ubuntu.com/download/alternative-downloads CentOS: Direct Download or Torrent: https://www.centos.org/download/ ...
Create FreeDos CD from Windows using Rufus
Download Rufus. ( Create Bootable USB Media) Download attached FDOEM.zip (FreeDos Image Creator) Unzip FDOEM.zip to C:\Temp Move any files that you want to have available during the DOS session to the C:\Temp\CDROOT folder. Ex. BIOS Updates, IPMI ...