Right direction regarding the creation of a bootable Linux Image for PXE booting. I've already consulted google and the other obvious sources I could think of, but it seems that PXE is mostly used to install stuff, which isn't quite what I need.
The goal here is to have a pool of computers that boot from a central source so maintenance is less of a hassle. Installation of the individual PCs is not desired and I'm supposed to provide a functional Linux via PXE booting.
What I need is basically a way to turn a working Linux into an image that can be booted via network. Or to recreate that Linux as an image that I can boot.
I have a hdd with WindowsXP that I'd like to install on Virtual boxe. The hdd is currently in use, but can put in enclosure to perform operation. To do the planned operation, what is the best way? Do I need make iso image of hdd? Or can I install directly to vboxe?
I am new to the Linux world and I am not sure if what I am trying to do is achievable or not. I am trying to make an image of my existing drives running Linux on a USB and I want to use the same image off the USB to clone more bootable hard drives. Something like what Ghost does in windows. The problem is using 'dd' the image is too big ( I have 1tb drives ) and then I am not sure how to convert these images back on to new drives so that they boot in the OS as well. i am not sure if there is a utility that would let you do that?
I have what I thought was a simple task of creating ISO images of my Windows 7 system partion and boot partiton (the C drive) on my physical hard drive that I could use to load Windows 7 onto a virtual machine. Anyway, I'm running Ubuntu off the CD drive and I can see my drive partions (checked using the fdisk -l command). I have tried many iterations of the mkisofs command, but no matter what I do I get the error message: unable to open disk image file 'dev/sdb/win7sys.iso'. I don't understand why it's trying to open an ISO file it is supposed to be creating. The -o FILE option sets the output file name, so the message makes no sense to me. Below is an example of a simple and longer version with more options that I have tried to create an image of my sytem partiton (sda1) and save it on an external drive (sdb) with the file name: win7sys.iso (the next step I think would be to create or merge both partition images as one iso file for the VM). But I can't get past this error.
* Note that the output after the -o parameter is the desired destination /dev/sdb (my external drive) for the image file and /dev/sda1 is my Windows 7 system or boot partition (sda2 is what Windows sees as the C drive).
I want to create a compressed ISO image file and mount that file to one of the virtual drives and access the content (read-only) without worrying about manual decompression/extraction.For Windows and Linux (Ubuntu) OSes.
I have just finished installing (after hard work ) Centos 5.4 x86 configured with Snort & Snorby as frontend web, i would like to create from this installation kind of image that could fit to almost any hardware type.
I can currently boot into a given Linux distro on my hard drive. Is there a generic way, for any given Linux distro, in which a boot CD can be created to boot that particular distribution to a login prompt ? The boot CD would need to bypass booting from the hard disk.
Before you say, use the installation CD ( or DVD ), I have repeatedly run into problems booting into a Linux distribution from the installation CD, for quite a number of distributions. These distributions have a so-called repair mode which quite often does not work, or has been gratuitously removed in some current release.
Before you can say, use SuperGrub ( or SuperGrub2 ), both have failed abysmally on my computer in a number of situations.
I am looking for a generalized cookbook solution for any given ( fairly modern/recent ) Linux distribution for creating such a boot CD for that distribution.
Searches on the Internet yield to me a bewildering series of conflicting info so I am asking here believing that there must be some surefire solution generic to Linux itself.
i feel like this is a stupid question as i have seen many different ways to make a debian live cd, but the only way i understand is remastersys.i am trying to make a snapshot of my own debian unstable (sid) to be capable of re-distribution. remastersys will ONLY work on ubuntu, lenny, and squeeze.if anyone knows of any relatively simple tools i could use or could write an easy how too that would be very much appreciated. i am attempting to stray away from ubuntu and ubuntu based distros and use debian instead, although i cant find any distribution based on debian that i really like (maybe linux mint debian edition based on debian testing), but i really want the software right out of unstable (sid) and i would like to be able to make a distribute-able snapshot for myself and others that may be interested. (xfce + compiz + others, hopefully plymouth, out of the box). i have made some very good headway on this, but i dont know how to make a live cd out of an installed system without remastersys.
however, I couldn't find a place in which it would really fit well. I have 2 hard drives, that I want to backup. I've heard of servers and things like that using a hard drive image. Is this similar to a disk image? What are the benefits of using hard drive imaging as opposed to using DVDs? And perhaps most importantly: how would I go about it using Fedora 10 (64 bit)?
Could anyone recommend a method of creating a full disk image. I have the Acronis bootable media, would this work to backup Linux partitions? I'm thinking that Acronis doesn't know or care what is written to the disk as it works at a lower level.
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 am working to create a new base image for our RHEL5 setups, and I wanted to make sure we are creating a functional, but secure, image. Can anyone point me to some writeup's that might provide some illumination on this potentially daunting task? Basically, I'm concerned about what packages are okay, which should be avoided, and what other caveats that I might not think of when putting this together.
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 am installing Linux on some spare space I left over from my previous two Windows installations.
From within Linux, what's the most risk-free way of imaging these two partitions and saving them to a single image file or archive? I want to preserve the entire partition because I have no idea what I may have forgotten to copy. What is the most suitable program that can do this?
Is there any way to run the partition in a virtual machine at a later date?
After this is done, I want to delete those old partitions and extend my Linux ones.
I am trying to create a bootable USB drive. I go to System > Administration > Startup Disk Creator and click on 'Other' as the image I want to use is not listed. I then find the Chrome OS image and double click but then I return to the Disk Creator and it is still not listed as the source disk.
So does anybody know how to get around this so I can use this program to create a bootable USB drive, or another way that I can create one? I have used the Disk Creator to create a bootable version of Jolicloud (which is probably one of the worst Linux distros out there) before, but now it won't work.
I'd like to create a bootable USB drive containing a Linux minimalist: In fact I want to do is boot from the USB (compatible BIOS), as a minimalist Linux starts, and runs a file Shell, then at the end of this execution, displaying a root prompt (command line) to the execution of some commands summary.
- No GUI
- Network access required
- Minimal Linux system (the minimum necessary to boot and run a file Shell), with selection of preloaded commands (grep, pico, cat, ...)
I saw on the net that is doable with DOS on Windows, but nothing on Linux. So I need help, because everything I find is related to an existing system (Ubuntu, Debian, ...), I want a gold basis the most minimalist and lightweight as possible. What I presented is feasible or not? If yes, how to achieve it?
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.
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.
The viewer should have a button that if clicked, would then convert the file to a TIFF, again using dcraw. That's it, that's all there is to it. My initial impression is that I should be able to achieve this using Python and GTK widgets. Am I right? How can I find the commands and structures I will need to work with?
I have two hard drives in my desktop. One HD has a working Ubuntu system-hence the ability to post here- and the other contains Windows XP Pro. When the XP drive crashed I was able to re-install an image I had saved using Acronis. Unfortunately the dual-boot option at startup is no longer available. I can only boot to Ubuntu. Not so bad really but there are some programs on Windows that I need to use. Is there any way, using Grub perhaps, that I can reconfigure an MBR to include the second hard drive and the Windows system?
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?
We have some servers that run in very harsh environments (research vessel) that need to have high-availability.We have software RAID 1 for some measure of resiliency, along with proper data backups (tapes etc), however we would like to be able to break out a new server and re-image it (including RAID setup) from a known good copy if the hardware completely fails on the production box. Simplicity of the process is a big plus.I am interested in any advice on the best way to approach this. My current approach (relatively new to Linux administration, totally new to MDADM) is to use DD to take a complete gzipped copy of one of the RAID'ed devices (from a live CD): ode: dd if=/dev/sda bs=4096 | gzip -c > /mnt/external/image/test.img then reverse the process on the new PC, finally using Code:mdadm --assemble to re-create and re-build the array.
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'm trying to create test system on which I can load saved images of a number of different distributions / versions from saved images. I'm using Acronis in Windows to manage the partitions and the images. This works fine for a while but every now and then I do something (typically install a new distro / version) and subsequent restores of the previously working images fail. After restoring the image I get a "grub rescue" prompt and thereafter I'm stuck. Typical advice in this situation seems to revolve around repairing the installation using a bootable dvd, but that's not really relevant in my case - I'm trying to find a way to reliably load these images. My configuration is
HD 1 Partition 1 -> Windows 15GB used to manage the system with Acronis. Partition 2 -> 20GB partition, used to mount linux ext3/4 image (or other operating systems) Partition 3 -> 20GB partition, used to mount linux swap partition remainder unformatted HD2 1 big partition to hold saved images
When ever I install an image I mount "/" and swap on partition 1 and 2. Whenever I save an image I save the MBR of HD1 and partitions 2 and 3 and of course the reverse to recover. So yesterday I recovered my Ubuntu 10.10 image and booted (selecting the OS in Acronis OS selector (boot manager)) which then shows me GRUB and then boots Linux. I then performed an Ubuntu upgrade to 11.4 and saved the image as usual. I then restored the 10.10 image and where I would normally see the grub menu I get "grub rescue>". So clearly the upgrade has messed with something grub related, but my question is where? It can't be in the MBR of HD1 or either of the partitions 2 / 3 as these get restored. Can anyone shed some light on what I might be doing wrong, or at least explain where these grub files actually are? I have always assumed that anything grub related is in my active partition (with the MBR "pointing to" this), clearly this is not correct.