OpenVZ Forum


Home » Mailing lists » Users » [solved] problems installing openvz on opensuse 10.3
Re: problems installing openvz on opensuse 10.3 [message #30523 is a reply to message #30515] Wed, 28 May 2008 05:16 Go to previous messageGo to previous message
Abhinav Lele is currently offline  Abhinav Lele
Messages: 7
Registered: May 2008
Junior Member
Hi,
Im not a openvz expert, but your problem probably lies elsewhere.
Instead of using root=/dev/disk/...... use something like /dev/sdb1 ...

To find this out for your system, from a terminal as root
type fdisk -l
You will see a list of all file partitions that you currently have. If
you installed in the first partition it would be typically be
something like /dev/sda1 or /dev/hdd1.

Create a new entry in menu.lst ( /boot/grub/menu.lst) with something like this


title SUSE-OVZ
root (hd0,1)
kernel /boot/vmlinuz-2.6.16-027test011-0.12-ovz boot=/dev/sda1
initrd /boot/initrd-2.6.16-027test011-0.12-ovz

lemme know if this works.

-Abhinav

On Wed, May 28, 2008 at 12:28 AM,  <gildo.rex@gmx.de> wrote:
> Hi all,
>
> I've got some problems installing openVZ and would be very grateful, if anyone could help me further. I'll try to provide the necessary information, but as I don't know, what might be needed, please tell me if you need more input:
>
> I'm running opensuse 10.3 on my computer and tried to install openvz.
> I've downloaded the package
>
> kernel-ovz-2.6.16.46_027test011-0.12.i686.rpm
>
> from the openvz homepage.
> Next I started the installation via rpm -ivh, checked the GRUB-loader /boot/grub/menu-lst and rebooted. The entry was shown and selectable but the kernel didn't boot.
>
> Later I found another package at
>
> http://download.opensuse.org/repositories/home:/openvz/SUSE_Linux_10.1/
>
> but the installation didn't work either.
>
> I remove the silent entry from GRUB and saw, that both kernels seemed not to be able to find the disk - but that is the same as for the normal kernel as well as for the also installed XEN-kernel.
>
> My suspect is, that the kernels do not match (please don't laugh, I'm a newbie).
>
> My normal kernel:
> stephan@mpiphysicaltest1:~> uname -r
> 2.6.22.17-0.1-default
>
> And the /boot/grub/menu.lst looks like this:
>
> # Modified by YaST2. Last modification on Tue May 27 19:12:02 CEST 2008
> default 3
> timeout 8
> ##YaST - generic_mbr
> gfxmenu (hd0,1)/boot/message
> ##YaST - activate
>
> ###Don't change this comment - YaST2 identifier: Original name: linux###
> title Ovzpae -- openSUSE 10.3 - 2.6.16.43-027test002-24.1
>    root (hd0,1)
>    kernel /boot/vmlinuz-2.6.16.43-027test002-24.1-ovzpae root=/dev/disk/by-id/scsi-SATA_MAXTOR_STM33208_9QF9K35F-part2 vga=0x31a acpi=off resume=/dev/sda1  showopts
>    initrd /boot/initrd-2.6.16.43-027test002-24.1-ovzpae
>
> ###Don't change this comment - YaST2 identifier: Original name: linux-2.6.16-027test011-0.12-ovz###
> title Ovz -- openSUSE 10.3 - 2.6.16-027test011-0.12
>    root (hd0,1)
>    kernel /boot/vmlinuz-2.6.16-027test011-0.12-ovz root=/dev/disk/by-id/scsi-SATA_MAXTOR_STM33208_9QF9K35F-part2 vga=0x31a acpi=off resume=/dev/sda1 showopts
>    initrd /boot/initrd-2.6.16-027test011-0.12-ovz
>
> ###Don't change this comment - YaST2 identifier: Original name: xen###
> title XEN -- openSUSE 10.3 - 2.6.22.17-0.1
>    root (hd0,1)
>    kernel /boot/xen.gz
>    module /boot/vmlinuz-2.6.22.17-0.1-xen root=/dev/disk/by-id/scsi-SATA_MAXTOR_STM33208_9QF9K35F-part2 vga=0x31a acpi=off resume=/dev/sda1 showopts
>    module /boot/initrd-2.6.22.17-0.1-xen
>
> ###Don't change this comment - YaST2 identifier: Original name: linux-2.6.22.17-0.1-default###
> title openSUSE 10.3 - 2.6.22.17-0.1
>    root (hd0,1)
>    kernel /boot/vmlinuz-2.6.22.17-0.1-default root=/dev/disk/by-id/scsi-SATA_MAXTOR_STM33208_9QF9K35F-part2 vga=0x31a acpi=off resume=/dev/sda1 showopts
>    initrd /boot/initrd-2.6.22.17-0.1-default
>
> ###Don't change this comment - YaST2 identifier: Original name: failsafe###
> title Failsafe -- openSUSE 10.3 - 2.6.22.17-0.1
>    root (hd0,1)
>    kernel /boot/vmlinuz-2.6.22.17-0.1-default root=/dev/disk/by-id/scsi-SATA_MAXTOR_STM33208_9QF9K35F-part2 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
>    initrd /boot/initrd-2.6.22.17-0.1-default
>
> ###Don't change this comment - YaST2 identifier: Original name: floppy###
> title Floppy
>    rootnoverify (hd0,1)
>    chainloader (fd0)+1
>
>
> Do you have any idea, what might be wrong? Is it the wrong package? Where can I get the right package?
>
> Thanks in advance!
>
> Kind Regards
>
> Stephan
> --
> GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
> Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: No source code in download.openvz.org/debian/
Next Topic: RE: vzmemcheck
Goto Forum:
  


Current Time: Mon Sep 16 20:58:36 GMT 2024

Total time taken to generate the page: 0.04864 seconds