Bug#241817: install: does not create yaboot partition
Package: install
Severity: important
Using the sarge-powerpc-netinst.iso image as of 2004-04-01, I
attempted to install Debian on an iMac. The install failed because it
did not create a partition for yaboot.
The details:
wuth@galileo$ md5sum ~/tmp/sarge-powerpc-netinst.iso
49dd5281613dc1cb938c7b267cb11e35 /home/wuth/tmp/sarge-powerpc-netinst.iso
I'm not too familiar with iMac's so I don't know the exact model, but
the following might help (after work-around):
arcturus:/proc# cat cpuinfo
processor : 0
cpu : 740/750
temperature : 47-49 C (uncalibrated)
clock : 333MHz
revision : 2.2 (pvr 0008 0202)
bogomips : 665.19
machine : iMac,1
motherboard : iMac MacRISC Power Macintosh
detected as : 65 (iMac (first generation))
pmac flags : 00000000
L2 cache : 512K unified
memory : 32MB
pmac-generation : NewWorld
arcturus:/proc# cat meminfo
total: used: free: shared: buffers: cached:
Mem: 29282304 28602368 679936 0 1167360 20070400
Swap: 302567424 36569088 265998336
MemTotal: 28596 kB
MemFree: 664 kB
MemShared: 0 kB
Buffers: 1140 kB
Cached: 13468 kB
SwapCached: 6132 kB
Active: 12344 kB
Inactive: 10072 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 28596 kB
LowFree: 664 kB
SwapTotal: 295476 kB
SwapFree: 259764 kB
arcturus:/proc# cat partitions
major minor #blocks name rio rmerge rsect ruse wio wmerge wsect wuse running use aveq
3 0 6297480 ide/host0/bus0/target0/lun0/disc 25418 47678 584746 982960 4938 12673 144616 520420 0 314910 1505600
3 1 31 ide/host0/bus0/target0/lun0/part1 0 0 0 0 0 0 0 0 0 0 0
3 2 801 ide/host0/bus0/target0/lun0/part2 0 0 0 0 0 0 0 0 0 0 0
3 3 295494 ide/host0/bus0/target0/lun0/part3 5167 12878 144360 342640 3088 9172 101704 324870 0 147760 669660
3 4 6001152 ide/host0/bus0/target0/lun0/part4 20249 34794 440370 640300 1850 3501 42912 195550 0 298060 835920
arcturus:/proc#
Reproducing bug:
at "chang" sound, hold down 'c' key
at "boot:" prompt, wait for "install" kernel to default
low memory mode: enter
country: canada
connects with dhcp
set hostname to "arcturus"
partition: use entire drive
choose: all files in one partition
partition table will display as:
#1 32.2 kB Apple
#2 6.1 GB B F ext3 untitled
#3 302.5 MB F swap swap
No error should occur, but the partition table is wrong, the bug
causes the following to be displayed:
[!!] Install yaboot on a hard disk
Failed to install bootloader
The installation of the yaboot boot loader failed.
Please check the sytem log or the output on the third console (tty3).
Warning: Your system may be unbootable!
4th console shows:
yaboot-installer[...]: WARNING **: boot_devfs=/dev/ide/host0/bus0/targe0/lun0/part2, root_devfs=/dev/ide/host0/bus0/target0/lun0/part2
yaboot-installer[...]: mkofboot: Finding OpenFirmware device path to `/dev/hda2'...
yaboot-installer[...]: mkofboot: /dev/hda2 appears to be mounted! aborting
A work-around to the bug is:
* Execute the sequence above until the bug occurs.
* Reboot
* reinstall a second time as follows:
at "chang" sound, hold down 'c' key
at "boot:" prompt, wait for "install" kernel to default
low memory mode: enter
country: canada
connects with dhcp
set hostname to "arcturus"
partion: choose "manually edit"
#2 delete
freespace create 820 kB beginning
[820 because: 820 * 1000 > 800 * 1024]
bootable: on
done
freespace create (full)
usage method: format
filesystem: ext3
mount point: /
mount options; defaults
bootable: off
done
finish
create: yes
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.22-1-686
Locale: LANG=C, LC_CTYPE=C
--
Brett Wuth wuth@acm.org wuth@castrov.cuug.ab.ca
Box 1251-U, Pincher Creek, Alberta T0K 1W0, CANADA Tel:+1 403 627-2460
PGPKey ID=23276D81 FingerPrint=E4F8EDEECBE01AD2FA3D8B2D94B1A292
What is the meaning of life?! Yes.
Reply to: