Ubuntu Installation :: Creating A Bootable USB Image Based On A Running System (NOT LiveCD)
Sep 2, 2010
I have a system built and running in exactly the basic configuration I want, with my recompiled kernel, extra packages, special drivers, everything works, life is good. What I want to do is take this exact setup and create an image I can copy onto a bootable USB stick. Is there a way to essentially take the contents of my hard drive and copy that onto a USB stick and then boot directly from that? The use case behind this is that I am building an embedded system of which I may have hundreds of boxes with identical hardware and software configurations. Instead of hard drives, I am going to use USB sticks for cost efficiency and maintenance. My idea is that when it's time to upgrade, I could just image a hundred new sticks and go out and swap them.
My issue is that a standard LiveCD install gets me maybe 25% of the way to a finished system. I need to recompile the kernel for realtime support with my CPU, add some fidgety drivers for some specific hardware, and install a whole bunch of additional packages. I suppose I could create a makefile(s) to replicate all the manual steps of the buildout but that seems like a lot of unnecessary complexity IF I can just image that running system as it is.
I've read all the documentation on installing Debian via CD, USB, or HD.I need to install Debian on a embedded system using only compact flash.This is similar to a HD installation, but I don't have any version of Linux installed to format.Is there someway of creating a bootable CF image from a Windows system?
I would like to build a bootable system image on an attached hard disk on a running CentOS machine.The hard disk would be moved to a headless server, where only SSH access would be available. It seems that all the documented install methods assume that the installation runs on the taget machine. In this case, I would like to create a bootable system image of CentOS on a running host system. The new install mage would generally have a newer version of CentOS than the running host system where the image is created. Also, I would prefer to do a text-based install.
The reason for all this is that I have network access to several remote machines. I can ask disks to be moved between machines, but I have no physical access. In order to do software testing, I would like to have several system disks with different installed CentOS versions. It would be easer if I could build the system disks on one single machine. The hardware an all machines is very nearly identical.
I followed the instructions here: [URL] and then here: [URL] and installed the necessary packages. But when I try building the minimal image as a test, I get lots of errors, as seen in the attached build log. There are lots of things that don't seem to work. Is this project at a state where it's not currently usable? Or do I have a problem with my system configuration? I was running at root.
[root@localhost test]# LANG=C livecd-creator --config=centos-livecd-minimal.ks --fslabel=CentOS-minimal Filesystem label=CentOS-minimal OS type: Linux Block size=4096 (log=2)
I have installed Centos 5.4 and then on top of that i have been installing many softwares over the time ( like pbx system , web console , billing etc.) and now it has come to a quite stable stage. the problem is i have to move this installation to another machine with different config etc. even have to install it on multiple systems. the idea is to create a bootable linux iso of the current machine with all the softwares so i can simply put it in a different machine and make it install and run without much fuss. is creating a linux appliance the only solution ? or is there any way to backup the current machine in an iso format and then install it on another machine? also i would like to make this completely hardware independent.
I'm looking for a way to create a live cd from the existing image. I'd like to include some sort of installer, I've found gui remaster utilities, but none for the shell only. I need to setup the image to automatically login, so the user could just pop in the cd and start it up without a monitor or keyboard.
All of my PCs are set up to either run Ubuntu directly, or are dual boot Ubuntu and some variant of Windows. One of the things I like about this is that in the rare instances that I get a virus I can simply boot into Ubuntu and run ClamAV to remove the virus from there.
I have a friend who recently picked up a nasty virus and we are having a hard time getting his machine to boot at all without all sort of strange behaviors. Under that scenario I can't trust Wubi to work correctly. Soo....
Is it possible for me to create a bootable CD, DVD or USB drive from my machine? I'd like to use my machine because I can update the virus definitions before I create the image and then use that to clean his machine.
As I understand it creating an image of a Linux system makes an exact copy of the OS and any user files/configurations/programs etc. What i would love to do is create an image of my work PC and install it at home on my desktop. Can someone briefly explain the process of creating and installing images of Linux systems?
Home OS - windows Want - An image file that can be executed in a virtual machine(VMPlayer or VirtualBox) or booted directly on my home PC.
I am operating Ubuntu 10.10 installed to disk on a desktop and trying to create a bootable USB of the same to install on my netbook. I am using the instructions found here but every time I try to create the bootable USB, it fails. I get various error messages, such as:
Code: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Code: An uncaught exception was raised: [Errno 5] Input/output error or others. I think I've seen four or five others. Once I got 80% finished then it failed with a generic error stating that creating the bootable disk failed. I've tried formatting the USB drive as ext3, ext4, NTFS, and FAT, but I always get failures. I am writing from a physical CD, the same one I used to install the 10.10 that I am posting from.
Having spent weeks perfecting my Ubuntu the way I like it, I was wondering if there is a way of preserving it as a either a liveCD or USB flash drive, with a view of using it on other PC's activated upon start up?
Possibly (under the USB option) with the option of launching from the flash drive itself, or installing onto a PC's hard drive.So, in essence, it would be a liveCD but custom made to reflect the way my Ubuntu looks and feels now? Is there any easy-to-use software available to perform such a task?
creating a bootable floppy from a bootable floppy image on a NON Linux machine I am trying to install dsl (damnsmallLinux) on one of my old Compaq 2000 Deskpro machine having 256RAM and 2 GB hardisk. (which I hope to increase to 8 or 10 GB ...can I use a larger disk capacity??) I have downloaded the floppy bootable image from the website using a machine a fedora OS machine that does not have a floppy drive. I have even converted the image file to an iso file. I can copy this image file or iso file to the Compaq machine but how do I use it as a bootable floppy? OR how do I create a bootable floppy disk from this image?
I would like to install Windows XP on my netbook after some annoying issues. I haven't been able to find any solutions to this problem on Linux based systems after hours and hours and hours of surfing the Google. A lot of people say 'well use the usb startup disk creator!' Don't say that in here. It doesn't work.I already wasted about 3 hours on that. Any helpful advice would be greatly appreciated! (I have a 16GB thumb drive and Windows XP sp2)
I have an netbook, a small Asus Eee PC model 1001 PX running Ubuntu 10.04 LTS. It don't have an optical drive so I wish to make an bootable installation disk with an USB flash drive. I followed the guide on Ubuntus homepage [URL] How to make an USB drive). But it did not work. I have an standard 4 GB USB flash drive which is plugged in. I have formatted it to FAT. And it is now empty.I went to System > Administration -> opened 'Startup Disk Creator'.
I pushed in all the options. But then the system asked for a password. No worries, I thought. It must be my own. But it was not. So my problem is that I am missing a password in order to authorized the installation of Ubuntu 11.04 on the USB drive. what are A. the proper search phrase for it? and B.
I downloaded 64-bit fedora12 iso DVD image and created a DVD. When I tried to boot, the CD does not boot. I checked the documentation to see whether book.iso or any other file needs to be copied along with. My question is:
- What are the files I need to copy to a DVD for the DVD to boot up straight up from the DVD...? - If not, is there another way to get this fresh installation done.
I have 32-bit Fedora 11 installed in a machine, but need 64-Fedora to do some testing, before going with RH Linux.
On a Linux CD/DVD, there are compressed filesystem images for the live version for KDE or Gnome for example, but they have no extension, but they are clearly an image file ( compressed filesystem images for the live version before installation ) !!
I was wondering, How do I mount these compressed filesystem images, after I copy the ISO content of the CD/DVD on my system .... I want to edit some files or packages and make some changes, like if I want to customize a live version of gnome for example ! ... ( I know you might be tempted to tell me to use KIWI etc to customize etc ..... ) ... but I want to be able to mount the compressed file system image, then edit it for reading and writing while it is in a subdirectory on its own ... i want to open it ! ... is there a way to do this ??? ... these type of files have no extension ...
i can open this compressed filesystem image then to edit for read & write ... before I roll it back again ..... If and when I succeed .... what should I watch out for ? ... will the same compressed file image but slightly modified work again ?
PS. that same question could be kind of translated or be extended like : how do I use unionfs/squashfs programs on the command line to mount these image files with no extension for read & write mode ???
I have an XP laptop, currently running very low on HDD space and RAM capacity, waiting to be replaced. Very slow indeed. It recently had problems booting up, and now takes about 20 minutes to get fully started. Is it safe/advisable to run the demo version of Ubuntu from the LiveCD? I really can't afford to trash or crash my computer, it's got lots of important data on it etc.
I am trying to create a bootable USB stick in Windows to install Debian on my laptop. I have looked at the guide on the [URL] website, but it seems to assume you already have access to a Linux machine with the use of zcat and other extractors. Is there anyway to create a bootable Debian USB stick in Windows? By the way, I'm trying to simply get the USB stick to become bootable and then install the OS through the internet on my laptop. My laptop does not have an optical drive, so I have to do it this way.
I have downloaded Fedora-12-x86_64-DVD.iso. Now I want to create a bootable USB from the downloaded ISO file. I tried with the latest version of liveusb-creator 3.9.1. I am unable to do so. It took around 3 days to download the iso file and now I cant even use it.
ERROR MESSAGE:: Fedora-12-x86_64-DVD.iso selected Verifying filesystem... Extracting live image to USB device... Wrote to device at 1 MB/sec Creating 100MB persistent overlay LiveUSB creation failed! Here is the screen shot....
Recently I've been struggling with an upgrade to Karmic Koala (see my Cannot Boot from Hard Disk) from Jaunty Jackalope. Despite a valiant effort to find and install grub2 I've decided instead to download and install Lucid Linx. However when I visit the download site on ubuntu.com it gives no options as to where I might save it. Since I'm currently running Karmic from a LiveCD the filesystem doesn't have enough room for the 700mg .iso, although I have plenty of room on the 40 gig HDD. How do I point the download towards my hdd rather than the LiveCD filesystem?
how to add packages to an existing Ubuntu ISO or LiveCD (Think like slipstreaming Windows Service Packs into Windows installation CDs, if that helps). I want to add things such as more games or the restricted extras plugins so that I don't have to go get them every time I install the OS on someone's computer, things like that. Not as important, but if it would be possible to remove packages
PS I'm not necessarily looking for a specific version, but I'm currently running 9.10 on one machine and 10.04 (soon to be 10.10) on another. A guide for any Ubuntu distro would be fine though. I'm just as interested in learning the theory of it as I am the actual execution.
I have a fedora 11 installation on my machine , with a customized partitioning of the 500GB sata HDD , I wanted to create a exact replica image on a USB stick , for future installations on other 500GB sata HDDs .. while only need to create a copy of the 5 GB (/boot + / ) while the remaining 400 GB + is a Data Logger partition which can be created by a script. I tried doing a rsync .. but have got stuck up with the bootable drive configs et all ..
I just brought a netbook(1005HA) and wanted to try out Ubuntu netbook remix 10.04 but I clean installed it.I like it but there are programs on Windows that I need to use for my HD2. My friend put a windows 7 .iso file on the netbook and I transferred the image to my USB drive to make a bootable USB but it does not boot. install Windows 7 from a USB using Ubuntu correctly?
I have a laptop (hp 8530w) with Vista and disk encryption software installed on the internal hard drive. As I cannot touch the internal hard drive, I would like to install and run Ubuntu from an external hard drive (500 hitachi in an enclosure with USB and eSata port). The idea being that when the drive is connected I run Ubuntu and when it is not the internal HDD is used to boot. I already installed Ubuntu 10.04 LTS on this external hard drive. I would like to run it using eSata interface and not USB as the former offers better performance. Unfortunately, as it turns out my BIOS does not allow me to boot directly from eSata disk. I can however boot from USB.
I thought it would be possible to install a boot loader on a USB stick and tell it somehow that Ubuntu is installed on the eSata disk and load the system from there. I installed GRUB on a USB stick without grub.cfg. This allowed me to load GRUB and get to its shell. Here I discovered another issue. Using GRUB "ls" command the eSata drive is not listed - I can see the USB stick (hd0) and the internal drive (hd1) but no eSata drive. Not being an expert I don't know when in the boot process the eSata disk is detected. If I load Ubuntu completely from USB stick I can see it listed with "fdisk -l" command.
At this point, knowing that I can boot from USB, I'm wondering if there is any way to have a hybrid solution with USB stick storing only what's required to bootstrap Ubuntu, and then have everything else stored on and mounted to my external drive. Is there any other, better way (assuming I cannot do anything on the internal hard drive like repartitioning it, etc ...) to get to what I'm after? I know that I could boot and run Ubuntu using USB interface only but as I stated above I would like to use eSata as it offers better performance. I suppose I'm not the only one trying to do that. Unfortunately my web research did not reveal any solutions.
i have Ubuntu 10.04 installed on a virtual machine. i have made a modification and would like to create a CD of this running system.I guess i need to first make and ISO of the system and the copy to a CD. can anyone give guidance on the process to do this?
this is in the wrong section, but I wasn't sure where to put it. Since the background to my problem is kind of long winded I've split this post into two sections: Short version of problem
I have a PC that has two internal drives: one drive (drive A) is empty, and the other (drive B) has a copy of windows vista installed. At the moment the PC boots from drive A. I'd like to transfer everything from drive A to drive B, so that this new disk will boot and behave nicely and windows will still function.
Is there any easy way to do this in ubuntu? I'm guessing I can use something like dd, but will this copy the boot sector and will I have to mess around with the partition table? Long version of the problem
Today I built a new PC for my dad with two internal drives. He was previously using vista on a laptop which died a few days ago, and I'd like to install vista on one disk of the new PC, and ubuntu on the other disk.
He has a licensed copy of Vista for his laptop, but it came as a "system restore" disk, and so I can't install vista directly onto the new PC. I have an identical laptop to his, so I took out the drive from his laptop, put it in my laptop, and did a "system restore" from the disk that came with the laptop. I then took out the drive from my laptop, and put this inside the new PC. It boots up fine, and I installed all the necessary drivers and etc to make windows work.
Now instead of using a slow/small laptop drive inside the new PC, I'd like to be able to clone the data on laptop disk and this onto one of the bigger/faster internal drives of the new PC. How can I do this from ubuntu, so that the new drive will boot windows?
I'm fairly certain it can be done using dd, but how do I make sure the information in the boot sector (or partition table) is correct for the new drive? I'm asking this because when I put my laptop drive into the new PC initially, I had connected it as an external drive, and when I tried booting from this there was an error, something like "Invalid partition table" (I think). I figured that when I did a "system restore" on my laptop, the drive was the only drive available, so this would be HDA, or SDA in the boot record of that disk. But when I added it to a system where other drives were available, it was no longer at that same location, so the boot loader couldn't find the data it was looking for to load the system.
Recently I have started looking into squashfs filesystems which are used by many LiveCDs. I see that the Debian Live Project also has a squashfs image of their LiveCD. I am wondering how to use that squashfs image to make a bootable USB LiveCD?