[OpenBIOS] [PATCH] SPARC32: add disk:a slice to bootpath when booting from disk

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Sun Jul 3 18:31:11 CEST 2016


Solaris 9 installs its root filesystem into the first logical slice rather than
the first physical slice on the disk, so add disk:a to boot-device to attempt
a boot from the first logical slice before falling back to the first physical
slice as before.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>
---
 openbios-devel/arch/sparc32/openbios.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openbios-devel/arch/sparc32/openbios.c b/openbios-devel/arch/sparc32/openbios.c
index 6f4ee45..10ac9b9 100644
--- a/openbios-devel/arch/sparc32/openbios.c
+++ b/openbios-devel/arch/sparc32/openbios.c
@@ -897,7 +897,7 @@ arch_init( void )
 		push_str("floppy");
 		break;
 	case 'c':
-		push_str("disk");
+		push_str("disk:a disk");
 		break;
 	default:
 	case 'd':
-- 
1.7.10.4




More information about the OpenBIOS mailing list