Ubuntu Installation :: 11.04 Onto Spare HD, Broke Win7 On Raid?
May 3, 2011
I have a dell with win7 installed on two disks as raid0. I added a 3rd HD and installed 11.04 on to it. This boots ok but only Linux shows in the grub menu. Win7 is not there and I have no way to boot it as the installer put grub on disk0 of the raid overwriting the windows boot prog.
View 9 Replies
ADVERTISEMENT
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
May 27, 2011
My system includes two 120GB disks in fake raid-0 setup. Windows vista is installed on these.For Debian I bought a new 1 TB disk. My mission was to test Debian and I installed it to the new disk. The idea was to remove the disk afterwards and use windows as it was before. Everything went fine. Debian worked perfectly but when I removed the 1 TB disk from system grub will show up in boot in grub recovery mode.
Is my RAID setup now corrupted? Grub seems to be installed on the other raid disk? Did grub overwrite some raid metadata? Is there any way to recover the raid setup?
dmraid -ay:
/dev/sdc: "pdc" and "nvidia" formats discovered (using nvidia)!
ERROR: nvidia: wrong # of devices in RAID set "nvidia_ccbdchaf" [1/2] on /dev/sdc
ERROR: pdc: wrong # of devices in RAID set "pdc_caahedefdd" [1/2] on /dev/sda
ERROR: removing inconsistent RAID set "pdc_caahedefdd"
RAID set "nvidia_ccbdchaf" already active
ERROR: adding /dev/mapper/nvidia_ccbdchaf to RAID set
RAID set "nvidia_ccbdchaf1" already active
View 1 Replies
View Related
Jul 4, 2010
I recently updated the kernel to the newest version(2.6.32-23-generic) using the update manager and now I am unable to boot in to my Lucid installation.
My setup is LVM on top of a RAID 0 array. My computer had been running in this configuration since Lucid was released.
The Error Code I get on Boot is to the effect of: /dev/mapper/ubuntu-os is not available.. and then I get kicked in to Busy Box.
Once in Busy Box if I try to use mdadm to mount the RAID array I get this error:
If I boot in to the live CD I can mount all of the partitions and LVM volumes, so it does not appear to be a failed drive or volume.
I have looked in the mdadm.conf, lvm config and grub config files and searched the "Google" for an answer with no-avail...
Ultimately I would like to find a solution which doesn't involve a re-installation.
View 6 Replies
View Related
Aug 4, 2010
I want to build a 6xSATA RAID 5 system with on of the disks as spare disk. I think this give me a chance of 2 of 6 disks failing without losing data. I am right?
Hardware: Intel ICH10R
First I will creat a 3xSATA RAID 5, after I will add the spare disk and after that I will add the others disks. This is what I think I should do.
Step 1:
Create RAID Device
Code:
mdadm --create --verbose /dev/md0 --metadata 1.2 --level=5 --raid-devices=3 /dev/sda1 /dev/sdb1 /dev/sdc1
I read that "--metadata 1.2" is the best option. It is true?
Create filesystem on the RAID device
Using this method of calculation:
* chunk size = 128kB (for RAID 5)
* block size = 4kB (recommended for large files, and most of time)
* stride = chunk / block = 128kB / 4k = 32kB
* stripe-width = stride * ( (n disks in raid5) - 1 ) = 32kB * ( (5)- 1 ) = 32kB * 4 = 128kb
Then:
Code:
mkfs.ext3 -v -m .1 -b 4096 -E stride=32,stripe-width=128 /dev/md0
Step 2:
Add spare-disk
Code:
mdadm --add /dev/md0 /dev/sdd1
Is this enough?
Step 3:
Adding disks:
Code:
mdadm --add /dev/md0 /dev/sde1
mdadm --grow /dev/md0 --raid-devices=4
fsck.ext3 /dev/md0
resize2fs /dev/md0
View 1 Replies
View Related
Mar 28, 2011
I'm waiting on a 2TB drive to come in so I can repurpose my gaming rig for Ubuntu. (Ok, its still going to be a gaming rig but I want to do 90% of my work/gaming in Linux) I'm thinking that rather than dual-booting I want to run the windows side of the house from a VM via Virtualbox.
Ubuntu runs fine with my hardware atm (have 10.10 installed on a secondary sata drive) and recognizes the RAID array that windows is currently installed on (gigabyte 870A-UD3 motherboard, I think Ubuntu's using fakeRAID to mount and view the drive, not very knowledgeable on raid and had the system built for me, but I know I'm using the gigabyte on-chip bios configuration for the raid)
I'd like to know:
1) if anyone knows of a good guide for dealing with this particular RAID controller beyond my owner's manual. (I read that 10.10 fakeRAID pretty much sets itself up)
2) should my win7 partition for the VM (I'd like it to be a dedicated partition so that I can boot into it if I have to do something in windows that Virtualbox can't handle) be on the Raid Array or the 2TB WD Caviar Green (low performance/power consumption drive)?
3. since I have a 2tb raid 0 array and a 2tb drive coming in, can I setup raid to mirror the contents of the 2 raid 0 drives onto the WD Caviar drive or do they all 3 have to be identical drives. (I think the other 2 are 1TB WD Caviar Black drives)
4. Any particular advice on partitioning? I was just thinking of /, /home and swap being separate on the raid but otherwise leaving the standalone drive as one big partition or splitting between windows partition and an otherwise large storage space.
View 1 Replies
View Related
Jun 24, 2010
So, I have raid5 array with one spare disk. Is it possible to spin-off/shutdown the spare disk until one drive fails and the spare disk is needed?
View 1 Replies
View Related
Mar 25, 2011
I have been running a server with an increasingly large md array and always been plagued with intermittent disk faults. For a long time, I've attributed those to either temperature or power glitches. I had just embarked on a quest to a) lower case and drive temperature. They were running between 43 and 47C, sometimes peaking at 52C, so I've added more case fan power and made sure the drive cage was in the flow (it has it's own fan, too). Also, I've upgraded my power supply and made very sure that all the connectors are good. The array currently is a RAID6 with 5 Seagate 1,5TB drives.
When everything seemed to be working fine, I looked at my SMART logs and found that two of my drives (both well over 14000 operating hours) were showing uncorrectible bad blocks. Since it's RAID6, I figured, I couldn't do much harm, ran a badblocks test on it, zeroed the blocks that were reported bad, figuring the drive defect management would remap them to a good part of the disk and zeroed the superblock. I then added it back to the pack and the resync started. At around 50%, a second drive decided to go and shortly thereafter a third. Now, with two out of five drives, RAID6 will fail. Fine. At least, no data will be written to it anymore, however, now I cannot reassemble the array anymore.
Whenever I try I get this:
Code:
mdadm --assemble --scan
mdadm: /dev/md1 assembled from 2 drives and 2 spares - not enough to start the array
Code:
cat /proc/mdstat
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [linear]
md1 : inactive sdf1[4](S) sde1[6](S) sdg1[1](S) sdh1[5](S) sdd1[2](S)
7325679320 blocks super 1.0
md0 : active raid1 sdb2[0] sdc2[1]
312464128 blocks [2/2] [UU]
bitmap: 3/149 pages [12KB], 1024KB chunk
Which is not fine. I'm sure that three devices are fine (normally, a failed device would just rejoin the array, skipping most of the resync by way of the bitmap) so I should be able to reassemble the array with the two good ones and the one that failed last, then add the one that failed during the resync and finally re-add the original offender. However, I have no idea how to get them out of the "(S)" state.
Code:
mdadm --examine /dev/sdd1
/dev/sdd1:
Magic : a92b4efc
Version : 1.0
Feature Map : 0x1
Array UUID : d79d81cc:fff69625:5fb4ab4c:46d45217 .....
View 2 Replies
View Related
Apr 18, 2011
When I set up my current workstation (now at CentOS 5.6) I connected the two SATA drives in a RAID 1 configuration. Later, I realized I had a spare EIDE drive , so installed it, partitioned, and added it as a hot spare using "mdadm -a". So, now I have three disk drives doing the work of one.I updated /etc/mdadm.conf using the output from mdadm --examine --scan, and the resulting lines are:ARRAY /dev/md0 level=raid1 num-devices=2 UUID=1f00f847:088f27d2:dbdfa7d3:1daa2f4e spares=1ARRAY /dev/md1 level=raid1 num-devices=2 UUID=f500b9e9:890132f0:52434d8d:57e9fbfc spares=1I also updated the /boot/grub/device.map file to read:
(hd0) /dev/sda
(hd1) /dev/sdb
(hd2) /dev/hda
[code]....
View 4 Replies
View Related
Jul 31, 2010
I was trying to dual boot ubuntu on my desktop which has windows 7 already installed on it with raid 0. I have 2 500GB hard drive and when I boot from cd and try to install ubuntu it only detect one of my hard drives and it said I only have 500GB and there is no OS installed on this machine! I look online but I couldn't find any solution!
View 9 Replies
View Related
Aug 4, 2010
I want to build a 6xSATA RAID 5 system with on of the disks as spare disk. I think this give me a chance of 2 of 6 disks failing without losing data. I am right? Hardware: Intel ICH10R First I will creat a 3xSATA RAID 5, after I will add the spare disk and after that I will add the others disks. This is what I think I should do.
[code].....
EDIT:I'm thinking in put LVM with the RAID 5. What are the advantages and disadvantages of it (LVM over RAID 5). It is safe? My MB (Asus P5Q) have Chipset Intel P45 ICH10R. What kind of RAID have it? Hardware RAID, fake RAID, BIOS RAID, software RAID? This are the specs of storage
[code].....
View 1 Replies
View Related
Sep 13, 2010
I'm having serious troubles to install ubuntu-10.04.1. My raid is an hardware raid with intel chipset. Note that win7 is already installed and working with my raid. I made some space from windows, to install Ubuntu (40gb). First, I run the installer, everything seems to be fine. I choose to install Ubuntu were there is the most space free (sorry, I'm not sure about the real terms used there).
Then my partition with the vista loader appears. So the installer can see my raid, and should work fine (everything is detected correctly). But once I'm in the end of the installation (around 95%), a pop-up appears, and tells me that Grub can't install in /dev/sda and it's a fatal error. I can choose an another destination, but it doesn't seems to work.
View 9 Replies
View Related
Jun 9, 2011
so I setup a raid ten system and I was wondering what that difference between the active and spare drives is ? if I have 4 active drives then 2 the two stripes are then mirrored right?
root@wolfden:~# cat /proc/mdstat
Personalities : [raid0] [raid10]
md1 : active raid10 sda2[0] sdd2[3] sdc2[2] sdb2[1]
[code]....
View 2 Replies
View Related
May 31, 2010
I have a MSI Board that had this hard drive configuration.
200GB x Single EXT4 Ubuntu
320GB x Raid Mirror NTFS
320GB x Raid Mirror NTFS
[code]....
View 6 Replies
View Related
Dec 31, 2010
Just installed Ubuntu 10.10 onto my new netbook from a USB stick. The laptop came with Win7 Starter, which I kept on a small partition. Installation was apparently successful, but when I start up the computer, it will go straight to Win7 and GRUB doesn't appear.
View 9 Replies
View Related
May 2, 2011
I had vista installed, then I installed Win7 on a dif. partition. Then I installed Ubuntu 11.4 over the vista partition (formatted first), and now I can't get into Win7. I'm really at a loss. I've tried the Win7 disk, and it doesn't detect the Win7 installation. I've also tried sudo update-grub, and it doesn't seem to detect the win7 install either. I've tried making the Win7 partition bootable using gpart as well. I'd like to dual boot Win7 and Ubuntu, however I need to do that.
View 9 Replies
View Related
Apr 23, 2011
i installed ubuntu after windows 7 but now i cant boot windows 7 i tried the start up repair and I've read through some questions answered on here and int figure out the problem i don't want to uninstall ubuntu unless it's my only option
View 9 Replies
View Related
May 12, 2010
Want to install ubuntu on existing Homebrew win7 box that has a spare unused hdd, and am a bit lost as to where to start.
Asus p5qpl-am micro
4 gigs a data gaming ram-ddr2-6400 pink
antec 430 earthwatts
on board intel x4500 dsub only
intel e6300 2.8 oc at 3.4
antec 300 case
windows 7x64 on wd 500 aaks drive
spare seagate 750 hdd for ubuntu
gig enet
DVD-Rom Drive: TSSTcorp CDDVDW TS-H663B ATA Device sata
wireless b/g/n Zonenet usb Network Card :
Do not have to dual boot, although it would be nice...can go to bios to select boot drive
AR8121/AR8113/AR8114 PCIe Ethernet Controller
View 1 Replies
View Related
Dec 27, 2010
I would like to know if I can use spare partition to install new versions of Ubuntu ("use" as the CD drive, or USB stick; not as the destination of the installation).I have Ubuntu on my computer, and unused partitions on the hard disk. I would like to upgrade to ubuntu, but without needing to burn another cd or an (sufficiently) empty usb stick to do it.
I imagine that this is possible, as the partitions may be booted from, and the contents of the iso image are understandable by the installed Ubuntu. But I don't know how to do it - put the iso contents on a partition and boot from it to install a new Ubuntu.
View 1 Replies
View Related
Nov 26, 2010
I have installed Ubuntu on my m1530 since 8.04 and currently dual boot Win7 and 10.10. I would like to dual boot on my PC, but I have run into a problem. I am not a pro at Ubuntu, but this problem I can not solve by reading forums like I have in the past.
I realize this is a common problem, but I have noticed people having success.
I have a M4A87TD EVO MB with two Seagate drives in Raid 0. (The raid controller is a SB850 on that MB) I use the raid utility to create the raid drive that Windows7x64 uses. I have 2 partitions and 1 unused space. Partition 1 is Windows, partition 2 is for media, and the remaining unused space is for Ubuntu.
I am running ubuntu-10.10-desktop-amd64 off a Cruzer 16GB flash drive that was installed via Universal-USB-Installer-1.8.1.4.
My problem like so many others is that when I load into Ubuntu, gparted detects two separate hard drives instead of the raid. I read that this is because kpartx is not installed on 10.10. I then went in LiveCD mode and downloaded kpartx from Synaptic Manager. Gparted still reported two drives. I opened terminal and run a few commands with kpartx. I received an error. (Forgive me I didn't write it down, but I believe it said something about a communication error. I will try again later and see.)
Currently I am reflashing the Cruzer with a persistence of 4GB. I am not familiar with this process, but I understand that my LiveCD boot will save information I download to it. I decided to try this method because I was going to install kpartx and reboot to see if this made a difference.
I am looking for any suggestions on a different method or perhaps someone to tell me that the raid controller or some hardware isn't supported. I did install ubuntu-10.10-alternate-amd64 on my flash drive, but fail to get past detecting my CD-ROM drive since it's not plugged in. If this method is viable, I will plug it in. I also watched the ..... video were a guy creates Raid 0 with the alternated CD, but it wasn't a dual boot and didn't use a raid controller from a MB.
View 6 Replies
View Related
Sep 15, 2010
It's been a real battle, but I am getting close.I won't go into all the details of the fight that I have had, but I've almost made it to the finish line. Here is the set up. ASUS Z8PE-D18 mother board 2 CPU, 8 Gig Ram. I recently added an OCZ Agility SSD, defined a raid 1 virtual disk on the 1 terabyte WD HDD drives, which will holds all of my user data, the SSD is for executables.The bios is set to AHCI. Windows 7 installed fine, recognizes the raid VD just fine.
I installed Ubuntu 10.04 by first booting into try and mode, then opening a terminal and issuing a "sudo dmraid -ay" command. Then performing the install. I told it to install the raid components, and told it to let me specify the partitions manually. When setting up the partitions, I told it to use the free space I set aside on the SSD from the Windows 7 install as ext4 and to mount root there. Ubuntu installed just fine, grub2 comes up just fine, and Windows 7 boots with out a hitch, recognizing the mirrored partition as I indicated previously. When I tell grub to boot linux however, it pauses and I get the "no block devices found" message. It will then boot, but it does not recognize the raid array. After Ubuntu starts up I can run "dmraid -ay" and it recognizes the raid array, but shows the two component disks of the raid array as well. It will not allow the component disks to be mounted, but they show up which is annoying. (I can live with that if I have to)
I have fixed a similar problem before by setting up a dmraid script in /etc/initramfs-tools/scripts/local-top ... following the instructions found at the bottom of this blog:[URL].. To recap: My problem is that after grub2 fires up Ubuntu 10.04.1 LTS (Lucid Lynx), it pauses, and I get "no block devices found" It then boots but does not recognize the raid array untill I manually run "dmraid -ay". I've hunted around for what to do but I have not found anything. It may be some timing issue or something, but I am so tired of beating my head against this wall.
View 4 Replies
View Related
Jan 10, 2010
Ubuntu was working fine and everything. I get a notice that there were updates available so I tell Update Manager to update. It wanted a reboot after everything was successfully installed. So I press reboot and this is what I get from now on. How can I fix whatever the updates destroyed?
View 7 Replies
View Related
Feb 7, 2010
I upgraded yesterday ubuntu 9.10 to 2.6.31-19 kernel. After reboot, I get stack to GRUB black screen. No possibilities.
My set-up is triple boot 9.04, 9.10 and winxp. The MBR is handled by win boot.ini with no problems. Each ubuntu partition has a grub installed in it.
9.04 is on sda5 with grub installed on it ext3
9.10 is on sda9 with grub2 installed on it ext4
I am able to boot into sda9, via grub of sda5 obviously passing the correct kernel parameters and UUID.
View 3 Replies
View Related
Apr 10, 2010
I upgraded to 9.1 and now my web browsers are not working properly--FireFox would not connect to certain sites, others worked fine. I installed Chrome and it worked for a short period--now none of my browsers work at all and package install manager does not work. Overall performance is much slower than before upgrade--boot time is about 4 times slower. I'd like to fix this build because I had it tweaked just the way I liked it before the upgrade--it was working great and now I'm sorry I upgraded there any hope or should I just start with a fresh install of 9.1 or even the previous version
View 2 Replies
View Related
Sep 1, 2011
i have ubuntu 10 and win 7 dual booting on one hdd, all of a sudden grub says error no such partition when i select windows at the boot menu. and i cant get to the win7 partition from ubuntu (to play music and stuff, this used to work, places, mount filesystem, 250 gigs whatever). i've tried the stuff in these links and nothing has worked so farpartition info
sudo fdisk -l /dev/sda
Device Boot Start End Blocks Id System
/dev/sda1 1 29094 233697523+ 7 HPFS/NTFS
/dev/sda2 * 29095 30401 10498477+ 83 Linux
View 8 Replies
View Related
Mar 17, 2010
I just did the latest upgrade in 9.10 via the update manager and it required a reboot. When I rebooted Ubuntu failed to load. In recovery mode it fails saying that it can't find my root device and has some suggestions about what might be wrong. I looked at the file it listed in /proc/something and the devices available by uuid in /dev/ and what's listed in /proc/something isn't in dev. I haven't made any changes yet for fear of causing worse damage. The shell it bumps to is ASH and it doesn't look to have much editor support to make changes to the proc file(ECHO > ?). Is there a safer way to get my system back online?
I'm running 9.10 AMD64 on a Dell Inspiron laptop with a dual boot to Windows 7 (For browser testing web apps/sites)
View 9 Replies
View Related
May 13, 2010
Since my distribution upgrade to 10.04 my VirtualBox guest of XP SP3 will not boot, it bluescreens and reboots. I can boot the guest in last known good config and in safe mode but I have no CDROM. I attempted a tools install over the lan but that resulted in the same blue screen. Tried installing the virtualbox-3.2 beta package and guest tools and had the same results..
View 1 Replies
View Related
Jun 23, 2010
I had a working workstation with Karmic. Then I decided to upgrade to Lucid. Bad move, it turns out.First the upgrade crashed. Just stopped doing something for hours on end, and I eventually had to reboot. After that, I had to apply lots of apt-get and dpkg love to get the machine to book. Now, I *think* I have a Lucid system, at last. Only that it doesn't work where the Karmic system used to...Our setup uses kerberos and autofs. To begin with, the upgrade lost my /etc/krb5.keytab (making it impossible to log in), but that can be easily replaced.Now, I can log in, but my home directory doesn't get mounted. In /var/log/auth.log, I get this:
Code:
Jun 23 11:13:58 pc13477 gdm-session-worker[1801]: pam_krb5(gdm:auth): pam_sm_authenticate: entry (0x0)
Jun 23 11:13:58 pc13477 gdm-session-worker[1801]: pam_krb5(gdm:auth): (user hans) attempting authentication
[code]....
View 1 Replies
View Related
Oct 11, 2010
So after I upgraded to 10.10 some of my compiz plugins stopped working. Atlantis and anaglyph give me an error like this when I enable them in CCSM (I ran compiz from a terminal to see the output):
Code:
compiz (atlantis) - Error: InitObject failed
compiz (core) - Error: Couldn't activate plugin 'atlantis'
View 1 Replies
View Related
Oct 13, 2010
While upgrading to 10.10, I opted to keep my apache conf files as they were (since I forgot to back them up before starting) and now apache isn't happy at all. At first it just wasn't working, so I backed up my entire /etc/apache2 dir, ran
Code:
'sudo apt-get purge apache2'
and then deleted all references and left over config files, then ran
Code:
'sudo apt-get install apache2'
and still apache wasn't working - in fact it did not seem to properly/completely reinstall with all dependencies.
Next I went through in Synaptic and removed a bunch of stuff myself, tried another apt-get purge and install, and still nada. Next I tried:
Code:
'sudo aptitude purge apache2'
which seemed to run a little more robustly. So naturally next I ran
Code:
'sudo aptitude install apache2'
and though it seemed to install everything appropriately, apache was not started and trying to run
Code:
'sudo service apache2 start'
I get an unrecognised service error.
When trying to directly run
Code:
'sudo /usr/sbin/apache2'
I get
Code:
'apache2: Could not open configuration file /etc/apache2/apache2.conf: No such file or directory'
Which is true, it does not exist but I don't understand why it's not reinstalling properly. Luckily this is just a local test server and I don't need to right now, but it would be good to get it back up and running. Could this really be all because I didn't replace my old files with the new conf files?
View 5 Replies
View Related