Skip to contentSkip to conversation

Booting XenoLinux with LOADLIN

DISCUSSION Kero-Chan 2 participants 3 messages Jan 6, 2005 – Jan 7, 2005

lore
Share & tools
lore

Kero-Chan

author
#0 lore raw

Hi!

Is booting a Linux kernel compiled for the Xen ARCH possible with LOADLIN from DOS?
The docs say I need GRUB; and I'm only asking because, for a mysterious reason, LILO, GRUB, and the NetBSD bootloader just don't see my hard disk and cannot boot it. However, the FreeBSD, DOS, Windows NT, QNX and Plan9 bootloaders work fine, even if the partition I boot from is over the 1024th cylinder, etc. So I guess my best bet I to try to load a XenoLinux from DOS with LOADLIN...

And why the GRUB requirement?
Anyway, thanks :)

Signature · 7 lines
/Varga Péter/


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
#1 lore raw
Quoted 3 lines

Is booting a Linux kernel compiled for the Xen ARCH possible with LOADLIN from DOS?

Possibly, though not totally straightforwardly.

Xen expects to be loaded by a "multiboot" standard compliant boot loader, of which the only common one is Grub. It relies on multiboot's module feature to enable a domain 0 kernel image (and potentially an initrd) to be loaded into memory by the boot loader.

You'll need to use Tim Deegan's "mbootpack" which takes a xen image and linux kernel and packages them up into something that looks like a single bzImage:
http://www.tjd.phlegethon.org/software/

Please let us know how you get on.

Ian

Quoted 7 lines

The docs say I need GRUB; and I'm only asking because, for a mysterious reason, LILO, GRUB, and the NetBSD bootloader just don't see my hard disk and cannot boot it. However, the FreeBSD, DOS, Windows NT, QNX and Plan9 bootloaders work fine, even if the partition I boot from is over the 1024th cylinder, etc. So I guess my best bet I to try to load a XenoLinux from DOS with LOADLIN...

Quoted 15 lines

And why the GRUB requirement?
Anyway, thanks :)

Signature · 11 lines
/Varga P�ter/


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel

 -=- MIME -=- 

Hi!

Is booting a Linux kernel compiled for the Xen ARCH possible with LOADLIN from DOS?
The docs say I need GRUB; and I'm only asking because, for a mysterious reason, LILO, GRUB, and the NetBSD bootloader just don't see my hard disk and cannot boot it. However, the FreeBSD, DOS, Windows NT, QNX and Plan9 bootloaders work fine, even if the partition I boot from is over the 1024th cylinder, etc. So I guess my best bet I to try to load a XenoLinux from DOS with LOADLIN...

And why the GRUB requirement?
Anyway, thanks :)

--=20
/Varga P=E9ter/

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

author
#2 lore raw
Quoted 8 lines · Ian Pratt

You'll need to use Tim Deegan's "mbootpack" which takes a xen image and linux kernel and packages them up into something that looks like a single bzImage:
http://www.tjd.phlegethon.org/software/

Please let us know how you get on.

Ian

Well, thanks for the advice.
I didn't have luck. I used theese steps:

# gunzip ./xen.gz
# mbootpack -c 'dom0_mem=131072 noreboot' -m './vmlinuz-xen0
root=/dev/hda3 ro'  ./xen
This created the bzImage, no errors. Copied it to C:, and then from DOS:
C:\> loadlin bzImage

This loads something and then reboots very fast. With 'noreboot' too. Next thing to try is a GRUB floppy :)

--
/Varga Péter/

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt