Ubuntu :: Clone A Physical Harddrive Into A Virtual Box Drive?
Jul 8, 2010
I have two old windows 95 computers. The problem is I have files and programs that have specific settings that I need. The computers are old and I want to just make a copy of the hard drive and insert it into virtual box. How can I do this?
View 4 Replies
ADVERTISEMENT
Jun 27, 2010
My Ubuntu system drive is starting to throw up S.M.A.R.T. errors. I have two partitions on the drive (/home and /) and grub in the mbr. Is there a way to exactly clone this drive to another one so I don't need to reinstall or re-setup anything?
View 1 Replies
View Related
Aug 17, 2010
I am currently using windows xp, but I have acquired another hard drive and wish to install ubuntu to it, unfortunately i do not have a working cd drive. I have loaded the newest iso in daemon tools and it asks me if i want to install it in windows, or restart my computer to do a full install. i wish to do neither. i want to install a full copy to my other drive with the virtual cd drive. I have found alot of help dealing with installing it on the same drive as windows or something that would require a floppy drive. this task seems like it would be alot simpler than installing on the same drive, buy maybe not. Did i miss a tutorial somewhere?
View 2 Replies
View Related
Feb 11, 2011
This may seem like a silly question but I have many servers and sometimes we forget when we login if it physical or virtual running on a VMware system. This makes a diffrence when I try to get a console access etc. So I wanted to know before if its physical or VM.yes I know i can change motd once i get the info or make a list etc. There are many ways not OS related for me to find this info out. But I was wondering if there was a Linux command that I could use when I ssh to a system to check if its physical or logical?I have inventory information etc and vm vsphere to check but that can be time consuming if I just want to check something quick.
uname -a or something like that that would tell me would be cool. I am thinking there is no command as Linux really does not care if its running Vm or physical.
View 4 Replies
View Related
Jan 14, 2011
I just installed Ubuntu 10.10 64bit using Wubi. I had 32 bit installed in a Virtual machine on Windows but I wanted to install it to my harddrive (and wubi was easiest). I'm trying to install Cinelerra following the instructions at:http://cinelerra.org/docs/cinelerra_..._en.html#SEC13Once I get to:autoreconf -i --forceit gives a few errors. Here's a copy and paste from the terminal:Quote:
lee@ubuntu:~/hvirtual$ autoreconf -i --force
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 196.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 196.
[code]....
View 9 Replies
View Related
May 19, 2010
I'm working on building a pre-patched image of Linux and Windows. Windows I used sysprep and worked out pretty well but not sure what is the steps for Linux? I am planning to use CentOS and Ubuntu, is there a command or script that will recheck the MAC address and prompt for new machine name?
View 2 Replies
View Related
Mar 3, 2010
I am new to Linux kernel/user space programming having been an assembly programmer in my previous life. I am now using 2.6.x kernel on an embedded CPU that has a few dedicated hardware blocks (including more CPU running just C-code, i.e., no operating system). There is a single DRAM connected to this chip with one Linux CPU + multiple h/w blocks. No swapping.Question(s):
1. The Linux CPU needs to talk to hardware blocks that obviously physical DRAM addresses while Linux processes/threads use virtual addresses.
2. How do I translate these addresses back-n-forth? For example, a Linux process may want to allocate memory and then hand it off to a hardware block to write into it. Then after a while the process will read it.
3. Sometimes, the hardware block may write a physical address into the shared memory. The Linux CPU will read the shared memory and then convert the physical address to virtual memory and go read that location.
How does one achieve all of this? If this is being extremely stupid, then please let me know. Hopefully, you can give me some pointers.
View 3 Replies
View Related
Jul 18, 2010
I use the command ln -s a lot to create symbolic links. The problem is that I need to run a routine that looks for a specific string in ALL of my websites and I'd do it somehting like this:
Code: cd /home grep -R "function_enhanced_mail_v100.php" * however, it's going to recurse all the "folders" and include symbolic links which I don't wish to do. Is there any way to prevent this?
View 1 Replies
View Related
Jul 15, 2010
I am interested to know memory layout in linux os.What are the differences between physical address and virtual address?
View 1 Replies
View Related
Apr 2, 2009
I've read several write ups on how to convert a physical linux box to a virtual one, but have yet to do it. I've tried a few times just playing around with no success. Generally I use VMware ESX as my host of choice, but am open to citrix's XEN (as citrix presentation server is my day job). I run 3 websites out of the house (on junk left over desktop.. can't believe I've had such good (lucky) uptime). One of the sites was particularly difficult to set up, so I'd rather not ahve to do it over again. It's built on OScommerce (LAMP).. so it's a database server as well come to think of it. So.. what have you tried to convert with/to?
View 2 Replies
View Related
Jun 23, 2010
I am soon going to have to return my intel ssd for replacement. Therefore, I am going to be cloning the 160gb drive to a 320gb drive to keep my system settings while I am waiting for my new drive. I will not change the size of the partitions to fill the 320gb drive. I'll just change the grub settings if I absolutely have to. After that, I am going to have to clone the 320gb drive back to the replacement 160gb drive. Am I going to have problems doing that since I will be going from a larger to a smaller drive?I typically use Clonezilla with the default settings.
View 2 Replies
View Related
Feb 21, 2010
A process is trying one access to memory, for example through an array (ex.: vect[0]=123. What happens?
Here below what I guess but I'm not sure and accept any comment (please, distinguish between "the system" and "the CPU" in case).
Let's suppose swapping to disk disbled.
We have two scenarios: without and with cache.
If no cache is present in the system:
1. The CPU must discover the phys addr of vect[0] virtual addr. To do that, has to read from 3 (or 2 depending on the system?) pages tables, stored in memory as well.
2. The CPU writes to the final address.
These mean 4 memory accesses.
If cache is present:
1. Like above but, if the pages tables are in cache, we have 3 accesses to that.
2. If the req. page is not in cache, it's reads from ram and transferred to it. Afterwards, cache is written.
In the best case we have 4 cache accesses.
View 2 Replies
View Related
Jan 27, 2010
I have set up OpenVPN server using a bridged configuration. My networking "powers" aren't that advanced, so I did this by following the openvpn tutorial for bridged servers. I have tested this with several clients connecting to my server from different locations and it works very nicely (including broadcasts).
My server's LAN IP address is 192.168.2.4, and my LAN's mask is 24. Clients connecting to my server get assigned IP address that also fall within that subnet (i.e., the 192.168.2.x pool contains both physical machines in my home and "virtual" hosts). This is what the OpenVPN walkthrough specifies:
[Code]...
I was wondering if it would be possible for the VPN to fall within a different subnet (such as 10.0.1.x). I would also like to do that without adding another physical NIC to my server, or changing my physical IP address. I would imagine this is possible, since that's how hamachi does it.
View 1 Replies
View Related
Jun 26, 2010
I have a 32 bit Ubuntu installed and my Laptop has 4GB RAM, but only 3GB is considered by Linux. My question is: what is the reason for the upper limit on physical memory ?
Code:
dmesg | grep Memory [0.000000] Memory: 3052428k/3112960k available (4673k kernel code, 56364k reserved, 2121k data, 656k init, 2200904k highmem) I am familiar with the virtual memory concept where linux splits upper 1GB for kernel and lower 3GB for user processes. In total, linux 32bit can address 4GB virtual addresses. Does this meant that 1GB of physical memory is already mapped to 1GB of kernel space and Linux only shows the remaining 3GB physical memory left for the user in the above command.
I did some searching on the internet and found some articles related to this, but it only confused me further since some articles suggest 4GB is the upper limit with mentioning whether it's virtual or physical memory, some bring in the concept of PAE, etc. I'm relative new to Linux's memory management, so it'd be really helpful if someone could answer this.
View 4 Replies
View Related
May 12, 2011
I am encountering some problems regarding CentOS 5 and I am going to kindly ask your help in debugging further what is happening. I will give as much information as possible about the setup. Here we go. We use on one server of our servers, GOautodial, an inbound/outbound call center application, that it's installed on a CentOS 5.5 (Final).
# cat /etc/*release*
cat: /etc/lsb-release.d: Is a directory
CentOS release 5.5 (Final)
GoAutoDial CE 2.0
# uname -a
Linux xxxxx.com 2.6.18-194.8.1.el5.goPAE #1 SMP Fri Jul 30 05:30:57 EDT 2010 i686 i686 i386 GNU/Linux
View 7 Replies
View Related
Mar 22, 2010
I have a 120 gig drive that I'd like to clone before it fails completely. I was thinking I'd pull the drive from the server and build a separate machine that has it's own os installed and the source and destination drive. Does anyone know of any linux tools will will do a full drive copy? Additionally, If possible, I'd like to move to a larger drive. how I'd migrate the 120 drive to a 400 or so? 1 idea I have is to install os on 2 new drives to where it they will boot, Then boot with one and copy source to the newly created destination drive.
View 6 Replies
View Related
Oct 6, 2015
I've been experimenting with Debian coming up with a system with suits my needs. I have done this and I'm wondering, "Do I have to start from scratch on my physical machine or can I convert an existing VDI to IMG and possibly port it to the physical machine?"
System: Debian Testing
View 5 Replies
View Related
Nov 4, 2010
As i undertsand - out of 1GB of the virtual Address space for Kernel from 3GB to 4GB of the process address space, Kernel image (code, data, bss, stack, heap) resides staring @0x0 address. Vmalloc area starts either at the end of Physical ram size or at 896M. This 896M cap is mandated to ensure that minimum of 128MB is reserved as vmalloc_reserve for vmalloc,kmap etc.
Is the understanding correct? Now trying to map Physical Zones into this 1GB address space
Initial 16MB is mapped to ZONE_DMA
16MB - 896MB is mapped to ZONE_NORMAL
896MB - 1024MB is mapped to ZONE_HIGHMEM
Does this mean that Kernel image is residing in ZONE_DMA area? Any call to vmalloc() in kernel code will return address beyond 896M? insmod of any LKM will internally invoke vmalloc() to obtain contiguous area - where will this code physically located along with rest of kernel code in ZONE_DMA or in ZONE_HIGHMEM?
View 1 Replies
View Related
Dec 28, 2009
would it be possible to clone an IDE hard disk (on which I installed Fedora 10) on a SATA hard disk, and that programs can succeed
View 10 Replies
View Related
Aug 15, 2010
I cannot find this usb-creator. I want to install Ubuntu 10.04 x64 to a laptop harddrive using a USB drive. I think this is what I need but I am not sure. I tried mounting an ISO of Ubuntu, but did not find usb-creator. I tried some "sudo apt-get install usb-creator" command (cannot remember exact syntax, but the install succeeded) but I cannot find the installed application. If this is indeed the utility that I need, where do I find it?
View 2 Replies
View Related
Jun 27, 2011
I installed a 30 gig hard drive for extra storage space. It is currently using the ext2 file system. When looking at it in gparted, there is a key icon next to the drive. I would like to use this drive for storage with programs running in WINE, but can't even see the drive from there. From the normal OS, I can see and mount the drive, but can't use it for anything.
I am going to go out on a limb and guess that the key icon means it is locked somehow. How do I unlock/use this drive? Is there a command to use in the terminal, or within the Disk Utility that will do it?
View 3 Replies
View Related
Jan 7, 2010
i'm trying to clone a hard drive using dd & netcat.
Quote:
on target:
nc -l -p 1333 |dd of=/dev/sdb
on source:
dd if=/dev/sdb |nc 192.168.0.5 1333
However after a while since the process was initiated I get a
I/O error in filesystem ("....") meta-data dev ...block 0x..... ("xfs_read_buf") error 5 buf count 512 XFS: size check 2 failed
Further digging showed that the target hard drive was less in space by 100 kb. Both are 1 T drives seagte but different models, hence the diff in space maybe.The data on the original drive is only 900 GB.
View 6 Replies
View Related
May 19, 2011
I have not been able to clone my drive since the upgrade to Natty. This was never a problem for me in 'any' previous distro. I have a dual boot Windows 7/Natty system; and I never have a problem with the Windows partition getting cloned. partclone (Clonezilla) crashes about an hour and 15 min into the cloning of the Ubuntu partition. I'm getting a "buffer-overflow" error. I'm using clonezilla-live-1.2.5-35-amd64; and have been since Lucid. I've recently downloaded clonezilla-live-1.2.8-42-amd64.iso and am burning it to DVD now. I don't know if this is going to help; but I'm ready to try anything; as this is my only means of disaster recovery! During the reboot into Natty, I received some error messasges stating that there were inode problems. I don't know if this was on the source or destination drive; as I still had the destination drive connected to my USB port. Then I started thinking... What package, that wasn't there in Maverick, that is present in Natty messes with inodes???
Then I thought ZeitGeist So I ripped it and everything connected to it out-by-roots and tried running Clonezilla again; but no luck...Has anyone else had this problem; and what can I do about it I've replaced all of the relevant hardware; and two days and $500 later, I still don't have a solution.
View 9 Replies
View Related
May 12, 2011
I am converting over to linux ubuntu 11.04, and I have used it for a week, love it. I installed an old 30gb HDD in order to install it ubuntu to try it out. Now I want to erase my primary windows XP drive and reformat to ext4, just like linux. Is there any prog or method that will make a perfect copy of what I have on my current drive ubuntu and put it on the newly formatted drive primary, so that it can boot ubuntu will all of the stuff I have on it right now?
View 1 Replies
View Related
Aug 3, 2011
I am using MSI X620. I just intalled ubuntu 10.04 in it. Everything is fine except my DVD drive. The dvd drive doesn't work at all! When i press eject button ..nothing happens and there is no light blinking in the drive....when i load windows it works fine though! do i need to install drivers or something?
View 9 Replies
View Related
Jan 3, 2010
I read once that you could use VMWare's converter to convert a physical machine into a virtual machine to run in VirtualBox. Can someone point me in the direction of a tutorial or just give me instructions on how to do this? I was very confused by the converter and how to get the image to work with virtualbox.
View 1 Replies
View Related
Oct 28, 2010
I'm looking to move my 10.04 installation from an 80 GB HD to a 250 GB HD.
Last week, I successfully moved a Windows system from an 80 GB HD to a 320 GB HD using Clonezilla. However, I must have missed a command option, as I wound up with only 80 GB used on the new drive, and the remaining space unused. I used PartedMagic to resize the partition to use the full space, and all is now well.
Back to my Ubuntu move, on the second machine, I currently have three partitions - /, /swap, and /home. I'd like to expand / just a small amount, leave /swap sized as it is, and give most of the drive space to /home (as that is where I am running out of space). I think I have two options:
Option 1: Use Clonezilla to clone the drive (3 partitions), and then use PartedMagic to move/resize the partitions as desired.
Option 2: Use PartedMagic to set up 3 partitions to the sizes I want, then use Clonezilla to copy to the new partitions.
Option 1 seems to be the easier way. But, is there another option, a better way? Perhaps there's a command option in CloneZilla that I'm just not seeing, which would allow me to do the move in one step?
View 7 Replies
View Related
Jul 3, 2011
I currently have a 160GB hhd running Ubuntu 11.04 and Windows XP, with the following partition configuration:
sda1 Windows NTFS (primary-active and boot and system)
sda5 Linux Swap (logical)
sda6 Linux Ubuntu ext3 (root)
sda7 Linux Ubuntu ext3 (home)
sda2 other
I have Grub2 installed, which provides me the choice at boot to start either Ubuntu or XP. This currently works fine.
I want to clone this hhd and transfer to a new, larger hhd, and have several questions, since I don't want to make a mistake with something so crtical. 1) Which software is generally considered the safest, most reliable and easiest to use (dd, Gddrescue, Clonezilla, Paragon, Macrum Reflect, Easeus, Drive Image XML, or something else)?
2) Which software will be able to copy and include both operating systems in the partitions to be cloned?
3) Will that software change the booting process or options in the cloned copy in any way? I've read where using Easeus corrupts Grub2 and thus requires re-installing Grub2!
Are there any other concerns, considerations or factors I need to consider in cloning the hhd; e.g. prior formatting an external hhd, and with what file system? I've also read where FAT32 would be the choice, but don't really know for sure.
View 3 Replies
View Related
Jul 5, 2011
I want to clone an SGI IRIX hard drive over the network. The hardware is ancient, no usb, and the CD rom is shot, its scsi and Im worried I wont be able to get it to boot a live cd.
if I run dd on a running computer, what consequences might there be?
Code:
dd if=/dev/sda | gzip -1 - | ssh user@hostname dd of=image.gz
where /dev/sda is the local IRIX computer and of=image.gz is a free partition else where.
View 8 Replies
View Related
Aug 22, 2011
I wanted to back up my 4Gb boot drive and the new drive I had was slightly smaller. Couldn't find any info on here and precious little on the internet but I have previously used this technique to clone an 8Gb disk onto a 4Gb one. Since I have gained a lot of useful info from this forum over the years its probably time I contributed something. I used my netbook but this would work equally well from a live CD. Note the disk has to be unmounted so you can't use the live system. Firstly your USB stick probably has 2 partitions one for "/" and one for swap.
The first step is to reduce the "/" partition on the source drive to a size smaller than your target drive. I used gparted for this. Next create a partition on your target drive that is the same size or bigger than your newly shrunken partition. I formatted this although I'm not sure this is necessary. Personally I just used the whole drive and used a file on a hard disk as swap. Next you have to use dd to copy the partition.What is important is that you are copying the partition not the drive. So your source would be /dev/sdx1 and target /dev/sdy1 (you will need to find your own values for x&y).
Once again be very careful that you get these the right way around or you will destroy your souce disk. Even better do it in two stages - copy your source to a file and then the file to the target. Now you have a replica of your original disk but it is not bootable. If you are planning to use a swap partition you may as well create it now. Remember you will probably have to change /etc/fstab to read the new swap - at least on my system this was referenced by UUID. No need to change anything for the replicated partition as the UUID came over with everything else.
View 3 Replies
View Related