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

Re: Booting an LDOM (can't find kernel)



On Tue, Jul 26, 2016 at 09:37:56PM +0200, John Paul Adrian Glaubitz wrote:
> 
> Can you try appending "init=/bin/systemd" or "init=/bin/bash"?

Panicks with both (with the console bit appended as well, of course).

> Also, is the initrd.img actually present?
> 
> You can point the kernel to /boot/vmlinuz-4.5.0-2-sparc64-smp and
> the initrd to /boot/initrd.img-4.5.0-2-sparc64-smp.

# cd /boot && ls -l initrd.img vmlinuz
lrwxrwxrwx 1 root root 30 Jul 26 03:42 initrd.img ->
initrd.img-4.5.0-2-sparc64-smp
lrwxrwxrwx 1 root root 27 Jul 26 03:42 vmlinuz -> vmlinuz-4.5.0-2-sparc64-smp
 
> Also, how big is your boot partition and which filesystem are you using?

# fdisk -l /dev/vdiska
Disk /dev/vdiska: 40 GiB, 42949672960 bytes, 83886080 sectors
Geometry: 255 heads, 63 sectors/track, 5221 cylinders
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: sun

Device          Start      End  Sectors   Size Id Type         Flags
/dev/vdiska1        0   257039   257040 125.5M 83 Linux native      
/dev/vdiska2 80373195 83875364  3502170   1.7G 82 Linux swap        
/dev/vdiska3        0 83875364 83875365    40G  5 Whole disk        
/dev/vdiska4   257040 80373194 80116155  38.2G 83 Linux native      

Partition table entries are not in disk order.

# mount | grep vdisk
/dev/vdiska4 on / type ext4 (rw,relatime,data=ordered)
/dev/vdiska1 on /boot type ext3 (rw,relatime,data=ordered)

> The boot partition shouldn't be too big (1 GiB is fine) and should be mounted
> to /boot. /etc/silo.conf should point to ../boot/silo.conf.

# ls -l /etc/silo.conf
lrwxrwxrwx 1 root root 17 Jul 26 12:36 /etc/silo.conf -> ../boot/silo.conf


Reply to: