So I was doing the update to 10.04 when a freak thunderstorm knocked out the power. I can no longer load onto ubuntu from the HDD. I have been told to either do an emergency back up using the 10.04 live disk. I am not sure what to do when it comes to that. I have also heard I can just repair the boot file on the HDD. I don't know how to do that either. I wouldn't mind I fresh install but I do not want to lose any of my data.
I just installed natty. I use Deja dup to backup my photos to the server in my basement, but now I can't find them. I really cant understand why theyre gone, but they are, maybe because I'm unorganized. Anyways, my hard drive may not be totally overwritten. Can i rescue my old data, or at least parts of it? How?
I'd like to have a list of changes from default install or installed packages, and modified configs in order not to to waste space on binaries. This way, when restoring the script can just check if the packages are there, do configs match, and adjust accordingly.
Newly installed Lucid and several programs to get it just the way I like it. I went to make a backup of the entire system with remastersys for the second time (first time was ok) but everytime it says iso file too big, which it is at 16gb plus. I have been through and double checked that my personnel files, pics, music, movies are all removed and my virtual machine. When checking with "Disk usage analyzer" it says I have 158.8GB free but when I check the home file system itself it says I have 150.1GB free. Note the missing 8.1GB. I believe this is the root of my inability to make a backup.
I'm trying to make a backup script with rsync that backups "/opt/example" to /mnt/sharedfolder/backup
And with each output the name would show the date of the backup & time. Then there would be 5 backups each time before the oldest would get replaced. I found something that I think does what I need but every time I run it I get this message.
Code: rsync error: syntax or usage error (code 1) at main.c(1511) [Receiver=3.0.7] ./backupscript.sh: 65: /mnt/hgfs/bminecraft/: Permission denied BTW /mnt/hgfs/bminecraft/ is chmoded to 755 and yes that is the correct path.
I have decided to remove Windows from my disk, but I want to keep my current install of Ubuntu.
One possibility that sprang to mind was to make an image out of my Ubuntu install.
Since I dual boot, the disk is numbered "SDA2" (extended) "SDA5" (root) and then there is Swap. (Windows is the first part of the disk)
One question sprang to mind:
If I make an image out of it, what happens to the numbers? Will there be any conflicts? Not to mention the question of which program would be best (and easiest to use, preferably with a GUI, since I want to save time, not learn code).
And if I would go for a binary dump to an external disk (to put it back when the destination disk is empty), would the same problems arise? Or would that bring even more problems, like the issue of the swap partition, which I would have to receate, since it wouldn't fit on the "dump disk"?
This is all because the whole thing sounds very similar to placing the ubuntu partition to the front of the disk, which, as I have been told, is not a good idea.
My ubuntu login window seems to be chrased and seems no way to restore it. I was planning to move ahead with reinstalling it but could any1 tell me how can i copy data to external hard disk. I am in Mannual restore section with promt staying at root@ubuntu :/#
As I checked some online backup solutions I have found information that all of this which I checked have only clients for Win or Mac. But I'm looking for solution with Linux client.As I have read some info on one of the Googled page Linux probably is ready for being an online backup solution as is.So my idea is to create automatic (in the background) backup of my files (photos and docs) with my outside hosting server. I have unlimited shared hosting server with ftp access. Is there any option to built such solution to make backup synchronisation between my Linux comp and shared hosting? What should I get to know to start with such option?
I have been using backintime so far. Now I am changing to 64bit and have installed backintime. I received first some kind of warning that the snapshots were converted to some new format. But still I can not do any snapshots with it, I am simply told backintime could not make any backups.
I would like to make a backup of my /home directory onto a NAS device, and have whatever software is used for the purpose update (new and changed files) every night, or perhaps everytime there is a period of inactivity. Any suggestions for a GUI package that will do this?
I do not want a complete backup each time, just the new or changed files. Also prefer software that backs up to a mirror of the original (i.e., uncompressed folders and files)
I would like to make a backup file from my fedora 12, in case if I have any problem with it, I could restore all my programs and settings from OS, I used do this with northon ghost in windows, but now in linux I don't know for sure. Yesterday I made a backup, in the end it was 34gb of his size, I wanna backup only what is used, how I do this?
What is best to make a image or a backup. Whit what for program. By a image form what partion do i have to make a image. By backup what directory to backup.
so that when by linux is corrupt i can do a reinstall.
I am trying to create a script which will backup all my data to a remote ftp serverI need to tar all folders inside /data separately /data/as - /data/as/001 - /data/as/002 - /data/as/003 /data/as/004 - etc etcfor dir in */; do dir=`echo $dir | tr -d '/'`; echo $dir; tar czf $dir.tar.gz $dir; done
I'm working with Eclipse and it's starting to misbehave now and then which completely freezes my computer. Is there any emergency command to kill such a misbehaving process so I don't have to reboot my computer?
I already have a emergency xkill icon in my taskbar and a [Ctrl]+[F1] console with "> sudo killall eclipse" pretyped(!) but sometimes it's even to late for this. What I would need is a emergency command/console that gets a guaranteed amount of process time so I can kill these process.
I want a USB drive for emergency situations. It will have sensitive information, family photos, etc. stored on it. I want it to have one encrypted portion (TrueCrypt) for the sensitive materials. I want the files to be able to be viewed on a Windows machine first and foremost. If no Windows machine is available I would like to have a bootable version of Ubuntu on the USB drive so I can boot it and also view the files.
Here is what I would like to pursue: I would aim to create a USB drive which a system can boot from if needed. However, this system would not be the generic Lucid 10.04 iso, it would have specific packages that my current system has. Also, it would start up and run with my current system settings if possible.
I did look into Reconstructor, but it doesn't appear that that would have the capibility of changing the default settings to match my current system's settings. Also, it looked like there wasn't a way to upload a list of current packages of my system (I would have to manually select each package, taking quite a while). So is there any way to make a bootable USB matching my current system? Or is reconstructor the closest thing to that kind of customiz-ability?
I'm trying to add a scheduled full backup to the crontab file, but the full backup never completes; it always stops somewhre in the file system. I guess is b/c the os is updating those files or has them open. I've tried to use the --exclude options but still it always hangs somewhere else.... this is what I'm usingtar -zcvpf /mnt/storage/backup/fullbackup1.tar.gz --exclude=/mnt --exclude=/sys --exclude=/proc --exclude=/lost+found --exclude=/net --exclude=/srv / > /mnt/storage/backup/fullbackup.log
Firstly I've never (successfully) upgraded before using update manager -d but I've only tried once. I'm on 10.10 at the moment but I want to make a full disk backup using Acronis and try out 11.04 beta 1 so if I can't boot (like with the 11.04 Alpha 3) I'm ok.
What I want to know is if I upgrade to beta 1 it will install new things and settings, if beta 2 is released and I upgrade to that (after having beta 1 installed) will it overwrite all the settings again? Or will I be able to spend time set beta 1 up nice how I want it (if it works) and just smoothly upgrade gradually to final 11.04 keeping it pretty much exactly how I want it?
Also with the software sources, I understand I need to disable the ones I manually added before updating from 10.10 then to re-enable them, but how do I re-enable them for Natty as they are currently for Maverick? Do I just change the word Maverick to Natty, or is it better to remove and re-add them for natty? And do the authentication keys need updating or are they ok? I don't really know a lot about the keys.
1 more thing (sorry) will an upgrade overwrite any settings I have e.g. etc/fstab, sudoers, things like that? I know when you upgrade it gives you an option for some things e.g. keep or replace, if I keep old settings from maverick does it matter? Or does 11.04 add new lines/things to these files if I choose replace?
Sorry for all the questions, I'm pretty new been using ubuntu as my only OS for couple months now and most of my time has been spent tweaking settings and I don't want to lose them, or do a clean install when 11.04 final is released as I won't ever be able to remember them all.
I need to make a scheduled backup of repository of subversion in ubuntu. E.g., backup the repository at 13.00 pm every Monday. May I need to write some hook scripts to do that? And I also have to recover the backup of repository. If possible, I want to backup the trunk of repository my repository is project1 /project1 /trunk /tags /branches
I'm trying to boot into emergency mode but i'm having no joy. I can boot to single user mode (by adding s or single at the end of the kernel line in grub) and I can also boot to init=/bin/sh mode by using the same method, but emergency is not working. I'm using RHEL6 x64
Tuesday night I wanted to make a backup of my Ubuntu ext4 partition via Clonezilla so I configured that an image had to be made and it would be saved on the NTFS external disk. But it said it needed 23 hours to create a 5gb backup, so I resetted my computer as this took too long. But after this, Ubuntu nor Windows recognized my drive.
I called Seagate and they told me after troubleshooting 30 minutes, that there is no option of fixing the drive and I had to send it to RMA. What could be wrong? Clonezilla works via a bootable ISO on Debian. The disk drive is still spinning. I already rebooted the external drive, but it's not working. In Linux the disk is no longer mounted and cannot be mounted:
Code: brw-rw---- 1 root disk 8, 16 2010-03-12 00:50 /dev/sdb brw-rw---- 1 root disk 8, 32 2010-03-12 00:50 /dev/sdc brw-rw---- 1 root disk 8, 48 2010-03-12 00:50 /dev/sdd brw-rw---- 1 root disk 8, 64 2010-03-12 00:50 /dev/sde
What could have happened? Would the data still be accessible on the internal drive? Did I just loose 1.5TB data that was stored on the external disk?
I have an issue that my BACKUP drive is listed twice. (internal FAT) I am running F12 32b. I have it listed in FSTAB so it will automount & set the permissions. I did this in the earlier versions I upgraded from. I would like to either get rid of the other entry or, if easier, make it auto & set permissions but I don't know where it is.
I got myself a dell laptop from the local computer store. Its a used machine with Windows Vista Home Basic on it. I want to load Ubuntu Desktop 10.10 though so I can do perl development. BUT I want to keep a copy of the entire harddrive with the dell utility partition and Windows Vista in case I want to go back. I was thinking I could image the drive but I not sure what to use, I don't have Ghost or anything, Someone had told me about Clonezilla. Would that work for me? Is it hard to use? Also I want to burn the data to a DVD or something more storable than a harddisk.
I have a Debian 8 system here running off an SSD with a five-drive RAID5 array (md0). I can reboot this machine just fine until I do an apt-get update and upgrade, at which point it fails to boot. I get the following:
A start job is running for /media/Storage (the mount point for md0)
Afterwards it dumps me into emergency mode. journalctl shows me these worrisome lines:
Timed out waiting for device dev-md0.device. Subject: Unit dev-md0.device has failed.
Now, I have a backup image of this installation from right before running apt-get update and upgrade. If I restore that image, Debian boots fine and mounts the array successfully every time. Until I update and upgrade again. I've seen it happen three times now.
I used a clonezilla live cd to clone a working updated install to another SSD of the exact make and model. Something went terribly wrong, and the new system booted to emergency mode. I then went back to my working laptop I cloned from and it did the exact same thing when booted, into emergency mode. After a couple of days trying to figure out how to rebuild the FSTAB on the once working machine, I finally figured out how to mount the root partition and copied all my important stuff off. WHEW!
Before I was able to mount the root partition, I had a heck of a time trying to mount it, getting errors about unable to read superblock, etc. I used testdisk that I installed on a debian live cd (on a flash drive) and it did something, not sure, but after that, and rebooting, I no longer had sda1,sda2, and sda5. I only had 1 and 5. sda2 was the root partition (extended, ext2) and I thought all was lost. But after running fdisk -l, I noticed two other devices... dm-0 and dm-1. I noticed that dm-0 was my root partition and read that it has something to do with LVM. I mounted it, and grabbed all my important stuff.
Now I am stuck at rebuilding my fstab so my boot, root, and swap partitions are properly mounted. Again, I do not have anything to copy and paste yet. I guess I got lazy since a lot of my work on this system is via Putty and SSH from a windows machine. It certainly looks like the partitions are there and ok, just not sure where to go from here.
I read that I need to get the UUID's from the partitions, then rebuild the fstab using those. I figured out pretty quickly that using /dev/sda1, 2, and 5 did not work. And the UUID's are pretty long. Without copy and paste, I am not sure how to use those without manually keying them in. I tried shelling into my laptop via putty while it is in emergency mode but failed.
I cloned my disk that have dual boot in it clone the disk remove the old one put the new one so far okay. But when i put with the new disk to linux it goes to the emergency mode:
run fstab and this is my fstab results:
# <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sda1 during installation UUID=cd9637db-0479-4ef0-90fd-481a50e23060 / ext4 errors=remount-ro 0 1 # swap was on /dev/sda5 during installation UUID=df29ffb9-91a8-48d7-91cd-5e671b55677d none swap sw 0 0 /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0 UUID=696FF92C4C532245 /media/Windows ntfs defaults,x-gvfs-name=Windows,x-gvfs-icon=%2Fhome%2Fdarkangel%2FDownloads%2Fwindows_hdd_icon.png,x-gvfs-show 0 0
I made a diskless image against Fedora15, during the boot I found it displayed the following error message and went into emergency mode.
The error message:
Starting Relabel all filesystems, if necessary ^[[1;31maborted^[[0m because a dependency failed.^M [ 107.607155] systemd[1]: Job fedora-autorelabel.service/start failed with result 'dependency'.^M Starting Mark the need to relabel after reboot ^[[1;31maborted^[[0m because a dependency failed.^M
I just got a SD to IDE adapter and a 8GB SD card. I am looking to install Parted Magic onto the SD card and have the card permanently installed in the server so I can have an emergency recovery environment if need be... Unfortunately, Parted magic no longer comes with USB editions and the tutorials I found on the web all require windows to proceed with installing PM onto a USB stick or SD card. (What the .... !?!) I never played with syslinux before and I wonder if somebody out here could write a short & simple tutorial on how to install parted magic on a SD card. So far I am thinking of a 200MB bootable partition (sda1) + a 7.16GB (remainder) logical partition (sda5) where I would store some programs and other emergency files I might need. Then I would format the partitions and copy the content of the CD iso (?) to the sda1 and then install syslinux onto sda1 ?
First of all, my computer is running Debian Jessie. uname -a gives me this output: Code: Select allLinux felix-PC 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u3 (2015-08-04) x86_64 GNU/Linux
So today I updated my system with aptitude update and aptitude upgrade, and there was few paquages that were updated. Among them was one "linux-image" or "linux-headers". I believe that it is linked to this security update: [URL].... .
During the time aptitude upgrade was running, I was simply surfing on Iceweasel. However, it seems that my system suddenly restarted, without asking me the permission or without notifying me. It really looked like I pressed the restart key, but I actually didn't. My computer battery was full charged and plugged in. So, I do believe that it is my system that rebooted himself after the aptitude upgrade was completed (or even during the upgrade, I don't know).
So my computer restarts, and brings me to GRUB menu: I boot Debian and then I get the usual [ OK ] ***** lines telling that the system boots normally. But this time, I get some errors:
Code: Select all[FAILED] Failed to set up automount Arbitrary Executable file format file system Automount point ... [FAILED] Failed to start load kernel module ... [FAILED] Failed to mount /boot/efi [DEPEND] Dependency failed for Local File Systems
I arrive then in Emergency mode with this message: Code: Select all Welcome to emergency mode! After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" to try again to boot into default mode. Give root password for maintenance (or type Control-D to continue):
I tried systemctl default but it doesn't boot my system normally. I also tried Control-D but it just reprints the same message. And finally I typed journalctl -xb, which gives me a long log file (855 lines) that I do not understand.
I would give this log file, but it seems that my internet connexion is broken (because of the kernel, I mean), even with an Ethernet cable. So I can't connect with ssh to the computer I use at the moment, and I can't either send it to myself by mail. I tried to mount an usb key, but it seems that any key won't be mounted because of a kernel problem.
An obvious solution to my problem may be to come back to an older kernel version. However, only the lasted kernel version (x86_64 Linux 3.16.0-4-amd64) is installed. dpkg --list | grep linux-image gives me indeed:
Code: Select alliF linux-image-3.16.0-4-amd64 3.16.7-ckt11-1+deb8u3 amd64 Linux 3.16 for 64-bit PCs ii linux-image-amd64 3.16+63 amd64 Linux for 64-bit PCs (meta-package)
I do not know how to come back to an older kernel, as far as I haven't any internet connection and as far as I seem to not be able to load an usb key.