9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Bug in bootable installation CD
@ 2002-09-23 15:28 Ram'on Garc'ia Fern'andez
  0 siblings, 0 replies; only message in thread
From: Ram'on Garc'ia Fern'andez @ 2002-09-23 15:28 UTC (permalink / raw)
  To: 9fans

Hello,

I have been unable to install Plan 9 using the ISO image downloaded
today and booting from it. It fails to mount the virtual boot disk in
the ISO image. The reason is that the command boota: assumes that the
boot files are in a fat partition, and this is not the case with a
bootable CD.

The problem can be be fixed by modifying the following line of boota:
case sd*
	adisk=`{echo $bootfile | sed 's#(sd..).*#/dev/\1/dos#'}

replace /dos by /cdboot and it will work.

However, that change would break the installation from a FAT partition.
This can be solved by either having a different version of boota: in the
virtual floppy of the CD, or by testing both /dev/sdxx/dos and
/dev/sdxx/cdboot :

case sd*
	adisk=`{echo $bootfile | sed 's#(sd..).*#/dev/\1/dos#'}
	if (! test -f $adisk) {
		adisk=`{echo $bootfile | sed 's#(sd..).*#/dev/\1/cdboot#'}
	}

Thanks,
	Ramon


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-09-23 15:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-23 15:28 [9fans] Bug in bootable installation CD Ram'on Garc'ia Fern'andez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).