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

Re: Debian on Power 740: yaboot can't open device



Try to edit /etc/yaboot.conf with a live CD in this way

##
boot="/dev/disk/by-id/scsi-SAIX_VDASD_000636ea0000d70000000131d841f07d.2-par
$
boot="/dev/sda2"
## device=/vdevice/v-scsi@30000004/@1
## partition=2
root="UUID=d4aa39cf-a3ff-47a0-8621-e22eee3e1575"
timeout=50
install=/usr/lib/yaboot/yaboot
enablecdboot

Comment the default line boot, and add the boot with the /dev partition
where the system is install. This works for me.

Juan J. Garcia
IBM Venezuela
IBM Sales & Distribution, STG Sales
Intern - Power Systems
Phone: +58-212-908-8832
E-mail: jjgarcia@ve.ibm.com



From:	"Jeroen Diederen" <jjhdiederen@zonnet.nl>
To:	gasha@pie-dabas.net, debian-powerpc@lists.debian.org
Date:	07/09/2011 09:11 a.m.
Subject:	Re: Debian on Power 740: yaboot can't open device



I have that howto on my site:
http://mac.linux.be/files/debian_on_lpar.pdf

Op 7/9/2011 schreef "Gasha" <gasha@pie-dabas.net>:

>short:
>install yaboot 1.3.16 (from latest/unstable)
>
>long:
>see e-mail from 24.08.2011 in list archives
>subject:
>Debian 6.0.2 on Power7 LPAR - it work - little howto
>
>Gasha
>
>On 09/07/2011 03:56 PM, Benedikt Wegmann wrote:
>> Hello everybody!
>>
>> I'm in the process of installing Debian Stable on a Power 740 system.
>> I'm familiar with the installation on x86 systems and the installation
>> process of Debian ppc thus looked familiar.
>>
>> I installed using the "install64" option. Disk partition was "guided -
>> use whole disk, with separate /home". Installation concluded
>> successfully but after a reboot yaboot loads and offers the choice of
>> "Linux" and "old" - as per standard configuration I learned - but
>> booting "Linux" fails:
>>
>> Config file read, 4096 bytes
>>
>> Welcome to yaboot version 1.3.13
>> Enter "help" to get some basic usage information
>> boot:
>>    Linux                      old
>> boot:
>> Please wait, loading kernel...
>> Can't open device</vdevice/v-scsi@30000002/@1:0>
>> /vdevice/v-scsi@30000002/@1:2,/boot/vmlinux: Unable to open file,
Invalid device
>> boot:
>>
>> The device however is valid - I can see it in the SMS menu - and I can
>> successfully boot into the rescue system via the Debian cd ("rescue64")
>> and subsequently chroot into my installed system, no problem.
>> However, I can never boot straight into it with yaboot.
>>
>> Some information about the system:
>>
>> root@debian:/# cat /proc/partitions
>> major minor  #blocks  name
>>
>>     8        0    6291456 sda
>>     8        1       7168 sda1
>>     8        2    1902592 sda2
>>     8        3          1 sda3
>>     8        5     262144 sda5
>>     8        6    4115456 sda6
>>
>>
>> root@debian:/# cat /etc/yaboot.conf
>> ## yaboot.conf generated by debian-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_00f6c18700004c0000000130f6e6a926.4-part1"

>> device=/vdevice/v-scsi@30000002/@1
>> partition=2
>> root="UUID=1017dfc6-257e-433f-9247-6676b732630a"
>> timeout=50
>> install=/usr/lib/yaboot/yaboot
>> enablecdboot
>>
>> image=/boot/vmlinux
>>          label=Linux
>>          read-only
>>          initrd=/boot/initrd.img
>>
>> image=/boot/vmlinux.old
>>          label=old
>>          read-only
>>          initrd=/boot/initrd.img.old
>> root@debian:/#
>>
>>
>> root@debian:/# mount
>> /dev/sda2 on / type ext3 (rw,relatime,errors=remount-ro,data=ordered)
>> /dev/sda6 on /home type ext3 (rw,relatime,errors=continue,data=ordered)
>> tmpfs on /dev type tmpfs (rw,relatime,mode=755)
>> proc on /proc type proc (rw,relatime)
>> sysfs on /sys type sysfs (rw,relatime)
>> devpts on /dev/pts type devpts
(rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
>>
>>
>> root@debian:/# ls -lR /boot/
>> /boot/:
>> total 18364
>> -rw-r--r-- 1 root root  1214811 Jun 14 14:44
System.map-2.6.32-5-powerpc-smp
>> -rw-r--r-- 1 root root    93218 Jun 14 14:44 config-2.6.32-5-powerpc-smp
>> lrwxrwxrwx 1 root root       31 Sep  7 09:44 initrd.img ->
initrd.img-2.6.32-5-powerpc-smp
>> -rw-r--r-- 1 root root 10216212 Sep  7 09:44
initrd.img-2.6.32-5-powerpc-smp
>> lrwxrwxrwx 1 root root       28 Sep  7 09:44 vmlinux ->
vmlinux-2.6.32-5-powerpc-smp
>> -rw-r--r-- 1 root root  7233739 Jun 14 14:44
vmlinux-2.6.32-5-powerpc-smp
>>
>>
>> root@debian:/# uname -a
>> Linux debian 2.6.32-5-powerpc64 #1 SMP Tue Jun 14 11:04:52 UTC 2011
ppc64 GNU/Linux
>>
>>
>> I'm at a loss as to what the problem might be. The installation looks
>> fine within the chroot environment, I just can't get it to boot.
>>
>> I also tried an install as per the wiki site
>> (
https://www.ibm.com/developerworks/mydeveloperworks/wikis/home?lang=en#/wiki/Debian%206%20on%20Power7%20LPAR/page/Start%20installation
) with updating yaboot during the install as described but without lick.
The only aspect where my install differs is with regard to the use of
multipath. I use a plain old scsi disk and only have one VIOS in the
machine.
>>
>> Any suggestions would be much appreciated.
>> Thanks!
>>
>>
>>
>
>
>--
>To UNSUBSCRIBE, email to debian-powerpc-REQUEST@lists.debian.org
>with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
>Archive: [🔎] 4E677157.1090603@pie-dabas.net">http://lists.debian.org/[🔎] 4E677157.1090603@pie-dabas.net
>
>


--
To UNSUBSCRIBE, email to debian-powerpc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
Archive:
[🔎] oegICSTB.1315402641.8793320.jjhdiederen@pop3.versatel.nl">http://lists.debian.org/[🔎] oegICSTB.1315402641.8793320.jjhdiederen@pop3.versatel.nl





Reply to: