CentOS 5 :: Manually Mounting Partitions In "rescue Mode"?
Aug 2, 2010
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.
View 6 Replies
ADVERTISEMENT
Oct 21, 2010
I have various drives and partitions that I have been mounting through fstab, but sometimes I had to do it manually, but now, I can't get them to mount at all. At first I thought it might be a disk failure, but booting to a Live CD shows all the drives working fine. when the entries are added into fstab, $mount -l shows them as mounted to their relevant mount points, but the data does't show in either terminal or dolphin?
Typing $umount /dev/drive always returns /dev/drive not mounted.
When I comment out the entries in fstab and reboot and try a manual mount, I always get /dev/drive already mounted or /mount/point busy. $mount -l does not show any mount entry points for the drive. My /home/user partition is now full as I can't save data on the other drives, so I don't know if this is an issue. Also I use a mixture of encrypted partitions and non encrypted partitions, but this wasn't an issue before. Checking some of the logs didn't show any errors. The problem seemed to start when gdd was saving data to a partition mount point I thought was mounted but wasn't. I have since removed that data and even created a new mount point.
View 5 Replies
View Related
Nov 21, 2010
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.
View 5 Replies
View Related
Feb 27, 2011
I have a software RAID 1 (mirroring) on my 2 hard drives configured through OpenSuse 11.3 installer. When I boot from the OpenSuse 11.3 install DVD in rescue mode, the RAID isn't recognized, ie attempting to mount /dev/md0 results in 'bad superblock' messages. I can still mount individual disks in the array though (/dev/sda1, /dev/sdb1, I did it read-only so not to corrupt the array). I also tried booting from the Centos 5.5 install DVD in rescue mode on the same computer and it has no problems finding the RAID 1. I was able to mount /dev/md0. Is the OpenSuse 11.3 install DVD in the rescue mode not supposed to find the RAID 1 or am I doing something wrong here?
View 3 Replies
View Related
Oct 10, 2010
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
View 5 Replies
View Related
Oct 16, 2010
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
View 4 Replies
View Related
Apr 2, 2009
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.
View 10 Replies
View Related
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 ?
View 7 Replies
View Related
Sep 5, 2009
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?
View 2 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
Apr 3, 2010
[URL]I was going through this tutorial linked above, but then when I got to the dmesg | grep -i portion, I thought for a moment and said to myself, "Wait, I don't have that kind of output.Which is true,
dmesg | grep -i "SCSI device" outputs
nothing
where
[code].....
View 1 Replies
View Related
Aug 29, 2010
My Centos disk was full. when I remove all the big files, df and du command not show right size. I reboot my server and in to rescue mode, it alert "you don't have any linux partitions".How do I fix it?I not use LVM.my server mount:
/dev/sda1 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
[code]....
View 3 Replies
View Related
Dec 19, 2010
how to partition. I was getting sick of having to backup my data every time I had to reinstall Ubuntu, so someone recommend that I partition my hard drive so that I could store all my personal files ( documents, music, and vidoes ) onto the seperate partition. However I don't know how to do this. Furthermore when a new version of Ubuntu is release I always pick the install on the entire hard drive so the partition i installed would end up being deleted. How do you install Ubuntu by manually specifying the partitions.
View 6 Replies
View Related
Aug 2, 2010
I added a second internal hard drive to my system.It took a while to figure out how to mount it, and I thought all my problems were over.I want to use this for storage for Transmission since this would keep all the files independent of my other hard drive.One thing that I noticed is that when I restart my computer it doesn't automatically mount the drive (Transmission gives me an error message saying it's not able to access the drive).So I remounted it, and noticed that it restarts all my torrents.One thing that I noticed is that Transmission keeps the .torrent files in /tmp and IIRC there is an option to move them wherever you want to in Deluge (I don't know if this will help anything or not).I don't like Deluge, but if it's somehow easier.
So how can I retain my settings prior to restarting and make this permanent?I do like to turn my computer off from time to time, and I am quad booting with other distros that I like testing out.
View 3 Replies
View Related
Jan 22, 2011
Issue mounting my usb external hdd in ubuntu-rescue-remix. i am trying to use photorec and recover the files to my external hdd but i m not able to mount my external hdd..
View 2 Replies
View Related
Jul 28, 2010
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 Related
Apr 28, 2011
When I choose the manual partitioning scheme (the bottom radio button),I cannot specify mountpoints manually for some of my partitions.I have tried clicking in the mountpoint box, to no avail.The only choices I have are in the dropdown menu.My current partitions include ones for /data, /storage, and /art,in addition to/and /home.
View 4 Replies
View Related
Jun 1, 2015
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
View 1 Replies
View Related
Sep 2, 2010
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.
View 1 Replies
View Related
Dec 7, 2010
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.
View 5 Replies
View Related
Sep 23, 2010
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 Related
Jan 31, 2011
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 .
View 1 Replies
View Related
Apr 30, 2010
I have the following line in my fstab:
Code:
//192.168.0.242/websites /mnt/supercube cifs rw,user=XXX,pass=XXX,iocharset=utf8,file_mode=0777,file_mode=0777,dir_mode=0777,uid=XXX 0 0
But it doesn't auto mount with everything and disconnects whenever I suspend my computer. The only way to get it to mount is with
Code: sudo mount -a and it mounts fine with no error.
Did lucid change the way it uses fstab or something? Obviously writing mount -a isn't a huge concern, but it kind of destroys the point of putting it in my fstab.
View 9 Replies
View Related
Dec 5, 2010
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.
View 9 Replies
View Related
Jun 30, 2011
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.
View 9 Replies
View Related
Feb 23, 2011
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 Related
Nov 28, 2010
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.
View 6 Replies
View Related
Jun 29, 2010
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.
View 3 Replies
View Related
Jan 28, 2010
I am trying to install ubuntu 9.10 alongside windows on my laptop's harddrive. When I was going through the procedure it gave me the option of a guided partition of my harddrive... however there was an error. At this stage I unplugged my external harddrive because it's sometimess a bit dodgy and restarted the installation process. However everytime since that I have tried to install, it only gives me the option of erasing the entire disk or specifying the partitions manually
View 6 Replies
View Related
May 24, 2011
I have figured out manually setting the swap partition and setting "/" as the mount point for the primary partition during install. If during install, I want to create another partition to keep the OS separate from installed programs and such, to be able to do a clean install every 6 months and not loose everything (or anything) I have done prior.
View 2 Replies
View Related