CentOS 5 :: Unable To Mount Devices In Rescue Mode?
Aug 1, 2010
Booting to CentOS 5.5 works and I am able to login with all my devices mounted. When I boot from the install DVD and type "linux rescue" I eventually get the message, after attempting to have one of the screens mount my partitions in read/write mode:
"An error occurred trying to mount some or all of your system. Some of it may be mounted under /mnt/sysimage." But nothing appears mounted under /mnt/sysimage. Should I try mounting my CentOS 5.5 partitions manually at this point ?
Environment: A 32-bit kernel RHEL5.3 system running on a virtual machine. The root(/) filesystem is on an LV.
Issue: Unable to resize the FS after extending the root LV since it is mounted. After extending the LV, online resizing of the FS was not supported and the root filesystem could not be unmounted while it was in use. On rebooting, I got a kernel panic error. In runlevel 1, I couldn't run chroot, couldn't find the /etc/fstab, root FS could not be mounted, fsck did not run (tried block 31 for second copy of superblock using dd count=1 bs=4k skip=31 seek=1 if=/dev/sda2 of=/dev/sda2), couldn't find any rpm on installation media to install unix-utils rpm. On running commands in runlevel 1,
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.
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 .
I 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 ?
--- WinXP NTFS partition --- a vfat partition (mounted onto /fat32) --- Installed F10 on ext3 virtual partition
B. I do not want install grub-loader in the Master Boot Record (that would loose my WinXP boot-loader for ever)
C. I have installed grub boot loader in the First Boot Sector
D. Now I have to boot using Rescue Mode, do:
1. dd if=/dev/sda2 of=/fat32/linux.bin bs=512 count=1 2. mount -t ntfs /dev/sda1 /ntfs 3. cp /fat32/linux.bin /ntfs 4. modify /ntfs/c/boot.ini and introduce the statement 'c:linux.bin="Linux"'
Problem: Im not able to do step D.2 above.
Symptom: ** after booting linux using the Rescue Mode: sh-3.2# chroot /mnt/sysimage sh-3.2# uname -r 2.6.27.5-117.fc10.i586 sh-3.2# mount -f ntfs /dev/sda1 /ntfs FATAL: Could not load /lib/modules/2.6.27.5-117.fc10.i586/modules.dep: No such file or directory ntfs-3g-mount: fuse device is missing, try 'modprobe fuse' as root sh-3.2#
Observations:
* The rescue mode boots into i586 based kernel (I dont know what is the actual difference between i586 and i686 - will really appreciate if anyone can educate me about it). * The installation is only a i686 image and consequently there is *only* '/lib/modules/2.6.27.5-117.fc10.i686' dir and *no* other dir. There is no dir as xxxx.fc10.i586.
I 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 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
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 am trying to build a server based on an ASUS P5BV-C, which has dual-Marvell 80856 Gig-E ethernet controllers.If I boot into rescue mode, using CentOS 5.3, x86_64, disc 1, I can start eth0, and it configures via dhcp. No problems.
If I boot the same disk with 'linux askmethod' and select http as the install method, it tries to start eth0, then times out trying to get dhcp. Checking tty3 (or 4, i forget) indicates the eth0 link is up, but no communication. Manual configuration doesn't work either.
I installed ubuntu on a second hard drive.Nowhere did the fracken ubuntu installer ask my permission to over-write my mbr but that's exactly what it did.I'm booted off the rescue CD trying to restore the mbr to how centos left it (I'll add ubuntu to grub manually) but I can't boot into rescue.linux rescue results in a kernel panic suggesting I need the noapic argument. Makes sense, I needed that to install and need that in grub.linux rescue noapic boots into the installer, not rescue.How do I boot into rescue mode with the noapic kernel argument?
I have shared few directories through nfs in my fedora 12 OS.Here is the output of few commands from the virtual machine running on CentOS in both normal and rescue mode
Code: [root@localhost /]# showmount -e 192.168.0.3 Export list for 192.168.0.3:
Previously, everytime I insert a USB drive it automatically mounts. But now I am getting this error:
"Unable to mount 8.0 GB Media DBus error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."
Also, previously my CD/DVD works properly. But now everytime I insert a disk, this is what I get:
"Unable to mount TOSHIBA
DBus error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."
give me the sequence for manually mounting devices in "rescue mode" ? When I try "linux rescue" from the install disk, it eventually fails to mount my partitions with a generalized failure message, which tells me nothing. I then try mounting them myself on /mnt/sysimage. I have separate root, boot, and home partititions. Is the sequence:
Mount root partition at /mnt/sysimage chroot /mnt/sysimage Mount boot partition at /boot Mount home partition at /home
What about tmpfs, devpts, sysfs ? Do they need to be manually mounted also ? The 'mount' command does not show them as mounted after I do my chroot.
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?
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.
From 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 .
Ubuntu 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.
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 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.
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?
I'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 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.