Ubuntu Installation :: Can't Boot After Recovering Backup

Nov 12, 2010

I installed Xubuntu 10.10 on a 16 GB pendrive with full disk encryption using the alternate installer. The installation process was quite time consuming so I made a backup booting from the standard live CD with something along these lines

dd if=/dev/sdb conv=noerror,sync | pv | gzip -c -9 > foobar.img.gz

The pendrive booted fine for a couple of days and BTW it was quite good performance-wise, but I decided to scrape it off and start from the backup, so I run

gunzip -c foobar.img.gz | pv | dd of=/dev/sdb conv=sync,noerror

Now upon boot I am getting error: hd0,msdos1 write error. After a while the login screen appears: Unlocking the disk /dev/disk/by-uuid/58a8... (sdb5_crypt) Enter passphrase: So I enter it, get the OK message cryptsetup: sdb5_crypt set up successfully only to get the following prompt No init found. Try passing init= bootarg. BusyBox v1.15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash) Enter 'help' for a list of buil-in commands. (initramfs) How to fix it? Is it possible to do backups of encrypted systems this way or do I have to use different tools for backup operating on the filesystem level for example?

View 2 Replies


ADVERTISEMENT

Ubuntu Installation :: Unable To Boot On Dual-boot XP After Recovering Windows Bootloader?

Jul 18, 2010

I have Ubuntu 10.04 LTS and Windows XP installed on my laptop. Usually when booting, I get the GRUB 2 menu and I can boot into either Ubuntu or XP.I was playing around with EasyBCD, then after trying to remove it I was unable to boot into Windows, I used a Windows 2000 CD recovery console to fix the MBR (using: fixboot and fixmbr).Now Windows starts up when I power on, but I don't get the grub menu anymore with an Ubuntu option. If I boot from the Ubuntu Live CD and try to mount my Ubuntu partition (/dev/sda5) I get this error:

mount: wrong fs type, bad option, bad superblock on /dev/sda5,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try

[code]....

View 2 Replies View Related

Ubuntu Installation :: Recovering GRUB Boot - Mount: You Must Specify The Filesystem Type

Apr 17, 2010

I just got an Acer netbook Aspire One. I put the Ubuntu remix on it successfully, and was using it for several days without problems. Now all of a sudden when I turn on my computer I get a grub error message with a command prompt. I've tried following the direction to restore grub but I'm getting stuck right away on the command to mount my ubuntu partition. After I type "sudo mount /dev/sda4 /mnt", I keep getting the error message "mount: you must specify the filesystem type."

View 3 Replies View Related

Ubuntu Installation :: Dpkg/synaptic - Recovering Installation Canditates (versions)?

Mar 30, 2011

Well, I was just doing an update, and there was an update for git that was held back. I decided to force this update using 'sudo apt-get dist-upgrade', and installation of git then failed. At this point in Synaptic - I could see versions listed as 'lucid', 'lucid-security', and then this ppa version. Then I barely managed to remove git - but now, if I try to install it again, *only* the ppa version is listed in Synaptic - no more 'lucid' and 'lucid-security' versions!!! Does anyone have an idea how I could recover the 'lucid', 'lucid-security' versions? I will try to salvage as much of the terminal with the problems as I can below...

Code:
/var/lib/dpkg/tmp.ci/preinst: 12: dpkg-maintscript-helper: not found
dpkg: error processing /var/cache/apt/archives/git_1%3a1.7.4.1-3~ppa1~lucid2_i386.deb (--unpack):

[code]....

View 1 Replies View Related

Ubuntu Installation :: Recovering MS Office Key?

Jan 12, 2011

A friend's vista laptop is riddled with viruses, errors and general windows doom, and I've said I will rescue their data and replace windows with Ubuntu....I just wondered if there's a way I can rescue their M$ office key fro the liveCD. Windoze can't boot, but the HDD is readable.

View 2 Replies View Related

