LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   OpenSUSE 11.3 on User-Mode Linux (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/opensuse-11-3-on-user-mode-linux-851835/)

antonko 12-22-2010 11:27 AM

OpenSUSE 11.3 on User-Mode Linux
 
Hello! After successful installation of Ubuntu 10.10 (described here) I decided to do the same with OpenSuse 10.3.
The first and the main problem I've encountered is lack of deboostrap analogue for OpenSuse. However, I hope that something the same does exists - maybe, somebody knows?

So, because of the mentioned above problem the long story begins. As described in UMLWiki: Building root file systems it's possible to boot from CD by taking an UML kernel and passing to it an initrd of the original boot CD. However, as I understand, it's correct only when UML kernel version and original boot CD kernel version are the same. The official OpenSUSE 11.3 DVD comes with root 2.6.34-12 and the latest for today stable vanilla kernel is 2.6.36.2. I have no idea where to take kernel v2.6.34-12, because kernel.org provides neither 2.6.34-12 nor 2.6.34.12.
So, to start an installation process of OpenSuse I followed these steps:
  1. Decompressed initrd from DVD, inserted there modules compiled against the latest kernel 2.6.36.2 and made a new initrd. The original initrd ships with only 2 modules: squashfs.ko and loop.ko. I've added isofs.ko to kernel be able to mount DVD ISO.
  2. Launched UML kernel with the next parameters:
    Code:

    sudo ./linux initrd=openSuse/new_initrd mem=256M con=xterm \
    ubd0r=openSUSE-11.3-DVD-i586.iso \
    ubd1=openSuse/opensuse-11.3.img \
    install=cd:/dev/ubda

  3. After successful boot of UML kernel an automatic installation process begins. But it fails, here is the log:
    Code:

    loading file:/var/adm/mount/content -> /content
    sha1 b434b26007114f646423a08650221d786c28db3c
    sha1 not checked
    loading file:/var/adm/mount/content.asc -> /content.asc
    sha1 48473e7c61174beaf44a3ddc1de37c0ae485dd87
    sha1 not checked
    cd:/content: signature check failed

    I think, that check fails because of changed initrd. So, maybe, I need to use UML kernel 2.6.34.12 to be able to load the original intrd?
    From the other side, instead of change initrd I could use statically-linked UML kernel 2.6.36.2, but can't compile it: get errors.
So the questions are:
  1. Is there an analogue of debootstrap for OpenSuse?
  2. Where can I find kernel 2.6.34-12?
  3. Is it possible to skip signature checking?
P.S. The DVD ISO is absolutely correct, I've checked it.

antonko 12-24-2010 05:18 AM

By the way, I've found some kind of analogue of debootstrap. It's SuseStudio, web system for building and configuring Suse images with help of the browser. Built images are allowed for downloads.
However, it's not pure analogue :)


All times are GMT -5. The time now is 11:53 AM.