public inbox for gentoo-releng@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-releng] initrd linuxrc feature request
@ 2004-03-26 14:16 Guy Martin
  0 siblings, 0 replies; only message in thread
From: Guy Martin @ 2004-03-26 14:16 UTC (permalink / raw
  To: gentoo-releng

[-- Attachment #1: Type: text/plain, Size: 738 bytes --]


Hello all,

This little patch would be great to the linuxrc script in initrd.
It allow every livecd to be dd'ed on a harddrive and then booted from
it. I dunno if it would work for other arches due to the boot loader but
at least it works for hppa.



b180l root # diff -u linuxrc.orig linuxrc
--- linuxrc.orig        2004-03-26 14:17:52.000000000 +0000
+++ linuxrc     2004-03-26 14:18:53.000000000 +0000
@@ -89,6 +89,11 @@
                findcdmount /newroot/dev/ide/cd/*
        fi
 
+       if [ "${REAL_ROOT}" = "" ]
+       then
+               findcdmount /newroot/dev/discs/*/discs
+       fi
+
 
        if [ "${REAL_ROOT}" = "" ]
        then


-- 
Guy Martin
Gentoo Linux - HPPA port Lead / IPv6 team
Lug Charleroi (Belgium)

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

only message in thread, other threads:[~2004-03-26 14:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-26 14:16 [gentoo-releng] initrd linuxrc feature request Guy Martin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox