Debian :: System Rescue With Hardware RAID
Mar 1, 2016
I had a RAID problem on an HP Proliant server due to a failing disk. When I changed the disk, things got complicated and RAID seemed to be broken. I put back the old disk, repaired the RAID, then changed put the new disk again and all returned to normal except the system doesn't boot. I am stuck at grub stage (the grub rescue prompt). I grabbed a netinst CD and tried to rescue it, at some point, the wizard correctly sees my two partitions sda1 and sda2 and asks wether I want to chroot to sda1 or sda2. I had red screen errors on both.
The error message said to check syslog, syslog says can't mount EXT4 file system beacuse bad superblock. I switched to TTY2 (Alt-F2) and tried fsck.ext4 on sda1 (I think sda2 is the swap because when I ran fsck on it it said something like this partition is too small and suggested that it could be swap) it says bad superblock and bad magic number. I tried e2fsck -b 8193 as suggested by the error message but that too didn't work (I think the -b 8193 is for trying to get he backup superblock).
The RAID is as follows : One RAID array of 4 physical disks that are grouped into one Logical Volume /dev/sda, so the operating system only sees one device instead of four (4 disks).
View 0 Replies
ADVERTISEMENT
Sep 19, 2014
I am running a 14 disk RAID 6 on mdadm behind 2 LSI SAS2008's in JBOD mode (no HW raid) on Debian 7 in BIOS legacy mode.
Grub2 is dropping to a rescue shell complaining that "no such device" exists for "mduuid/b1c40379914e5d18dddb893b4dc5a28f".
Output from mdadm:
Code: Select all # mdadm -D /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Wed Nov 7 17:06:02 2012
Raid Level : raid6
Array Size : 35160446976 (33531.62 GiB 36004.30 GB)
Used Dev Size : 2930037248 (2794.30 GiB 3000.36 GB)
Raid Devices : 14
[Code] ....
Output from blkid:
Code: Select all # blkid
/dev/md0: UUID="2c61b08d-cb1f-4c2c-8ce0-eaea15af32fb" TYPE="xfs"
/dev/md/0: UUID="2c61b08d-cb1f-4c2c-8ce0-eaea15af32fb" TYPE="xfs"
/dev/sdd2: UUID="b1c40379-914e-5d18-dddb-893b4dc5a28f" UUID_SUB="09a00673-c9c1-dc15-b792-f0226016a8a6" LABEL="media:0" TYPE="linux_raid_member"
[Code] ....
The UUID for md0 is `2c61b08d-cb1f-4c2c-8ce0-eaea15af32fb` so I do not understand why grub insists on looking for `b1c40379914e5d18dddb893b4dc5a28f`.
**Here is the output from `bootinfoscript` 0.61. This contains alot of detailed information, and I couldn't find anything wrong with any of it: [URL] .....
During the grub rescue an `ls` shows the member disks and also shows `(md/0)` but if I try an `ls (md/0)` I get an unknown disk error. Trying an `ls` on any member device results in unknown filesystem. The filesystem on the md0 is XFS, and I assume the unknown filesystem is normal if its trying to read an individual disk instead of md0.
I have come close to losing my mind over this, I've tried uninstalling and reinstalling grub numerous times, `update-initramfs -u -k all` numerous times, `update-grub` numerous times, `grub-install` numerous times to all member disks without error, etc.
I even tried manually editing `grub.cfg` to replace all instances of `mduuid/b1c40379914e5d18dddb893b4dc5a28f` with `(md/0)` and then re-install grub, but the exact same error of no such device mduuid/b1c40379914e5d18dddb893b4dc5a28f still happened.
[URL] ....
One thing I noticed is it is only showing half the disks. I am not sure if this matters or is important or not, but one theory would be because there are two LSI cards physically in the machine.
This last screenshot was shown after I specifically altered grub.cfg to replace all instances of `mduuid/b1c40379914e5d18dddb893b4dc5a28f` with `mduuid/2c61b08d-cb1f-4c2c-8ce0-eaea15af32fb` and then re-ran grub-install on all member drives. Where it is getting this old b1c* address I have no clue.
I even tried installing a SATA drive on /dev/sda, outside of the array, and installing grub on it and booting from it. Still, same identical error.
View 14 Replies
View Related
Feb 18, 2012
My system doesn't boot anymore, when I turn on the laptop, instead of the normal grub screen, i get the following:
"error: file not found
Entering rescue mode...
grub rescue> _"
I tried also to make a bootable usb w/ unetbootin but all the distros failed to load w/ a syslinux boot error message so I really need to fix the existing debian installation to get access to my files i need for the university, it's debian stable (6.0.4) on hp mini 210 ....
View 12 Replies
View Related
Jan 23, 2016
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.
View 8 Replies
View Related
Jan 6, 2010
Here is my system: I have dell poweredge 1950 PERC 6 with 300 GB raid system. It has two disks of each 300GB RAID mirrored system. I have few applications and data that reached around 280GB. As you know, poweredge 1950 we can have only two disk.
They are not mission critical. Hence, I wanted to remove the raid system and use as a non-raid system. By doing it, The applications and data can grow upto 600GB. I do not want to loose the data and setup. I am not so clear about RAID system and its conversion.
View 6 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
Nov 5, 2010
There seems to be a problem with Raid on Debian. I got a new Fujitsu Primergy TS 100 S1 server, with hardware Raid (and 2 disks) installed everything nicely over the net including GRUB - but when it comes to reboot the system does not boot.
Is there anybody here who knows about the problem?
View 1 Replies
View Related
Jun 29, 2011
migrate an installed Ubuntu system from a software raid to a hardware raid on the same machine? how would you go about doing so?
View 1 Replies
View Related
Jun 12, 2010
I have two 1TB hard drives in a RAID 1 (mirroring) array. I would like to add a third 1TB drive and create a RAID 5 with the 3 drives for a 2TB system. I have ubuntu installed on a separate drive. Is it possible to convert my RAID 1 system to a RAID 5 without losing the data? Is there a better solution?
View 1 Replies
View Related
Mar 24, 2011
I have a box that doesn't have a Raid controller or a software raid running currently. I would like to make it a RAID 1. Since it seems there isn't any IDE RAID controllers hardly around, I have another HD that is the exact model as the drive currently in the box running CentOS. Can I some how add the second drive and get the box to mirror from here own out? The box gets really hot and I want to be ready for a HD failure.
View 3 Replies
View Related
Sep 17, 2010
Could someone recommend a simple (non-graphical) distribution that fits on a USB stick, boots without HD access, providing the functions of Super Grub Disk. I find the instructions for creating a Super Grub USB confusing. Even the CD version has cryptic operating instructions. Yes I know there is always Knoppix, but it is graphical (slow loading) and lacks the grub manipulating functions.
View 9 Replies
View Related
Feb 14, 2010
I've upgraded my pc to -current. All done well. But I forgot to reinstall my nvidia driver. I have no cd/dvd-rom. How to make usb storage (8GB) for rescue.
View 3 Replies
View Related
Jan 19, 2011
I have (had) Debian Testing running on a 250GB IDE hard drive, partitioned normally.
I also have 4x 1TB drives in a raid 5 using mdadm, and 2x 500GB drives in a raid 1 also with mdadm.
I put the two arrays in lvm using:
I then used "lvcreate" to make storage/backup 300GB, and the rest went to storage/media (approx. 2TB usable). I put an xfs filesystem on both and mounted them.
All was working fine until the system drive shorted out and died on me this morning. As far as I can tell, all my other drives and everything else is fine. I do a daily rsnapshot of the filesystem, which of course is residing on storage/backup (stupid, I know). So I have full backups of everything, but I'll have to put a new hard drive in and reinstall Debian before I can restore everything.
I've reinstalled before and simply reassembled mdadm arrays and remounted them before with no problems, but this is the first time I've used lvm, so I'm not sure what I have to do to restore everything. Is it as simple as reinstalling the system then doing a:
View 4 Replies
View Related
Jan 1, 2011
I've (attempted) to create a quad-boot on my MacBook Pro (if the specs are needed, its- 8gbs RAM, core i7, 500GB hard drive @ 7200 rpms, and its running the latest update of snow leopard). I have installed rEFIt and had installed Windows 7 as well as ubuntu 10.10. Everything was working great until I tried loading Linux Mint 10. Linux Mint got rid of Ubuntu in the rEFIt boot menu. I thought the added Linux Mint partition had just pushed out Ubuntu, so I deleted the Linux Mint partition, and re-sized the Macintosh HD. Now whenever I try to boot Windows 7 or Ubuntu, I get something along the lines of "invalid file system: Grub rescue" What do I do?
View 7 Replies
View Related
Nov 1, 2010
Im using the System Rescue live cd to try and Clamscan a partition on my internal HD, but I cant mount /dev/sda3 (my home partition).
I use this commandline (as root):
Code:
mount -t ext3 /dev/sda3 mountpoint
but it just hangs, and then gives an error.
View 6 Replies
View Related
Oct 23, 2010
There was an option in openSUSE about booting an installed system if grub is deleted from the MBR. This option is no longer available and there is no option for automatic recovery. For these reasons, I want to boot an installed system from command line. I know how to mount the root partition where openSUSE 11.3 is installed, but how to proceed?
View 3 Replies
View Related
Mar 12, 2010
Last night I was making a boot usb drive with usb startup creator onto a USB external well I, messed up and lost the partition table for 2 USB drives: my 500 gb hard drive was pluged in whilst i was doing this silly i know it was partitioned 251 gb its now showing as 500 gb but the data is still on drive it seems the file system is gone or damaged
View 2 Replies
View Related
Jul 18, 2011
Have win 7 on one drive and ubuntu on 2nd drive then son goes and deletes partition that Ubi was in ,now cannot access any system all i get is grub rescue on screen and i cannot boot with any thing taking a guess the grub bootloader has died and made a mess of the windows bootloader.
View 3 Replies
View Related
Jul 18, 2011
I have a pc that was running with the latest version of ubuntu and i wanted to install just vista for somereasons.
And what i did is to format the main driver and try to boot it from vista CD and as you may guess i have an error that says: unknown file system grub rescue
Each time i start the pc. I have an ubuntu live cd and also the vista cd, so what should i do now? the vista cd dosnt boot and the same screen appears all the time.
View 5 Replies
View Related
Sep 14, 2010
I have been reading about rescue CD's but haven't found out whether I can make one using my currently running Centos(centos-release-5-4.el5.centos.1 ).I tried to use a Centos cd we have here and it looks fine till it asks where the 'tree' structure is located, when I select cd it ejects it and asks the same question again. Do I need to build a rescue cd containing directory info of my specific system?This is related to wanting to fsck my file system.
View 3 Replies
View Related
Sep 5, 2011
When i boot my PC, i get this in my Fedora 16 distro. I have tried as following but none allowing me to boot anymore.
Grub loading.Welcome to GRUB!
error: file not found. Entering rescue mode...
grub rescue>
grub rescue> ls
(hd0) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1)
grub rescue> ls (hd0,gpt2)/
./ ../ lost+found/ memtest86+-4.20 grub2/ System.map-3.1.0-0.rc3.git0.0.fc16.i686 config 3.1.0.0.rc3.git0.0.fc16.i686 grub/ vmlinuz-3.1.0.0.rc3.git0.0.fc16.i686 elf-memtest86+-4.20 initramfs-3.1.0.0.rc3.git0.0.fc16.i686.img initramfs-3.1.0.0.rc4.git0.0.fc16.i686.img System.mpa-3.1.0.0.rc3.git0.0.fc16.i686 config-3.1.0.0.rc3.git0.0.fc16.i686 vmlinuz-3.1.0.0.rc3.git0.0.fc16.i686
View 2 Replies
View Related
Feb 11, 2010
I am fresh to Ubuntu and am having trouble getting it to boot on my system. I normally run XP, but recently added a second internal hard drive and installed Ubuntu on it. The installation went fine and upon initial reboot I received -
GRUB loading. error: no such disk grub rescue>
I am wondering if there is an issue between two different operating systems upon boot. I am not familiar with GRUB commands.
View 4 Replies
View Related
Apr 15, 2011
I previously had Ubuntu installed on my MBR. I deleted that partition (32 GB), resized my Mac partition back up to (250 GB), and then reduced it to 200 GB and created a new one with 50 GB via BootCamp to install Windows 7 from a DVD that I burnt (I got a Windows executable from MSDNAA that I used with Wine to obtain the ISO image. Insert rant about having to download Windows with a Windows executable here.).
I've tried burning two different DVDs. I used Burn on my Mac to burn a data DVD+R with the HFS+ and Joliet filesystems (I think) and then tried again with the ISO9660 and UDF filesystems. The latter has not shown any signs of working besides mounting on OS X. The first DVD would not boot whenever I held 'C' down at time of boot. So I went into BootCamp and clicked "Start Installation". It restarted my computer and this is where the real confusion comes up. I think that it tried booting via the empty partition. The reason I say this is that there are remnants of GRUB and when I boot, I get a screen that says this: error: unknown filesystemrub rescue>
View 1 Replies
View Related
Feb 1, 2011
Could any RAID gurus kindly assist me on the following RAID-5 issue?I have an mdadm-created RAID5 array consisting of 4 discs. One of the discs was dropping out, so I decided to replace it. Somehow, this went terribly wrong and I succeeded in marking two of the drives as faulty, and the re-adding them as spare.
Now the array is (logically) no longer able to start:
mdadm: Not enough devices to start the array.Degraded and can't create RAID ,auto stop RAID [md1]
I was able to examine the disks though:
Code:
root@127.0.0.1:/etc# mdadm --examine /dev/sdb2
/dev/sdb2:
Magic : a92b4efc
Version : 00.90.00
code....
Code:
mdadm --create --assume-clean --level=5 --raid-devices=4 /dev/sda2 /dev/sdb2 /dev/sdc2 /dev/sdd2
As I don't want to ruin the maybe small chance I have left to rescue my data, I would like to hear the input of this wise community.
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
Apr 16, 2010
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.
View 5 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
Feb 19, 2015
I have a virtual Linux server and i deleted his boot partition by mistake. Now When i try to enter the machine I see
Code:
Select allfilesystem unknown
Grub rescue >
I was told i need to reinstall the server so I've downloaded the ISO files i need.
I've connected the ISO to the machine but i don't know what yo do next.
I've read online that i need to do ls and find where the ISO is so i can boot from it.
But i get error unknown filesystem for everything so i don't know what to do?
View 1 Replies
View Related
Sep 5, 2010
I downloaded this squeeze live rescue iso and burned to CD.[URL].. When it boots, I get a text login screen prompting for username... Problem is, I cannot find anything on google that gives me a working u/p combo... I have tried a variety of these for username/passwords: live, rescue, user, linux, password.
View 6 Replies
View Related
Feb 12, 2011
Looking at the versions of Squeeze available on Live CD's from live.Debian.net I noticed a Rescue CD. I decided to download and burn the 386 version in order to get a look at it. I did so and checked the MD5Sum. It indicated a good download. I then used k3b (which I prefer because it has proven to be somewhat more reliable than Brasero) to burn the iso file. I did it at the lowest speed k3b allows (10X for CDs) and asked for verification of the burn. The disk was verified.I then booted the disk and the disk failed to load citing a read error at block 144640, sector 1157120.
I downloaded another version of the same iso file and again checked the MD5Sum, which was good. I again burned with k3b in the same manner as above and got the exactly the same error.I have had no indication of any problem with my TSST CD/DVD drive and I doubt very much that two consecutive Memorex CDs would be bad. What am I missing here?One other question: Is there a way to check the MD5sum on a disk that has been burned? Should it be the same as the MD5Sum shown for the iso file? I see that I can check the MD5Sum for individual files on the burned CD. Given the very large number of files, which one might it make sense to check?
View 9 Replies
View Related