Ubuntu :: Recovering After Windows Installation?

May 20, 2011

Trying to follow [URL]

View 9 Replies View Related

Ubuntu Installation :: Recovering 10.04 With Corrupted Gfx Drivers

Jun 5, 2010

I've just tried installing drivers for my laptop (sis 671) and now my desktop gfx are corrupt. Any idea how I can recover? (eg delete xorg.conf).Recovery mode is corrupted, command prompt boot is really limited and I can't figure it out.

View 1 Replies View Related

Ubuntu Installation :: Recovering Files From Old Encrypted Home?

Apr 25, 2010

I purchased a larger hard drive to upgrade my HTPC running MythTV and a Samba file server. I put the old hard drive into an e-SATA enclosure and can still boot to it to access my files, but I can't seem to mount it correctly under the new installation to copy over my files even though I have the mount passphrase and encrypted filenames key.I have tried using this howto, but I run into problems with the encrypted filenames.This is how I'm doing it. I replaced the actual key data with A's and B's to protect my keys:

Code:
$ sudo -i
# ecryptfs-add-passphrase --fnek

[code].....

View 2 Replies View Related

Ubuntu :: Recovering Locked Files From Trashed Installation

Jul 2, 2010

I have a laptop that I have been running 64bit lucid on after some problems with NFS Samba and SMB the installation got a bit trashed after some workarounds I removed nautilus completely and rebooted and got the looping login screen........ then I tried a suggestion to purge gdm but that left me with a blank grey screen and a mouse pointer. X11 has failed so I have no graphics

I can login properly to the drive from the terminal and can access my drive contents... I cannot load dolphin or nautilus from the terminal. So I have booted from a live cd and have moved some of my data to another partition but some is locked to the owner (me). How can I get my locked data opened so I can copy or move it to another drive, so I can perform a fresh install.

View 2 Replies View Related

Ubuntu Installation :: Recovering Logical Volme From Old Machine?

Nov 14, 2010

I had an old PC running as a file server which had been hacked together with old spare parts. There were two hard disks that had several partitions on each and I had combined one partition off each disk into a Volume Group using LVM.I upgraded to a better server (now with one HD dedicated to the system and two 1TB HDs for data and backup).Time passed.... (over a year). The old server is now in Silicon Heaven with all the calculators. (<----Red Dwarf)However, I still have the disks and I now want to try to get the data off the LVs on those two HDs.I just had a look at the disks using LVM2 on an Ubuntu 9.10 system and it sees the partitions formatted as LVs but doesn't seem to let me do anything with them. I had a go with LVM at command line as well but I don't know enough (but I got the name of the VG).

View 2 Replies View Related

Ubuntu Installation :: Recovering Windows Vista Partition

May 26, 2011

I recently accidentally corrupted my windows vista partition whilst trying to extend it via gparted under ubuntu 11.04 and then cancelling it shortly after starting. Resulting in me being unable to boot into vista (I don't have another copy of any windows OS so I'd really like not to have trashed this one )

Looking on gparted now my partition is Fat32(?) and apparently only has 36mb used =/

View 7 Replies View Related

Ubuntu Installation :: Recovering From Crash While Running Update Manager?

Jan 7, 2010

I was running the Update Manager when my system froze due to the failure of Karmic to support motherboards using the Intel 845 chipset.

Although the update did not complete when I rebooted and invoked Update Manager it reported that the system was up to date. How do I reset the system so that I can install the updates?

View 1 Replies View Related

Ubuntu Installation :: Tty1-6 No Login Promote After Recovering Grub?

Mar 7, 2010

I installed windows 7 and recover grub from the karmic livecd successfully. Now I can access all the OS in my machine. The only weird issue that I have is that there's no login promote in tty1-6 any more. When I switch to tty1-6, I can only see a flashing underline promote. But I can input anything in tty1-6. How to get tty1-6 back?

View 4 Replies View Related

