Software :: Taking Data Backup In Rescue Mode?
May 6, 2010I am not able to detect my USB hard drive in Linux rescue mode after passing "fdisk -l" as i want to take the data backup in my USB hard disk.
View 1 RepliesI am not able to detect my USB hard drive in Linux rescue mode after passing "fdisk -l" as i want to take the data backup in my USB hard disk.
View 1 RepliesI 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?
View 2 Replies View RelatedMy linux workstation recently crashed. After rebooting, Linux (Red Hat 5.3) will not boot properly and automatically went into emergency mode or recovery mode i think. I can still see my /home/user/ and all the files inside.I boot from CD to rescue mode and tried mounting read-only the /dev/sd5 which contains the files in the crashed hard disk to try to copy out my files but mounting was unsuccessful (invalid argument). I checked the filesystem type using fsck -N /dev/sda5 and shows it to ext2. i tried to mount another known working hdd and was successful.
My question is why in emergency mode, the crashed hdd is able to be mounted automatically as read-only but cannot be done in rescue mode thru a bootable CD?Is there any special mount options used in emergency mode?I also cannot copy out in emergency mode booting from the crashed hard disk as everything is read only.
I do use a virtualization environment using VirtualBox,Qemu. Many a times I have to format my laptop then in such situations installing again the previous programs and making same changes to the configurations is very painful. Is there some way I can make some sort of backup which I just need to install on my existing system and get all previous things immediately installed without going to install and setting of a lot of other applications and settings.
View 1 Replies View RelatedI have around 100 users. I want to take backup of files which are on desktop for every user. My user directory path is -: /home/dr/<user_name>/Desktop
1) Script has to run on a particular time everyday
2) Script has to take backup of all files present in "Desktop" directory
3) Make a tar with name "yyyy-mm-dd-desk-files"
4) Make directory outside "Desktop" with name "Desktop-Backup", if already exist then don't make this folder.
5) The tar have to moved in this folder.
6) Remove the files from "Desktop" directory. (i.e. Desktop should be empty)
7) Mail the status that "Backup Successful"
I am working in ubuntu 9.x (linux karmic kernal) .I have restored the content from CD to hard disk. In the mid way of this process, it was failed. I would like to know this below thiongs,
1) which position it got failed ?
2)Any offset option is there in linux to point the particular CD position ?
I am now preparing myself to upgrade lenny to squeeze and decided to do a backup on my system. I used backup-manager to do the job and it worked fine. how do you restore said backup data?
View 4 Replies View RelatedI used photorec to recover lost files and it brought up 70gb worth of files, when I was done looking through them I deleted these files. but these files still seem to be taking up my disk space. When I try to access my trash bin with root I get a message that reads...."The folder contents could not be displayed. sorry, could not display all the contents of "trash": operation not supported." if I open my trash bin when I'm not in root, the bin is empty.
How do I free up my disk space?
I want to fix my disks with fsck but using sudo init 1 is not allowing me in. It shuts my services down, then gives a "Give root password for maintenance" prompt. I've tried my password, but it rejects it.
View 3 Replies View RelatedI was reading about ext3 feature and I have read about its journaling modes. I would like to ask what is the default journaling mode of ext3 fs in slackware(or is it in all distro using ext3)? I'll install slackware when my new pc arrive and the fs I will use will be ext3 and I like it to have data=journal mode for its journaling. I have read in some wiki how to set the journaling mode into data=journal mode.
Code: # tune2fs -O has_journal -o journal_data /dev/sdXY Do i need to issue this command or is this the default mode in ext3 in slackware?
I have about 200k data entries in xml file. I wrote php script (using php-xml) to read xml file and insert into mysql. At first it went really quickly inserting, then after a while after inserting 100k entries, it slowed right down, just like it would not even doing anything. I have CentOs with 512M on VirtualBox running as server.
View 3 Replies View RelatedI've RHEL and windows installed in a single system. First I've installed RHEL then windows xp. Now to install grub how do I enter into rescue mode without any CD/DVD? Do we have any option?
View 3 Replies View RelatedI have a brand new Z97-PRO (Wifi/USB3.1 version) that I got to replace a Gryphon Z87, and it was working great for the first day. I had my Debian and Windows drives both working, and I was working on getting GRUB reinstalled on the Debian drive in no time. At some point I needed to restore my Windows MBR for the millionth time, but this time was different. The Windows logo popped up and froze there. I know this is a thing that sometimes happens, but every other time since I replaced my Gryphon this process only lasted seconds. I let it sit for hours and it didn't move.
I then tried my Debian live USB, which loaded into the main menu, but upon selecting rescue mode it black screened and hung. This was an issue I experienced when I first got the board, but it seemed to work itself out after a few reboots and remained flawless until it just came back. At this point, I'm unable to get in to any of my OSes and I can't seem to successfully boot any external media in order to fix it. My BIOS is totally stock save for secure boot, which is set to Other OS, and memory in XMP mode. I also tried using an Ubuntu Live USB, but ended up hanging with the exact same Q-Codes as in Debian. I am running the system on 1 stick of RAM while testing.
Q-Codes at hang:
UEFI USB - AF (Exit Boot Services Event)
Regular USB - F6 (Reserved for future AMI progress codes)
Specs:
- 2 boot SSDs (OCZ for Windows, Kingston for Debian), 2 storage drives, and a DVD drive.
- The boot SSDs occupy SATA ports 1 & 2, the DVD drive takes up 3, and the storage drives take up 5 & 6
- i7 4770K, 32GB (8GBx4) Corsair Dominator RAM, GTX780Ti
- 750W Silverstone PSU
i had a fully working system (debian /stable) but now i have a weird initrd error and i cant boot.
my boyfriend used to repair all the problems remotely (from the other side of the earth ) i have but now he cant connect at the rescue mode.
I have an Ubuntu 10.4 installation (dualboot with windows XP) with grub2.After I resized some of my partitions using a gparted live cd, the system goes directly to grub rescue mode every time I boot.Then I follow the instructions which are given in grub2 wiki site to boot.The grub boot directory is now located in sda6 (hd0,6) in my system as found out using 'ls' command.
But in the grub rescue mode when I enter the 'set' command (one of the very few commands available), to display current prefix and root, it gives "(hd0,7)/boot/grub" as 'prefix' and "hd0,7" as 'root'.After entering the following commands, I'm able to boot.There are other users at my home not familiar with ubuntu. windows is their OS of choice. So I don't want to remove windows installation .One solution that I can think of is creating a grub rescue CD using grub-mkrescue, then using windows cd to fix mbr (which will overwrite grub? or the pointer to grub?) and then using the grub rescue cd to boot into Ubuntu but I'm not sure.
Actually Some one has deleted my vmlinuz-2.6.18-164.el5 and its backup vmlinuz5 from /boot dir i want to restore those files. i tried by "linux rescue" mode but unable to mount my dvd from RHEL5 dvd drive there is no file exist as /dev/cdrom .
View 1 Replies View RelatedFrom system security point to view I want to prohibit 'linux rescue' mode in my installed RHEL system. Because as per my knowlege through linux rescue mode anyone who have physical access to system can mount root filesystem(/) and retrieve all data without knowing root password. Please guide should i encrypt / on any alternative .
View 1 Replies View RelatedUbuntu 10.04 on remote server failed after updating following modules:
An update to grub-common from 1.98-1ubuntu8 to 1.98-1ubuntu9 is available.
An update to grub-pc from 1.98-1ubuntu8 to 1.98-1ubuntu9 is available.
First updated a OK and second gave an error "wrong name" or something like that So the update stop the server and I did "Cold Reboot" which seems to work but I can't log in via "root" SSH only by "rescue mode" SSH however I am totally lost there.
I guess I need to finish the "grub-pc" or "grub-common" from prior update process. I can use rescue mode to effectively boot my server to live cd. I can ssh in to the live cd os and my original os is mounted for me to chroot in / backup / repair.
I installed Fedora on my pc over Ubuntu and now Grub wont go any further than rescue mode. (Apparently grubs boot folder was on the Ubuntu partition. Now I see why a dedicated boot partition is handy.) I used VMware to install Fedora as im currently out of CDs. VMware is setup to use the Physical HDD for the primary HDD in the VM. (I made sure VMware disabled access to the windows partitions so the guest couldn't access them.)
I am in Windows 7 at the moment and am avoiding rebooting as that will basically lock me out of the only computer I have access to. I tried running the Ubuntu LiveCD to restore grub but dont know how to mount Fedoras LVM partitions. What can I do to repair grub or at least install an MBR that is capable of booting windows? I can boot floppies and cds using VMware but am not sure what to use to fix this.
Fedora LiveCD wont mount any of the partitions to install Grub
Ubuntu LiveCD may work if I can mount the LVM partitions.
I got my wife to try Linux, so we set her machine up to dual boot with Windows. After a few weeks, she decided not to use Linux, so we deleted the Linux partitions using Gparted on a USB drive and resized the NTFS partition, under the apparently mistaken impression that Grub would detect that there was now no other operating system. When we rebooted, we got error: no such partition, followed by a grub rescue prompt. I've never worked with Grub directly before, so I have no idea what to do at this point.
View 5 Replies View Relatedi have a server which i have no physical access to, all i can do is boot in rescue mode from a live debian CD and i want to know of a way to install CentOS from iso image or maybe NFS? on that server using this debian live CD.
since it's live CD i can't mount the iso image and boot from it cos after reboot nothing will be preserved. so the case in breif is, i am booted form debian live cd and i want to install CentOS on the machine from that system using iso image
1 ) I have accidently installed RHEL5.2 in a lap which was already having Fedora14. Now the fedora grub is missing and i am unable to boot into fedora. also there is no Rescue option in fedora 14 live CD, it only have Boot, Basic video, Memory test but no rescue mode. so pls tell me how to get into Rescue mode and solve this problem
2 ) How to find in which partition it is installed eg do i have type (hd0,0) or (hd0,xx), i have on hard disk so the H.D.D number will be hd0 but what about the partition . how to find it.
Im trying to restore RHEL 5.3 which was previously installed on LVM. I have completly new disks.
1. I have started RHEL install DVD with option: linux rescue
2. set up network
3. connected to NFS server where the backup is stored
4. restored partition image: dd if=/mnt/source/layout.bin of=/dev/sda bs=1024 count=1 (this will preapare partitions like it was before backup. After that it is necessary to run fdisk /dev/sda and choose oprion "w" - write)
Now, I want to create Logical Volumes, but I have no "pvcreate" command in RHEL rescue mode.
I am attempting to work with adding a new hard drive with a default logical volume setup. In order to complete the task, I am instructed to use a live CD to boot the system without mounting the drives using linux rescue. I am using CentOS-5.5-i386-LiveCD-Release2.iso
I have reviewed the centos documentation. When the live CD boots, it starts a count down to an automatic boot. I attempt to invoke the boot options as directed by hitting the tab and adding the words
linux rescue
At the end of the line and hit return to begin the booting process.
Unfortunately, the linux rescue boot option is ignored and the system mounts the hard drive. Additionally, I have checked the boot option several times by hitting the tab a second time and the option is not displayed.
In researching the issue, I inevitably get very similar instructions like:
Quote:The first centos CD or DVD has a rescue mode, just type on the boot screen: linux rescue
I have 6 disks (partitions) combined into one lvm volgroup in my server. The server have been online for a year.
And today, suddenly it hangs. At first, I thought it's caused by network lag, because after a couple minutes the server is responsive again. But then I felt something very wrong. I can't access any file that stored on the lvm.
After some dmesg, fdisk -l and a peek at /etc/lvm/archive/*, I found that one of the partitions used for lvm volgroup is missing. Tried a reboot, and the suspected disk is undetected even in BIOS. Must be caused by bad block on the disk's sector zero or something. I think missing one pv makes the volgroup failed to initiate. So, no volgroup, no logical volume. And I can't access the files on it for sure.
Is there a way I can save/rescue data from other non-damaged disks? I have no luck finding similar situation (and solution) by searching on google.
Has someone tried to rescue windows data from a troubled hard disk using gddrescue from a linux LIVE and would like to explain his experience?
View 3 Replies View RelatedI installed debian testing from hard disk using the netinst.iso. Now how can i get the rescue mode to reinstall grub? During installation i didn't get other options like rescue mode.It guided me to install debian testing from hard disk only.
View 2 Replies View RelatedI'm experimenting a bit with my fedora, so I need to enter rescue mode very often. Every time I want to enter rescue mode, I need to insert fedora DVD Is there a way to install rescue mode on my hard drive so I could boot into rescue mode from GRUB?
View 4 Replies View RelatedI have been trying to install windows for 15 days and I was finally able to do it by removing in "disk utility" the sign saying that the fedora partition is bootable... but I did it when the partition was active... It showed me a message error but i thought that it told me it wasn't abvle to do it... and now that windows is installed I cannot any more access the partition either in rescue mode and on a live cd ... what could I do to access the partition either to save all the files or to (it woiuld be the best) reinstall the grub ?
View 14 Replies View RelatedI've a problem booting on my fc14 64 bit. I install it yesterday and everything was ok. Then I updated it and I installed wireless drivers kmod-wl equivalent to my kernel version that is 2.6.35.6-45. I've a pavilion dv6 with a broadcom ach. for networking. So the next step was installing kmod-nvidia for my nvidia geforce but after rebooting my never allow me to log in! I can se the tipical blue-white progress bar loading nvidia drivers but not else!
my screen freeze itself after the progress bar became white. I would resolve by rescue mode but I've installed fc14 64 b using a usb-pen drive and I find no way to do this from live version.