Re: Factory CD boot problem

Andreas Färber <[email protected]> Mon, 23 Feb 2015 22:04:48 +0100
Newsgroups gmane.linux.suse.ppc
Organization SUSE Linux GmbH
Message-ID <[email protected]>
Am 23.02.2015 um 19:48 schrieb Josef Reidinger:
> On Mon, 23 Feb 2015 02:10:57 +0100
> Andreas Färber <[email protected]> wrote:
> 
>> When I chroot into my sda6 via the installer rescue system option and
>> run "yast bootloader", manually patched as in
>>  	,
>> then I get:
>>
>> Error
>> Internal error. Please report a bug report with logs.
>> Details: undefined method `first' for nil:NilClass
>> Caller:  /usr/share/YaST2/modules/BootStorage.rb:422:in `detect_disks'
>>
>> I assume that is because Factory is still at 3.1.120? That particular
>> file didn't change since then though:
>> https://github.com/yast/yast-bootloader/commits/master/src/modules/BootStorage.rb
> 
> This looks like mount data is not properly populated in storage. It
> returns empty mount point for "/". Maybe related that you start it from
> rescue shell and storage is maybe not properly filled.
> Do you try using installation with startshell=1 and placing patched
> file in y2update? 

My fault. I use the NET installation CD and select "Rescue System" from
the grub menu and then go back, select "Start Installation" and from
there "Rescue System". I ran "yast bootloader" from an sda6 chroot but
forgot to bind /dev!

With /proc, /sys and /dev mounted and the file patched, it does work:
hvc0:Rescue:~ # mount /dev/sda6 /mnt
hvc0:Rescue:~ # mount /dev --bind /mnt/dev
hvc0:Rescue:~ # mount /sys --bind /mnt/sys
hvc0:Rescue:~ # mount /proc --bind /mnt/proc
hvc0:Rescue:~ # chroot /mnt/
Rescue:/ # yast bootloader

Not unexpected, my kernel boot problem remains, so I'll try downgrading.
Updating Tumbleweed did not help. With repartitioning I'll rather wait
for the yast-bootloader fixes to hit Factory.

Regards,
Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu,
Graham Norton; HRB 21284 (AG Nürnberg)
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]