Pxe-livecd » История » Версия 1
Андрей Волков, 2015-01-21 09:50
1 | 1 | Андрей Волков | h1. Pxe-livecd |
---|---|---|---|
2 | |||
3 | <pre> |
||
4 | <code class="diff"> |
||
5 | diff -u init.orig init |
||
6 | --- init.orig 2012-08-01 12:37:57.000000000 +0600 |
||
7 | +++ init 2012-08-01 12:39:08.000000000 +0600 |
||
8 | @@ -372,10 +372,10 @@ |
||
9 | [ ! -e "${NEW_ROOT}/dev/tty1" ] && mknod "${NEW_ROOT}/dev/tty1" c 4 1 |
||
10 | fi |
||
11 | |||
12 | - if [ "${REAL_ROOT}" != "/dev/nfs" ] && [ "${LOOPTYPE}" != "sgimips" ] |
||
13 | - then |
||
14 | - bootstrapCD |
||
15 | - fi |
||
16 | +# if [ "${REAL_ROOT}" != "/dev/nfs" ] && [ "${LOOPTYPE}" != "sgimips" ] |
||
17 | +# then |
||
18 | +# bootstrapCD |
||
19 | +# fi |
||
20 | |||
21 | if [ "${REAL_ROOT}" = '' ] |
||
22 | then |
||
23 | @@ -460,7 +460,7 @@ |
||
24 | else |
||
25 | bad_msg "Block device ${REAL_ROOT} is not a valid root device..." |
||
26 | REAL_ROOT="" |
||
27 | - got_good_root=0 |
||
28 | + got_good_root=1 |
||
29 | fi |
||
30 | done |
||
31 | |||
32 | @@ -524,7 +524,7 @@ |
||
33 | [ -z "${LOOP}" ] && find_loop |
||
34 | [ -z "${LOOPTYPE}" ] && find_looptype |
||
35 | |||
36 | - cache_cd_contents |
||
37 | + #cache_cd_contents |
||
38 | |||
39 | # If encrypted, find key and mount, otherwise mount as usual |
||
40 | if [ -n "${CRYPT_ROOT}" ] |
||
41 | </code> |
||
42 | </pre> |