Re: eiskernel-xen für domu-debian-squeeze

Stefan Welte <[email protected]>
Newsgroups spline.eisxen
Organization spline
Message-ID <[email protected]>
Hallo zusammen,

Am 07.12.2010 10:38, schrieb Stefan Welte:
> bei mir läuft ein debian-lenny als domu (anstandslos) und ich würde nun gerne nach
> debian-squeeze upgraden. Angeblich braucht udev in debian squeeze einen Kernel >=2.6.26. [1]
> 
> domO-Pakete:
> base 1.7.2
> eiskernel-xen 1.0.9
> eisxen 1.0.1
> 
> Ich habe versucht, die domu mit alternativem Kernel 2.6.26-2-xen-686 zu starten, aber das
> scheitert, obwohl die modules.dep vorhanden ist:
> [    0.603164] i8042.c: No controller found.
> FATAL: Could not load /lib/modules/2.6.26-2-xen-686/modules.dep: No such file or directory
> FATAL: Could not load /lib/modules/2.6.26-2-xen-686/modules.dep: No such file or directory
> Detecting hardware: ....
> Mounting /dev/sda1 ...
> mount: mounting /dev/sda1 on /mnt failed: No such file or directory
> List of detected partitions:
> 
> Disk /dev/sda1: 195 cylinders, 255 heads, 63 sectors/track
> 
> sfdisk: ERROR: sector 0 does not have an msdos signature
>  /dev/sda1: unrecognized partition table type
> No partitions found
> 
> Disk /dev/sda2: 32 cylinders, 255 heads, 63 sectors/track
> 
> sfdisk: ERROR: sector 0 does not have an msdos signature
>  /dev/sda2: unrecognized partition table type
> No partitions found
> Debug shell
> /bin/ash: can't access tty; job control turned off
> #

Gelöst :-) (nicht hübsch, aber klappt; temporäre, partielle Lösung):
1. vmlinux-xen und initrd-xen von domu-debian-lenny nach domo/boot/ kopieren
2. domu-"Edit Configuration":
KERNEL =  /boot/vmlinuz-2.6.26-2-xen-686
ROOT_DEVICE = /dev/xvda1
DISK_1_MAP_TO = sda1 (kann nicht auf xvda1 gesetzt werden (wegen cui-check!?), aber zum Glück
scheinbar unnötig)
3. Konfiguartion, speichern, verlassen, aktivieren.
4. mv /boot/initrd-xen.gz /boot/initrd-xen.bkp (!!!domo: kein reboot ohne rückgesetzt!!!)
5. ln -s /boot/initrd.img-2.6.26-2-xen-686 /boot/initrd-xen.gz
6. domu-starten (da die "init"-Skriptdatei im initrd anders ist, sieht der boot debian-like,
nicht eisxen-like aus)

extra1. das ganze funktioniert auch mit debian-kernel 2.6.32-5-xen-686
extra2. ich probiere noch die original 2.6.24-28-xen-initrd mit den 2.6-32-5 modulen zu füllen;
vielleicht reicht das ja schon :-) ; problematisch könnte dabei der udev-Versionsunterschied sein.

Stefan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.