tags 615602 - d-i
severity 615602 normal
thanks

On 02/27/2011 01:35 PM, Bernward wrote:
> if path is an open firmware alias like "hd:7" or "ultra1:6", without leading 
> "/".
> The current working directory is put in front of the path, while ybin 
> translates yaboot.conf.
> E.g. when calling ybin in directory /root, the generated line in ofboot.b is
> 

This will be fixed in future releases. Use persistent device naming
symlinks (i.e. /dev/disk/by-id/xxx) instead of openfirmware aliases for
boot, bsd, macos, macosx and darwin variables in Squeeze.


> with the new kernel in squeeze, the hard disks now are handled as scsi 
> drives, 
> and the naming in /dev is somewhat randomly, so after the next boot, the same
> entry in yaboot.conf might fail.   
> 

That is why we use persistent device naming symlinks (i.e.
/dev/disk/by-id/xxx) instead of traditional unix device names (i.e.
/dev/sdaX).


For example, this yaboot.conf was generated by d-i:

boot="/dev/disk/by-id/scsi-SATA_HDS728081PLA380_PFDB32E9SM6Y4M-part2"
device=/ht@0,f2000000/pci@7/k2-sata-root@c/k2-sata@0/@0
partition=3
root="UUID=45780a5d-5764-47f5-bcd9-430c770d6ed7"
timeout=100
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
enablecdboot
macosx="/dev/disk/by-id/scsi-SATA_WDC_WD1600JS-75_WD-WCANM1733293-part3"

image=/boot/vmlinux
        label=Linux
        read-only
        initrd=/boot/initrd.img
        append="video=TV-1:d"

image=/boot/vmlinux.old
        label=old
        read-only
        initrd=/boot/initrd.img.old
        append="video=TV-1:d"

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to