> Next schema should work on Nevada as well without
> "debootstrap":-
http://blog.bashton.com/2008/running-an-ubuntu-hardy-xen-domu-under-a-centos-dom0/
OK. It works on Nevada 98.
Create Ubuntu Hardy HVM via virt-manager and followed link above.
HVM image - /export/home/images/ubdisk.img
Just logged into HVM DomU and ran :-
# apt-get install linux-image-xen
Add to /boot/grub/menu.lst :-

title       Ubuntu 8.04.1, kernel 2.6.24-21-xen
root        (hd0,0)
kernel     /boot/vmlinuz-2.6.24-21-xen 
root=UUID=d60fdbd1-29a5-452e-81b8-20af8423cb33 ro
initrd      /boot/initrd.img-2.6.24-21-xen

# sed -e 's/tty1/xvc0/' /etc/event.d/tty1 | sudo tee /etc/event.d/xvc0
# shutdown -P now
Created PV profile at SNV_98 Dom0 :-

bash-3.2# cat ub8.cfg
memory = 2048
name = "U8PV"
vif = [ 'mac=00:16:3e:00:00:00' ]
disk = [ 'file:/export/home/images/ubdisk.img,xvda,w!']

# xm create -c ub8.cfg
    pyGRUB  version 0.6
 ┌────────────────────────────────────────────────────────────────────────┐
 │ Ubuntu 8.04.1, kernel 2.6.24-21-xen                                   
 │ Ubuntu 8.04.1, kernel 2.6.24-19-generic                                │
 │ Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)                │
 │ Ubuntu 8.04.1, memtest86+                                              │
 │                                                                        │
 │                                                                        │
 │                                                                        │
 │                                                                        │
 └────────────────────────────────────────────────────────────────────────┘
     Use the ^ and v keys to select which entry is highlighted.
     Press enter to boot the selected OS. 'e' to edit the
     commands before booting, 'a' to modify the kernel arguments
     before booting, or 'c' for a command line.




     Will boot selected entry in  7 seconds


Started domain U8PV
                   [    0.000000] Linux version 2.6.24-21-xen ([EMAIL 
PROTECTED]) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Mon Aug 25 
18:56:44 UTC 2008 (Ubuntu 2.6.24-4.6-generic)
[    0.000000] Command line: root=UUID=d60fdbd1-29a5-452e-81b8-20af8423cb33 ro
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  Xen: 0000000000000000 - 0000000080800000 (usable)
[    0.000000] end_pfn_map = 526336
[ 5576.502032] Zone PFN ranges:
[ 5576.502033]   DMA             0 ->     4096
[ 5576.502034]   DMA32        4096 ->  1048576
[ 5576.502035]   Normal    1048576 ->  1048576
[ 5576.502036] Movable zone start PFN for each node
[ 5576.502037] early_node_map[1] active PFN ranges
[ 5576.502038]     0:        0 ->   526336
[ 5576.530161] No mptable found.
[ 5576.534391] PERCPU: Allocating 22368 bytes of per cpu data
[ 5576.534406] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 519140
[ 5576.534409] Kernel command line: 
root=UUID=d60fdbd1-29a5-452e-81b8-20af8423cb33 ro
[ 5576.534722] Initializing CPU#0
[ 5576.534884] PID hash table entries: 4096 (order: 12, 32768 bytes)
[ 5576.534918] Xen reported: 3005.552 MHz processor.
[    0.167333] console [xvc0] enabled
[    0.167358] Console: colour dummy device 80x25
[    0.167835] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.168236] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.168362] Software IO TLB disabled
[    0.181331] Memory: 2027452k/2105344k available (2531k kernel code, 69052k 
reserved, 1332k data, 220k init)
[    0.246504] Calibrating delay using timer specific routine.. 6015.74 
BogoMIPS (lpj=12031490)
[    0.246549] Security Framework initialized
[    0.246557] SELinux:  Disabled at boot.
[    0.246566] AppArmor: AppArmor initialized
[    0.246570] Failure registering capabilities with primary security module.
[    0.246588] Mount-cache hash table entries: 256
[    0.246692] CPU: L1 I cache: 32K, L1 D cache: 32K
[    0.246695] CPU: L2 cache: 6144K
[    0.246704] CPU: Physical Processor ID: 0
[    0.246706] CPU: Processor Core ID: 0
[    0.246714] SMP alternatives: switching to UP code
[    0.247331] Freeing SMP alternatives: 23k freed
[    0.247419] Early unpacking initramfs... done
[    0.263762] Brought up 1 CPUs
[    0.264109] net_namespace: 120 bytes
[    0.264116] failed to set up cpufreq notifier
[    0.283533] Time: 165:165:165  Date: 165/165/65
[    0.283567] NET: Registered protocol family 16
[    0.284105] Brought up 1 CPUs
[    0.284119] PCI: Fatal: No config space access function found
[    0.284148] PCI: setting up Xen PCI frontend stub
[    0.284528] ACPI: Interpreter disabled.
[    0.284535] Linux Plug and Play Support v0.97 (c) Adam Belay
[    0.284565] pnp: PnP ACPI: disabled
[    0.284657] xen_mem: Initialising balloon driver.
[    0.284925] Setting mem allocation to 2097152 kiB
[    0.285100] PCI: System does not support PCI
[    0.285106] PCI: System does not support PCI
[    0.290582] NET: Registered protocol family 8
[    0.290584] NET: Registered protocol family 20
[    0.290629] AppArmor: AppArmor Filesystem Enabled
[    0.290871] NET: Registered protocol family 2
[    0.294554] Time: xen clocksource has been installed.
[    0.325585] IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.325860] TCP established hash table entries: 262144 (order: 10, 4194304 
bytes)
[    0.327748] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    0.328202] TCP: Hash tables configured (established 262144 bind 65536)
[    0.328205] TCP reno registered
[    0.337587] checking if image is initramfs... it is
[    0.354147] Freeing initrd memory: 23692k freed
[    0.363401] audit: initializing netlink socket (disabled)
[    0.363424] audit(1224775851.742:1): initialized
[    0.363665] VFS: Disk quotas dquot_6.5.1
[    0.363680] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.363733] io scheduler noop registered
[    0.363735] io scheduler anticipatory registered
[    0.363737] io scheduler deadline registered
[    0.363741] io scheduler cfq registered (default)
[    0.363880] Xen virtual console successfully installed as xvc0
[    0.363914] Event-channel device installed.
[    0.370392] Successfully initialized TPM backend driver.
[    0.374917] netfront: Initialising virtual ethernet driver.
[    0.377987] xen-vbd: registered block device major 202
[    0.378000] blkfront: xvda: barriers enabled
[    0.378263]  xvda: xvda1 xvda2 < xvda5 >
[    0.411794] rtc: IRQ 8 is not free.
[    0.411843] Linux agpgart interface v0.102
[    0.412190] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 
blocksize
[    0.412231] input: Macintosh mouse button emulation as 
/devices/virtual/input/input0
[    0.412299] PNP: No PS/2 controller found. Probing ports directly.
[    0.413120] i8042.c: No controller found.
[    0.417582] mice: PS/2 mouse device common for all mice
[    0.417609] cpuidle: using governor ladder
[    0.417658] NET: Registered protocol family 1
[    0.417693] registered taskstats version 1
[    0.517356] XENBUS: Device with no driver: device/console/0
[    0.517377]   Magic number: 1:252:3141
[    0.517470] 
/build/buildd/linux-2.6.24/debian/build/custom-source-xen/drivers/rtc/hctosys.c:
 unable to open rtc device (rtc0)
[    0.517482] Freeing unused kernel memory: 220k freed
Loading, please wait...
Begin: Loading essential drivers... ...
[    0.736959] fuse init (API version 7.9)
[    0.771723] thermal: Unknown symbol acpi_processor_set_thermal_limit
Done.
Begin: Running /scripts/init-premount ...
Done.
Begin: Mounting root file system... ...
Begin: Running /scripts/local-top ...
Done.
Begin: Waiting for root file system... ...
Done.
Begin: Running /scripts/local-premount ...
Done.
[    1.204242] kjournald starting.  Commit interval 5 seconds
[    1.204250] EXT3-fs: mounted filesystem with ordered data mode.
Begin: Running /scripts/local-bottom ...
Done.
Done.
Begin: Running /scripts/init-bottom ...
Done.
 * Reading files needed to boot...                                       [ OK ] 
 * Setting preliminary keymap...                                         [ OK ] 
 * Preparing restricted drivers...                                       [ OK ] 
 * Setting the system clock
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
 * Unable to set System Clock to: Thu Oct 23 15:30:52 UTC 2008
 * Starting basic networking...                                          [ OK ] 
 * Starting kernel event manager...                                      [ OK ] 
 * Loading hardware drivers...                                           [ OK ] 
 * Setting the system clock
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
 * Unable to set System Clock to: Thu Oct 23 15:30:53 UTC 2008
 * Loading kernel modules...                                                    
 * Loading manual drivers...                                                    
                                  [    2.609439] lp: driver loaded but no 
devices found
                                                                         [ OK ]
 * Setting kernel variables...                                           [ OK ] 
 * Activating swap...                                                    [ OK ] 
 * Checking root file system...                                                 
fsck 1.40.8 (13-Mar-2008)
/dev/xvda1: clean, 111845/425984 files, 628441/1702882 blocks
                                                                         [ OK ]
 * Checking file systems...                                                     
fsck 1.40.8 (13-Mar-2008)
                                                                         [ OK ]
 * Mounting local filesystems...                                         [ OK ] 
 * Activating swapfile swap...                                           [ OK ] 
$Mounting securityfs on /sys/kernel/security: done.
Loading AppArmor profiles : done.
 * Checking minimum space in /tmp...                                     [ OK ] 
 * Skipping firewall: ufw (not enabled)...                               [ OK ] 
 * Configuring network interfaces...                                     [ OK ] 
/dev/mem: mmap: Bad address
/dev/mem: mmap: Bad address
 * Starting system log daemon...                                         [ OK ] 
 * Doing Wacom setup...                                                         
cat: */id: No such file or directory
                                                                         [ OK ]
 * Starting kernel log daemon...                                         [ OK ] 
 * Starting system message bus dbus                                      [ OK ] 
 * Starting System Tools Backends system-tools-backends                  [ OK ] 
 * Starting Avahi mDNS/DNS-SD Daemon avahi-daemon                        [ OK ] 
 * Starting Common Unix Printing System: cupsd                           [ OK ] 
/dev/mem: mmap: Bad address
/dev/mem: mmap: Bad address
/dev/mem: mmap: Bad address
/dev/mem: mmap: Bad address
 * Starting powernowd...                                                        
 * CPU frequency scaling not supported...                                       
                           [ OK ] 
 * Starting DHCP D-Bus daemon dhcdbd                                     [ OK ] 
 * Starting Hardware abstraction layer hald                              [ OK ] 
 * Starting bluetooth                                                    [ OK ] 
 * Starting GNOME Display Manager...                                     [ OK ] 
 * Starting anac(h)ronistic cron anacron                                 [ OK ] 
 * Starting deferred execution scheduler atd                             [ OK ] 
 * Starting periodic command scheduler crond                             [ OK ] 
 * Checking battery state...                                                    
/dev/mem: mmap: Bad address
/dev/mem: mmap: Bad address
/dev/mem: mmap: Bad address
/dev/mem: mmap: Bad address
                                                                         [ OK ]
 * Running local boot scripts (/etc/rc.local)                            [ OK ] 

Ubuntu 8.04.1 boris-desktop xvc0

boris-desktop login: root
Password: 
Last login: Thu Oct 23 15:20:07 EDT 2008 on xvc0
Linux boris-desktop 2.6.24-21-xen #1 SMP Mon Aug 25 18:56:44 UTC 2008 x86_64

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/
[EMAIL PROTECTED]:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:16:3e:00:00:00  
          inet addr:192.168.1.60  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::216:3eff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7 errors:0 dropped:0 overruns:0 frame:0
          TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1212 (1.1 KB)  TX bytes:4628 (4.5 KB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

[EMAIL PROTECTED]:~# nslookup opensolaris.org
Server:         80.254.111.254
Address:        80.254.111.254#53

Non-authoritative answer:
Name:   opensolaris.org
Address: 72.5.123.5

[EMAIL PROTECTED]:~#
--
This message posted from opensolaris.org
_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to