Error started ubuntu machine - yaboot

20 views
Skip to first unread message

miguel Dias

unread,
Nov 16, 2016, 10:41:23 AM11/16/16
to Ubuntu-User-Community

I'm trying to boot my ubuntu machine, but I'm getting error on yaboot. 

Can help me to see if there is any data that is misconfigured?

Information about the machine:


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 corrupt filesystem                                                               
Can't open config file                                                          
Welcome to yaboot version 1.3.16                                                
Enter "help" to get some basic usage information  


My configuracion :
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:/#                  

Pavan Kumar

unread,
Nov 16, 2016, 9:35:25 PM11/16/16
to Ubuntu-User-Community
looks like a filesystem issue to me.
even the partition table seems to be not clean.
Also the partitions sda1 and sda5 shows unknown type partitions.
what partition type are you using there?

What filesystem did you format the partitions with?

Please revisit the partitions and filesystem in this case.

--
Pavan Kumar 

--
You received this message because you are subscribed to the Google Groups "Ubuntu-User-Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ubuntu-user-community+unsub...@googlegroups.com.
To post to this group, send email to ubuntu-user-community@googlegroups.com.
Visit this group at https://groups.google.com/group/ubuntu-user-community.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages