l-user] how to ensure a root filesystem is always "read-only"?
> To: "Christopher Marshall" <[EMAIL PROTECTED]>
> Cc: "UML user mailing list"
> Date: Thursday, March 6, 2008, 7:13 AM
> On Thu, 6 Mar 2008, Christopher Marshall wrote:
>
> &g
Remove non-user write permissions from the root_fs file:
chmod og-w root_fs
And run the uml instance from a different user account than the owner of the
root_fs file.
In fact, if you are always using the same root filesystem, I would be tempted
to place it here:
/usr/share/uml/root_fs
and ma
I believe this mail bounced, so I am sending it again.
I apologize to the list if this is a repost.
Chris Marshall
--- On Wed, 2/27/08, Christopher Marshall <[EMAIL PROTECTED]> wrote:
> From: Christopher Marshall <[EMAIL PROTECTED]>
> Subject: Re: [uml-user] running um
te:
> From: clowncoder <[EMAIL PROTECTED]>
> Subject: Re: [uml-user] running uml under colinux on windows
> To: [EMAIL PROTECTED]
> Cc: user-mode-linux-user@lists.sourceforge.net
> Date: Friday, February 22, 2008, 11:48 AM
> I would be very interested in the result of this experimen
Has anyone tried this?
I have to run windows on my workstation at work but need root access to several
linux instances to run networking experiments.
My preferred way to do that would be to run uml instances under a single
colinux running under windows on my workstation.
Chris Marshall
--
Jeff Dike <[EMAIL PROTECTED]> wrote: On Mon, Oct 01, 2007 at 07:57:22PM +0100,
Jay Shah wrote:
> is there any way you can change the source IP of the
> outgoing packets, for example:
>
> Host Machine: 1.1.1.1
> UML: 1.1.1.2
>
> If I connect to 1.1.1.2:80, httpd (on the UML system) will serve
Oops! I meant to send this to the list and would up only replying to Andrea
directly.
Chris Marshall
Christopher Marshall <[EMAIL PROTECTED]> wrote:
Date: Wed, 5 Sep 2007 10:58:15 -0700 (PDT)
From: Christopher Marshall <[EMAIL PROTECTED]>
Subject: Re: [uml-user] UML and wir
Christopher Marshall <[EMAIL PROTECTED]> wrote:
If you want to use ssh and pppd (by bringing up TAP to host networking first),
you can also do that. The key is the pty argument to pppd. Instead of giving
ppp a /dev/tty device, you can give it any command (such as an ssh command)
Blaisorblade <[EMAIL PROTECTED]> wrote: On venerdì 15 giugno 2007, Richard
Andrews wrote:
> --- Christopher Marshall wrote:
> > The simplest way to do that (have a host act like a router between
> > guests) would be to use ethertap devices. Each guest would talk to to
&
Haywood:
The simplest way to do that (have a host act like a router between guests)
would be to use ethertap devices. Each guest would talk to to the host through
a different tap device and the guests would each use eth0 on their side.
That's just as if you had the host as a physical
Jeff Dike <[EMAIL PROTECTED]> wrote: On Tue, Jun 05, 2007 at 08:18:46AM -0700,
Christopher Marshall wrote:
> I waited about 10 minutes for my various applications to speed up
> again (they didn't) after attempting to interact with them and killed
> all the uml instances. A
s and
terminal sessions running under KDE) immediately regained their responsiveness
and my %wa as reported by vmstst went from 96% down to 0%.
Chris Marshall
Jeff Dike <[EMAIL PROTECTED]> wrote:
On Tue, Jun 05, 2007 at 03:29:14AM -0700, Christopher Marshall wrote:
> I left
I left a set of 4 UML instances running overnight and noticed that in the
morning my computer was not very responsive (every application I tried to
interact with seemed slow). vmstat reported 96% IO wait (wa%).
Does it make sense that leaving UML instances running would raise this
statistic ov
Joel:
I am curious what would happen if you tried one of the simpler setups not
involving NAT.
Say you have two physical hosts, A, and B, and one UML instance, C, running on
B. Let A and B be
connected to the same ethernet and let there be two /24 nets (10.0.1.0/24 and
10.0.2.0/24) be
involve
> --Jeff
>
> -----Original Message-
> From: Christopher Marshall [mailto:[EMAIL PROTECTED]
> Sent: Wed 2007-03-21 9:17 AM
> To: Pipkins, Jeff; user-mode-linux-user@lists.sourceforge.net
> Subject: Re: [uml-user] UML for embedded system development
>
> Jeff:
>
&g
Jeff:
I don't know if you can use the same code with a host kernel (that manages cow
files in guest
kernels), but I can think of at least one way to achieve the same effect.
The unionfs filesystem allows you to stack filesystems on top of each other.
Say you have two
directories A, and B, and
Daniele:
That makes sense. mwum1004 is not a tap device, but an ethernet bridging
device. The mwum1004
script is bringing up multiple UML sessions, each with their own tap device,
and using an ethernet
bridge to gather them into a single virtual network.
I wonder where the IP address and netm
Daniele:
--- Blaisorblade <[EMAIL PROTECTED]> wrote:
> On Thursday 08 March 2007 12:04, Daniele Procida wrote:
> Also make sure that /dev/net/tun is readable to UMLs (a UML group is usually
> used - with udev things don't persist after reboot).
>
Oops! I forgot that step. The quick and dirty
Daniele:
My first thought is that mwum1004 is an ethertap device. That's a dummy
ethernet device that can
be used to communicate with a single UML instance. Let's say you are running a
uml instance as
the user umluser and you want to network it to the host. Let's also say the
user mode linux
Jeff,
> Anthony, I can now mount my pen drive as well. I hope I didn't forget
> someone to thanks.
>
> You were all very helpful for me, Thank you so much again.
>
> Flavio.
>
> 2006/11/17, Blaisorblade <[EMAIL PROTECTED]>:
> > On Sunday 12 November
> > > In the guest either:
> > > mount -t vfat /dev/ubdc1 /mnt/pendrive/ (if the pendrive is partitioned)
> > > or
> > > mount -t vfat /dev/ubdc /mnt/pendrive/ (if the pendrive is not
> > > partitioned)
> >
> > My pen drive isn't partitioned, I only have /dev/sda1 on it.
>
> In this (technical) co
Flavio:
If you run uml from the root account, or if you chmod a+rw /dev/sda*, can you
access the usb drive
from within a uml instance?
If you can do that, your other problems are simple to solve.
So, can you access the usb drive from within the uml instance?
Chris Marshall
--- Flavio <[EMAIL
Flavio:
--- Flavio <[EMAIL PROTECTED]> wrote:
> Thank you Anthony, thank you Chris,
>
> Well.. Im'sorry. I don't know english very very well to understand all
> correctly at the first time.
>
> So, here's my $ ls -lA /dev/sda : I often mount my pen drive at
> /dev/sda1 on the host system.
>
>
--- Flavio <[EMAIL PROTECTED]> wrote:
> 2006/11/8, Brock, Anthony - NET <[EMAIL PROTECTED]>:
> > Flavio,
> >
> > First, please stop posting in HTML. It is challenging for some software
> > to deal with in a safe a proper manner.
>
> Ok, I'm sorry. I'm using gmail, I just turned off HTML mode.
>
--- Nix <[EMAIL PROTECTED]> wrote:
>
> (switch_root is a tool in busybox that recursively deletes everything on
> the same filesystem as /, as initramfses are nonswappable and anything
> left there will eat memory forever. Then it chroots to the new
> filesystem and exec's init. --- so look out,
--- ghannemann <[EMAIL PROTECTED]> wrote:
> Hi everybody - my first post!
>
> I have been running UML successfully close to 18 months.
> I general run a Debian Sarge host, using 2.6.8 kernel and the UML's still
> run a 2.4.27 kernel.
> The host hardware is an Intel based system with 2G of memor
--- Jeff Dike <[EMAIL PROTECTED]> wrote:
> On Tue, Oct 24, 2006 at 08:07:20AM -0800, John P. Mitchell wrote:
> > Found another one:
> >
> > http://user-mode-linux.sourceforge.net/help-kernel-v1.html
> > The bullet point is "protect kernel memory from userspace"
>
> Oops, very obsolete.
>
>
I have seen this message from /sbin/init before when I was experimenting with
writing my own
initrd.gz in slackware. It didn't actually have anything to do with UML. I am
not sure why you
would be getting this error message seeing as how you are not using an
initrd.gz file.
You can get this m
Flavio:
What is your uml command line?
It looks like the kernel's command line for invoking init is wrong.
Are you using an initrd file whose linuxrc script explicitly invokes init?
Does the end of your
linuxrc have a pivot_root + chroot sequence in it?
If so, try invoking init like this: /sb
t; On Fri, Sep 22, 2006 at 11:19:55AM -0700, Christopher Marshall wrote:
> > One goof I did was to run "make modules install" before running
> "make modules ARCH=um". Could that be part of my problem?
>
> Given this
>
> > a
Oops!
Just thought of a possibility. I stripped the linux executable *before*
running "make modules
ARCH=um".
I'll try that over without stripping to see if it works.
Chris Marshall
-
Take Surveys. Earn Cash. Influence
All:
Hi everyone. I used User Mode Linux several years ago and am just now
returning to it.
I am getting an error when I try to run "make modules ARCH=um" about a missing
symtab. Here are
the last few lines of the "make modules" output with the error message:
LD [M] lib/zlib_inflate/zlib_
32 matches
Mail list logo