1 |
Hello all, |
2 |
|
3 |
This little patch would be great to the linuxrc script in initrd. |
4 |
It allow every livecd to be dd'ed on a harddrive and then booted from |
5 |
it. I dunno if it would work for other arches due to the boot loader but |
6 |
at least it works for hppa. |
7 |
|
8 |
|
9 |
|
10 |
b180l root # diff -u linuxrc.orig linuxrc |
11 |
--- linuxrc.orig 2004-03-26 14:17:52.000000000 +0000 |
12 |
+++ linuxrc 2004-03-26 14:18:53.000000000 +0000 |
13 |
@@ -89,6 +89,11 @@ |
14 |
findcdmount /newroot/dev/ide/cd/* |
15 |
fi |
16 |
|
17 |
+ if [ "${REAL_ROOT}" = "" ] |
18 |
+ then |
19 |
+ findcdmount /newroot/dev/discs/*/discs |
20 |
+ fi |
21 |
+ |
22 |
|
23 |
if [ "${REAL_ROOT}" = "" ] |
24 |
then |
25 |
|
26 |
|
27 |
-- |
28 |
Guy Martin |
29 |
Gentoo Linux - HPPA port Lead / IPv6 team |
30 |
Lug Charleroi (Belgium) |