Skip to contentSkip to conversation

XEN CD --> USB stick

DISCUSSION Eivind 2 participants 2 messages Feb 28, 2005

lore
Share & tools
lore

Eivind

author
#0 lore raw

Hello all,
(cc'd Jared, the author of XenCD)

I have moreover a general question regarding the construction of XenCD.

As you probably know, XEN does not yet support USB. Although, with a new BIOS I am able to boot the XEN cd from my usb stick using the same image - a pure cp -Ra xencd/* /mnt/usb/.

Now, since I cannot mount a usb stick to the /dev/sda* it becomes more complicated to start other example domains as available on the CD (there is no /boot/<kernel>).

Reverse engineering the image by taking the user space ram disk, unzip it and mount it through a loopback device gives me access to the filesystem which I can modify. However, the disk is too small so I need to use 'dd if=/dev/zero of=...' to make another image which I copy the entire existing FS to, compress it and then try to boot from it.

This does not work - kernel panic. Could someone please get me some instruction on how this work?

Thanks in advance
- Eivind

-------------------------------------------------------
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

#1 lore raw
Quoted 3 lines

As you probably know, XEN does not yet support USB. Although, with a new BIOS I am able to boot the XEN cd from my usb stick using the same image - a pure cp -Ra xencd/* /mnt/usb/.

It does support USB - you need to select it in your kernel config, as for vanilla Linux.

Cheers,
Mark

Quoted 18 lines

Now, since I cannot mount a usb stick to the /dev/sda* it becomes more complicated to start other example domains as available on the CD (there is no /boot/<kernel>).

Reverse engineering the image by taking the user space ram disk, unzip it and mount it through a loopback device gives me access to the filesystem which I can modify. However, the disk is too small so I need to use 'dd if=/dev/zero of=...' to make another image which I copy the entire existing FS to, compress it and then try to boot from it.

This does not work - kernel panic. Could someone please get me some instruction on how this work?

Thanks in advance
- Eivind

Quoted 9 lines

-------------------------------------------------------
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
[email protected]
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