EzDevInfo.com

liveusb interview questions

Top liveusb frequently asked interview questions

bootable USB key cannot boot in legacy mode?

I used the netbootin to generate a Mint 17.1 live USB on a EFI kubuntu system. It can be boot in computer with UEFI mode. However, if I change to legacy mode, the live USB cannot boot at all.

Is there any way to create a legacy mode compatible live USB?


Source: (StackOverflow)

How to create VHD disk image from a Linux live system?

Once more, I have to resort at the experts here at SuperUser, as my other sources (mainly Google ;-)) didn't prove very helpful...

So basically, I would like to create a VHD image of a physical disk to be archived/accessed/maybe even mounted in a virtual machine. Now, there are dozens of articles and tutorials on how to do that on the web, but none that meets exactly the conditions I would like to achieve:

  • I would like the destination file to be a VHD image, as Windows 7 can mount it natively, even over the network and many other programs can use it (VirtualBox, ...)
  • The disk I'm trying to image contains a Windows XP install, so in theory, I could use the disk2vhd utility, but I would like to find a solution that doesn't require booting that Windows XP install (ie keep the disk read-only)
  • Thus I was searching for a solution involving some sort of live system (running from a USB stic or the network)

However, all the solutions that I've came across either make use of disk2vhd or use the dd command under linux, which does a complete copy of the disk (ie even empty blocks) and does not output a VHD file. Is there a tool/program under Linux that can directly create a VHD file? Or is is possible to convert a raw disk image created using dd to a VHD file, without allocating space for the empty blocks? How would you proceed?

As always, any advice or comment is highly appreciated!!


Source: (StackOverflow)

Advertisements

Full Ubuntu Install on USB

I am trying to install Ubuntu 10.04 in a 16GB Verbatim USB flash drive so I can boot my computer from the usb and have a full ubuntu running (I also need an encrypted home folder). I just want to run it on one computer, not many, so I don't need LiveUSB features.
Partitioning the laptop's HD is not an option. Since I want a full installation, not a LiveUSB, solutions like UnetBootBin are also not an option.

The elements I have:

  • My laptop, an Acer 3810T with Windows 7 on it and a 320GB HD. USB booting is enabled in the Bios.
  • A 4GB Verbatim USB flash drive where I have Ubuntu 10.04 Live instalation, done using Universal-USB-Installer-v1.7.9
  • The 16GB Verbatim USB flash drive where I want a full installation of Ubuntu

What I have tried:

  1. I tried physically unplugging the internal HD and installing Ubuntu on the 16GB flash from a runing ubuntu in the 4GB one. The consequences are that the sytem works, as long as the internal HD is not connected again. Updating grub while running the Ubuntu in the 16GB and the internal HD connected had no effect.
  2. I tried to follow the GUI install of ubuntu from the 4GB flash. What happened is that grub was installed on the 16GB flash and windows 7 wouldn't load if the usb was not connected.

Any help will be welcomed cause this is sucking the life out of me.


Source: (StackOverflow)

What are the differences bewteen using ISOs vs extracting distributions in multiboot LiveUSBs?

I've created a multiboot pendrive with a couple of Linux distributions by using the YUMI tool from pendrivelinux, and by default it extracts the content of the chosen operating system's ISO on a dedicated folder in the destination pendrive; it can also direclty load ISOs stored on the pendrive. Quoting from the site:

Contrary to MultiBootISO's which used grub to boot ISO files directly from USB, YUMI uses syslinux to boot extracted distributions stored on the USB device, and reverts to using grub to Boot Multiple ISO files from USB, if necessary.

From the practical point of view, what are the differences between these two methods? Choosing one over another affects performance or has some other advantages?
The statement above seems to suggest that an extracted distro is a better choice than one run directly from an ISO file (since the latter is used only "if necessary"), but why? What are the benefits?


I'm more interested in system performance or differences after it has booted, rather than the capabilities of Syslinux Vs Grub. In other words, how it is different a system booted from an ISO to another booted from a directory where it was extracted?


Source: (StackOverflow)

SYSLINUX? Booting off a Live USB?

I used Unetbootin to install Xubuntu to a Live USB (a 4 GB SanDisk). By default, I'm running Windows 7 (which is also what I ran Unetbootin on). The computer I'm trying to use to boot off the Live USB is an HP Pavilion g7 (also runs Windows 7 by default). I also configured the Live USB to have 1250 MB of persistent storage.

I've rearranged the boot order to immediately start with the USB, and I've also tried directly booting off the USB.

No matter what I do, I get the message:

SYSLINUX 4.03 2010-10-22 EDD Copyright (C) 1994-2010 H. Peter Anvin et al

However, nothing happens past that. What should I do?

*There are no messages past the one I posted, its all there is on the screen, plus my blinking underscore cursor on the line directly beneath the message


Source: (StackOverflow)

Running Windows 8 from USB stick

For debug purposes I need to create a bootable windows 8 image on a USB drive (32 GB flash stick for preference but I could probably do a portable HD version)

Specifically our software is having problems working with Sony Vaio running Windows 8 when burning to DVD media (CD ROM media works) since the control we use seems to mis-report the media type. We have what I think is the same machine here in the office (our machine was shipped with windows 7 and thats the only difference I can see in specs) so I'd like to to see if I get the same problem in the office by running Windows 8 on that machine.

If it works in our office I can take the USB key to our client and boot their machine and see if the problem is fixed. If it's fixed then I can try removing the pre-installed software in case thats causing the problem, if it's not fixed then I've got a nasty hardware issue to try to diagnose.

