• Yaboot & BootX problems

    From luisdias54321@gmail.com@21:1/5 to All on Wed Nov 16 04:48:38 2016
    Erro ao arrancar a maquina:
    IBM IBM IBM IBM IBM IBM PLEASE WAIT... IBM IBM IBM IBM IBM IBM
    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
    |
    Elapsed time since release of system processors: 11915 mins 31 secs

    /vdevice/v-scsi@30000002/disk@8100000000000000:-1,/etc/yaboot.conf: Unknown or c
    orrupt filesystem
    Can't open config file
    Welcome to yaboot version 1.3.16
    Enter "help" to get some basic usage information
    boot:









    Yaboot inicial:
    root@teste:/# cat /etc/yaboot.conf
    ## yaboot.conf generated by the Ubuntu installer
    ##
    ## run: "man yaboot.conf" for details. Do not make changes until you have!!
    ## see also: /usr/share/doc/yaboot/examples for example configurations.
    ##
    ## For a dual-boot menu, add one or more of:
    ## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ

    boot="/dev/disk/by-id/scsi-SAIX_VDASD_00f6c25e00004c000000013263458f64.21-part1"
    device=/vdevice/v-scsi@30000002/disk@8100000000000000
    partition=2
    root="/dev/mapper/teste--vg-root"
    timeout=50
    install=/usr/lib/yaboot/yaboot
    enablecdboot

    image=/vmlinux
    label=Linux
    read-only
    initrd=/initrd.img
    append="quiet splash"

    image=/vmlinux.old
    label=old
    read-only
    initrd=/initrd.img.old
    append="quiet splash"
    root@teste:/# find . -name "vmlinux*"
    ./usr/src/linux-headers-3.13.0-32/arch/sh/include/asm/vmlinux.lds.h
    ./usr/src/linux-headers-3.13.0-32/arch/m68k/kernel/vmlinux-std.lds
    ./usr/src/linux-headers-3.13.0-32/arch/m68k/kernel/vmlinux-nommu.lds




    fdisk:

    root@teste:/# fdisk /dev/sda
    The number of cylinders for this disk is set to 8354.
    This is larger than 1024, and may cause problems with:
    1) software that runs at boot time (e.g., LILO)
    2) booting and partitioning software form other OSs
    (e.g., DOS FDISK, OS/2 FDISK)

    Command (m for help): p

    Disk /dev/sda: 255 heads, 63 sectors, 8354 cylinders
    Units = cylinders of 16065 * 512 bytes

    Device Boot Begin Start End Blocks Id System
    /dev/sda1 * 1 1 2 7168 41 Unknown
    Partition 1 does not end on cylinder boundary:
    phys=(1, 5, 4) should be (1, 254, 63)
    /dev/sda2 2 2 33 249856 83 Linux native
    Partition 2 does not end on cylinder boundary:
    phys=(32, 31, 63) should be (32, 254, 63)
    /dev/sda3 33 33 8355 66848769 5 Extended
    /dev/sda5 265249 33 8355 66848768 8e Unknown





    root@teste:/# lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 64G 0 disk
    |-sda1 8:1 0 7M 0 part
    |-sda2 8:2 0 244M 0 part /boot
    |-sda3 8:3 0 1K 0 part
    `-sda5 8:5 0 63.8G 0 part
    |-teste--vg-root (dm-0) 253:0 0 61.1G 0 lvm /
    `-teste--vg-swap_1 (dm-1) 253:1 0 2.7G 0 lvm
    sdb 8:16 0 90G 0 disk
    sr0 11:0 1 661.2M 0 rom



    root@teste:/# ofpath /dev/sda1
    /vdevice/v-scsi@30000002/@1:1


    root@teste:/# ofpath /dev/sda5
    /vdevice/v-scsi@30000002/@1:5


    root@teste:/boot# ofpath /dev/sda2
    /vdevice/v-scsi@30000002/@1:2


    root@teste:/# find . -name "vmlinux*"
    ./boot/vmlinux
    ./boot/vmlinux-3.13.0-32-powerpc64-smp
    ./usr/src/linux-headers-3.13.0-32/arch/sh/include/asm/vmlinux.lds.h
    ./usr/src/linux-headers-3.13.0-32/arch/m68k/kernel/vmlinux-std.lds
    ./usr/src/linux-headers-3.13.0-32/arch/m68k/kernel/vmlinux-nommu.lds
    ./usr/src/linux-headers-3.13.0-32/arch/m68k/kernel/vmlinux-sun3.lds
    ./usr/src/linux-headers-3.13.0-32/arch/mn10300/boot/compressed/vmlinux.lds
    ./usr/src/linux-headers-3.13.0-32/include/asm-generic/vmlinux.lds.h
    root@teste:/#




    root@teste:/# ls -latr /dev/disk/by-id/
    total 0
    drwxr-xr-x 6 root root 120 Nov 15 18:03 ..
    drwxr-xr-x 2 root root 240 Nov 15 18:04 .
    lrwxrwxrwx 1 root root 10 Nov 15 18:13 dm-uuid-LVM-ZUsYJa0jJ3cQYktqFXRsEl0QeVFhJdVFBnJjPuFRwGeWA8uIdP2Q91s3O7QznnNF -> ../../dm-1
    lrwxrwxrwx 1 root root 10 Nov 15 18:13 dm-name-teste--vg-swap_1 -> ../../dm-1
    lrwxrwxrwx 1 root root 10 Nov 15 18:13 dm-uuid-LVM-ZUsYJa0jJ3cQYktqFXRsEl0QeVFhJdVFs4w69TMTiBzZfduJ01BehnmMepRAg1Td -> ../../dm-0
    lrwxrwxrwx 1 root root 10 Nov 15 18:13 dm-name-teste--vg-root -> ../../dm-0
    lrwxrwxrwx 1 root root 10 Nov 15 18:13 scsi-SAIX_VDASD_00f6c25e00004c000000013263458f64.21-part3 -> ../../sda3
    lrwxrwxrwx 1 root root 10 Nov 15 18:13 scsi-SAIX_VDASD_00f6c25e00004c000000013263458f64.21-part5 -> ../../sda5
    lrwxrwxrwx 1 root root 10 Nov 15 18:13 scsi-SAIX_VDASD_00f6c25e00004c000000013263458f64.21-part2 -> ../../sda2
    lrwxrwxrwx 1 root root 9 Nov 15 18:13 scsi-SAIX_VDASD_00f6c25e00004c000000013263458f64.21 -> ../../sda
    lrwxrwxrwx 1 root root 9 Nov 15 18:13 scsi-SAIX_VDASD_00f6c25e00004c000000013263458f64.22 -> ../../sdb
    lrwxrwxrwx 1 root root 10 Nov 16 10:48 scsi-SAIX_VDASD_00f6c25e00004c000000013263458f64.21-part1 -> ../../sda1
    root@teste:/#




    root@teste:/# ls -latr /dev/mapper/teste--vg-root
    brw------- 1 root root 253, 0 Nov 15 18:04 /dev/mapper/teste--vg-root
    root@teste:/#



    Yaboot.conf:
    ## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ

    boot="/dev/disk/by-id/scsi-SAIX_VDASD_00f6c25e00004c000000013263458f64.21-part1"
    device=/vdevice/v-scsi@30000002/disk@8100000000000000
    partition=2
    root="/dev/mapper/teste--vg-root"
    timeout=50
    install=/usr/lib/yaboot/yaboot
    enablecdboot


    image=/vdevice/v-scsi@30000002/@1:2,/vmlinux
    label=Linux
    read-only
    initrd=/vdevice/v-scsi@30000002/@1:2,/initrd.img
    append="quiet splash"

    image=/vmlinux.old
    label=old
    read-only
    initrd=/initrd.img.old
    append="quiet splash"
    root@teste:/boot# ^C
    root@teste:/boot#



    Informação da HMC (IBM):

    SVSA Physloc Client Partition ID
    --------------- -------------------------------------------- ------------------ vhost4 U8231.E2B.06C25EP-V1-C18 0x00000005

    VTD vtopt4
    Status Available
    LUN 0x8300000000000000
    Backing device /var/vio/VMLibrary/ubuntu-14.04.1-server-powerpc.iso Physloc
    Mirrored N/A

    VTD vtscsi4
    Status Available
    LUN 0x8100000000000000
    Backing device lp5vd1
    Physloc
    Mirrored N/A

    VTD vtscsi5
    Status Available
    LUN 0x8200000000000000
    Backing device lp5vd2
    Physloc
    Mirrored N/A

    $

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)