Ubuntu Installation :: Dual-boot On A RAID-0 Array - Drops To GRUB Command Line?
May 28, 2011
I've recently had trouble reinstalling my Ubuntu system as I was getting various unusual errors as described in my old thread here. I thought it was probably something to do with my RAID-0 array which was pre-installed on my laptop from purchase being corrupted or something like that (if it's possible). I decided to simplify things for myself (not understanding RAID arrays much) so I just removed the RAID array and installed Windows and Ubuntu on the now separate hard disks. It worked fine.
I noticed quite a significant performance drop, however, with even Ubuntu boots taking longer than 30 seconds despite my laptop being both high-spec and only a few months old. Windows, as you can imagine, was dreadfully slow. I wasn't entirely convinced that this was entirely due to the loss of the RAID array - as even low-spec laptops with presumably no RAID arrays are supposed to boot Ubuntu in under 30 seconds apparently - but I read that RAID-0 arra
I'd like to say I'm very impressed with Fedora 11. I'm a long time Linux user and I've tried many distros. But, I usually keep only the best on my laptop. For a long time that was Ubuntu but, I think Fedora 11 has made some key improvements over Ubuntu and I'm eager to switch. The problem is: I haven't been able to run Fedora as anything other than on the Live CD. Everything works perfectly and it installs but, when I reboot, Grub begins. Instead of booting, however, Grub drops into its minimal shell and gives me a command line.
I've tried installing it a number of ways now and have read much about the problems with Ext4 on Grub and took special care to see that Grub has its own, separate, /boot ext3 partition. Even then, no luck. My hardware should work fine. I've got an HP DV-5 with 4GB RAM, AMD Turion 64-bit dual-core @ 2 Ghz, and an IDE 250GB hard drive. I'm working with the 64-bit Fedora 11 Live disc with KDE as the Gui.
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.
I recently updated, and now when I boot it only goes as far as grub command line. There is no grub menu. The computer is a Dell Inspiron 8600 laptop with only Ubuntu installed -- no dual boot, no weird partition schemes. Originally installed Ubuntu 09.04 on this computer, upgraded a couple times and it currently has (had) 10.04.1 LTS running. The update should have upgraded from kernel 2.6.32-23 to 2.6.32-24. I can boot with a live CD and mount the hard drive. The drive seems fine, so it appears to be simply a grub config issue. I have to boot with live cd to get online to check for potential solutions. So I'm taking some notes on how to use grub.
I'm trying to switch to a new RAID5 array but can't get it to boot. My disks:/dev/sda: new RAID member
/dev/sdb: Windows disk /dev/sdc: new RAID member /dev/sdd: old disk, currently using /dev/sdd3 as /
The RAID array is /dev/md0, which is comprised of /dev/sda1 and /dev/sdc1. I have copied the contents of /dev/sdd3 to /dev/md0, and can mount /dev/md0 and chroot into it. I did this:
Code:
sudo mount /dev/md0 /mnt/raid sudo mount --bind /dev /mnt/raid/dev sudo mount --bind /proc /mnt/raid/proc
[code]....
This completes with no errors, and /boot/grub/grub.cfg looks correct[EDIT: No it doesn't. It has root='(md/0)' instead of root='(md0)']. For example, here's the first entry:
Code:
### BEGIN /etc/grub.d/10_linux ### menuentry 'Ubuntu, with Linux 2.6.35-25-generic' --class ubuntu --class gnu-linu x --class gnu --class os {
My Wubi installation of Ubuntu (version 9.10, I think) that I recently installed was working fine at one point, but now it isn['t. I select Ubuntu instead of Windows from the Windows boot loader, but instead of getting the usual menu of different linux versions (I think 2, as I updated it at same point), and Windows, I get the GRUB command prompt instead.I've looked at th2e Wubi Guide (https://wiki.ubuntu.com/WubiGuide), and I've followed the instructions for "How can I access my Wubi install and repair my install if it won't boot?", but that reveals no problems.For the record, I'm fairly new to linux and ubuntu, but I'm good with computers generally. The main operating system on my computer is Windows Vista, but I'm currently typing this from a Live CD of Ubuntu 9.10. The virtual disk (root.disk), is currently mounted as vdisk, as indicated in the Wubi Guide.
Ideally I would like to get Ubuntu to load as it used to (with a menu). However, if there is a way to boot from the GRUB command line that would be good too. I'm not at all familiar with GRUB, and the commands I've tried (boot and linux, I think), get errors saying no kernel specified, or loaded, or something like that.
I am using the 10.04.1 x64 Kubuntu live CD to install Kubuntu on my FakeRAID 0 array, I tell it not to install grub as i know it is still currently broken. the install goes flawlessly. However on first boot using my live grub CD unless i tell my computer to point to the CD it will hang (which it is told to boot from CD first so i'm not sure why it does.) When i tell it to boot to Linux, it will not boot saying the kernel is missing files (to much to sadly list, all i do not understand) then offers me a terminal to input "help" into for a list of Linux commands. Windows 7 pro x64 works just fine CD was downloaded VIA P2P if it matters
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.
I installed Debian 5.0.3 (Backport with .34 Kernel), because my server hardware (Dell PowerEdge R210) needs special firmware and drivers.However, the installation went quite smooth.I put the system on a RAID 1 Array with about 500 GB space.s I said the installation went well, however, it doesn't boot! No GRUB, nothing
Ive created two RAID0 partitions on my drives, a 500GB and a 60GB. Im trying to install Ubuntu on the smaller partition (ive already put Win 7 on the larger one) and every time when i get right to the last part of installation it says Grub couldnt be installed. "the grub package failed to install in arget......."
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.
Out of curiosity and stupidity, I configured 2 extended partitions to LVM in gparted. Now, I can't boot into X window, and there's only GRUB command line during boot.
i have successfuly installed ubuntu karmic inside my windows 7. After an update, i restarted it. but it didnt boot ubuntu. instead it shows grub's command line. what should i do? all of my java projects/programs is in there.
Running Ubuntu 10.10. My desktop environment is screwed up and won't let me use the keyboard or mouse at the login screen. How can force a command prompt during boot?
Here's a method:
Alt-SysRq-e - Requests kernel kill all processes except init.
It used to be with (old) grub you could hit a function key and add a runlevel option to boot a console, but I don't know how to do this here, wanting not to edit the grub config file, as seems the only apparent option: I'm trying to boot into SimplyMepis where there is no rescue menu option, so need the prompt?
I have (3) 60GB SSD. I want to use (2) in RAID 0 for Ubuntu and (1) alone for Windows 7.
What is the best way to get about this? I know how to create the RAID 0 array with the (2) disks and install Ubuntu on it. But how do I get the RAID array with Linux on it to dual boot with Windows 7?
I've got myself the curious situation where, when I boot the system, I can get grub to start, but it always drops to the prompt.
I can run:configfile /grub/menu.lst
and this brings up the menu with no problems, and from there I can boot the system to either linux or windows. What I don't understand is why it wont go to the menu in the first place?As far as I can tell, grub/Kubuntu got confused when installing, as each of the hd#,# settings in the menu.lst have needed tweaking to let the system boot. (e.g. windows is actually hd0, but the original install had it at hd2. Likewise linux is on hd1, but the menu.lst had it at hd0). I've happily tweaked these to make the system boot, but would appreciate any help in convincing grub to actually load the menu without me having to use the prompt.
I set up an array of 2 hhd in raid0 using intel ICH7R, and i have a win7 installed on it. I'd like to have a dual boot with karmic, too. I googled a little bit and i found that it's not so easy as i thought. Are there anyone who's experiencing my same situation?
Is it humanly possible to have a dual boot system and have it in RAID 0
I have three Hard drives..... The three drives that I have are250GB IDE 1TB Sata 1TB Sata
And I edit . produce a lot of music/videos
What I am looking to do it have my 250Gb IDE drive as my Operating system (partitioned in two or something, one for Windows Another for Ubuntu)
And I would like when I am on either Operating System (ubuntu/windows_7) its see's ,my computer as having a 2TB HDD (setting the two 1TB HDD's in RAID 0 )
So in Laymans... 250GB for OS's and 2TB (2 x 1TB HDD) as DATA drives
Currently I have windows 7 x64 installed on a pair of raided ssd's using an x58 motherboard(ich10r) and I want to duel boot ubuntu x64 (either 9.10 or 10.04) on another harddrive (not part of the raided ssd's). Does anyone know if this can be done? I haven't found anything out there about this. I have tried to install Ubuntu from the CD. It gets to the install screen booting from the CD, but it doesn't let me install or try Ubuntu. I hit enter and nothing happens. I can look through all of the options but can't install or boot into Ubuntu.
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!
Debian Jessie, 2 hard disks, each having 2 partitions: /dev/sda1, /dev/sda2, /dev/sdb1, /dev/sdb2. Partitions were paired during installation, so they form /dev/md0 and /dev/md1. /dev/md0 is the root (/) partition, /dev/md1 is for /home.
At the end of the install process, I chose /dev/sda1 to carry Grub. And I think this is where I screwed things up.
After removing one of the hard drives, there was no boot capability. So, I installed Grub on /dev/sdb, too. Now it displays the boot menu but cannot find the kernel. This is where I got lost in the process.
Do I need to reinstall the OS or is there a way to fix it? I suppose I have to edit Grub.
I originally wanted to dual install 10.10 64 Ubuntu with Windows 7 64 RAID 1 HP PC, but RAID got corrupted and I could find no fix online except using fakeraid unsupported software. The whole thing blew my muind. I gave up after 4 or so reinstalls of windows 7 to fix RAID. So I decided to install a dual boot 10.10 Ubuntu i86 with my old WinXP i86. I kept getting these errors at boot up: unknown filesystem, file not found, out of disk, no such partion and so on. I tried just about every grub reinstall I could find, including article here: "Recovering Ubuntu after Installing Windows."
After a number of tries my friend installed Ubuntu successfully, but then when I installed windows xp I am stuck here, again. I did do the Reload grub tutorials again as well. I may just give up on WinXP and have my friend reinstall Ubuntu for me.
I am currently with Wubi 10.04 under Vista and my Dell XPS 630i has a 1 TB Nvidia RAID controller.First image (Option A) suggests /dev/sda as device for boot loader installation, while second image (Option B) suggests /dev/mapper/nvidia_bcidhdja.I think that the way of keeping the RAID would be using Option B as the device for boot loader installation. Would Option A break the RAID instead?
So my computer has ubuntu 9.10 installed 1st and I want to install win 7 in a separate partition. Basically, ubuntu 1st, win 7 later so far from what I learned from search results, grub 2 have problem with win 7 installed later and what was recommended was install win 7 before ubuntu. how ever I do not have the time to start over again because there are too many things to back up or install again. can I simply revert grub 2 to grub 1 again and resolve the problem?
I'm a long time windows user and it-tech but I have long felt that my geek-levels were too low so I installed Ubuntu last week (9.10 x64). Hopefully I can make it my primary OS. I have two 80GB drives in RAID-1 from my nforce raid controller, nforce 570 chipset. Then a 320 GB drive where I placed ubuntu and it's also where grub placed itself. And also a 1TB drive.
When grub tries to boot XP I get the error message: "error: invalid signature" I checked the forum as much as I could and tried a few things, but no change.
Drives sdc and sdd are the two drives in raid, they are matched exactly, but detected as different here. I really think they should be seen as one drive.
how I can make grub work as it should?
Also, if/when I need to make changes to grub, do I really have to use the live CD?
Code: ============================= Boot Info Summary: ============================== => Grub 1.97 is installed in the MBR of /dev/sda and looks on the same drive in partition #1 for /boot/grub. => Windows is installed in the MBR of /dev/sdb => Windows is installed in the MBR of /dev/sdc
I just installed Windows 7 and it erased my Grub bootloader. I followed this tutorial: URL...And now when my computer starts up it goes to the Grub prompt: Code: grub>I guess I did not do the right partition but I'm having a lot of trouble getting it back to how it was where my computer at least loaded the Windows 7 loader.
There have been many postings on doing Raid 0 setups, and it seems the best way looks like softRaid, but there were some arguments for fakeRaid in dual boot situations. I've seen some posts on dual boot windows/linux in Raid 0, but I was hoping to do a multi-boot using a grub partition, with several Linux distros and Windows 7. There will also be a storage disk for data, but not in the array. From what I gather, I'll need a grub partition which can only reside on one of the two disks, one swap partition on each disk, then the rest I can stripe.
I've got two 73GB WD raptor drives to use for the OS's and programs. I'm just getting my feet wet with the terminal in linux (Ubuntu makes it way too easy to stay in GUI), and the inner workings of the OS, so I have several questions:
Is this going to be worth the effort? Obviously I'm trying to boost performance in boot and run times, but with Grub on a single drive, will I see much gain?
Does this sound like the right methodology (softRAID)? I only have two spare PCI slot's, which don't seem like they would be condusive to hardware raid, but someone who knows more could convince me otherwise.
I do computer forensics here in Afghanistan and I am trying to keep a clean image of a dual bootable hard drive. Here is what I try to do...
1. Boot into UbuntuLiveCD 2. I run "sudo dd if=/dev/zero of=/dev/sda conv=sync,notrunc bs=64K" to wipe the drive with all zeros. 3. I then install Windows by creating a new partician about 50GB. 4. I then install Linux by creating a partician in ext4 mounting it at '/' in addition I create a swap partician. 5. Next configure everything just the way I want it. I install all the drivers and software I need for my windows partician and build out the remaining part of the disc as a "data drive." 6. Then I use "dd" again to try to image my "clean slate" of a system. Remember I am dual booting. I dd the /dev/sda and gzip it. 7. When I go to restore it, I boot from the live CD again and unzip ig and "dd" it back onto /dev/sda. 8. I run fdisk -l and I get:/dev/sda1 * 1 6375 5120000000 7 HPFS/NTFS/dev/sda2 6376 11724 42965842+ 83 Linux/dev/sda3 11725 12453 ...... 82 Linux swap / Solaris.This means to me that it can "understand the file system" 9. But then when I take out the Live boot CD and try to get my "clean slate" machine back, the system goes into Grub Rescue mode with a grub command line "grub rescue>" 10. I tried using the tutorial on Grub2, but... a. It would not understand the command "linux" b. When I try to do insmod, it says it doesn't recognize the file system.