Ubuntu :: Backup Mbr And Superblock/grub/important Info?
Jan 15, 2011
Right now I use dd to backup mbr and the first 512 bytes of every partiton.
Code:
dd if=/dev/sd? of=sd?.bin bs=512 count=1 That would take care of the partition tables and grub in the mbr, but what about the superblock, the stuff that XP stores and the superblock?
Code:
dd if=/dev/sd?1 of=sd?1.bin bs=512 count=1 Is it save to assume that if grub was on sd?1 it is backed up?
Does it backup the superblock so if some bug or power failure makes the partition unmountable because of bad superblock it can be fixed by copying back the first 512 bytes? I am of course not changing partition size or type of filesystem and not messing around with grub.
View 1 Replies
ADVERTISEMENT
May 21, 2011
I'm just setting up a partition on a seperate HDD in my system. I plan to use the partition to backup the important files on my main HDD (to guard against HD crash).
The question I have is about where would be the typical location to auto mount this partition? Which would it be normal to go for:
1. /backup/
2. /media/backup/
3. /mnt/backup/
4. /home/chris/backup/
View 7 Replies
View Related
May 21, 2010
I'm running an Ubuntu 9.10 Linux server. I'm trying to find a way to backup the machine while it is running and from what I see, this eliminates the disk clone utilities. All of the disk clone stuff I have seen for Linux requires that you reboot into a special live CD.So my question is this, what is the best solution for backing up the system while it is running? Also, I don't really care about the OS config too much, I just want to be able to keep my stored files and my programs that I have installed on it.
View 3 Replies
View Related
Aug 14, 2011
I would like to backup important files (totaling about 400GB) on my ext 4 RAID 5 array to an ext4 external hard drive over USB (external drive is mounted to /mnt. In the future I'd like to automate the process using rsync and cron so for now I'm using rsync to transfer the files. My problem is that using the rsync command like this: # rsync -Pr "/dir1" "/dir2" "/dir3" "/dir4" /mnt
rsync shows me the checks and transfers for awhile and then throws up an i/o error (wish I had a screenshot to show but I don't). When I ls /mnt I get a similar i/o error. I then check /dev for the drive and find that it no longer shows up. Originally the partition was /dev/sdc1. I tried unplugging the USB at this point, plugging it back in and mounting the drive back to /mnt, however it has now assigned it to (you guessed it) /dev/sdd1. I get the drive mounted and try the original rsync command again, hoping the first error was a fluke or some kind of one-time drive fart. This time it makes it quite a bit further and then throws up the exact same problem. Am I doing something terribly wrong here? As I said, I'm very new to bash so I'm not making some absolutely moronic, newbie mistake.
View 9 Replies
View Related
Jun 16, 2010
I have a x64 OpenSUSE server with two hard drivers installed. The first one is used for the / and /home partitions and the other is for backups. Ironically enough it is the backup hard drive I am having trouble with. I was having trouble writting to the drive and unmounted it to preform a fchsk, however now when ever I try to mount it I get the following error:
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Does anyone know who I can repair the drive and retrive data?
View 1 Replies
View Related
May 14, 2011
After several crashes during videos it seemed like a good idea to fsck root. Downloaded the latest systemrescuecd and ran it at boot. The error message was 'bad magic number, corrupt superblock' with a suggested command to try another superblock. That failed with the same message. Tried tune2fs to force fsck at boot and got the same message. The drive is less than 6 months old and the installed system is working more or less ok. The command I used was 'fsck.ext4 /dev/sdc2'. What am I doing wrong?
View 9 Replies
View Related
Aug 6, 2010
so i cannot install anything because update-info-dir file is missing from /var/lib/dpkg/info/ .. I've searched for the last day and a half for a way to fix this, but nothing. can't even update dpkg because of this. so how do I bypass or fix this so I can install stuff (this is a fresh install of ubuntu 10.04 lts Lucid Lynx).
View 9 Replies
View Related
May 15, 2011
Looking for a GUI based tool to backup and restore GRUB to / from another hard drive, or CD, or USB stick. I have a few Linux distros on one hard drive.
View 7 Replies
View Related
Feb 13, 2011
One Laptop. One hard drive. Two OS's. Windows 7 is shot to hell from installing and uninstalling to much crap. Windows & WILL rewrite my MBR. How do I back up my far superior GRUB MBR and restore it over the wincrap MBR once I am done reinstalling Windoze?
View 6 Replies
View Related
Feb 11, 2010
my old 80gb pata HD showed a dual boot Ubuntu - XP on startup, although ubuntu never worked, onlly XP booted. Recently I tried to Restore a Macrium backup on one of its two partitions, & spoiled something. On boot up it says:-
GRUB loading stage 1.5GRUB loading please waite Error 22
I tried to reinstall Ubuntu 10.8 with no success, & also XP with "R" for repair again with no success.
View 3 Replies
View Related
Apr 20, 2011
I've been following grub-common bug #606845 and in coming to a solution for the issue, these guys are using dd as a brute force means of swapping out master boot records or trampling them, if you prefer. (Background: The issue is related to grub and certain xp installations)
An sample snip of code:
dd if=/mbrxp.bin of=/dev/sda bs=512 count=1
1) Is mbrxp.bin a back-up of the mbr taken before installation of squeeze (or grub in general)?
2) Am I fubar if I didn't make a back-up of the mbr before installing grub?
View 2 Replies
View Related
Nov 5, 2010
I do regular full and incremental backups using dar. All disk volumes are labeled and mounted by label. There is no other operating system installed. I built a new system but due to having to RMA a disk, I built the openSUSE system on a disk from the backup cycle. This Maxstor disk has problems which is why it was moved into an external box and the backup system. I now have a replacement disk and wish to replace the Maxstor before it dies. I initially tried a disk to disk clone with clonezilla but this died complaining that a small target partition was smaller than the source partition. It had created the partition and the start and end sectors were identical. There are no problems with the new disk.
I decided that it would be a good opportunity to test a full system disk restore from the backups. I have in the past restored individual files and partitions but have never restored onto a bare boot disk. I have restored and labeled all 6 partitions. The partition containing / has been marked as active. /boot is included in the partition containing /. fstab is valid, menu.lst is valid, device.map needs editing but this is not a problem.
What do I need to do to make this disk bootable. I have looked through the GRUB documentation but if you try some standard GRUB commands in 11.3 you get messages saying don't do this use YAST. I have seen other suggestions ranging from trying to start the not supported system repair option to using dd to copy the MBR which seemed to trash the partitions in the users extended partition.
The YAST bootloader displays "boot from the root partition". I assume that this is currently what is happening rather than what YAST thinks might be a good idea for next time. I suspect that all I have to do is dd the first 512 bytes of the root partition. If this is the case I can add this to the backup process. While I automate backups I do not automate restores. Each restore tends to be different and I am not sure of the best way getting grub to work on a bare disk restore.
View 9 Replies
View Related
Apr 8, 2010
I'm using ubuntu 10.04 beta 1. when I try to update & upgrade I get the following error:
Code:
Setting up install-info (4.13a.dfsg.1-5ubuntu1) .../etc/environment: line 4: LC-ALL=en_US.UTF-8: command not found dpkg: error processing install-info (--configure): subprocess installed post-installation script returned error exit status 127 Errors were encountered while processing: install-info
View 4 Replies
View Related
Mar 11, 2010
i was working in this Macbook (its my mothers i do not use apple very much), just looking at ..... and normal stuff. no installations or anything, only used my external harddrive. Next time i turned on my computer, this weird gray screen showed up with something written like "kernel mismatch from your hardware" or something like this, i panicked and didnt know what to do so i restarted like the message in multiple languages said so. Nothing happened.
I tried to boot from CD (press C key) and it worked so i went on disk utility and looked for errors but all says fine. I tried making a copy of the Macintosh HD to my external hard drive so that i could re install mac but after a while copying it stops and gives me an error saying "operation not supported". I asked a professional and he suggested using a live cd of Linux (ubuntu 9. ) to try and retrieve my files from there. I did this and the live cd worked and i could see into all my folders but when i went to /Users/myuser/ none of those folders would let me copy, open and see the files. Desktop is where the important data is. It gave an error file permissions. I cant compress, open, see the files nor copy them. This is very annoying as the files are extremely important and i cannot do anything to delete them.
500gb external hard drive
Macbook Pro
Linux Ubuntu
Apple Original Install DVD (Snow Leopard) way to retrieve these files and copy them onto something. I really need this with urgency.
View 4 Replies
View Related
Mar 27, 2010
I have heard great stuff about 10.04 so I am going to download and install it before the release IF it's ready though. So is there anything I should know about before I do this? Any bugs or things that hasn't been fixed yet?And beta 2 is that latest one right? And the last one before the final release?
View 7 Replies
View Related
Dec 22, 2010
I'm running Lucid Lynx. When I go into synaptic package manager and try to take updates, it says it can't authenticate some of the packages, including for example linux-image 2.6.32-27-generic. What is up with this?
View 4 Replies
View Related
May 15, 2010
On my laptop I have a dual boot of Vista and Ubuntu (Karmic Koala). I have 3 Vista partitions and 1 Ubuntu partition (well, two if you include the swap disk).
Recently I had started to notice that when trying to boot into Ubuntu, it simply wouldn't. It would have a screen with lots of text which would every few seconds refresh yet it never really looked any different, although I'd be unable to tell. I'd leave it there for several minutes and nothing would happen.
I wasn't worried for a while because I only used Ubuntu for some scientific work over the summer and I haven't needed it for a while but now I desperately need those files. I've tried three programs that apparently make Linux partitions accessible in windows but I've been succesful with none of them. I'm now seriously worrying that there has been a harddrive error of sorts...but then I only have one physical harddrive on my laptop and my windows partitions are working okay.
I found my Karmic DVD and I tried to run "run Ubuntu without changing your system" but that wouldn't load after ages.
I haven't tried to reinstall Ubuntu because I've read that doing so would wipe the existing files.
View 9 Replies
View Related
Jul 24, 2010
There is now constantly an alert on my top panel saying that I need to update my repositories. However, when I go to do this (I'm assuming that I'm doing this correctly--by clicking "Check") not all are updated and the alert remains. Here is the error message I receive:
Code:
Failed to fetch http://archive.canonical.com/ubuntu/dists/lucid/Release.gpg Something wicked happened resolving 'archive.canonical.com:http' (-5 - No address associated with
[code]....
View 3 Replies
View Related
Jan 23, 2011
I have 5 folders in the virtual rubbish bin that can not be seen and restored but is crucial for me to recover them.
I was trying too record 5 folders with brasero and I sttoped the process, then all of a sudden the folders dissapeared and after I found then in the reclycling bin by -> right click/properties in this "basic" windows there It's said: content: 413 elements ... 663.1 MiB in total ... also the picture of the bin appears full, and when I put the pick ontop of it it says: 5 elements in the bin...
View 3 Replies
View Related
Aug 25, 2010
(SYN=Synaptic Package Manager; UM=Update Manager)
Some reason recently the Update Manager has been saying it can only do partial upgrades, then it asks if I want to confirm the things, I look at them, they have a few set to upgrade, it also says it will remove certain packages that pretty much would render my computer useless.
Here's a screenshot of the box I took just a few seconds ago when I went to "Mark All Upgrades" in Synaptic Package Manager. You can see that wanting to remove important things like "ubuntu-desktop" and "network-manager". [URL]
I mean, I would love to upgrade my WebcamStudio etc to check out the newer version, but I'm not gonna upgrade it if I can't even access it! I'm planning on going back and manually checking the ones shown for upgrade after I get done posting this, and seeing if it might be a certain package.
View 9 Replies
View Related
Sep 11, 2010
I load the update manager, it says partial upgrade needed, then it asks me if I want to uninstall important stuff like the network manager and ubuntu desktop and etc. No I don't want to uninstall the network manager, how would it complete the upgrade with no internet to download the upgrade from? And what would be the point in having an upgrade if I won't be able to do anything on it! This is happening all over again, heres the previous thread that mentioned pretty much what happening, along with a video somewhere in there. (It says I need to make 15 posts to post [URL].
What I'm wanting to do is Do the upgrade it keeps bugging me about, but not have to remove anything at the same time. The previous thread I just kept getting told what to do and was told it always confirms me before upgrading that its about to delete something, I already know that. I know it is confirming it, but I want to do the upgrade but disable the uninstalling part of it. Is there any mod to the synaptic manager that could possibly fix this? I'll even go as far as to compress my entire ubuntu partition into an iso and upload it somewhere for someone to take a look at (if anyone would possibly know what program would do this besides parimage or whatever, that's trying to remove the files as well in order to install).
View 6 Replies
View Related
May 2, 2011
I am trying to restore my system to Ubuntu 10.10, using a system backup made with REMASTERSYS. When I reboot, I get the message: GRUB error:15 I found many threads discussing this issue, most notably here: [URL]
[Code]....
View 7 Replies
View Related
Feb 27, 2010
I want my fire-fox to save and quit my important sites.My fire-fox version is 3.0.18.It ask me for the same options. sometimes it asks me to save and quit and sometimes does not,why?
View 1 Replies
View Related
Mar 13, 2010
I am in the process of building a new computer as my current tower is ~6.5 years old; in the past few months, it has started to show it's inability to keep up with the times.One outstanding decision I have is the selection of video card. I use my Ubuntu desktop heavily for multimedia, so the first and foremost requirements for a video card are:Seamless Compiz support Seamless hardware video acceleration of MPEG-1/2/4, VC-1/WMV9, and H.264
I have a laptop with an Nvidia Quadro NVS140M, and while it only supports feature set A, I got it working with some (not all) H.264 videos, greatly reducing my CPU usage. This has led me to the conclusion that an Nvidia card will suit my Linux needs just fine.
Having said that, I will also be doing some gaming on this computer (under Windows), and so I will also require a high-performing 3D card. My current understanding is that AMD is ruling the roost in this regard with respect to bang/buck.is AMD's XvBA hardware video acceleration at a useable state, and if so, does it perform as well as Nvidia's offerings?
View 4 Replies
View Related
Mar 20, 2010
I just installed a fresh copy of 9.10. My problem is the way Workspace Switcher 2.28.0 (the default of the installation) with compiz running (I haven't tried without compiz) Old behaviour: (9.04 and 8.10) a) rolling the mouse wheel over a workspace of the workspace switcher means: move to the next or previous workspace b) click on a the representation of a window (a little square) on the the workspace switcher and then drag it to another workspace means: move window to other workspace
In 9.10 the workspace switcher does work (the number of workspace can be configured, Ctl-Alt-left & right arrow, Ctlr-Shiht-Alt-right&left arrow) but the functionality described in a and b is missing.
[Code]...
View 4 Replies
View Related
Nov 1, 2010
Since last year I have this problem and it seems nobody knows how to fix it. Here is my post from last year, commenting the same problem [URL] Well, this is what happens to me. I insert my ubuntu/ubuntu studio DVD to my pc. It starts from the DVD and the first screen appears. I select "install ubuntu" and then it starts to load for like 5-10 secs.
Then another screen pops up, this one tells me to choose the main language, BUT.. i cant use my keyboard in this screen. It just.. Dies. I tried with like 5 keyboards, with USB keyboards and serial keyboards, it just happens everytime. I was an avid user of ubuntu studio back like 2 years ago, with my laptop, but with this PC (gateway GT4230m) i just cant do it anymore. Its very frustrating.
View 2 Replies
View Related
Aug 16, 2011
I think it is a bug that has been reported already. https://bugs.launchpad.net/ubuntu/+s...ols/+bug/46966
Except I was using a cd instead. I was trying to install a different linux distro so I put all of my important documents on a disc. The disc shows it has contents before I try to open it but when I do the disc shows to be empty. I'm trying to open it in both windows 7 and linux ubuntu.I just need to get these documents back.
View 2 Replies
View Related
May 15, 2010
On my laptop I have a dual boot of Vista and Ubuntu (Karmic Koala). I have 3 Vista partitions and 1 Ubuntu partition (well, two if you include the swap disk). Recently I had started to notice that when trying to boot into Ubuntu, it simply wouldn't. It would have a screen with lots of text which would every few seconds refresh yet it never really looked any different, although I'd be unable to tell. I'd leave it there for several minutes and nothing would happen.
I wasn't worried for a while because I only used Ubuntu for some scientific work over the summer and I haven't needed it for a while but now I desperately need those files. I've tried three programs that apparently make Linux partitions accessible in windows but I've been succesful with none of them. I'm now seriously worrying that there has been a harddrive error of sorts...but then I only have one physical harddrive on my laptop and my windows partitions are working okay. I found my Karmic DVD and I tried to run "run Ubuntu without changing your system" but that wouldn't load after ages
View 4 Replies
View Related
Oct 17, 2010
nothing informative from me as of now, although I have only been out of "Windows" for a little less than a day, I suppose the only alternative conversation topic is a simple request for those more experienced users to point out some major/musts about topics to focus on as I'm new to open source ANYTHING, really
To think I was so "under the gun" about spending loads of cash to keep up with the IT group of choice, I have gained some much needed relaxation w/my cup a tea. Pinpointed request, I guess, "when you first started, and knowing what you can do with it now, would you be obliged to say 'HEY, THIS IS THIS, BUT WATCH OUT FOR THIS'
View 4 Replies
View Related
Mar 30, 2010
I have been using Wubi for a few weeks now and I am really impressed. I have endured a lot of problems with grub and kernel problems etc but now realise that its just the Wubi inside windows! I have it all set up with the cube to perfection and all drivers are running great after a bit of tweaking. So a bit of a lazy question really, can I install it properly onto my drive, and retain all the hard work I have put in setting it up? I have tried, but when it comes to selecting the drive that the Wubi is installed on it just says format with no backup option.
View 9 Replies
View Related