Fedora Installation :: Recovering The Data After The 'update'?

Jul 27, 2009

I started some months ago with Fedora 10, installed (on a barebones hardware package) from a DVD I got with a magazine. I liked it, and it worked fine. When 'Update Available' messages arrived, I installed the updates. When Fedora 11 arrived the same way, I installed that, a few weeks ago, and it, too, was working fine. A few days ago another 'Update Available' message arrived, and I installed it, unfortunately without backing up first. There was a message then that said to restart computer (which was still working fine).

I restarted the computer, and it would go as far as the moving blue bar across the bottom, then stop with a blinking cursor on a black screen. After trying several things, including the recovery part of the original DVD, I put a different, clean drive in the computer and reinstalled Fedora 10 from the original DVD. What I was hoping is that I could then install the original drive as a secondary one and get access to the files on it.

View 14 Replies View Related

Debian Installation :: Recovering Bootloader After Reinstalling Windows 7

Oct 12, 2014

I have a dual boot machine (Windows 7 and Debian). W7 and debian are on the same HD but on different partitions. The debian partition is an LVM encrypted one.

The W7 needs reinstalling, and as I understand the process will overwrite the debian bootloader (grub).

Question: Is there a way to save the current bootloader and recover it after I've reinstalled W7, so I wont have to reinstall debian from scratch?.

I plan to re-install W7 on the same partition it is now, without overwriting the debian partition.

View 9 Replies View Related

Installation :: Utility For Recovering Partition Table - Testdisk?

Oct 8, 2010

I had a tri boot of Win 7 /XP and Mint...I was using EasyBCD 2.0 as a boot manager...I booted Mint by configuring the NeoGrub option in Easy BCD..I wanted to uninstall Win 7 and so what I did was the following

1. Edited BCD bootloader settings ...Marked XP as my default and deleted Win 7 entry...

2. Logged out and wiped my Win 7 partition

With my fingers crossed , i rebooted but Easy BCD booted flawlessly with 2 choices XP and Mint(GRUB)...As Easy BCD is not meant for XP, I thought of restoring original NTLDR of XP so that things would be in place and thinking that this cud avoid problems of detection by other Linux OS I deleted manually the Easy BCD menu.lst file and NeoGrub.mbr in my root...That was it , after I rebooted, I got boot screen of EasyBCD but whichever option I select,I got an error message that address not Valid-NTLDR not found or something like that I booted my XP live CD and like many times before ran

1.Fixmbr
2.Fixboot
3.bootcfg /rebuild

After that , now when I reboot , I am getting "Invalid Partition Table" On booting from a linux CD , I can see the files are in place..I have to get boot sector and partition table fixed...

View 2 Replies View Related

Ubuntu :: "recovering Journal" Occurs Every Boot - Lucid / 10.04?

May 20, 2010

I'm wondering if someone can help. I've recently upgraded two machines to 10.04 and both are displaying a strange behaviour on boot up. Every boot, most if not all file systems are reporting "recovering journal" at boot up. boot.log follows.

Code:
fsck from util-linux-ng 2.17.2
fsck from util-linux-ng 2.17.2

[code].....

View 3 Replies View Related

General :: Recovering Files On External Disk Caught In OS Installation

May 10, 2011

I was installing Ubuntu to the internal disk in my main machine, with all external drives unplugged for safety - then discovered I had accidentally chosen the external drive and it wasn't unplugged. (Seeing three drives not two listed as installation targets should have tipped me off, but I guess my IQ was low that day.)The external drive, in compliance with Murphy's Law, was my backup drive with all vital current files.The last few months of work gone.Now the drive shows only the stuff I normally expect in / on any Linux machine. It mounts showing as ext4, but the disk was (I'm 98.5% sure) originally ext3.However, the installation did not finish.Whatever files got copied, clobbered only a fraction of the disk. df reports only 1% of the space used.Maybe the bulk of my valuable files are okay, and could be recovered with some tool?

There are other questions on this site about file recovery, but many are for Microsoft Windows, or for malfunctioning disks, or some other situation. I'm on Linux with a physically healthy external disk. I'm fairly sure that the more recent and more important files are in multiple copies on that disk, so if one copy is clobbered there's hope to get the second copy.

View 2 Replies View Related

Debian :: Recovering Grub After Windows Installation - Encrypted Partitions And LVM

Nov 4, 2010

I'm running Debian Squeeze AMD64 with full disk encryption and LVM. After reinstalling Windows 7 I lost GRUB from the MBR. I managed to install GRUB after following this guide and using an Ubuntu 10.04 graphical installation disc, but I only get to a GRUB CLI when booting, so I can't actually choose an OS there.

I tried following this guide but I'm stuck after "# Mount the partitions to /mnt/root" and don't know what to do.

Does anyone know how I can fix GRUB so I get to choose between Debian and Windows 7 there?

View 6 Replies View Related

Ubuntu Installation :: Use "Testdisk" For Recovering Media On 10.04?

May 10, 2010

I have heard of a program recommended by dino99 "testdisk" Its in repos so to install in terminal:

Quote:
sudo apt-get install testdisk
when installed just type:

Quote:
sudo testdisk

in terminal to run, i've no idea how its used, though "(create) Create a new log file", then select drive seems the way forward how would i use this to recover a corrupted memory card / usb driv

View 3 Replies View Related

Ubuntu :: Backup Dual Boot HD To External HD?

Mar 28, 2010

I am dual booting windows and ubuntu. I bought a external hard drive to use as a backup solution. I like the idea of my external HD being an exact copy of my internal one so that if my internal one completely fails I can just plug my external one in and carry on (it's an internal drive in an enclosure).

I notice a lot of people use rsync to backup their home directory. Can I use rsync (or something else) to back up the whole drive including the Windows partition.

View 5 Replies View Related

Ubuntu :: Backup And Restore A Triple-boot System?

Jun 14, 2010

best/simplest way to back up my triple-boot machine, which has Karmic 32-bit, Karmic 64-bit and Windows 7 (64-bit) installed on 3 equal slices of the internal 1TB disk. There are a total of 6 partitions (1 primary+1 logical partition each for the two Karmic, and 2 primary partitions for Win7), and I would like to back it up on an external disk such that the whole system can be restored as-is by writing over the disk. I guess this means correctly backing up data+partition table+MBR, and I would also prefer backing up only the used portion of the disk (rather than creating a 1TB mostly empty image file).

To my knowledge the only way to reliably do this is with "dd" command, but I have never used it ("fsarchiver" seems to be the next best option, but it cannot back up MBR yet; and "partimage" does not have ext4 support). As described here and here, I should run the following commands from a live boot:

1) To back up entire data in compressed format (using 1MB read block to speed up the process):

dd if=/dev/sda bs=1MB | gzip > /backup/image.gz

2) To back up MBR+partition table (stored within the first 512 bytes of the disk):
dd if=/dev/sda bs=512 count=1 of=/backup/image.mbr

3) To restore data:

gzip -dc /backup/image.gz | dd of=/dev/sda

4) To restore MBR+partition table:

dd if=/backup/image.mbr of=/dev/sda

View 8 Replies View Related

Ubuntu :: Make A Backup Image - But Dual Boot ?

Oct 1, 2010

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.

View 9 Replies View Related

General :: Backup /etc And /boot Before Making Changes?

Mar 6, 2011

/etc is where your gnu/linux stores it's configuration. Its function is similar to the Windoze registry. As you install, uninstall, and work with various programs, /etc changes. Sometimes, things change that make your system act unexpectedly.

1) open a console
2) su enter root password
3) # mkdir /var/backup
4) # vim /usr/sbin/prep4change replace "vim" with text editor of your choice
5) cut and paste the following short script

[code]....

Next time you are about to install, remove, or change something, just issue prep4change as root. If the unthinkable ( but expected ) should happen, and things stop working correctly, you have your /etc and /boot already backed up. Your backup will be located in /var/backup You can also $ tail /var/backup/notes to see why you made what backup Again, this isn't the most elegant, but it's simple, and it works!

View 3 Replies View Related

Ubuntu Servers :: Backup Including System Files - Boot From Live Cd?

Apr 22, 2010

I am researching how to make an effective backup on Ubuntu Server. This server will have Vsftp, VPN, Samba stuff , many other added packages +many printers, many users + data. I know I can use tar for the data /u no problem. 1. I was testing tar on the /home directory on a few user directories. I then created a new directory and did a restore of the users directories on it. I noticed the /home/user owner and group were root. The files in each directory remained the same. This gave me concern. If I had a crash and had to restore these to a new HD. I would have to change these, what else would I need to change? 2. Since I have many config files, how do I back up them? I know I can do a dump, but then users shouldn't be on the system. The system files will change as they add users, printers, etc, and asking users to not work, is not really an option while dump is running. I thought I could do a tar on whole system. (cron late at night .. not as many users) Then in event of crash of HD.

1. Boot from live cd
2. format the new drive
3. tar back in the whole system

Will this work right? Is there something I am missing?

View 3 Replies View Related

General :: Windows - Backup A Dual Boot System?

Aug 29, 2010

I dual boot windows and ubuntu on a particular machine and I'm looking for a comprehensive backup solution. Basically I'm after a single tool to clone the entire drive and do incremental backups with little to no concern for the underlying os.

My first instinct is to set up rsync to do the back up from ubuntu and just mount the windows partition when it does its thing so it backs that up too. Does that sound reasonable or am I missing something? At face value this seems like a reasonable answer, but I can't help but feel like something is "off" with that approach.

View 3 Replies View Related

Ubuntu :: Back In Time To Backup Home Directory To A Second Hdd That Is Mounted At /media/backup?

May 18, 2010

using Back In Time to backup my home directory to a second hdd that is mounted at /media/backupThe trouble is, I can do this using Back In Time (Root), but not using Back In Time without the root option. This is definitely a permissions issue - it can't write to the folder, but when I checked by right clicking on the backup directory and looking at the permission tab, it said I was the owner

View 2 Replies View Related

Ubuntu :: Restore Backup Server - Where Is The Location Backup Snapshots Or Files Are Saving

May 10, 2011

I install and tested Restore EE Backup server on a test PC with basic configuration and its working fine.

[URL]

The issue i have is where is the location these backup snapshots or files are saving? I want to add a separate Storage to save the backup?

View 1 Replies View Related

Ubuntu Servers :: Mysql-admin Won't Schedule Backup But Will Manual Backup

Jan 19, 2010

I have a scheduled backup to run on our server at work and since the 7/12/09 it has be making 592k files instead of 10Mb files, In mysql-admin (the GUI tool) I have a stored connection for the user 'backup', the user has select and lock rights on the databases being backed up. I have a backup profile called 'backup_regular' and in the third tab along its scheduled to backup at 2 in the morning every week day. If I look at one of the small backup files generated I see the following:

Code:

-- MySQL Administrator dump 1.4
--
-- ------------------------------------------------------
-- Server version`

[code]....

It seems that MySQL can open and write to the file fine, it just can't dump

View 3 Replies View Related

Ubuntu :: Real Time Backup In A Folder Called /home/backup?

Feb 2, 2011

I've tried to google but not much luck. What I would like to do is have anumber of folders on my desktop and their contents, replicated/duplicated into another folder on the same PC in real time. So for example, if I were to change an OpenOffice document in a specific folder on my Desktop it would be replicated/duplicated in real time. If I had three folders on my Desktop A, B and C they would also appear/be backed up (in real time) in a folder called /home/backup. Can this be done?

View 3 Replies View Related







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