public inbox for gentoo-releng@lists.gentoo.org
 help / color / mirror / Atom feed
From: Guy Martin <gmsoft@gentoo.org>
To: gentoo-releng@lists.gentoo.org
Subject: [gentoo-releng] initrd linuxrc feature request
Date: Fri, 26 Mar 2004 15:16:59 +0100	[thread overview]
Message-ID: <20040326151659.172a1b2b.gmsoft@gentoo.org> (raw)

[-- 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 --]

                 reply	other threads:[~2004-03-26 14:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040326151659.172a1b2b.gmsoft@gentoo.org \
    --to=gmsoft@gentoo.org \
    --cc=gentoo-releng@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox