Ubuntu :: Disk Duplication To Work On Another Machine?
May 6, 2010
cant I simply take a working ubuntu hard drive and dd copy it onto another disk. Then put the disk in the other pc and it will work?
This way I could configure a machine at home, take the disk with me and use it at a place with no internet access.
View 7 Replies
ADVERTISEMENT
Nov 11, 2010
this is my first post here .I have two issues related to grub2 I upgraded recently from ubuntu 8 to 10.04 and upgraded grub 0.98 to 1.98. 1-How to prevent Grub from detecting one of Windows installations? or how does grub detect Windows. I have 2 hdds, they were backup of each other. but no more, I deleted one Windows by deleting most of the files so therefore I don't need it to be present in Grub 2 menu. How do I delete this? any suggestion? 2-For some reason grub2 only work correctly from sdb , even though I chose to install grub2 to sda too, but it seems grub is trying to find grub files on the same hard disk instead of on sdb, therefore it goes into grub rescue mode with error "file not found" . I set my computer to boot from sdb for now. but I would like to learn how to make sda's grub work. before it used to work with grub 0.98.
View 9 Replies
View Related
Jan 22, 2011
I have a really weird one. This may be a putty issue, or it may be a config issue in Ubuntu. I've no idea who to blame. I have four machines involved in my little issue that has me scratching my head on where to even BEGIN to diagnose what is going on. The computer I'm attempting to connect to (For identification purposes, I'll call it the main machine) is running a relatively new install of KUbuntu 10.04, stock install of openssh daemon. ufw is disabled, firewalls are off, etc, and I can prove that later.
The machine acting odd is a Win XP 32 bit running Putty. Haven't had a problem until this reload of the previously mentioned machine. A Work machine that is running RedHad of some flavour. A Virtual Machine running a headless setup of Ubunto 8.04. Now that the introductions are over, here is a quick map of the machines that can successfully connect with. My major problem is that I cannot get SSH (And ONLY SSH) to work between the XP machine and the main machine.
Work -> Main = Works
Work -> VM = Works
XP -> VM = Works
XP -> Main = Fails
XP -> VM -> Main = Works
Main -> Main = Works (IE: "ssh localhost")
VM -> Main = Works
When I try to get the XP machine to connect to the Main machine, I get an error with Putty saying:
"Server sent disconnect message
type 2(protocol error):
baad service request ssh-connection"
I've changed Putty to try using SSH Protocol 1 only, but it says the protocol isn't installed on the Main machine, which is true. I've tried setting just 1, and it gives me the error, and I've tried setting it to "2 only" and it again comes up with the error. I went into /var/log as root on the Main machine, and did a "tail -n0 -f *" and then tried to connect, but nothing relevant shows up.
As for the proof that the firewall is disabled, three of the machines are working with Synergy, I am able to swap between all three of the machines without a problem, I can get to WebAdmin from the XP machine to the Main machine, and I can open a Samba share from the XP machine to the Main machine without a problem. This sounds like a protocol issue, but I can't see anything in WebAdmin that'll put me in the right direction.
View 4 Replies
View Related
Apr 28, 2010
I have both ubuntu and kde-desktop installed, and after trying KDM, switched back to GDM which worked fine for a while (although KDE changed my other gnome settings like usplash and cursors which took a while to change back). A day later, though, when I start up my system, the screen flickers a few times then shows me a message that an x-server is already running, so hit no to try loading it on '0' again or yes to try another number.
If I hit no, it will briefly show me the KDE login screen refresh a few times and go back to the menu. If I hit yes, it refreshes about 7 times and finally shows the gnome login screen. This process takes a long time and I'm not sure is great for my screen.
View 3 Replies
View Related
Mar 3, 2010
i've checked the link, and it makes it better. but it doesn't include all the information. i'll continue searching the internet. However i have seen an example of creating a fd:
Code:
exec 5<&1
echo "TEST" >&5
exec 5>&-
as in the page, this was intended to redirect the stdout to the fd 5 and create it, and close it. i have the following questions:- what is exactly the meaning of second command? is it to redirect the command stdout "test" to the fd 5? and how i can see the contents of the fd 5? - in the first command, why the < is used instead if > and what is the difference between the below two commands as in the info bash *Redirection section It will be helpful if anyone could include a graph for file descriptor before and after different command execution.
[Code]...
View 5 Replies
View Related
Oct 23, 2009
I got a folder containing 20,0000 files (and will be more later), each of this file contains a single URL. What I am trying to do is to do statistics on number of duplicated URLs (file with same content) accumulated, say, from September to October by each day. For example, if file A was created in Sep 1st has a same content with file B created in Sep 15th, then we add 1 to number of duplication on Sep 15th (not Sep 1st). Currently I got a way to do it (in perl) as below:
(1) Read all files inside the folder, print out file content, and modified time into a big file in the format:
Code:
[URL] [month] [day]
(2) Sort the file by month then by day
(3) Then Create two hash : date and content
And then read url from each line into a hash 'content' from the big file (key is url, value left undef), for each new read url found in hash 'content', a duplication is detected, so mark '$date{$month.$day}++' The algorithm could be working but may take too long... so I am wondering if there is some easier way to do that besides hashes.
View 1 Replies
View Related
Mar 9, 2011
We're trying to take an existing system running multipathed SAN boot disks, duplicate that boot disk to another system volume, and boot a second system up with all the same parts running like the first system (think: cloning the system).However, multipathing is broke on the second system 'm sure I'm forgetting something stupid here after thecloning).Details:We have a freshly installed RHEL6 on IBM PPCThis is a boot off of a SAN volume with two paths. Installation went great - multipathing was auto-detected and used underneath the usual LVMs for the boot volumes. Looks and works great:
Code:
[root@goldimage dev]# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
[code]....
View 2 Replies
View Related
Oct 13, 2010
I'm beginning to write a custom RTP implementation and want to test its resilience to UDP traffic. I've searched on the web and all the links I can find are for analysing actual traffic, not generating it or messing it up.
Does anyone know of any software (preferably free software) that will, for example, take actual UDP traffic and drop packets, duplicate some and make some arrive late/out of sequence?
View 1 Replies
View Related
Jan 27, 2010
I've been landed with a disk from a friend whose machine we've never managed to get into the BIOS of and tweak the boot order to include a CD drive.
I pulled the disk from my own system and ran a from-scratch install on this shiny blank disk with numerous of the tweaks I like and he'll need. (Getting pleased with how the time to usable is still dropping doing an install).
What I'm concerned about is sticking this disk in his machine and using it. I've gone with the sort-of generic 32-bit base even though both his machine and mine are Athlons. However, he's a musician and has some rather nice audio kit - as well as, I suspect, different video hardware.
Am I likely to hit noticeable problems? Is there some script I can arm myself with to rescan available hardware and update config, or can someone give a list of packages to completely remove then reinstall via the recovery boot?
I know the latter option may well cause some dependency problems that see stuff I've already installed lost - I can cope with that if I can get the GUI running smoothly.
View 1 Replies
View Related
Jan 3, 2010
I am running Ubuntu 9.10 x64 on a relatively old laptop and I find Grub is taking about 20 seconds to initially load before booting the system. The laptop only has a single 120GB hard drive, and I chose the "use entire disk" option when installing, so I do not have any fancy partitioning scheme.When the system boots I get the "LOADING GRUB" text displayed and then shortly after it just shows the flashing cursor with no text, and stays there for about 20 seconds. After that it finally starts loading the system.All the searching I have done only turned up solutions relevant to people with multiple hard drives. This was not an issue on Grub 1.
View 1 Replies
View Related
Mar 13, 2009
I added another disk to an old Dell Dim2400 that had one HD. It was a blank disk, and instead fo re-loading and re-configuring SuSE, F10, and PCLOS, I did a cp command from another multi-boot computer, like so:
Code:
cp /dev/sda dev/sdd
sda is an 80G Seagate, with SuSE, F10, and PCLOS.
sdd is an 80G Western Digital.
The copy went perfect. It begins to load SuSE in the old Dell, showing new peripheral hardware, but it stops when it realizes it's on a WD and not on a Seagate. The line is something like, 'Looking for dev/by-uid=xxx-123-Seagate-yyy'. It asks if I want to go to the next device to boot up. I enter 'NO', because it will go to Windows.
It then exits to 'bin/sh' prompt (or something close (shell?)).
Can I boot LiveCD and modify this so it completes the load?
View 5 Replies
View Related
Feb 4, 2010
Can one install Linux on a dedicated hard disk on one machine, then move that disk to another machine and boot from it? I know Windows won't allow you to do that, but can it be done with Linux?
View 9 Replies
View Related
Jan 31, 2010
I'm trying to add a new hard disk to a fedora 12 machine. I have ran fdisk - OK. when I call mkfs.ext3 it sais device is muonted but when I call unmount it sais "not mounted".
View 2 Replies
View Related
Mar 25, 2010
I have a PowerPC computer, but it has troubles writing onto CD's. It reads fine, but anyway, is it possible to make the CD from my Windows x86 computer? It will be the PowerPC version [URL], but it will not be burnt from a PowerPC computer.
View 3 Replies
View Related
May 30, 2010
I installed 10.04 on a new machine and 'tried' to create a 4 disk RAID6 array on four new 4TB drives.The build seemed to go fine, but a check on the new dev shows the following:
/dev/md0:
Version : 00.90
Creation Time : Sun May 30 21:53:11 2010
[code]....
View 1 Replies
View Related
Sep 16, 2010
im trying to use ddrescue to clone a dying disk to a remote machine using ssh. this is my command:
Quote:
sudo ddrescue --block-size=4KiB /dev/sda1 - | ssh user@address 'cat /data/backup.img'
it returns the error "cat: can't open '/data/backup.img': No such file or directory"
View 3 Replies
View Related
Apr 13, 2011
2 quad core 2.4ghz westmere processors
24GB of RAM
GTX 460 GPU driving two widescreens
4 each 1TB WD disks all software striped and split between two PCI express channels an SSD containing a read only Fedora14 and housing the volatile files on a software striped volume. I run the proprietary NVIDIA driver and kernel 2.6.35.10-74The machine is an engineering workstation. It seems like however the I/O channel is handled in Linux doesn't scale well to larger machines with more CPUS and more memory. When I do a disk intensive operation like copying files from one location to another the X server response becomes dismal. I've tried raising the priority of X and lowering the priority of the IO bound processes but that doesn't help. Binding processes to specific cores doesn't help either. I haven't changed the default HZ setting or the default scheduler algorithm from stock Fedora.
I have a machine with 14 cores/threads sitting idle but pi$$ poor interactive response while doing disk IO.If I set up a huge ramdisk and do all operations through it then I don't notice the bottleneck. Raw sustained reads on my stripes range from 400MB/s on outer cylinders to 250MB/s on the inner cylinders. The numbers for writes are as expected.
View 5 Replies
View Related
Jan 14, 2010
Quote:
Originally Posted by mcnalu
Nepomuk/strigi slowed my machine to a crawl and used 1Gb of disk space so I turned it off. In my machine is the same thing. Turning it off is a right and wise solution?
View 6 Replies
View Related
Jan 8, 2010
I cannot install F11/12 into Sata hard disk with AMD SB700 neither full installation image or live image in USB drive. It cannot find the hard disk in my machine. But all the things are working fine with F10 installation. Does anyone have the same issue
View 5 Replies
View Related
Jul 20, 2011
I have an old unuseable computer at home that became useless after a hard disk failure. I don't want to spend money on buying a new PATA IDE HDD for it, so I was wondering if I can use a PXE boot server on my notebook (using a virtual machine with Linux) and boot a Linux on the old machine with PXE without using Hard Disk. It is possible? Do I will need to make some extra configuration or use some specific enviroment do do this?
View 1 Replies
View Related
Mar 16, 2010
I've been running my Dell Mini 9 with the latest alpha for 10.04 since January, but over the weekend I botched things pretty badly and decided to go back to 9.10.I saved my home directory to another machine, and proceeded to install from a 9.10 USB disk. Things didn't go terribly well (I kept seeing "devkit-disks-daemon" crashing) but the install did complete. I shutdown the netbook, yanked the USB drive and powered it back on only to be greeted the grub menu. Choosing any option yields: Code:error: out of memoryPress any key to continue...I did a little searching in places like:HTML there is no mention of that problem there, and running though the command line instructions has the same results. (the linux command seems to be the problem)I've tried re-installed grub from the directions on the page but it is failing with:
Code:
cp: cannot stat '/mnt/boot/grub/ufs1.mod': Input/output error
When I look up that file I see:
[code]...
View 9 Replies
View Related
Mar 17, 2010
How do I reconfigure grub when adding a disk to a machine where both disks have their own MBRs? I have two volumes:Disk 1 - actually mirrored RAID-1 drives managed by ICH9R on the motherboard Disk 2 - a single drive managed by ICH9R on the motherboard, but without RAID. Disk 1 is the "old" disk containing WinXP on the first partition. The MBR of Disk 1 was created by Windows. Disk 2 was built on the machine while Disk1 was unplugged. Disk2 has Win7 on /dev/sda1 and Fedora 12 on /dev/sda7. Obviously, Disk 2 has grub installed on its own MBR.
When I plug-in both Disk 1 and Disk 2 at the same time, I would like to reconfigure grub so that it gives me the option to switch between WinXP on Disk 1, Fedora on Disk 2 and Win7 on Disk 2. (I may also want to install Ubuntu on another partition of Disk 1, but that's a separate issue.) The problem is that when I plug in Disk 1, Disk 1 becomes /dev/dm-0 and Disk 2 becomes /dev/sdc (instead of /dev/sda as when I installed it). (I don't think I can switch this order because I'm worried that Windows will become confused.) So, how do I keep all partitions the same and get them all to work from grub? On which MBR will I need to install grub? How do I configure it to see all 3-4 of my operating systems? Do I fix grub from the Fedora LiveCD?
View 1 Replies
View Related
Feb 2, 2011
Windows (XP and 7 at least) come with a RPD (remote desktop) software already installed.Can I connect to that somehow?I though that NOMACHINE was the answer, but I think that it requires an independent server app to be on the remote machine. I just want to be able to use the one already there if possible.
I CAN run my virtual XP box inside my Ubuntu, connect via work's VPN and then use its Remote desktop app, but I'd rather go though Ubuntu instead if possible.My machine is a Ubuntu 9.10 x64 box. Not sure what other information is you need, so feel free to ask.
View 3 Replies
View Related
Feb 27, 2011
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.
View 1 Replies
View Related
Dec 23, 2010
I got a Ubuntu machine running a local web server. It is connected to an archaic 10mbit hub, and I'd like a little bit faster network. I got a new 100/1000mbit switch connected to my router. I have 3 other PC's running off it, no problems at all. No configuration was necessary, and all existing cables worked fine.
Since the router and hub are located at the opposite end of the house, and the switch is in my PC room, I made up a new cable to connect it to my Ubuntu machine. It's just a straight-through cable, just like the other cables connecting the switch to other PC's. Okay so, when I plug the cable in to the machine I get no ethernet lights on either the machine nor the switch. But here's the kicker: I plug the cable into my laptop (running Windows 7), and it works perfectly. I restart the machine with the cable in, and get a green light. As soon as Ubuntu loads up, no lights, no connectivity. It shouldn't matter, but I'm running a static IP on the machine. I also have static IP's on the other PC's connected to the switch and nothing had to be changed.
View 9 Replies
View Related
Feb 6, 2011
I have set up a virtual machine under VMware Player 3.1.2 in Debian. Operating system of this virtual machine is a Windows Server 2003. I would like to periodically test this Windows Server 2003 installation for viruses. Obvious solution would be to install an AV software under this Windows Server 2003 installation. However, I was wondering, is this possible to use NOD32 for Linux or clamav in order to test this Windows Server 2003 installation for viruses? Is NOD32 for Linux able to detect viruses inside the .vmdk file?
View 1 Replies
View Related
Jan 23, 2011
New subversion user here. I've run into a nasty problem. It seems that nautilus chokes any time it tries to display a directory containing .svn files. There seems to be some sort of timeout involved per object under version control. The larger the directory, the longer it takes to display. I'm talking minutes here for a fairly ordinary sized directory.
Now I know that nautilus is painfully slow even at the best of times, but this is just ridiculous. These delays are crippling. I have no problem with nautilus and svn files on my work machine, which has centos. So it looks to me like something is misconfigured somewhere. And it is something specific to .svn files.
View 1 Replies
View Related
Mar 22, 2011
I have a bunch of old machines that a Client has asked us to convert into Citrix terminals. We installed Ubuntu 10 and Citrix Receiver on them, but about 5 of them are connected to new widescreen LCD's and they boot into console mode (older monitors are fine). If we unplug the cable during the boot process and then plug it in, the monitor works fine. It's only when it's auto-detected during boot that it will not load the GUI. I believe it's an old TNT64 chipset.
View 1 Replies
View Related
Mar 23, 2010
When the machine name is used to ping itself it will resolve and the ping completes. When the machine name of other computers on the LAN are used they don't resolve. You have to put in the raw IP numbers (192.168.1.x). I have a router at 192.168.1.1 that seems to be configured fine. It uses the MAC address of one of the machines (cloned in) to keep the cable modem happy. Everything else works fine on the network, it's just that I can't use the names. The router sees those names, btw, and lists them as "attached devices".
Here is the output of dig:
Code:
dig
; <<>> DiG 9.6.1-P2 <<>>
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32277
;; flags: qr rd ra; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 13
;; QUESTION SECTION:
;. IN NS
;; ANSWER SECTION:
. 279640 IN NS e.root-servers.net.
. 279640 IN NS f.root-servers.net.
. 279640 IN NS g.root-servers.net.
. 279640 IN NS h.root-servers.net.
. 279640 IN NS i.root-servers.net.
. 279640 IN NS j.root-servers.net.
. 279640 IN NS k.root-servers.net.
. 279640 IN NS l.root-servers.net.
. 279640 IN NS m.root-servers.net.
. 279640 IN NS a.root-servers.net.
. 279640 IN NS b.root-servers.net.
. 279640 IN NS c.root-servers.net.
. 279640 IN NS d.root-servers.net.
;; ADDITIONAL SECTION:
f.root-servers.net. 432044 IN A 192.5.5.241
f.root-servers.net. 112569 IN AAAA 2001:500:2f::f
g.root-servers.net. 529910 IN A 192.112.36.4
h.root-servers.net. 528936 IN A 128.63.2.53
h.root-servers.net. 295210 IN AAAA 2001:500:1::803f:235
i.root-servers.net. 529756 IN A 192.36.148.17
j.root-servers.net. 529190 IN A 192.58.128.30
j.root-servers.net. 383477 IN AAAA 2001:503:c27::2:30
k.root-servers.net. 123313 IN A 193.0.14.129
k.root-servers.net. 530056 IN AAAA 2001:7fd::1
l.root-servers.net. 285249 IN A 199.7.83.42
l.root-servers.net. 529872 IN AAAA 2001:500:3::42
m.root-servers.net. 123264 IN A 202.12.27.33
;; Query time: 43 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Tue Mar 23 23:32:53 2010
;; MSG SIZE rcvd: 496
View 5 Replies
View Related
Jun 9, 2010
I have myself a perfectly working slackware 13.1 64 on my pc (well, tbh I gotta solve some ati and kde compose issues),BUTI can get no joy when trying to make it work in friend's pc.The slackware 13.1 32 install runs ok. I can even log in and run a init 4 session on kde.But with no apparent reason hard crashes (completely frozen system) hit the system aleatory (never last more than 5 minutes)
View 14 Replies
View Related