[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Booting an LDOM (can't find kernel)



I was able to install Debian to a vdisk inside an LDOM by using Glaubitz's
latest netinstall image (booted from another vdisk) and having to specify the
CD-ROM device manually as /dev/vdiskb1. The install took a while and i had
trouble configuring the mirrors initially, but eventually the install
finished. Now, when booting to the first LDOM, where Debian was installed, I
get this:

# BOF

{0} ok boot disk


SPARC Enterprise T5120, No Keyboard
Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.33.6.b, 1024 MB memory available, Serial #83384241.
Ethernet address 0:14:4f:f8:57:b1, Host ID: 84f857b1.



Boot device: /virtual-devices@100/channel-devices@200/disk@0  File and args: 
SILO Version 1.4.14

Cannot find /etc/silo.conf (error: 4294967295)

Couldn't load /etc/silo.conf
No config file loaded, you can boot just from this command line
Type [prompath;]part/path_to_image [parameters] on the prompt
E.g. /iommu/sbus/espdma/esp/sd@3,0;4/vmlinux root=/dev/sda4
or 2/vmlinux.live (to load vmlinux.live from 2nd partition of boot disk)

# EOF

There's no combination of device name, kernel file location and name, and root
device name that I've used which will get the ldom to boot. For example:

# BOF

boot: /virtual-devices@100/channel-devices@200/disk@0;0/boot/vmlinuz
root=/dev/vdiska1
Your imagename
`/virtual-devices@100/channel-devices@200/disk@0;0/boot/vmlinuz' and arguments
`root=/dev/vdiska1' have either wrong syntax,
or describe a label which is not present in silo.conf

# EOF

Additionally, if i boot back to the install image on the second vdisk, i'm
unable to mount the partitions on the first disk to either figure out where
the kernel is located or edit /etc/silo.conf:

# BOF

~ # mount /dev/vdiska1 /mnt
mount: mounting /dev/vdiska1 on /mnt failed: No such file or directory

~ # dmesg | grep vdisk
[54369.432075] sunvdc: Virtual Hard disk vdiska
[54369.432121] sunvdc: vdiska: 83886080 sectors (40960 MB) protocol 1.1
[54369.434401]  vdiska: vdiska1 vdiska2 vdiska3
[54369.444650] sunvdc: Virtual CDROM vdiskb
[54369.444700] sunvdc: vdiskb: 345572 sectors (168 MB) protocol 1.1
[54369.445428]  vdiskb: vdiskb1 vdiskb2 vdiskb3 vdiskb4 vdiskb5 vdiskb6
vdiskb7

~ # blkid /dev/vdiska
/dev/vdiska: UUID="13849cb9-337f-4ca1-addd-0c8a69342511" TYPE="ext4"
PTTYPE="sun"

~ # ls /dev/vdiska*
/dev/vdiska   /dev/vdiska1  /dev/vdiska2  /dev/vdiska3

# EOF

What am i missing here?


Reply to: