[powerpc] Added a rescue option to yaboot.conf as well as the pegasos boot script.

This commit is contained in:
Sven Luther 2006-09-06 19:40:15 +00:00
parent 13b0587c4d
commit 1d04c047c9
3 changed files with 23 additions and 4 deletions

View File

@ -9,7 +9,7 @@
\ \
\ boot menu stuff \ boot menu stuff
\ \
: my-max-boot-num 3 ; : my-max-boot-num 4 ;
: my-boot-default 1 ; : my-boot-default 1 ;
: my-boot-delay d# 300 ; \ unit = 100 ms : my-boot-delay d# 300 ; \ unit = 100 ms
: my-print-menu ( -- ) : my-print-menu ( -- )
@ -29,7 +29,8 @@
." " cr ." " cr
." 1: install" cr ." 1: install" cr
." 2: expert" cr ." 2: expert" cr
." 3: return to OF prompt" cr ." 3: rescue" cr
." 4: return to OF prompt" cr
." " cr ." " cr
; ;
: my-boot-case ( num -- ) : my-boot-case ( num -- )
@ -37,7 +38,8 @@
case case
1 of " cd install/powerpc/vmlinuz-chrp.initrd devfs=mount,dall init=/linuxrc --" endof 1 of " cd install/powerpc/vmlinuz-chrp.initrd devfs=mount,dall init=/linuxrc --" endof
2 of " cd install/powerpc/vmlinuz-chrp.initrd DEBCONF_PRIORITY=low devfs=mount,dall init=/linuxrc --" endof 2 of " cd install/powerpc/vmlinuz-chrp.initrd DEBCONF_PRIORITY=low devfs=mount,dall init=/linuxrc --" endof
3 of " none" endof 3 of " cd install/powerpc/vmlinuz-chrp.initrd devfs=mount,dall init=/linuxrc rescue/enable=true --" endof
4 of " none" endof
endcase endcase
$boot $boot
; ;

View File

@ -26,6 +26,13 @@ image=/install/powerpc/vmlinux
initrd-size=10240 initrd-size=10240
read-only read-only
image=/install/powerpc/vmlinux
label=rescue
initrd=/install/powerpc/initrd.gz
append="devfs=mount,dall init=/linuxrc rescue/enable=true --"
initrd-size=10240
read-only
# PowerPC 64bit subarch # PowerPC 64bit subarch
image=/install/powerpc64/vmlinux image=/install/powerpc64/vmlinux
label=install64 label=install64
@ -41,3 +48,9 @@ image=/install/powerpc64/vmlinux
initrd-size=10240 initrd-size=10240
read-only read-only
image=/install/powerpc64/vmlinux
label=rescue64
initrd=/install/powerpc64/initrd.gz
append="devfs=mount,dall init=/linuxrc rescue/enable=true --"
initrd-size=10240
read-only

6
debian/changelog vendored
View File

@ -136,7 +136,11 @@ debian-cd (2.2.25) UNRELEASED; urgency=low
[ Colin Watson ] [ Colin Watson ]
* Cope with cdrom64 -> cdrom renaming for powerpc64 subarchitecture. * Cope with cdrom64 -> cdrom renaming for powerpc64 subarchitecture.
-- Joey Hess <joeyh@debian.org> Tue, 22 Aug 2006 17:57:09 -0400 [ Sven Luther ]
* [powerpc] Added a rescue option to yaboot.conf as well as the pegasos boot
script.
-- Sven Luther <sven@tael.powerlinux.fr> Wed, 6 Sep 2006 21:38:33 +0200
debian-cd (2.2.24) unstable; urgency=low debian-cd (2.2.24) unstable; urgency=low