Debian :: Emergency Mode After Update - Md0 Failed
Jan 15, 2016
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.
View 7 Replies
ADVERTISEMENT
Jun 19, 2015
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.
View 7 Replies
View Related
Feb 21, 2016
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
View 13 Replies
View Related
Aug 8, 2015
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.
View 7 Replies
View Related
Dec 1, 2010
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.
View 3 Replies
View Related
Mar 10, 2011
I need boot in emergency mode (not single user mode), from docs:
[URL]
in red hat enterprise 5 it's ok, not in red hat 6.
View 1 Replies
View Related
Feb 11, 2011
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
View 8 Replies
View Related
Aug 31, 2011
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
[code]...
View 1 Replies
View Related
Apr 24, 2011
I don't know why but my server is no longer successfully updating its security repositories when I run 'apt-get update' on my system.Some index files failed to download, they have been ignored, or old ones used instead.Did I mess something up? No changes have been made to the server and I ran 'apt-get clean' and that didn't really do much.
View 2 Replies
View Related
Aug 16, 2014
I installed debian jessie with kde on my laptop a month ago and everything went fine. I tried today to update the packages (805!) via apper but i get the following error message:
Error : Removing a protected system package is not allowed
WARNING: You are trying to remove the following essential packages: sysvinit-core (due to sysvinit)
View 5 Replies
View Related
Oct 3, 2010
W: Failed to fetch [URL] Hash Sum mismatch E: Some index files failed to download, they have been ignored, or old ones used instead. Tried 3 different mirrors all have the same error. I assume this is the same issue we had a while back where one package was messing things up. Mirrors I my sources.list
[Code]...
View 9 Replies
View Related
Dec 21, 2010
I have done a update from Lenny to Squeeze with the update manager within Gnome. And there was a error 126 and the update broke off leaving me with a non working system. The system does start into Debian Squeeze to the command line. Users are in place and a login is possible. X does not work and there a lot of broken and defect packages. I want to repair my system. Is a restore without losing the configuration possible?
View 14 Replies
View Related
Jan 11, 2016
I ran my daily update of Debian Stretch using Synaptic, and when done had an un-installed update for ifupdown remaining marked in the list. By right clicking I was able to get Synaptic to say it would install the update, along with quite a few other updates. In the process of doing this, my screen went dark and stayed dark. On reboot, I get the Grub menu to select which Linux system I want to boot, but whichever one I choose, including older ones, I get to a command line, not the Gnome GUI.
I tried to complete the update of ifupdown using apt-get, only to discover that my machine no longer has any network connection, let alone Internet.
How do I begin to troubleshoot this?
View 14 Replies
View Related
May 11, 2011
I'm using Squeeze amd64, installed latest kernel 2.6.38 from backport yesterday. Just now try to check for any update but failed, these messages show.
View 2 Replies
View Related
May 18, 2011
when I try to update my Debian, I have the following internal error:Error message:Fetch failed: W:Failed to fetch [URL] Unable to find expected entry free/binary-i386/Packages in Meta-index file (malformed Release file?), W:Failed to fetch [URL] Unable to find expected entry free/binary-i386/Packages in Meta-index file (malformed Release file?)
, W:Failed to fetch [URL] Unable to find expected entry free/binary-i386/Packages in Meta-index file (malformed Release file?), E:Some index files failed to download, they have been ignored, or old ones used instead.
View 2 Replies
View Related
Jun 22, 2011
I do not know if this is really something I should worry about. I am running Debian testing on my laptop (HP Pavillon dv6). Today, the aptitude update---aptitude upgrade gave me a new kernel (2.6.39). However, if I boot with that kernel, I get a warning (do not know if that is the way I should call this) telling me that the machine failed to get the i915 symbols so turbo graphics will be disabled.I have not done any serious test, but at first sight I do not notice any difference performance-wise with respect to the previous kernel. what am I supposed to do to fix this?
View 8 Replies
View Related
Aug 10, 2010
I have some issues concerning so called "11-minutes-mode" - RTC update"11-minutes-mode" definition In hwclock man page we can read:"Automatic Hardware Clock Synchronization By the KernelYou should be aware of another way that the Hardware Clock is kept synchronized in some systems. The Linux kernel has a mode wherein it copies the System Time to the Hardware Clock every 11 minutes. This is a good mode to use when you are using something sophisticated like ntp to keep your System Time synchronized. (ntp is a way to keep your System Time synchronized either to a time server somewhere on the network or to a radio clock hooked up to your system. See RFC 1305).
This mode (we'll call it "11 minute mode") is off until something turns it on. The ntp daemon xntpd is one thing that turns it on. You can turn it off by running anything, including hwclock --hctosys, that sets the System Time the old fashioned way. To see if it is on or off, use the command adjtimex --print and look at the value of "status". If the "64" bit of this number (expressed in binary) equal to 0, 11 minute mode is on. Otherwise, it is off. If your system runs with 11 minute mode on, don't use hwclock --adjust or hwclock --hctosys. You'll just make a mess. It is acceptable to use a hwclock --hctosys at startup time to get a reasonable System Time until your system is able to set the System Time from the external source and start 11 minute mode. Here are my questions:1 . How to check if "11-minutes-mode" is on/off ?The output of adjtimex -p looks like this:
mode: 0
offset: 17504
frequency: 6140386
[code]...
View 1 Replies
View Related
Apr 9, 2010
Today i upgraded my system and started getting error when i update, install or remove a package. The error isn't restricted only to one repository so i thing something is wrong with my system.
[Code]....
View 4 Replies
View Related
Mar 14, 2011
having had problems with getting grub2 to work on dual HDD setup...despite the most excellent advice on the forum i took the plunge and installed 10.10 from update manager within 10.04..... bingo fixed grub and now have dual boot again. but the update manager and synaptic package don't work because of libedata-cal1.2-6 file that remains..following other advice on the forum Advice gratefully received, how can i force an unistall of this package
mark@studypc:~$ sudo apt-get -f remove
Reading package lists... Done
Building dependency tree
Reading state information... Done
[Code]...
View 9 Replies
View Related
Jun 1, 2010
I am from India, and I tried to update my Ubuntu system today. Code: $sudo apt-get update The update failed because the connection to the India mirror timed out: Code: [URL] Could not connect to in.archive.ubuntu.com:80 (111.91.91.37). - connect (110: Connection timed out) I tried the update a few times, with the same result every time.
I had firestarter running at this time, and noticed that I would get new security events every time I tried an update. I checked the events list, and it turned out that the machine at the ip address 111.91.91.37 (the in.archive.ubuntu.com machine, to go by the above error message) had been trying to make connections to seemingly random ports on the machine every time I tried the update: see the attached screenshot. I then changed my repositories to the Main Server using Synaptic, and tried the update again (from the command-line). This time it worked without a hitch, and firestarter did not report any unwanted incoming connection. why is the India mirror trying to open connections that the Main server apparently does not need in order for me to do the update? Should I (we) be concerned?
View 3 Replies
View Related
Dec 22, 2010
Shut down the machine yesterday, got an error booting today. Since I'm new to Ubuntu (been using it for about a month now), I don't know what logs to check, what utilities to run, where to find bootup error message so I can copy here. I am now using it in recovery/low-graphics mode.
View 3 Replies
View Related
Mar 25, 2010
I install Fedora10 in my computer but when it begins the process of installation, it says that "x startup failed" and falls to text mode of installation. Howerver, the graphic mode works in another computer.
View 1 Replies
View Related
Aug 5, 2010
I made a backup of xorg.conf and added Xinerama and the other configuration items I needed. X failed to load. Then I copied my backup to xorg.conf and...X failed to load. Then I tried booting up in safe graphics made, and X failed to load. I tried dpkg-reconfigure xserver-xorg, but it did nothing. Literally nothing -- no error, no output, no nothing. Then I saw someone who had suggested to apt-get remove --purge xserver-xorg, then reinstall it, and X failed to load.
I am at a complete loss. I have now read that the dpkg-reconfigure xserver-xorg is no longer used, that the os is supposed to autodetect everything now, but in that case I don't see how I will ever get dual monitors. In any case, I can live without dual monitors, but I need at least ONE monitor, and I have no idea how to get the configuration working.
View 2 Replies
View Related
Aug 31, 2010
Earlier today I was setting up ssh on a new computer. I modified permissions on the Passwd folder to complete the setup. I few hours later when I went to sudo something in the terminal I received the notice of an incorrect password (after using sudo prior to this), even though it was typed correctly.
I tried to restart the computer to solve the issue, but was met with an Authentication Failed message, regardless of the user I tried to log in with. I was hoping I could log in with recovery mode but was unable to do that as well. I have searched a substantial amount and have not found a solution. Could this be an issue with permissions on either the Passwd or Shadow folder? If so, could these be changed if I ran a Live CD?
View 1 Replies
View Related
May 30, 2010
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.
View 9 Replies
View Related
May 15, 2011
I try to set-up an Access point using ubuntu 11.04. I am using the minimal configuration file from [URL] together with a TP-Link TL-WN422G (Atheros chipset). I've installed the linux-backports-net-natty-generic drivers. But when trying to start hostapd I always get this output:
Code:
# hostapd -dd -K test.conf
Configuration file: test.conf
Failed to set interface wlan0 to master mode.
nl80211 driver initialization failed.
wlan0: Unable to setup interface.
ELOOP: remaining socket: sock=5 eloop_data=0x9b9440 user_data=(nil) handler=0x43d980
I have also disabled the network-manager for this device by adding this to /etc/network/interfaces:
Code:
iface wlan0 inet manual
cat test.conf:
Code:
interface=wlan0
driver=nl80211
ssid=test
channel=1
lsusb says:
Code:
...
Bus 001 Device 005: ID 0cf3:1006 Atheros Communications, Inc. TP-Link TL-WN422G v2 802.11g [Atheros AR9271]
...
lsmo: .....
Code:
Linux magnet 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
View 1 Replies
View Related
Jun 24, 2009
Is growing raid 6 in 5.3 centos possible? I'm getting errors when i run mdadm in --grow mode failed : 'mdadm --grow /dev/md0 -n 5 2>&1' -> mdadm: Cannot set device size/shape for /dev/md0: Invalid argument Do i have to create a custom kernel for centos?
View 1 Replies
View Related
Jun 15, 2010
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.
View 4 Replies
View Related
Jan 25, 2011
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.
View 2 Replies
View Related
Oct 2, 2010
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 ?
View 2 Replies
View Related