General :: Trouble Booting Up To LVM Partition On Raid1
Jul 10, 2010
I been trying all day to boot debian on a lvm partition on a raid1. I have found some howtos but they only show how to do it for one or the other not both at the same time. Using those howtos I think I have grub2 setup right the problem is my kernel. It has support for both LVM and Raid built-in. I setup the raid and lvm partitions while running that kernel. But when I use it to boot up the system on the lvm/raid it gives a kernel panic.
The OS is by itself on an old disk sda1. The raid1 is on two other disks sdb1 & sdc1. It is divided into 2 logical partition vg-root & vg-media. I just copied the OS onto vg-root. Then tolled grub to boot to it. The grub entry is like so..I tried setting root=(md0) but that didn't work either. I'm pretty sure the problem is with the kernel but I don't see why since it can it can see the raid and lvm partitions once it is booted up and both the raid & lvm options are built into the kernel so it should be able to see them at boot time.
View 2 Replies
ADVERTISEMENT
Jan 28, 2010
I'm trying to set up a RAID1 partition on my Ubuntu 9.10 workstation.On this dual-boot system, Ubuntu is running from a separate drive (/dev/sdc - an SSD that is quite small, which is why I need more disk space). Besides that, there are two traditional 500 GB hard drives, which have Windows 7 installed (I want to keep the Windows installation intact), and about half of the space unallocated. This space is where I want to set up a single, large RAID1 partition for Linux.
(This, to my understanding, would be software RAID, whereas the Windows partitions are on hardware RAID - I hope this isn't a problem... Edit: See Peter's comment. I guess this shouldn't be a problem since I see both drives separately on Linux.)On both disks, /dev/sda and /dev/sdb, I created, using fdisk, identical new partitions of type "Linux raid autodetect" to fill up the unallocated space.
Device Boot Start End Blocks Id System
/dev/sda1 1 10 80293+ de Dell Utility
/dev/sda2 * 11 106 768000 7 HPFS/NTFS
[code]....
But so is "Device or resource busy" when trying to create the RAID array. Quite strange.
Update: Could the device mapper have something to do with this? How do /dev/mapper and dmraid relate to all this mdadm stuff anyway? Both provide software RAID, but.. differently? Sorry for my ignorance here. Under /dev/mapper/ there are some device files that, I think, somehow match the 3 Windows RAID partitions (sd{a,b}1 through sd{a,b}3). I don't know why there are four of these arrays though.
$ ls /dev/mapper/
control isw_dgjjcdcegc_ARRAY1 isw_dgjjcdcegc_ARRAY3
isw_dgjjcdcegc_ARRAY isw_dgjjcdcegc_ARRAY2
View 2 Replies
View Related
Feb 26, 2011
I have a raid1 setup on a machine. Recently it died and I thought one of the drives had failed as it was shooting errors. So I tried unplugging that drive get it to boot off the mirror but it seems the techs forgot to mirror the boot device so the 2nd drive can't boot on its own. After a while it was realized that the sata cable was in fact bad and replaced so now its working again.
However, this occurrence showed a flaw in the setup where the RAID1 isn't working as its supposed to. I would like to correct this. Can I somehow mirror the boot partition so the 2nd drive will boot independent? I'm not sure how I would go about this. This is a CentOS 5 installation.
View 13 Replies
View Related
Oct 25, 2010
This is my partition table:
/dev/sda1 1 4255 34178256 83 Linux
/dev/sda2 4256 4437 1461915 5 Extended
/dev/sda3 * 4438 9964 44395627+ 7 HPFS/NTFS
[code]....
View 4 Replies
View Related
Aug 13, 2009
I think that everything is installed correctly onto my system. I am using Fedora Core 6, but I am having trouble booting up into the login screen.
View 4 Replies
View Related
Feb 24, 2011
I'm sorry if this is the wrong section and if there is another thread on the matter. I searched but couldn't find threads with my specific problem. I've just installed Ubuntu 10.10 Server 64 bit which I intend to use as a internal file server.
The hdd setup is:
500gb system disk
1tb storage
2tb storage (2*2tb using built-in motherboard hardware RAID1) When the installation was complete and the computer rebooted I got an error message saying "error: no such disk". After re-installation I got the same message and I then tried disconnecting all the storage devices and it booted perfectly. I then tried connecting up the 1tb drive and again it booted as it should. But when I re-connected the RAID:ed disks the error message re-appeared.
View 5 Replies
View Related
Aug 1, 2011
I just installed Ubuntu server edition to my computer (brand new, no OS) and finished installation. In the terminal I used apt-get ubuntu-desktop to install a desktop interface.In my rig, I have two 500GB HDDs. I set them up through my computer BIOS as RAID1 drives, yet as I understand I still need to configure the Ubuntu software raid for it to work correctly. Unfortunately, I already partitioned my drives! I used the easy way (guided with LVM or whatever) and let it do it for me. Now, RAID1 is very important to me! Is there anyway to repartition the disks to use RAID1, or do I need to wipe my computer and reinstall Ubuntu?
View 5 Replies
View Related
Jul 29, 2010
I have built a small test server. I am planing on using this machine a an email and web server to test out its hosting capacities. in the future I will build a larger and more well equipped version.
AMD Athlon x2 2.0ghz
2 160gb SATA drives (hardware raid 1, done through the Motherboard)
2 gb ram (dual channel)
Like I said small test server. I am trying to install 10.04 server edition. When I get to the point of partitioning it asks me to activate the raid so I do. I get through the guided partitioning and get ready to write the file system to the drives and the screen goes red and says that it has failed. On a side note, this works if i install it on the same drives without any raid configuration.
View 6 Replies
View Related
Mar 8, 2011
After some hours of googling, I've managed to increase the size of the default ramdisks (/dev/ram0-16) to 1 GiB each, I raided them together with mdadm to try it out, then created a filesyste, mounted it etc etc. No problems. The problem comes when I used gparted to move my windows partition over and in the unallocated space (1 GiB), I created an unformatted partition (/dev/sda2)Now when I try to create the raid array I get the following:
Code:
:~$ sudo mdadm --create /dev/md0 -l 1 -n 2 /dev/ram0 /dev/sda2
mdadm: Cannot open /dev/sda2: Device or resource busy
[code]....
View 2 Replies
View Related
Aug 16, 2011
I have a system on which multiple operating systems are installed. Let's say:
C: Windows
D: Linux
I have a bootable USB drive, using which I can boot both into to Windows and Linux. I don't want to use this USB drive any more.
Is there any way I can create the same image as that of the USB drive on a new partition (e.g. E:), so that the system will then boot from that partition?
install Grub or some other popular multi-OS selectors; I have to boot from my own partition having the same image as the USB drive.
View 2 Replies
View Related
May 26, 2010
My cousin just deleted his Linux partition and another smaller partitio nand now Windows is not booting, no he does not have the recovery disc. When Windows tries to boot it goes to "GRUB" and says "partition not loaded". What are some GRUB commands? And is it possible to fix this without using the recovery CD?
View 1 Replies
View Related
Apr 16, 2011
I downloaded the Linux iso and burned it to a CD, but before I boot from it, I want to know how/if I choose which partition Linux gets installed to. I have Linux Ubuntu 10.10 and Mac 10.5.8.
View 1 Replies
View Related
Mar 15, 2009
Yesterday I installed a new server with a large partition for my XEN images. This partition is a about 930GB. The installation tooks ages and after he finished I was finding out why that is. The SoftRAID1 I configured is rebuilding the large partition.
View 7 Replies
View Related
Oct 9, 2009
I have an old linux partition (fedora 10) that used to start from the MBR. Now I've installed windows 7 on a new drive (overwritning the MBR, autostarting windows). Is there a neat program availible that somehow enables me to choose to boot back into linux?
View 2 Replies
View Related
Oct 2, 2010
I have multiple distros that I chainload and I have installed a grub2 shell to the partition and can boot manual. I can not seem to get a grub.cfg file to work. Is there a directory that needs to be built for this file?
View 9 Replies
View Related
Aug 2, 2009
I apologize if this has been asked a hundred times, but I searched through the threads and posts here and did not find an answer that helped me at all.What is the exact process of booting from a logical partition?
I have read several things, and all are confusing to me and I can't find a good answer.Here's what I know and an example:I've read this is easily possible.some things I've read said something about it being complex and that you have to chainload. Some things I've read said it's very easy, but it has something to do with booting from the extended partition. Others said, no you use the logical partition itself. I can't clear up what anyone is talking about..When using openSUSE 11.1, the Live CD and trying to install it. It will give me problems when trying to boot from a logical partition, not to mention I don't want to do something wrong and add data or anything where it shouldn't be. I don't know what I'm doing, at all, and I can't understand people's explanations of this.
When using openSUSE, you can choose (when configuring GRUB using the graphical installation) "boot from extended partition" and use "custom boot partition: sda(1,2,3,whatever)" and it will work. If you choose to boot from the logical partition only, and don't check "boot from extended partition", it will say "no operating system found" when booting. What exactly is happening here, I'm completely lost. Choosing "boot from extended partition" can't cause any problems of any kind, can it? What is the proper way of doing things in this situation, what is really happening?
View 14 Replies
View Related
May 24, 2010
I have just updated my Ubuntu linux to Ubuntu 10.4, not my grub menu isnt letting me boot to Windows Partition.The problem seems to be with grubs new update from using an editable menu.lst file to using a non editable grub.cfg file. Everywhere I look it states "DO NOT EDIT THE GRUB.CGF FILE". I am at a loss as what to do. I figured that the new configuration has screwed up the Windows Boot File. Anyone have any suggestions on how to fix this. I am not sure if it is a windows issue or an issue with the Grub boot menu.
View 2 Replies
View Related
Apr 20, 2011
I run alot of Linux running in memory. Mainly by PXE booting a kernel and the entire OS as the "initrd" file.
I have a RHEL6 image running as a VirtualBox guest and the entire OS (minimal) is contained withing 1GB of disk. I wan't to boot the entire /dev/sda1 "/" (its the only partition on the drive, no swap) as the initrd file and run everything from memory. But grub won't let me. So before I try and re-invent the wheel I thought to post here first.
Details. RHEL 6 as guest in VIrtual BOX. configured with 3Gb memory. HD is single partition and known as /dev/sda1.
at the grub console. I issue
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-19.el6.x86_64 root=/dev/ram0
initrd (hd0,0)
But the grub windows just freezes. Apparently it doesn't like the fact that I've referenced the entire partition (hd0,0) as the initrd. Any thoughts? Or any better boot loader like SYSLINUX?
BTW, I am not worried about the /etc/fstab mentioning /dev/sda1 at this point, I have a fix for that already. I would like to see grub load up the partition as an initrd.
View 1 Replies
View Related
Aug 11, 2011
I have Vista Home edtion and Linux, I have formatted Linux partions and now that Grub is not letting me boot into Windows..I had C:wIndows D:New Volume and rest of the space was E:
View 5 Replies
View Related
Mar 20, 2011
Last week, I wanted to view a web page that requires Internet Explorer to navigate through and decided to install wine and a compatible version of IE that was supposed to work according to a website I found on the matter.I've removed Wine using the Ubuntu Software Center, but still can not do updates.
View 2 Replies
View Related
Jan 10, 2010
I have linux linpus lite and I am having trouble installing flash player 10. Once it gets into my downloads I open it and get a message asking me "do you want to install the update patch?" I click ok and it then says "the patch file does not available."
View 12 Replies
View Related
Feb 17, 2010
my asus lappy always freezes and not responding when loading fedora 12,is it caused by hardware problem or bugs?can i detect hardware problem through installing any software in fedora?
View 1 Replies
View Related
Nov 23, 2009
i have a problem regarding our email server. all the users can send email but they cant received mail. .when hitting send receive on outlook there were no error found. .i have already reboot the server and restarted the sendmail services but still same problem.
View 1 Replies
View Related
Mar 19, 2011
I have googled it profusely but still am quite confused about how to remove an svn repository:I have accidentally imported the contents of a directory into the repo instead of the directory itself and now I need to remove everthing from the repo (in fact i would like to just delete the repo and re-create it)."you can svn delete directories, but if you want to get rid of the entire repo forever-ever, just delete the database file from your repo directory. since the project info is self-contained in its .svn directory, the correct way to delete a repository is actually to delete the directory. "
- what is this 'database file' being referring to?
- what is 'the directoy' being referred to?
View 1 Replies
View Related
May 31, 2010
I was trying to install JAVA on my laptop but I got the following errors ! Does any one know how to solve these errors?
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
View 4 Replies
View Related
Jan 12, 2009
Originally Posted by van 2.0 If you are not having a problem with Samba and have nothing to offer the OP in his bid to solve the problem then your post is not relevant to the discussion. The reason I asked you to point out where SELinux has been mentioned is that those are the docs of an Enterprise OS and any relevant steps would be included.I see you are new to SELinux, but interrupting a post to point out something unrelated does not help, it just adds confusion and consternation.I think that, perhaps in your your zeal to serve as police officer of the relevance trees, you've failed to see the forest. It could be that I was not sufficiently clear in my first post here, so I'll explain it very, very slowly and carefully, so as not to cause any you any further confusion.
The original poster is unable to access his Samba shares. The original poster does not understand why and seems to think that it is configured correctly. Other posters have added suggestions about smbpasswd and testparm to check for correct syntax. Presumably, these things have not yet solved the problem, since the OP has not returned to say the problem is solved, though you linking to one of the first links that would appear in a google search for redhat and samba was no doubt wildly and extraordinarily helpful.
So, I had an idea. I recognized that, in a crazy plan to make a functional OS, the authors of Linux had allowed more than one binary to execute simultaneously. This means, that SELinux and samba can both run at the same time. Now, stay with me here - if SELinux is not configured to allow permissions for the samba user on the Samba share.... "permission denied" log errors can occur in Samba. Now, that sounds familiar for some reason. Hmmm... oh, yeah! That was what the original poster mentioned! And, I just dealt with that exact problem, caused by insufficient SELinux permissions!I knew there was a method to my madness.So, anyway, adopting your own ironically sanctimonious tone, I hope you've learned a lesson today that can improve the quality of your posting. This lesson is two-fold: (1) it's not especially good form to quibble with someone trying to help in good faith and (2) if you are going to, it pays to have something tangible to offer to go along with your condescension.No need to thank me - helping you be a better poster is its own reward, and I'm rapidly losing interest in anything you have to say in general, anyway. From what I've seen, it's not anything I couldn't find in under 10 seconds on google.
View 11 Replies
View Related
Mar 12, 2010
I often struggle to fix small problems (networking, printers, graphics, etc.) because I can't remember all the cryptic sysadmin configs and tools.Is there a smart tool or wizard that can diagnose 1 or more of these areas? I'd like a tool that figures out why I can't connect to the network. Either it solves the problem or explains the issues to me.
View 2 Replies
View Related
Feb 23, 2011
I just bought a Intel D525MW ITX board, a PicoPSU and a stick of 2GB ram.
I burned the new stable debian netinst to a disk and booted it up from a usb cdburner. At this point I had a usb keyboard and a usb kingston pen drive (temporary / ) connected. The computer would freeze whenever I chose a menu item. I rebooted a couple of times, same thing. I disconnected the usb pen and were finally able to start a graphical install. I quickly reconnected the pen and the install went fine as far as I could see.
Now. When I boot from the pen it just freezes showing "GRUB lading. Welcome to GRUB!" and a blinking underscore.
I were able to boot the usb pen on my Alienware laptop just fine - although it wanted a reboot after it ran a fsck.
View 2 Replies
View Related
Jul 22, 2010
I'm having a lot of trouble finding a good Linux Distro that will work with my Toshiba A505-S6020. Here are some specs
i5-430M Intel Processor
4 GB RAM
NVidia Graphics Card
Realtek Network Adapter
One of the big problems I'm having is with the Network Adapter. It won't work with Ubuntu or any Ubuntu based distros. Backtrack 4 won't even start for me (there's a problem with the ACPI, and I'm not sure how to turn it off on Backtrack). Is there any distribution that I won't have to mess with the Kernels too much (I tried Gentoo, but that was a bit over my head)
View 6 Replies
View Related
Oct 27, 2010
I have a hypothetical situation in which I installed my operating system using a RAID1 mirror. At some point I decided that this setup was overkill, my machine isn't system critical, I value doubling my storage space more than speedy recovery, I'm doing routine backups, etc...
Short of backing up my system volume and repartitioning, or otherwise starting over, is there a way I can reconfigure my RAID1 array to only expect one disk so that mdadm no longer reports a Degraded state?
View 3 Replies
View Related