LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Unable to boot XCP on a multiOS workstation with GRUB (http://www.linuxquestions.org/questions/linux-general-1/unable-to-boot-xcp-on-a-multios-workstation-with-grub-907728/)

fbcyborg 10-12-2011 03:04 AM

Unable to boot XCP on a multiOS workstation with GRUB
 
Hello,

I have a multi operating system desktop and I would like to be able to boot also the last distribution, installed separately on a new hard disk.

I installed Xen Cloud Platform on my /dev/sdc and if only that disk is present, it boots without any problem. If I connect the other disks, that are usually connected, I am not able to boot the XCP.

This is the GRUB entries I've added for XCP:
Code:

title= XEN Cloud Platform
root (hd2,0)
kernel /boot/xen.gz
module /boot/vmlinuz-2.6-xen root=/dev/sdc1
initrd /boot/initrd-2.6-xen.img

The problem is that, whatever the rows order is, I always get the following error:
Error 19: Linux kernel must be loaded before initrd

If I try to issue the above commands by hand, in the GRUB console, it boots, but it goes in a kernel panic at a certain point.

What is also strange is that if I try to edit the line "kernel /boot/xen.gz" above, pressing the "e" key, and if I try to type:
Code:

kernel /["TAB-KEY"]
I obtain the list of the files present in /dev/sda1 O_O, even if the "root (hd2,0)" is present.

Could somebody help me please?

EDIT: Problem solved changing the initrd directive as it follows:
Code:

module /boot/initrd-2.6-xen.img

onebuck 10-13-2011 12:37 PM

Take off zero reply. OP should post rather that edit the post to show [SOLVED]

fbcyborg 10-13-2011 12:41 PM

Yes, but as you certainly noticed, I've written:
EDIT: Problem solved....
and also the solution to the problem.


Anyway...

millgates 10-13-2011 12:53 PM

I think that onebuck's point was that there is a function called Zero reply threads here that helps the people here find questions that haven't been answered yet. Also, the threads that don't get any replies for a while, are automatically bumped to remind us they haven't been answered yet. Posting in your thread is a polite way to "get out of the way" so other questions with no replies can get the attention they deserve.

fbcyborg 10-13-2011 12:54 PM

OK, thank you, it is more clear now. I edited the post in order to avoid posting two times consequently. That's why!

;)

onebuck 10-13-2011 01:06 PM

Hi,

Quote:

Originally Posted by fbcyborg (Post 4497579)
Yes, but as you certainly noticed, I've written:
EDIT: Problem solved....
and also the solution to the problem.

Anyway...

millgates, is correct about the zero reply. You should add a post to thread whenever the situation does change. Even if a correction to your OP. That way the original posts remains intact other than obvious typo, corrections and that sort of edits can be performed. But changing the content or modification of the situation should be in a new post to the thread.

You are still a newbie to the LQ forum so this is understandable. :)


All times are GMT -5. The time now is 01:26 AM.