summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2013-January/021713.html
blob: 1b4b4975a791b7155bd4a2fc44ea24968d241390 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] GRUB can't see HD from chroot unless parent /dev is bind-mounted in chroot ?
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20GRUB%20can%27t%20see%20HD%20from%20chroot%20unless%20parent%20/dev%0A%20is%20bind-mounted%20in%20chroot%20%3F&In-Reply-To=%3C1358369714.9896.39.camel%40localhost.localdomain%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="021707.html">
   <LINK REL="Next"  HREF="021716.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] GRUB can't see HD from chroot unless parent /dev is bind-mounted in chroot ?</H1>
    <B>Liam R E Quin</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20GRUB%20can%27t%20see%20HD%20from%20chroot%20unless%20parent%20/dev%0A%20is%20bind-mounted%20in%20chroot%20%3F&In-Reply-To=%3C1358369714.9896.39.camel%40localhost.localdomain%3E"
       TITLE="[Mageia-dev] GRUB can't see HD from chroot unless parent /dev is bind-mounted in chroot ?">liam at holoweb.net
       </A><BR>
    <I>Wed Jan 16 21:55:14 CET 2013</I>
    <P><UL>
        <LI>Previous message: <A HREF="021707.html">[Mageia-dev] GRUB can't see HD from chroot unless parent /dev	is bind-mounted in chroot ?
</A></li>
        <LI>Next message: <A HREF="021716.html">[Mageia-dev] GRUB can't see HD from chroot unless parent /dev is bind-mounted in chroot ?
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#21713">[ date ]</a>
              <a href="thread.html#21713">[ thread ]</a>
              <a href="subject.html#21713">[ subject ]</a>
              <a href="author.html#21713">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Wed, 2013-01-16 at 20:48 +0100, AL13N wrote:
&gt;<i> Op woensdag 16 januari 2013 11:30:27 schreef Liam R E Quin:
</I>
&gt;<i> &gt; Why not add a command to the rescue disk,
</I>&gt;<i> &gt; bind-mount dir - mount /dev, /proc and /sys as /dir/dev etc for chroot
</I>

&gt;<i> because in fact, it's not really the correct solution (and there's multiple 
</I>&gt;<i> solutions for this too)
</I>
Then add some documentation about how to use the mounted partitions with
chroot.

&gt;<i> oh well, rescuing is for advanced users, so i don't really see the need here. 
</I>&gt;<i> rescue should be as small as possible anyway.
</I>
Let's not be dismissive of people. If we felt that way, we'd tell
everyone to use NetBSD :-) Why is there something to install drivers
when an advanced user can look at the boot log and use modprobe?  Heck,
I've seen a live Unix (V7? BSD 4.1? I forget) kernel patched by
editing /dev/mem.

Since people sometimes do need to use chroot, it's an opportunity to
improve the rescue disk.

&gt;<i> i have no clue how you'd be successfull without binding; i didn't think disk 
</I>&gt;<i> devices were statically made anyway, at least not sdX.
</I>I wasn't successful without binding, although there are other ways to
get access to sdX devices in the chroot'd partition.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, <A HREF="http://www.w3.org/People/Quin/">http://www.w3.org/People/Quin/</A>
Pictures from old books: <A HREF="http://fromoldbooks.org/">http://fromoldbooks.org/</A>
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml

</PRE>
















































<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="021707.html">[Mageia-dev] GRUB can't see HD from chroot unless parent /dev	is bind-mounted in chroot ?
</A></li>
	<LI>Next message: <A HREF="021716.html">[Mageia-dev] GRUB can't see HD from chroot unless parent /dev is bind-mounted in chroot ?
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#21713">[ date ]</a>
              <a href="thread.html#21713">[ thread ]</a>
              <a href="subject.html#21713">[ subject ]</a>
              <a href="author.html#21713">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>