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 v
2.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:
- 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.
- 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
- 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:- Is there an analogue of debootstrap for OpenSuse?
- Where can I find kernel 2.6.34-12?
- Is it possible to skip signature checking?
P.S. The DVD ISO is absolutely correct, I've checked it.