I've read the windows 2 go stuff and while I could do this (we have some enterprise licences) I'm loathe to do all the faffing with image prep. (also the USB key I have here isn't Windows2Go certified)

So does anyone know if MS provide a bootable eval windows 2 go image that I can test with (I can't find one)? Or can I install windows 8 to the USB key and then boot from it via the bios without screwing up the Windows 7 install on the machine we have in the office?

Basically I'm looking for suggestions on the best way forward from here.


Source: (StackOverflow)

Laptop as *primary* display for desktop PC via LAN remote desktop

As the title says, I want to use a laptop as the primary display for a desktop PC. There's a few added challenges to this, however:

  • The desktop PC does not have a display device of its own. By extension, I am not looking for a secondary monitor, but a primary monitor.
  • The laptop is a 2007 Dell XPS M1530, and does not have a hard drive installed. I'll elaborate my approach to this issue later on this post.
  • I would simply buy a LCD control board (like this https://i.imgur.com/VIZclRc.jpg ) and hardware hack the laptop into "just" a monitor, but my country's absurd import restrictions leave me without that option.

After some research, the only plausible solution I've found was (these points is what I need help with):

  • Have the laptop boot into a persistent lightweight Linux distro stored on a flash drive. This way it can be used without a hard drive.
  • On this same laptop, set up a remote desktop viewer via LAN so automatically after log in, it connects and goes fullscreen.
  • While setting up the Windows computer to automatically send its video output via LAN on startup. Or of course If you have another idea that can achieve the same results, by all means it's welcome.

Some additional notes:

  • The laptop is physically next to the desktop PC, so input devices can be connected directly to the desktop PC. I only need the video (maybe audio as well?) signal to be sent via LAN.
  • This setup will be used almost exclusively for web browsing, so it can deal with a few milliseconds of latency.
  • I have another, "complete" desktop computer to set up stuff with (such as loading the Linux distro into a flash drive, and a display to connect to the display-less desktop when needed).
  • And "why not just buy a display?" Because budget is on the negative range, but I do have the hardware required for this.

This sounds doable, but I've spent most of yesterday working on this with little success. Setting up the LAN remote desktop view to even start working has been unexpectedly difficult. Keep in mind I need a cross-platform solution (Windows desktop PC host, Linux laptop guest).

Any help will be amply appreciated.


Source: (StackOverflow)

How can I access the USB drive my Live Linux is running on? [duplicate]

This question already has an answer here:

I'm completely new to Linux. I've downloaded Ubuntu, then using a Linux Live CD, I've created a bootable USB drive.

Ubuntu works beautifully on the USB boot. However, while I can read the hard disks on my machine, I cannot seem to detect the USB itself, i.e. the one on which this Linux is installed.

Of course I am dead sure the USB is plugged in as I am physically in front of the machine.

How do I detect / locate my USB? How do I download stuff to my USB?


Source: (StackOverflow)

Can I improve my battery life under a Linux Live CD by loading the CD into RAM or using a USB key instead?

Would loading a linux live CD to RAM improve battery life? (knoppix toram or SLAX Copy to RAM option) Compared to running it from the CD.

Would booting a Live CD off of a USB increase battery life more than using a CD?


Source: (StackOverflow)

Boot Kali with custom Filesystem

I'm trying to customize my "filesystem.squashfs" file, for my Kali live system. For modifying I used "unsquash" and for rebuilding "mksquash" without additional parameters. Now I replaced the old Filesystem with the new one. By booting the System stops by trying to mount (I think) the Filesystem.

What did I wrong? Hope for fast reply! Thanks in Advance!

Edit: I'm just trying to change Background Image, Keyboard Layout, install Squashfs-tools and Wine...

EditEdit: Looked at the Error Screen again, seem like the filesystem doesn't have the requested "/sbin/init". Then comes a "Bad File Descriptor" and "Kernel panic - not syncing: Attemped to kill init! exitcode=0x00000200" Would like to post a picture, but for any reason the app won't let me...


Source: (StackOverflow)

What downsides are there to running an OS off of a flash drive instead of a hard drive (USB 3.0 and 2.0) [duplicate]

Possible Duplicate:
How does a hard drive compare to Flash memory working as a hard drive in terms of speed?

I recently purchased a 16GB USB 3.0 flash drive, and I'm considering using it as a mobile operating system. It would be nice to carry with me, but I'm worried about any performance impacts from running off a flash drive, and using it as the hard drive. What downsides can I expect to encounter, both at USB 3.0 speeds and USB 2.0 speeds (as not all computers have USB 3.0 yet)?


Source: (StackOverflow)

Cannot login to Kali Linux

I just created a Kali 1.0.6 live USB using a tool called "Mac Linux USB Loader" and everything seems fine up until the point where you are supposed to login.
At the login screen I'm greeted with the choice of user "Other" where I have to manually enter at username and password.
The problem is that I have not created a user or set any password, and "root" as user and "toor" as password doesn't work.

EDIT

I reinstalled Kali and got it working, I did it like this:

  1. My friend installed Kali on his USB-drive, using normal install process inside his Linux OS
  2. We plugged his USB into my Macbook and booted from it
  3. I plugged in my USB which I wanted Kali Live on
  4. Using my friend's Kali Live (that we booted into) we opened the terminal and used a command called "dd" which copies everything from one location to another. Done!

Source: (StackOverflow)

Kaspersky rescue Disk on USB

I'm trying to use Kaspersky Rescue Disk from a USB key. I followed this procedure and it works fine but when I restart my computer, instead of getting a GUI I get "GRUB".

I don't know what to do to launch either a scan or the GUI. Could you help me ?


Source: (StackOverflow)

Create bootable ISO from Live USB

I have created a Ubuntu 11.04 Live USB with Unetbootin. I was wondering if it was possible to create a bootable iso from the usb stick.


Source: (StackOverflow)

Looking for an encrypted, persistent and live Linux distro preferably with Tor [closed]

I am looking for a live linux distro (for installing on a USB flash) that is encrypted and provides anonymity and is also persistent so that I could install apps on it. The best I have found so far is privatix but it hangs every few minutes and doesn't support my graphic card. Tails has all I need but is not persistent. :(


Source: (StackOverflow)