All of lore.kernel.org
 help / color / mirror / Atom feed
* XEN on a USB stick
@ 2005-02-22  0:09 Eivind
  2005-02-22  0:39 ` Mark Williamson
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Eivind @ 2005-02-22  0:09 UTC (permalink / raw)
  To: xen-devel

Hello all, 

Does anyone of you have some experience with booting XEN of a usb
stick? I have been able to boot Linux from it, but never attempted
booting XEN of it. With a 512Mb USB stick you should at least be able
to boot a minimal version of LFS and DSL from it.

I googled for a entry in the dev-list without any luck. Just thought
that I'd run the idea by you guys before I spent much time tinkering
around with it.

Best regards,
NeZz


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: XEN on a USB stick
  2005-02-22  0:09 Eivind
@ 2005-02-22  0:39 ` Mark Williamson
  2005-02-22  1:09   ` Adam Sulmicki
  2005-02-22  1:13 ` Eric S. Johansson
  2005-02-22  4:20 ` Fred Richards
  2 siblings, 1 reply; 7+ messages in thread
From: Mark Williamson @ 2005-02-22  0:39 UTC (permalink / raw)
  To: xen-devel, Eivind

> Does anyone of you have some experience with booting XEN of a usb
> stick? I have been able to boot Linux from it, but never attempted
> booting XEN of it. With a 512Mb USB stick you should at least be able
> to boot a minimal version of LFS and DSL from it.

If Xen / XenLinux will boot on your system then they should be able to boot 
from a pendrive.  You'll have to set the relevant USB options in dom0's 
config before compiling it.

We'd be pleased to see this working.  A while ago we proposed a PC 
architecture which used Xen (or something similar) as a next generation BIOS 
replacement - part of that vision is to have Xen / dom0 (safe hardware 
interface / next gen bios controller in our plan) boot off flash.

Cheers,
Mark

> I googled for a entry in the dev-list without any luck. Just thought
> that I'd run the idea by you guys before I spent much time tinkering
> around with it.
>
> Best regards,
> NeZz
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: XEN on a USB stick
  2005-02-22  0:39 ` Mark Williamson
@ 2005-02-22  1:09   ` Adam Sulmicki
  0 siblings, 0 replies; 7+ messages in thread
From: Adam Sulmicki @ 2005-02-22  1:09 UTC (permalink / raw)
  To: Mark Williamson; +Cc: xen-devel, Eivind

On Tue, 22 Feb 2005, Mark Williamson wrote:

> We'd be pleased to see this working.  A while ago we proposed a PC
> architecture which used Xen (or something similar) as a next generation BIOS
> replacement - part of that vision is to have Xen / dom0 (safe hardware
> interface / next gen bios controller in our plan) boot off flash.

do you have more details on this proposal ?

shouldn't be too difficult to do:

 	LinuxBIOS -> Linux Kernel -> Kexec -> Xen + Dom0

(in fact I have something more similar on my setup exept that the kexec 
gets xen and xenolinux over network instead of from CF)).





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: XEN on a USB stick
  2005-02-22  0:09 Eivind
  2005-02-22  0:39 ` Mark Williamson
@ 2005-02-22  1:13 ` Eric S. Johansson
  2005-02-24 17:25   ` Eivind
  2005-02-22  4:20 ` Fred Richards
  2 siblings, 1 reply; 7+ messages in thread
From: Eric S. Johansson @ 2005-02-22  1:13 UTC (permalink / raw)
  To: Eivind; +Cc: xen-devel

Eivind wrote:
> Hello all, 
> 
> Does anyone of you have some experience with booting XEN of a usb
> stick? I have been able to boot Linux from it, but never attempted
> booting XEN of it. With a 512Mb USB stick you should at least be able
> to boot a minimal version of LFS and DSL from it.

suggestion, start with Devil Linux.  Change the CD-ROM creation process 
to create a CompactFlash image.  This image would be loaded onto flash 
(duh) and stuck in a CompactFlash to IDE adapter.  Then, using the 
built-in capabilities of devil Linux to load up its configuration off of 
usb flash sticks.

then xenify it



-- 
http://www.salon.com/books/review/2004/12/18/heloise/index.html

The basis of Abelard's philosophy, which he taught to Heloise, was
that logic had to be applied to religion in order to arrive at the
truth.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: XEN on a USB stick
  2005-02-22  0:09 Eivind
  2005-02-22  0:39 ` Mark Williamson
  2005-02-22  1:13 ` Eric S. Johansson
@ 2005-02-22  4:20 ` Fred Richards
  2 siblings, 0 replies; 7+ messages in thread
From: Fred Richards @ 2005-02-22  4:20 UTC (permalink / raw)
  To: xen-devel

Eivind <gentoo.warrior <at> gmail.com> writes:

> 
> Hello all, 
> 
> Does anyone of you have some experience with booting XEN of a usb
> stick? I have been able to boot Linux from it, but never attempted
> booting XEN of it. With a 512Mb USB stick you should at least be able
> to boot a minimal version of LFS and DSL from it.
> 
> I googled for a entry in the dev-list without any luck. Just thought
> that I'd run the idea by you guys before I spent much time tinkering
> around with it.
> 


I've built a car pc for a friend... he tried booting off a USB stick (1.0) ...
took awhile.  The other guy had the right idea with the CF/IDE.  Also, we used
pebble linux.  

 Xen-on-a-usb-stick would be a neat idea... let me know how it goes.  



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: XEN on a USB stick
       [not found] <20050222042132.0A21013264@sc8-sf-spam2.sourceforge.net>
@ 2005-02-22  4:44 ` Garth Dahlstrom
  0 siblings, 0 replies; 7+ messages in thread
From: Garth Dahlstrom @ 2005-02-22  4:44 UTC (permalink / raw)
  To: xen-devel

It might be possible to adapt the xencd demo that Jared produced using
the method describled here:

http://www.northern.ca/forums/index.php?t=msg&th=114 

This method is basically using FreeDOS -> LoadLin -> FeatherLinux ...
if you can start Xen from Loadlin you should have no probs switching
in XenCD for Feather.

Maybe if I get a chance tomorrow, I'll have a go at it.

-- 
Northern.CA ===--
http://www.northern.ca/
Canada's Search Engine


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: XEN on a USB stick
  2005-02-22  1:13 ` Eric S. Johansson
@ 2005-02-24 17:25   ` Eivind
  0 siblings, 0 replies; 7+ messages in thread
From: Eivind @ 2005-02-24 17:25 UTC (permalink / raw)
  To: Eric S. Johansson; +Cc: xen-devel

Hello All, 

Thank you all for your help, and I got it working by using the
previously released XenCD. Dumping the entire content of the CD onto
the usb stick and then install grub on it - works perfectly.

However, some tweaks was necessary. My FAT16 (0x06) FS does not
support filenames longer than 8 characters + the extension. menu.list
in /boot/grub (on my usb stick) must be changed appropriately.

Second, run grub and execute: 
- "root (hd1,0)" - this is the MBR of your usb stick (make sure you
are not choosing any other HD on your system ;o)
- "find /boot/grub/stage1" (make sure you are using the right path -
not your host system's /boot. On my system I must mount /dev/hda1 on
/boot. Instead, I created a symlink for /boot/grub to point to my usb
device boot/grub/ directory.
This last step should give you the options of the HDs in your system.
- "setup (hd1,0)" which points to my usb drive.

I am sure there is any other way to do this as well. But it works the
way I intended it to...

Again, Thanks a lot for your help
- Eivind


On Mon, 21 Feb 2005 20:13:36 -0500, Eric S. Johansson <esj@harvee.org> wrote:
> Eivind wrote:
> > Hello all,
> >
> > Does anyone of you have some experience with booting XEN of a usb
> > stick? I have been able to boot Linux from it, but never attempted
> > booting XEN of it. With a 512Mb USB stick you should at least be able
> > to boot a minimal version of LFS and DSL from it.
> 
> suggestion, start with Devil Linux.  Change the CD-ROM creation process
> to create a CompactFlash image.  This image would be loaded onto flash
> (duh) and stuck in a CompactFlash to IDE adapter.  Then, using the
> built-in capabilities of devil Linux to load up its configuration off of
> usb flash sticks.
> 
> then xenify it
> 
> --
> http://www.salon.com/books/review/2004/12/18/heloise/index.html
> 
> The basis of Abelard's philosophy, which he taught to Heloise, was
> that logic had to be applied to religion in order to arrive at the
> truth.
>


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-02-24 17:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20050222042132.0A21013264@sc8-sf-spam2.sourceforge.net>
2005-02-22  4:44 ` XEN on a USB stick Garth Dahlstrom
2005-02-22  0:09 Eivind
2005-02-22  0:39 ` Mark Williamson
2005-02-22  1:09   ` Adam Sulmicki
2005-02-22  1:13 ` Eric S. Johansson
2005-02-24 17:25   ` Eivind
2005-02-22  4:20 ` Fred Richards

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.