Debian Hardware :: The Server Crashed And Now Only Able To Access It In Rescue Mode?
Jul 9, 2011I have a linux (dedicated) server on 1and1. Last night, the server crashed and now I'm only able to access it in rescue mode.
View 3 RepliesI have a linux (dedicated) server on 1and1. Last night, the server crashed and now I'm only able to access it in rescue mode.
View 3 RepliesFrom 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 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.
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.
my HP Pavilion a335w on board NIC stopped working. I've tried putting in another NIC in the PCI slots #1 & 2 of the three available and the system does not pickup the card. I thought it was because it was an old 3com 3c905b and was not supported.I took the box to Best Buy and purchased a new Linksys card and had them install it.The Geek Squad told me that the Motherboard was bad, no charge.I took it to a refurbishing store and the very patient gentlemen tried to get a Netgear FA310TX card to be recognized with no luck.I took the Netgear FA310TX card home and put in slot #3 and booted up with the install disk. In Rescue Mode it recognizes the NIC and gets an IP address from the router.If I boot up normally without the install disk, then it does not recognize the NIC.
View 7 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 have an issue with the fstab on Ubuntu 10.4 - I need to mount the system with a rescur cd and edit the fstab I have the CD for 10.4 but am afraid the process on mounting the system will overwrite the system. With all the information about Ubuntu I can not find information about this process
View 2 Replies View RelatedToday it happened again: After an apparently trivial update Grub (Grub2) enters rescue mode the next time booting, not displaying any useful help whatsoever at that point. (Remember that at boot time no manual or help pages are available.) I don't know what went wrong, but ... The harddisk or partition in question is now no longer a bootable partition.
I don't want to use much time trying to sort out things, so unless someone may direct me to at better procedure, I am going to save whatever can be saved from the hd and then reinstall debian (in this case: Sqeeze) from scratch. Nothing else has in my experience ever worked before.
It happened when I updated my php5.4 to 5.5 version on my small Debian 7 server. I am only getting GRUB right after BIOS boot pass, then none of the keys working even C or Shift buttons to go to command promt except CTRL+ALT+DEL.
I have tried rescue mode with live CD, selected myserver/root/ partition to install GRUB but not worked.
How to recover my server, I have some important data in it and I don`t want to destroy them.
I have a new installation. I try to boot and instead of my grub menu, I get "error: file not found" and am dropped into the rescue prompt. I have just a standard "Desktop" installation. I installed from the 5.05 net install cd. I installed grub to the MBR.
partitions are:
hd0,2 is /
hd0,5 is swap
entering the "set" command results in:
prefix=(hd0,2)/boot/grub
root=hd0,2
[Code]...
My 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'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 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 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.
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'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.
I made a big mistake. While logged in as root i deleted the /bin directory by mistake. I cannot boot up now...I tried to re-install with the upgrade option...Did it partly but it does not go to the login. I tried a rescue operation and have gone into /mnt/sysimage...However I do not know how to copy my data files over the network to another computer. If I could do that it would be great...I can then backup my file and reinstall.
However I do not know how to setup the network in rescue mode..
Agter going into the network option ...It gave 2 places where I could enter the values ipv4 .and ipv6...I tried entering the old IP address in the first oprtion ........./....Its prompting for some entry to be put after the /. I think its a 3 digit input. Not sure what has to be done.with namesserver and default gateway....I have a small dlink hub and normally (when the system was running) I just needed to go into network manager and enter the machine ipaddress, subnet mask 255.255.255.0 and some value for the default gateway which was not really there....It worked, i could remote connect with another computer in my LAN. How do i enter the 255.255.255.0 in rescue mode?
Hey guys by mistake I've deleted my root partition, now I'm trying to recover my data which is located in /home/user I was able to mount my home partition to /home by executing mount /dev/sdf10 /home and I was able to mount my external by executing mount /dev/sda1 /media The problem is I can not copy anything to it, it says "operation not permitted" I've tried the following
mount -o rw /dev/sda1 /media
mount -o remount,rw /dev/sda1 /media
I've even tried -t with vfat, ntfs, fat32
and also
chmod 777 /media
I get no errors while trying this but as soon as I try to copy or touch a file in the directory it denies me.
my OS FC13 is missing some packages. iwant to reinstall that but my network cards are not enable so i want to do it in rescue mode. how to do that in rescue mode.i know i will reach till chroot /mnt/sysimage. after that if i install any package then if i reboot my system will those packages will be availabe in real OS.
View 9 Replies View RelatedI've got CentOS 6 installed and am wondering if it's necessary to have installation media in order to run 'linux rescue'. (I have to do some LVM resizing and would rather do it from rescue mode than in a running system.)
What I've read about booting into linux rescue is that it seems to be necessary to have installation media and boot into that. But I'm wondering if it's possible to do it some other way, like from the grub menu? But it doesn't seem to be possible to enter 'linux rescue' from the grub command line (which I got to by typing 'c' in grub menu screen) - typing 'linux rescue' at grub command line says 'command not found'.
Maybe there's another way to do this? Or some fancy way to have loaded a rescue image or something onto my disk so I don't need installation media. There's 2 reasons why I'd like to enter linux rescue without installation media, both because my computer is very old. 1) My computer can't boot from USB, and 2) My CD/DVD tray is very unstable and keeps popping out intermittently, so I'd need to hold the tray in place during the whole LVM process and it's a real pain, and I wouldn't want to risk data corruption if the process is interrupted by my CD/DVD tray popping out.
I'm hoping there's some way - it'd also be nice to know how to do this if some urgent situation arose where I needed to enter linux rescue mode but didn't have installation media handy and it'd take to long to retrieve or create new installation media.
I 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 Replies View Relatedi using RHEL4.4 i forget password and im unable to access single user maode ,i try to rescue mode to break it, message comes unable to start pam
View 4 Replies View Related