LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-15-2019, 05:14 PM   #1
bifferos
Member
 
Registered: Jul 2009
Posts: 401

Rep: Reputation: 149Reputation: 149
Xen Project on Slackware?


I got this built, and followed the Xen Project website to add the kernel config options to create my 4.19.26 Dom0 kernel, booted it and it seemed to work OK.

Unfortunately, the Xen + LILO instructions I was trying seem to be a little out of date: https://lxadm.com/Running_Xen_with_LILO

They talk about being able to do zcat <image> to uncompress a compressed Linux kernel. A bit of reading and I found there's a script at /usr/src/linux/scripts/extract-vmlinux that's supposed to do this for you. I tried it, then made the bootpack. Except I didn't need an initrd (the Dom0 kernel boots without one), so I only included a single 'module' which was my Dom0 kernel.

Code:
mbootpack -o vmlinuz-xen-mbootpack -m vmlinuz-xen-uncomp xen-4.12.0
I put an entry in my elilo.conf file (/boot/efi/EFI/Slackware/) that looks like this:

Code:
chooser=simple
delay=30
timeout=30
#
image=vmlinuz
        label=vmlinuz
        initrd=initrd.gz
        read-only
        append="root=/dev/sda2 vga=normal ro"

image=vmlinuz-xen-mbootpack
        label=vmlinuz-xen-mbootpack
        read-only
        append="dom0_mem=256M -- root=/dev/sda2 vga=normal ro"
Now I don't know what's up with ELILO, because that didn't give me a nice prompt to chose between the images, but with some fiddling I'm sure I did boot the bootpack because I was rewarded with a page of 99s, and when I did nothing and let it boot, I got back my original vmlinuz.

So has anyone gone through this setup recently? Am I doing something obviously wrong? I'm very new to ELILO, so maybe mbootpack just plain doesn't work with it.

Many thanks for any help!
 
Old 09-15-2019, 05:30 PM   #2
Olek
Member
 
Registered: Jul 2012
Location: Wroclaw Poland
Distribution: Slackware
Posts: 110

Rep: Reputation: 27
There is no menu in elilo, without extra config files.
Just try TAB button to list labels of boot entries to choose between.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Learning Xen: Converting Existing Non-Xen Hypervisor Images for Use in Xen LXer Syndicated Linux News 0 08-24-2013 10:00 AM
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 11-05-2006 12:21 PM
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 10-21-2006 11:33 PM
How to run RHEL 4 as guest in Xen(SLES 10 XEN) darshanbv Linux - Software 1 06-26-2006 11:21 AM
XEN-SUSE 10.1-- DHCP Server works under plain but not under XEN Dimitriy Linux - Networking 4 06-08-2006 05:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration