yaboot uuid and luks encryption

2010-09-09 Thread drz
Hi @ all

Ive got a question about yaboot.conf

I encrypted my root-partition and want to add the following line:

append=root=/dev/mapper/hda4_crypt video=radeonfb:off

to avoid video problems.

Problem is, that ybin -v doesnt work with the attached yaboot.conf.

# ybin -v
ybin:  /dev/hda7: No such file or directory

Now I dont know what to put in for /dev/hda7 which is the NEWWORLD BOOTBLOCK

blkid tells me for /dev/hda7

/dev/hda7: LABEL=bootstrap TYPE=hfs 

so there is no uuid for it

What can I do to avoid being stuck with a not-working yaboot?

greetz
drz



yaboot .conf:

boot = /dev/hda7
# boot = /dev/disk/by-label/bootstrap

device=/p...@f400/at...@d/d...@0:
partition=2
root=/dev/mapper/hda4_crypt
timeout=100
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
enablecdboot
macosx=/dev/hda3

image=/vmlinux
label=Linux
read-only
initrd=/initrd.img

image=/vmlinux.old
label=old
read-only
initrd=/initrd.img.old

append=root=/dev/mapper/hda4_crypt video=radeonfb:off


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201009091702.17675@rizzux.org



Re: yaboot uuid and luks encryption

2010-09-09 Thread Gary
Perhaps you also need an ofboot line per this bug report? I know
that's required for SATA but maybe also for PATA devices as well?
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572869

Also, q.v. the list archives for other posts about yaboot:
http://lists.debian.org/cgi-bin/search?query=yabootlist=debian-powerpcsort=dateHITSPERPAGE=10language=en

-Gary


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktim3y62xp2bspabkssaai7tkdou_fcfy12hm8...@mail.gmail.com



Re: yaboot uuid and luks encryption

2010-09-09 Thread Hanspeter Spalinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Am 09.09.10 17:02, schrieb drz:
 
 
 yaboot .conf:
 
 boot = /dev/hda7
 # boot = /dev/disk/by-label/bootstrap
 
yaboot does not like spaces or quotes in the boot = line.
The solution is easy, change your line to
boot=/dev/hda7
# boot=/dev/disk/by-label/bootstrap

HP
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iF4EAREIAAYFAkyJFQkACgkQpjmLjrU66/5oEAEAhmyWMTnfup8VdpGS4YqLwviM
bil1y0cGpsOm08R0kckBAI44NvIhBqBj6X+z2u21I1Z1QnEXHWVVxUM2zdkNvesp
=flkb
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c891509.8020...@spahan.ch



Re: yaboot uuid and luks encryption

2010-09-09 Thread drz
Am Donnerstag 09 September 2010, 19:10:33 schrieb Hanspeter Spalinger:
 Am 09.09.10 17:02, schrieb drz:
  yaboot .conf:
  
  boot = /dev/hda7
  # boot = /dev/disk/by-label/bootstrap
 
 yaboot does not like spaces or quotes in the boot = line.
 The solution is easy, change your line to
 boot=/dev/hda7
 # boot=/dev/disk/by-label/bootstrap
 
 HP

Oh My, many many thanks, that was the problem

I swear I didnt change it, it was in the debian-generated yaboot.conf...
Strange...

greetings drz


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201009092031.38672@rizzux.org



[solved] Re: video problem on powerbook g4 in squeeze

2010-09-09 Thread drz
Am Dienstag 27 Juli 2010, 23:34:30 schrieb drz:
 
 I exchanged these outcommented lines in /etc/yaboot.conf
 boot = /dev/hda7
 # boot = /dev/disk/by-label/bootstrap  # they both dont work!
 

The Problem was:

I had to remove the spaces after boot and the =
so it reads now:
boot=/dev/hda7

strangely it was in the debian-generated default yaboot.conf with spaces. 

greetz drz


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201009092034.04225@rizzux.org