Ubuntu Servers :: Install Boot Loader Into RAID 10 Setup?
Oct 3, 2010
i installed ubuntu server on a 4-hard disk system, i installed with the RAID 10 support that comes with 10.04 server optioon. my raid swap is /dev/md0 and my raid data partition is /dev/md1
hard drives are /dev/sda /dev/sdb /dev/sdc /dev/sdd
the instalation goes fine, from the 8TB im getting 4TB mirrored which is what i want,
but the instalation setup goes up to the point where it asks me to install grub boot loader, There i choose the default option and it does a fatal error.
my main goal is just to make it bootable, any method is welcome. this went beyond my RAID knowledge (more conceptual than technical)
View 2 Replies
ADVERTISEMENT
Feb 26, 2010
I'm using the RAID1 setup, which is configured in the BIOS, as it is a HP Proliant server. i have 2 500GB hard drives configured in a mirror. when booting the install, it recognises this, and deals with it fine.
The problem is, when it gets to the section of installing the grub2 boot loader, it just stops and gives me the "ubuntu installer main menu" where if i select grub boot loader install it just loops back, and if i select LILO installer, it errors, saying an installation step failed.
It has the option to skip installing boot loader, but then, can i get it to boot a different way? can i boot manually into the server install and then install GRUB and hope it works? can i install grub1 rather than grub2?
View 5 Replies
View Related
Jul 12, 2010
I'm setting up a web server but I have no experience with RAID. I would like to try this configuration if possible:
2 x HDD 500GB RAID1
1 x HDD 20GB (logs and tmp)
The old 20GB drive I would like to use it to store logs and temporally files (mounted in /var/log and /tmp respectively). With this I'm trying to reduce some disk usage in the RAID drives. In my idea, it would be better to write the access/error logs of the web server in a separated drive to the one serving the files which may increase speed... sounds crazy?
One problem is that during the installation, If I set the RAID automatically it will try to use my 20GB HDD as well in the RAID... Does it will work if I set the RAID first (removing the 20GB HDD) and then set the mount points in it after the installation?
View 4 Replies
View Related
Oct 6, 2010
Can I use UUIDs to setup a raid with mdadm?
View 3 Replies
View Related
Apr 4, 2011
I have the current disk setup :
disk1 :
Code:
sda:
(primary) sda1 ntfs
(primary) sda2 ext3 (mounted as / )[code]....
Before i set up the raid, but with this exact partitioning, the system booted perfectly. When i installed mdadm and created the raid1 mirroring on sda6 and sdb1, the init got screwed up, and all i get is a shell on initramfs, from where i can inspect that sda is binded on md, and cat /proc/mdstat tells me that i have an inactive sda[4].I can't mount the root partition (sda2), because it's busy (i suspect dmraid to lock it), which is, i guess, why init cannot be found.
I wonder if my error is to setup a raid array using a logical partition contained in an extended partition (but i hardly see why it would not work - but the sda bind and the sda[4] in mdstat seems to tell me that it does not), or it's just the initrd that is improperly configured. The other things that bothers me, is that changing the partition type of the raid partitions (fd to 0 - Empty), to disable raid autodetection, resulted in the same behavior on boot. Which might lead me again to think about configuration file problem instead of improper setup.The live cd doesn't not seem to recognize raid, so i can't inspect problems any further, but i could inspect system configuration, but i don't really know where to start.
View 2 Replies
View Related
Apr 15, 2010
I am rebuilding two microsystems servers and I need some advice to make my dreams come true.I want to setup the servers in a RAID configuration and want to install a GUI Linux application to manage a file server, manage a subnet, and host a Moodle on my subnet.I am planning to use Asus eee netbooks running Linux as my client computers. I basically need to be able to get my kids on the web and be able to have them use some open source office suite tools. No major crunching. I'll have two Macs for that.
View 3 Replies
View Related
Jun 14, 2010
I installed ubuntu using wubi and then I tried installing grub 2 but it failed. I need a way to reinstall the mbr sp it will load the windows 7 loader from the first partition.
View 1 Replies
View Related
May 16, 2011
I've just finished setting up a RAID 1 on my system. Everything seems to be okay, but I have a very slow boot time. It takes about three minutes between the time I select Ubuntu from GRUB and the time I get to the login screen.
I found this really neat program called bootchart which graphically displays your boot process.
This is my first boot (after installing bootchart). I'm not an expert at reading these, but it appears there are two things holding up the boot, cdrom_id and md_0_resync. I tried unplugging my CD drive SATA cable, and this is the new boot image.
It's faster, but it still takes about a minute, which seems pretty slow on this system. The md0 RAID device is my main filesystem. Is it true that it needs to get resynced on each boot?
I'm not sure how to diagnose my CD drive issue. The model is a NEC ND-3550A DVD RW drive. I should also note that there's a quick error message at startup about the CD rom. It's too quick for me to read it, just one line on a black screen saying "error: cdrom something something".
View 5 Replies
View Related
Jan 22, 2009
I have had no problem installing Fedora OS on any of my Dell servers prior to this post. Anyway, I wouldn't call this a problem but recently, we bought another DELL server with Quad Core, 4GB, etc... AND this model has 2 swappable SAS Harddrives.
I wouldn't call myself an expert but then again I am not a newbie too. However, I have never setup any RAID before and now I am forced to setup RAID1 on this server. So, in a way, I am a newbie in setting up RAID
Would someone please point me in the right direction as I have no idea what I am supposed to do to setup the RAID. FYI, I will be installing Fedora 10 64bit on this server. I would appreciate if you can start from the very beginning, ie. partitioning, formatting the harddrives during OS installation, etc..
View 3 Replies
View Related
Jun 7, 2010
I'm looking to set up a bit of a home server, and am wondering about storage. What I'd like is something like RAID 6, which has good redundancy built-in, but with this being a home server, I'd prefer to start a little smaller and leave room to build it up in future. I'd been looking at commercial products like the 'drobo', which seems fairly ideal, but I'd really like to see if I can do it myself. I understand that throwing the RAID into an LVM will allow for some expansion, but the last time I checked, most RAID setups called for the same sized disks, or at least limited the array by the size of the smallest disk present.
What I'd like is the ability to build a basic framework with a few cheap disks, and then as things start filling up, to be able to add larger ones (perhaps eventually pulling out smaller ones as though they'd failed and replacing them with big ones)
View 1 Replies
View Related
Mar 12, 2010
I have a total of 4 hdd's, 500gb 7.2rpm that I would like mirrored using raid 10. As you can see from the image, ubuntu 9.10 server isn't recognizing the full 2tb's. In fact, I'm not even sure about the configuration as I was thinking the HDD's would come up as four 500gb hdds. Instead I have the configuration above set and ready for Ubuntu to be installed on.
1. Is this typical of a server pre-configured from Dell(perc6 raid controller.
2.Why is ubuntu not recognizing the full capacity of the drives especially when it's a server install?
View 5 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
Nov 1, 2010
Forgive the terseness. I'm frazzled with this issue, perhaps I should have asked earlier. Every weekend for the past 2 months has been an endless cycle of 'repair broken system' off the install disk.
Installed from Ubuntu server 10.04LTS x86_64, + xfce-desktop Here is uname -a Linux ournas 2.6.32-25-server #45-Ubuntu SMP Sat Oct 16 20:06:58 UTC 2010 x86_64 GNU/Linux If I add my raid + lvm to the fstab file, the boot stalls, (no error it, just hangs waiting, forever). So that's a not very user friendly to start with.
I've tried the suggestions about UUID in fstab tried using LABEL instead, or even /dev/xxx. Every time it hangs. I've googled this endlessly and not found a solution. So don't ask why... since I seem to have tried every odd suggestion to fix this, I've lost track. There seems to be some consensus that whoever gave us plymouth laid an egg. Forgive me if I'm wrong, but did we need a better graphical boot if it breaks everything else?
[Code]...
View 3 Replies
View Related
Oct 16, 2010
Toward the end of installing Ubuntu 10.10 32bit (Alt CD) on my iMac 11,1, the installer asked me to type in the location for installing the grub boot loader.
I told it to use /dev/sda3 and it immediately failed. I'm still in the installer. Can anyone suggest a solution?
Here are my partitions on sda:
...from the shell in the installer, there is no grub.cfg in /target/boot/grub.
View 9 Replies
View Related
Mar 20, 2011
(This is for a 100% Clean install)
Q1) I was wondering if it is possible to Dual boot Ubuntu with Windows XP on a 1TB RAID-0 setup ?
Q2) Also, is it possible to create a SWAP partition (for Ubuntu) on a NON RAID-0 HDD ?
Q3) Lastly... I read GRUB2 is the default boot manager... should I use that, or GRUB / Lio ?
I have a total of 3 HDDs on this system:
-- 2x 500GB WDD HDDs (non-advanced format) ... RAID-0 setup
-- 1x 320GB WDD HDD (non RAID setup)
(The non RAID HDD is intended to be a SWAP drive for both XP and Ubuntu = 2 partitions)
I plan on making multiple partitions... and reserve partition space for Ubuntu (of course).
I have the latest version of the LiveCD created already.
Q4) Do I need the Alternate CD for this setup?
I plan on installing XP before Ubuntu.
This is my 1st time dual booting XP with Ubuntu.
I'm using these as my resources:
- [url]
- [url]
Q5) Anything else I should be aware of (possible issues during install)?
Q6) Lastly... is there anything like the AHCI (advanced host controller interface) like in Windows for Ubuntu?
(Since I need a special floppy during Windows Install...) I want to be able to use the Advanced Queuing capabilities of my SATA drives in Ubuntu.
View 4 Replies
View Related
Nov 3, 2010
This is a strange problem. I have Ubuntu server installed on a proper server hardware. My RAID card reports all four HDDs to ubuntu as single drives, which is how i set it up because Ubuntu does not recognize the raid card on the server. Now you might say if thats the case, why dont i remove the raid card and have the BIOS report to ubuntu as four single drives then i can perhaps setup software raid. Well my board has only one sata port.Ubuntu is all setup. on the first drive and i have set the other three up using software RAID.
System works great only problem is it freezes sometimes. Not everytime, just on the odd occassion I use the same Hardware without the raid card and of course just one HDD and it great. No freezes.That leads me to believe its the RAID card.My question is why will it run great for days and sometimes just freeze on me? Probably silly but if theres an issue with the RAID card, it should not work at all, should it?
View 2 Replies
View Related
Aug 27, 2010
I had to un-install Ubuntu as there were too many things that didn't work. Bummer, I wanted to like it and use it.Anyway it has left me with a screen at boot-up that I must choose between Windows and Ubuntu, that counts down automatically about30 seconds and then finally boots into Windows as the default. How can I get rid of this screen and go back to booting up into Windows normally?
View 7 Replies
View Related
Mar 15, 2011
under ubuntu how can i install grub boot loader ?is there a program that let me do it ?i would like to add a grub load to an hard disk , and maybe to an usb stick and to a floppy disk
View 9 Replies
View Related
Aug 20, 2011
I got an HP ProBook 4520s that comes with 500 GB with Windows 7.
It comes with 4 partitions: SYSTEM, the main Windows partition, HP Recovery and HT Tools.
I tried to have OpenSuse installation to resize the Windows larger partition but it said that it couldn't with this message:
"The partition on disk /dev/sda is not readable by the partitioning tool parted, which is used to change the partition table.
You can use the partitions on disk /dev/sda as they are. You can format them and assign mount points to them, but you cannot add, edit, resize, or remove partitions from that disk with this tool."
So I resized the Windows partition from Windows 7 and added 3 partitions on the empty space for Linux: /, swap and /home. Still OpenSuSE installation has shown this warning message:
"The bootloader is installed on a partition that does not lie entirely below 128 GB. The system might not boot if BIOS support only lba24 (result is error 18 during grub MBR)."
I configured OpenSuSE installation to install on those partitions but Grub could not install the boot loader with this message: "grub> setup --stage=/boot/grub/stage2 --force-lba (hd0,2) (hd0,2)
Error 17: Cannot mount selected partition grub> quit"
I already tried this in OpenSuSE 11.4 but I suspected it needed newer parted and grub versions, so I also tried OpenSuSE 12.1 milestone 3 with the same results.
The installation finishes but no Grub boot menu appears, it goes to Windows as if no Linux was installed, although the installed version is there in the 3 partitions that were created on Windows, I just cannot make them boot.
View 9 Replies
View Related
Aug 29, 2010
I have been installing 10.4 on machines with much success from USB. This is really the first Linux distro I have been excited about. I'm having problems on one machine though. It is a Dell Precision T5400 with a RAID 0 on Dell 6/iR Adapter controller. I booted to USB no problem, just like I did on my netbook, and laptop and did a pretty standard install. I'm dual booting to XP on this workstation. After the installer completed, I didn't see a grub menu. It's like nothing happened. Of course in Windows I see less drive space now since I had allocated that for Ubuntu in the Ubuntu setup. To clarify, I am not using Wubi.
View 9 Replies
View Related
Oct 11, 2010
I want install 10.10 Maverick on a new partition alongside my OS X and 10.04 Lucid installs to see if it works on my machine. I'm a little unsure about some things.
1)Do I need to install the GRUB boot loader on this new partition?
2)Can I use the same swap space or is recommended to create a new swap?
View 5 Replies
View Related
Apr 8, 2011
I'm trying to install Ubuntu 10.04 (32-bit) on my external harddrive, and the boot loader also on my ext.HDDThe problem is, is that the boot loader won't install himself on my HDD. Is it possible to install the boat loader still on my external HDD?
View 1 Replies
View Related
Dec 1, 2009
Why does my boot loader(GRUB)graphic randomly change to penguins playing on ice.
View 3 Replies
View Related
Feb 18, 2010
I had installed Win Xp on my first physical partition, and SuSe on Second partition now i formated the Xp and the GRUB is vanished from MBR i want to rload it . i tried it using Rescue System but still Show error msg. "cannot load OS" on booting. tried to install and using repair option i selected MBR field . but not working ..
View 1 Replies
View Related
Jul 15, 2010
I'm trying to make my iMac "Triple Boot".But using rEFIt as the boot loader, and installing Grub or Lilo makes the "Boot Menu" complicated.
"SO, DO YOU THINK IT'S A GOOD IDEA NOT TO INSTALL "GRUB, LILO, OR OTHER BOOT LOADERS", and just let rEFIt to do the job?
View 4 Replies
View Related
Aug 25, 2010
I have had to reinstall SuSE 11.2. After its successful completion it got into a strange situation: the boot loader identified a boot record on the hard drive and displayed the appropriate message on the screen - but then nothing happened. When I restarted the system with the live CD and chose "boot from hard drive" it got to the normal boot menu without difficulty. I have no idea why the second method succeeds while the first fails
View 3 Replies
View Related
May 15, 2010
I was having this issue with my server when I tried upgrading (fresh install) to 10.04 from 9.04. But to test it out after going back to 9.04 I installed 10.04 server in a virtual machine and found the same issues. I was using the AMD64 version for everything. In the virtual machine I chose openssh and samba server in the initial configuration. After the install I ran a dist-upgrade and installed mdadm. I then created an fd partition on 3 virtual disks and created a RAID5 array using the following command:
Code: sudo mdadm --create --verbose /dev/md0 --level=5 --raid-devices=3 /dev/sd[b-d]1
This is the same command I ran on my physical RAID5 quite a while ago which has been working fine ever since. After running a --detail --scan >> mdadm.conf (and changing the metadata from 00.90 to 0.90) I rebooted and found that the array was running with only one drive which was marked as a spare. On the physical server I kept having this issue with one drive which would always be left out when I assembled the array and would work fine after resyncing until I rebooted. After I rebooted the array would show the remaining 6 drives (of 7) as spares.
I updated mdadm to 3.1.1 using a deb from debian experimental and the RAID was working fine afterward. But then the boot problems started again. As soon as I added /dev/md0 to the fstab the system would hang on boot displaying the following before hanging:
[Code]....
View 7 Replies
View Related
Jun 20, 2011
I have Ubuntu 10.10 (maverick) and I'm using mdadm 3.1.4. I have created a RAID 10 using imsm as the metadata, and this runs successfully if I assemble the RAID from the command line. My question is: How do I get the RAID to auto assemble when I boot the system? I would like to be able to mount the RAID when the system starts up (but the OS is on a separate disk altogether). What I've found out so far is that I must do a Code: update-initramfs -k all -u AFTER I've modified the /etc/mdadm/mdadm.conf file. This is what I've got in my configuration file:
[Code]....
BUT what happens is that when I reboot my server, and then do "ls -l /dev/md*" there is no listing at all for any RAID devices. I actually have to run the assemble command on command line and that is when I see listings for RAID devices under /dev. What am I missing?
View 9 Replies
View Related
Aug 9, 2011
I have been working in my spare time over the last few days, Had problems with the whole grub2 not installing on RAID 1. Then I found out that I had to have a separate non raid Ext4 partition on one drive with "/Boot" as mount point and install went though fine.
My question is, will the developers FIX this. I mean if I only have 2 x 2tb drives in teh pc as RAID 1, and the one fails with the boot partition the whole machine goes down. Kinda defeats the whole RAID feature huh.
I USED to run a windows network with RAID 5 servers, and windows never had a problem installing everything on the RAID. Or even setting up RAID 1 in the bios on the PC and installing XP or NT4 on the RAID 1. There was never a need for a separate non raid boot partition.
Do we need a separate RAID friendly/enabled Grub? I guess for now I will get a 250gb drive and install the Server OS to it, and setup RAID1 manually after the server OS boots. Then will make a ghost type image of the server in case that drive fails so I can quickly install a new drive and restore the image and get it back up and running again.
View 9 Replies
View Related
Aug 23, 2010
I was wondering, how much hassle would it be to setup a PXE boot so I can boot a machine from the network.
View 9 Replies
View Related