Debian Configuration :: Copy Full System To Another Machine

Mar 31, 2016

I am setting up a mail server on debian. Once it's done, I'd like to have an indentical server on another machine, where debian will also be installed. The solution has to be hardware agnostic, so source machine is different than destination machine. I was reading on some wiki page that one can simply copy the root filesystem via rsync to the computer that he'd like to install the system on, then chroot to it and test if everything works. I'm guessing I'd have to change a couple things before, like :

- The network config
- The /etc/fstab file (disks and partitions may be different)

This article is about using rsync to transfer a copy of your "/" tree, excluding a few select folders. This approach is considered to be better than disk cloning with dd since it allows for a different size, partition table and filesystem to be used, and better than copying with cp -a as well, because it allows greater control over file permissions, attributes, Access Control Lists (ACLs) and extended attributes. [1]

View 13 Replies


ADVERTISEMENT

Debian Configuration :: Can Migrate From Virtual Machine To Physical System?

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

General :: Copy A LVM Configuration To Another Machine?

Jan 11, 2011

I inherited a machine that's set up with 3 disks, managed by LVM (v 2.02.46-RHEL5). I just got a new box with the same hardware configuration, and would like to clone the disk setup by copying an LVM config file from the first box to the second, and have LVM on the new box set up the disks according to that same configuration. Is there a way to do this?

View 2 Replies View Related

Debian Configuration :: Can't Copy A File From SMB Share To The Local File System

Aug 17, 2015

There is this bug in the latest version of Ubuntu, which is also Jessie, which is:

Can't copy a file from SMB share to the local file system: Software caused connection abort

The problem, apparently, is that newer versions of Samba hit servers with multiple requests at the same time, and for some reason the Zyxel and Iomega boxes can't handle this. The best solution they've come up with is to modify the smb.conf file on your server to include this setting: "max mux = 1".

Here is the reference material on this bug: [URL] ....

People who develop samba have fixed it in the latest version but neither the ubuntu nor Debian have released the fixed version of nautilus, as of yet. Here, is the reference: [URL] ....

View 0 Replies View Related

Ubuntu :: Copy System Data To Another Machine?

Feb 7, 2011

I am looking for a way to see if it is possible to copy the system state of a system to another system.Is it possible to simply move the folder structure over to another machine, and have it work? Do I need any special partitions for /var, /home, etc?My machine is dying slowly, and I really want the quickest way to migrate the system over to the new system.

View 7 Replies View Related

General :: Copy Files From System To Machine To Share On Windows?

Jun 30, 2010

I need a command-line method of copying files from a Linux box to a Windows machine that is in a domain and requires authentication. I cannot install additional software or services on the Windows XP machine. I can install any software on the Linux machine. I've tried scp, but the connection failed and if my understanding is correct it is because scp requires that the target (windows machine) be running an ssh service. Is there a command-line linux utility that can pass Windows domain user and password and then copy a file from the linux machine to a share on the windows machine?

View 1 Replies View Related

General :: Copy Folders From Windows Machine To System Script?

Oct 7, 2010

I'm looking for a script to run that will be run from my linux box to copy folders from a windows server at a certain time on a daily basis.

View 2 Replies View Related

Debian Configuration :: Root Drive Full

Jan 27, 2016

I think my root drive is 100% full causing strange problems with my video server. What steps can I use to see what's taking up the room on the drive and perhaps identify files that can safely be deleted?

Code: Select allroot@lenny:/# df -h
Filesystem               Size  Used Avail Use% Mounted on
/dev/sda2                 55G   53G     0 100% /
udev                      10M     0   10M   0% /dev
tmpfs                    793M  1.1M  792M   1% /run

[code]...

View 14 Replies View Related

Debian Configuration :: Difference Between KDE-Standard And KDE-Full?

Feb 11, 2011

What is the difference between KDE-Standard and KDE-Full? Is it just the amount of software that comes with it by default?

View 2 Replies View Related

Debian Configuration :: How To Make Desktop Full Screen In Vmware

Feb 6, 2016

How to make debian desktop full screen in vmware? I am using vmware workstation ...

View 1 Replies View Related

