[ydl-gen] Yaboot problems and YDL 4.0.1
Enda Cronnolly
enda at codefoundry.com
Mon Oct 31 07:39:19 MST 2005
On Monday 31 October 2005 13:39, Joseph E. Sacco, PhD wrote:
> Try running ybin with the "-v" option to see what can be learned.
>
> It would be helpful if you would provide:
> (1) contents of /etc/yaboot.conf
> (2) output from "pdisk -l /dev/hda"
Here ya go....
root at chad root]# ybin -v
ybin: Finding OpenFirmware device path to `/dev/hda1'...
ybin: Installing first stage bootstrap /usr/lib/yaboot/ofboot
onto /dev/hda1...
ybin: Installing primary bootstrap /usr/lib/yaboot/yaboot onto /dev/hda1...
ybin: Installing /etc/yaboot.conf onto /dev/hda1...
ybin: Setting attributes on ofboot...
ybin: Setting attributes on yaboot...
ybin: Setting attributes on yaboot.conf...
ybin: Blessing /dev/hda1 with Holy Penguin Pee...
ybin: Updating OpenFirmware boot-device variable in nvram...
[root at chad root]#
[root at chad root]#
[root at chad root]#
[root at chad root]#
[root at chad root]# pdisk -l /dev/hda
pdisk: No valid block 1 on '/dev/hda'
[root at chad root]#
[root at chad root]#
[root at chad root]#
[root at chad root]# cat /etc/yaboot.conf
boot=/dev/hda1
device=/pci at f2000000/mac-io at 17/ata-4 at 1f000/disk at 0:
init-message=Welcome to \!
Hit <TAB> for boot options.
partition=5
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
default=Linux
defaultos=linux
image=/vmlinux-2.6.10-1.ydl.1
label=Linux
root=/dev/hda6
read-only
[root at chad root]#
Quick reboot to sanity check it, no joy...
OK..... the pdisk pointer seems to point to an issue, could this be that the
disk was setup without the use of pdisk, and only setup using diskdruid from
the YDL installer, and the partition table, while linux compatible, can't be
handled by Open Firmware?
If so... then is my solution to repartition the disk with pdisk and install
again? Is my current partition layout ok for that?
Thanks,
-Enda.
> -Joseph
>
> =====================================================================
>
> On Mon, 2005-10-31 at 13:21 +0000, Enda Cronnolly wrote:
> > Hi Guys,
> >
> > I've just switched from SuSE 7.1 PPC to YDL after a buddy of mine showed
> > me his mac booting without the use of a CD, something which I've had to
> > endure for years.
> >
> > I haven't had much of a smooth run, with the various installations
> > hanging at the end at the post installation bit, but after my fourth
> > attempt, now have a complete YDL setup running, but no yaboot menu.
> >
> > My config:
> > PowerBook G4, tibook.
> > 1 x 20Gb hard disk dedicated 100% to linux
> >
> > output of fdisk -l :
> > Disk /dev/hda: 20.0 GB, 20003880960 bytes
> > 16 heads, 63 sectors/track, 38760 cylinders
> > Units = cylinders of 1008 * 512 = 516096 bytes
> >
> > Device Boot Start End Blocks Id System
> > /dev/hda1 1 2 976+ 41 PPC PReP Boot
> > /dev/hda2 * 3 4 1008 83 Linux
> > /dev/hda3 5 1044 524160 82 Linux swap
> > /dev/hda4 1045 38760 19008864 f W95 Ext'd (LBA)
> > /dev/hda5 1045 1207 82120+ 83 Linux
> > /dev/hda6 1208 38760 18926680+ 83 Linux
> >
> > I boot the system from my YDL CD1, by specifying kernel linux
> > root=/dev/hda6 and I can log in and work pretty much the same as before
> > with SuSE.
> >
> > If I login as root and run ybin, it exits cleanly, but on reboot, just
> > get the flashing happy mac / ? icon to indicate that the OS can't be
> > found.
> >
> > Is the above partition order OK?
> > Is the correct partition marked bootable, or should /dev/hda1 be
> > bootable?
> >
> > I've tried the OF boot strings with no sucess.
> > I've zapped P Ram which eliminated the auto-dimmed screen at startup
> > problem, but didn't resolve the yaboot issue.
> >
> > Anyone got any ideas of what I could try?
> >
> > TIA,
> >
> > -Enda.
> > _______________________________________________
> > yellowdog-general mailing list
> > yellowdog-general at lists.terrasoftsolutions.com
> > http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> > HINT: to Google archives, try '<keywords> site:terrasoftsolutions.com'
--
Enda Cronnolly enda at codefoundry.com
Code Foundry Ltd
Barberstown, Straffan, Co. Kildare, Ireland.
Tel: +353-1-6012050 Fax: +353-1-6012051 Cellphone: +353-87-2157900
More information about the yellowdog-general
mailing list