I built LFS-7.7 on a PowerMac G4.
My host system was originally Ubuntu-server 8.04.1 (Hardy).
It got 2 major upgrades, first to Ubuntu 10.04.4 LTS (lucid) and then to Ubuntu 
12.04.5 LTS (precise).

My machine has 3 ATA disks:

lfs@ppc125:~$ sudo lsscsi
[0:0:0:0]    disk    ATA      IBM-IC35L090AVV2 V2HK  /dev/sda 
[0:0:1:0]    disk    ATA      Maxtor 6Y160P0   YAR4  /dev/sdb 
[1:0:0:0]    disk    ATA      WDC WD5000AAKB-0 12.0  /dev/sdc 
[2:0:0:0]    cd/dvd  HL-DT-ST RW/DVD GCC-4480B 1.03  /dev/sr0 
[2:0:1:0]    cd/dvd  PIONEER  DVD-RW  DVR-110D 1.37  /dev/sr1 

The first 2 Ubuntu releases reported the disks as /dev/hdx, but the third one 
suddenly used /dev/sdx.
It took me some time to make my machine again bootable after the third upgrade.

Now I am finishing LFS-7.7-systemd on this machine and guess what: LFS again 
turns to /dev/hdx…
I now have a quite strange (but working) yaboot.conf, with a mix of sdx (for 
Ubuntu) and hdx (for LFS):

lfs@ppc125:~$ 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/sda2
device=/pci@f4000000/ata-6@d/disk@0:
partition=3
root=/dev/sda3
timeout=50
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
enablecdboot
macosx=/dev/sdc10

image=/boot/vmlinux
        label=Linux
        read-only
        initrd=/boot/initrd.img
        append="quiet splash"

image=/boot/vmlinux.old
        label=old
        read-only
        initrd=/boot/initrd.img.old
        append="quiet splash"

image=/boot/vmlinux-3.19-lfs-7.7-systemd
    label=LFS
    device=/pci@f4000000/ata-6@d/@1
    partition=2
    root=/dev/hdb2
    read-only
    initrd=/boot/initrd.img-3.19.0
    append=""

Does anyone have an explanation for this?  Possibly a way to come to a more 
consistent configuration?

BTW: I know that the LFS community doesn’t like initrd, but it looks to be the 
only way to boot LFS on an iMac or a PowerMac.
Without it, LFS always hangs after “returning from prom_init…”
Or is there a way to avoid initrd?

pvg

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to