Debian Configuration :: Going From Full-screen Console To Gnome Desktop?

Jan 13, 2011

This only started after the recent updates which included a lot of sysv stuff in Squeeze. I'm not talking the Gnome or Xwindows consoles, I'm talking the full-on type you get when you do the CTL-ALT-F2 type of console. before those updates, I had no trouble. Now I can't get back into the gui by pressing CTL-ALT-F7 as usual. All i get is just a black screen. I do have the nvidia proprietary driver installed using DKMS, and I am running the latest (I think) liquorix kernel.

View 5 Replies View Related

Debian Configuration :: Jessie LVM - Full Disk / Large Logs And GParted

Sep 23, 2015

So, my issues since upgrading to Jessie seem to compound. When I fix one issue, two more arise. Right now, I have a full system disk. How it got so full. So I started poking around. I ran

Code: Select all find / -type f -size +50M -exec ls -lh {} ; | awk '{ print $NF ": " $5 }'

Found a few files I could delete, and did, but I also found Code: Select all/var/log/syslog.1: 33G
/var/log/messages: 33G
/var/log/user.log: 33G

What I find strange is that they're all exactly 33G each. So that accounts for the missing 99GB I deleted them, however only recovered 27Gb. Whats weird is when I type df -h I get

Code: Select allFilesystem      Size  Used Avail Use% Mounted on
/dev/dm-0       106G   74G   27G  74% /
udev             10M     0   10M   0% /dev
tmpfs           3.2G  9.7M  3.2G   1% /run
tmpfs           7.9G     0  7.9G   0% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           7.9G     0  7.9G   0% /sys/fs/cgroup
/dev/sda1       228M   27M  189M  13% /boot
/dev/sdb1       1.9T   62G  1.8T   4% /media/ntfs
tmpfs           1.6G     0  1.6G   0% /run/user/0

What are the tmpfs's and how can I reclaim that space, and what is /dev/dm-0 and why is that taking up so much space?

I have 2 LVGs vgdisplay -v

Code: Select allroot@SETV-007-WOWZA:~# vgdisplay -v
    DEGRADED MODE. Incomplete RAID LVs will be processed.
    Finding all volume groups
    Finding volume group "WOWZASERVER"

[Code] ....

After deleting the log files, I was able to regain access to my GDM session. But I still cant find out what /dev/dm-0 is, and where all the 75 GB is being taken up.

I just noticed, however, even though I can access the drive A-OK via browser, terminal, and web services (Our wowza) when I enter gParted I get this error for sda, my primary OS drive!

Code: Select all  Libparted Bug Found!

Error informing the kernel about modifications to partition /dev/sda2 -- Invalid argument. This means Linux won't know about any changes you made to /dev/sda2 until you reboot -- so you shouldn't mount it or use it in any way before rebooting

Now that I'm in gParted I see 3 partitions: [URL] ....

It reports now, that I have used ALL of my disk space.

Post Log delete, and fresh reboot, this is what Code: Select alldf -h outputs

Code:
Select all Filesystem      Size  Used Avail Use% Mounted on
/dev/dm-0       106G  8.7G   92G   9% /
udev             10M     0   10M   0% /dev
tmpfs           3.2G  9.8M  3.2G   1% /run
tmpfs           7.9G   80K  7.9G   1% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock

[Code] ....

What the heck is going on?

View 0 Replies View Related

Debian :: Backing Up The Full System Onto A Bootable CD/DVD?

Nov 10, 2010

I come from a PCLinuxOS tradition (about two years), and a great full backup program was mklivecd, where I would use a GUI to make a bootable livecd/dvd with all my system which was handy in case something went wrong. Every week or so I would create a DVD ready for emergencies. After looking at the options in Debian (using Squeeze, and very happy with it for a few months now), I'm wondering if there is something similar. Remastersys, it seems, doesn't work with GRUB2 (only with GRUB-legacy), and Partimage makes images, not bootable CDs/DVDs. What is your full-backup/bootable system strategy, something, if possible, as easy/straightforward as mklivecd?

View 8 Replies View Related

Ubuntu :: Copy SCP A Couple Files From 10.10 Machine To A Fedora 12 Machine

Dec 8, 2010

I have been trying to SCP a couple files from my Ubuntu 10.10 machine to a Fedora 12 machine. Before today, did it with out any problems, always worked. Today however; after the SCP is complete from my machine, the file on the other machine is zero bytes, an empty file. The only thing I can remember getting changed was the new kernel that was in the update I did today. But I don't think that would have changed the SCP works.

View 5 Replies View Related

Debian Configuration :: Exclude Directories From Bootstrap Copy?

May 24, 2011

I have successfully created an iso of my current running system using live build with the --bootstrap copy option..As expected, the image is gigantic. I would like to be able to use live-build to create copy-of-host iso's, but with specific options to -exclude specific pathways (ie. music folders, picture folders etc). Is there a way to do this? I did run a configuration and build using an option similar to that found in tar (something like -exclude=/home/user/music) and it ran through without any apparent errors, however, there was not any iso image to be found.

View 2 Replies View Related

Debian :: Create Full System Backup To ISO / IMG-file

Jan 28, 2014

I would like to create a full systembackup to a ISO/IMG-file. I've been searching and found mondorescue.org, but something is wrong with package for debian 6.

View 14 Replies View Related

Debian Configuration :: No Longer Allowed To Access The System Configuration

Jul 31, 2011

I am using Squessze and Gnome. When I try to use the gui System>Administration>Network or Users and Groups I get the error The configuration could not be loaded. You are not allowed to access the system configuration.Everything was working before. I read around a bit. In some cases,it was caused by mismatching group and password files after using the gui. I do not know how to check if they are matching. Of course I do not know for sure that is the problem in my case.

View 14 Replies View Related

Debian Configuration :: Can't Ping Windows Xp Machine

Jan 23, 2010

I recently did a clean install of Debian 5, and a backup program called BackupPC. Both machines are on a small local network served by a router. Both machines have statically mapped IP addresses, done by the router via matching MAC addresses in a table of corresponding IP addresses (192.168.0.2 (HP-PC-XP), 192.168.0.3 (Debian). I configured Backup PC correctly (I think)...Upon running Backuppc, the first thing it tries to do when its time to run a backup is to ping the machine to be backed up. The name of the PC is stored in a backup pc config file. (I believe BackupPC does a DHCP request with the machine name to get the ip address, but not sure). Running the backup results in BackupPC tells me that it can't ping my xp machine. If I open up a terminal window in debian, i can successfully ping my xp machine when i use the ip address. 92.160.0.2 If I ping using the host name of the xp machine (e.g. HP-PC_XP), the ping command displays some ip address i've never seen...something like 63.123.155.104....how is it getting that and how can it be corrected?

I recall that nslookup looks at the local hosts file first to resolve the name....i look in my hosts file and found no such address (only contained localhost)....now what?

View 2 Replies View Related

Debian Configuration :: SMP Kernel On Uniproc Machine

Jun 8, 2010

I have known for a while that my puny Celeron 633 box is running an SMP kernel but I didn't care until now. I do not remember installing any SMP kernel. It would not have made sense.What should I do to make sure I'm running a uniproc kernel? I wanted to edit config-2.6.26-2-686 and change all the lines ending in SMP=yes to SMP=no but am not sure what this will do.

View 1 Replies View Related

Debian Configuration :: Cannot Remote Desktop To Machine?

Dec 16, 2010

I cannot remote desktop to the Debian machine from anywhere,hether within the same network, or on a different network elsewhere. Also, the personal wiki I set up on it to be viewed via a normal web browser cannot be accessed, either. Both time out when attempting to connect to them. I can still ping the Debian machine when on the same network, though.

This started some time ago when we had a failure occur on our main server.had to powercycle everything in order to restore things back to normal, the Debian machine included. Since that time, this problem started to occur. This is a major thorn in my side in attempting to prepare for our website to move,I've been unable to figure out how to fix it.Originally, I thought it would be something in between the Debian machine and anything else, which would mean something like our firewall box or our hardware switch was the problem. But the tech support people who maintain those for us confirm that there is nothing wrong with them, so now I'm not certain anymore.

View 14 Replies View Related

Configuration :: Sid Machine Can't Connect To Debian.org / Solve It?

Feb 1, 2011

My sid machine currently can't access debian.org, through apt hitting the repositories, surfing through Epiphany or Iceweasel, or pinging the server directly. It was working fine until about four days ago. However, if I type in the IP address, I can access the website, so it must be some sort of DNS issue. My home server, running Squeeze, can access debian.org just fine. Any suggestions for how to fix it?

View 1 Replies View Related

Debian Configuration :: Can't Run Any Machine On VirtualBox OSE / Resolve This?

Apr 10, 2011

I've installed newest Debian (Squeeze) and then on fresh system made instalation of VirtualBox OSE as it is written on http://wiki.debian.org/VirtualBox.
I've also created virtual machine, however when I try to run it I got error message:

RTR3Init failed with rc=-1912(rc=-1912)
Please install the virtual-ose-dkms package and execute 'modprobe vboxdrv' as root

And later on code...

View 14 Replies View Related

Debian Configuration :: Permission Denied To Copy Files Onto Android Phone?

Jul 9, 2011

Here is a copy of my fstab # /etc/fstab: static file system information.

#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices

[code]...

View 6 Replies View Related

General :: Copy Files From Machine A To Machine B?

Mar 8, 2010

How can i copy a files from Machine A to Machine B.Which is LAN connected

View 4 Replies View Related

Debian Configuration :: Install Open Connect On Server Machine

Sep 23, 2015

I'm trying to install the openconnect VPN client on a server machine, Debian 7 Wheezy, and APT is trying to install a lot of dependencies. I think it's trying to install the whole desktop environment.I was searching the web but all articles are for desktop machines and nobody mentions my problem with the dependencies. I also have openconnect installed in two Gnome desktop machines without problems.

This is the output:

Code: Select all# apt-get install openconnect
Reading package lists... Done
Building dependency tree       
Reading state information... Done

[code]...

View 2 Replies View Related

Debian Configuration :: Share Files Between Machine And Some Windows 95/98 Machines?

Apr 22, 2010

I'm running kernel release 2.6.26-2-686 on a i686 and are trying to share files between my machine and some Windows 95/98 machines. When I enter smb://ip_number/share_name in Nautilus, it works. I can browse the files. When I try the same with smbclient or smbmount, it complains.

smbclient -I=ip_number -L=//server/share gives cli_rpc_pipe_open: cli_nt_create failed on pipe srvsvc to machine tf_calibration. Error was ERRSRV - ERRerror (Non-specific error code.)

View 4 Replies View Related

Debian Configuration :: How To Browse Partition On Network Windows Machine

May 31, 2010

I have a external harddisk attached to my linux PC.I have a laptop having windows 7 on my network.I want to to be able to open up the folder in the external harddisk(linux partition) and check the files from my laptop. People suggest samba. But I am not able to configure correctly. Please excuse me and give me few detailed instructions.

View 4 Replies View Related

Debian Configuration :: Use A Network Bridge To Connect Virtual Machine?

Jul 26, 2011

I'm attempting to use a network bridge to connect my virtual machine, like so:

[Code]...

The issue is that when I type the following command, I get the further following horrible error message that doesn't seem to really point me to anywhere and I can't seem to find any relevant information to my problem on the web:

root@darkstacks:~# qemu-system-i386 -hda test.img -m 128 -curses -net nic -net tap,ifname=tap0 warning: could not configure /dev/net/tun: no virtual network emulation

Does anyone have any idea what I need to do here? My processor does not have the vmx flag, as it's a 2.4GHz P4. I don't know if that might have something to do with it.

View 3 Replies View Related

Debian :: System Freezes With No Particular Motive But Most Often When Watching YouTube Video In Full Screen Mode

Feb 19, 2015

From time to time system freezes with no particular motive but most often when watching you tube video in full screen mode. How to diagnose freeze, hang, blocking problems in debian jessie system amd 64 gnome 3?

View 2 Replies View Related

Debian Configuration :: Allow Gnome Login By Root User On A Test Machine?

May 2, 2011

Just for some testing on a test non-productive machine, how to allow Gnome login by root user on squeeze?

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved