Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Issues booting Xen on a dual boot machine.
Hi guys.
I've 4 partitions, the 3 first ones are of Linux type and the last one
is NetBSD [2].
I installed grub in NetBSD and tried to boot Xen off my FFS slice on the
NetBSD partition but I couldn't.
I can boot normal non-xen kernel just fine.
My grub config [1] should be fine and I also tried to manually boot my
Xen kernel with following error:
grub> root (hd0,3,a)
Filesystem type is ffs, partition type 0xa9
grub> kernel (hd0,3,a)/xen.gz
Error 24: Attempt to access block outside partition
The wd0a slice is FFS1.
What can be wrong here? Is that because NetBSD lives on 4.th partition?
I can also boot Xen on Linux just fine off partition #2.
And there's of course /grub/ffs_stage1_5
[1]:
title NetBSD Xen 3.1.4
root (hd0,3,a)
kernel (hd0,3,a)/xen.gz dom0_mem=1536000 noapic acpi=off
module (hd0,3,a)/netbsd-xen bootdev=wd0a ro console=pc
title NetBSD CURRENT
root (hd0,3,a)
kernel (hd0,3,a)/netbsd bootdev=wd0a
[2]:
Partition table:
0: Linux swap or Prime or Solaris (sysid 130)
start 63, size 3903732 (1906 MB, Cyls 0-242)
PBR is not bootable: All bytes are identical (0x00)
1: Linux native (sysid 131)
start 293041665, size 19535040 (9539 MB, Cyls 18241-19456)
PBR is not bootable: All bytes are identical (0x00)
2: Linux native (sysid 131)
start 3903795, size 175783230 (85832 MB, Cyls 243-11184)
PBR is not bootable: All bytes are identical (0x00)
3: NetBSD (sysid 169)
start 179687025, size 113354640 (55349 MB, Cyls 11185-18240), Active
First active partition: 3
Additional info:
NetBSD version: NetBSD 4.99.70
Xen version: 3.1.4
Disklabel info for wd0:
16 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 112330512 179687025 4.2BSD 2048 16384 0 # (Cyl. 178260*-
289699*)
b: 1024128 292017537 swap # (Cyl. 289699*-
290715*)
c: 113354640 179687025 unused 0 0 # (Cyl. 178260*-
290715*)
d: 312581808 0 unused 0 0 # (Cyl. 0 -
310100)
e: 3903732 63 swap # (Cyl. 0*-
3872*)
f: 19535040 293041665 Linux Ext2 0 0 # (Cyl. 290715*-
310095*)
g: 175783230 3903795 Linux Ext2 0 0 # (Cyl. 3872*-
178260*)
Cheers,
Marcin
Home |
Main Index |
Thread Index |
Old Index