Displaying 20 results from an estimated 700 matches similar to: "run-init in tmpfs"
2006 Sep 28
1
ramfs to tmpfs
Hello,
I was using a bunch of cpios in initramfs as a working system, and
wondering why the unused files weren't being paged out to swap.
So I reread ramfs-rootfs-initramfs.txt and now I know.
So I wrote the attached utility. It creates a tmpfs, moves all files
on the initramfs, moves / and executes the real init.
It works, even with hardlinks, but it isn't the correct approach. Have
2009 Feb 04
1
rsync differences between Fedora/Ubuntu?
Hello All,
(I'm only one step above a user, so would appreciate any technical
answers thoroughly explained. But if you're in a real rush, I could
just forward your reply to a local wizard for translation.)
With the script below, I use rsync to mirror the /boot partition and the
/ (without /boot) partition on to removable ATA/IDE hard drives.
(Insertion/removal of mirror drives are
2003 Nov 28
1
problems when exec()ing /sbin/init from an initramfs
This is an early userspace type question. I have an initramfs that does
some root device setup, then tries to mount the real root partition and
exec /sbin/init to start the real userland. It seems to do what I want,
except that bootlogd hangs while mount /proc. I can't seem to figure
out why.
I'm booting with init=/bin/bash. bash is dynamically linked, and the
appropriate libs are in
2015 Feb 04
2
[LLVMdev] Question on Machine Combiner Pass
Ping
From: Mandeep Singh Grang [mailto:mgrang at codeaurora.org]
Sent: Tuesday, February 03, 2015 4:34 PM
To: 'llvmdev at cs.uiuc.edu'
Cc: 'ghoflehner at apple.com'; 'apazos at codeaurora.org'; mgrang at codeaurora.org
Subject: Question on Machine Combiner Pass
Hi,
In the file lib/CodeGen/MachineCombiner.cpp I see that in the function
2008 Oct 26
9
vncviewer reporting connection refused (146)
I''m running snv93.
I''m trying to install a windows hvm domU using the virt-install command:
/usr/bin/virt-install -n windowsts -r 2048 -s 20 -f /data/domU/windowsts --hvm --vnc -c /dev/dsk/c0t0d0s2
The vncviewer is unable to open a connection to the xend VNC server and is failing with the Connection refused (146) error message.
xend is set up with the following properties:
2011 Feb 08
4
mount the wrong device after system recovery
Hi,
I am recovering a CentOS 5.4 system. I've copied all partitions into the
recovery system. I've installed grub boot loader. However, the original
system is using /dev/sdb1 for root (/), while the recovery system is
using LVM (/dev/vg0/lv1) for root (/). When recovery system boots, I got
the panic error:
* Mounting /dev/sdb1 on /sysroot
* Mount: mounting
2013 Sep 09
0
Re: Problems with user namespaces
On 09/06/2013 07:32 PM, Jaka Hudoklin wrote:
> Hello!
>
> Okay i tried again with only staticly linked busybox:
> offlinehacker:~/ $ /home/offlinehacker/busybox/busybox
> BusyBox v1.17.1 (Debian 1:1.17.1-8) multi-call binary.
> Copyright (C) 1998-2009 Erik Andersen, Rob Landley, Denys Vlasenko
> and others. Licensed under GPLv2.
> See source distribution for full notice.
2013 Sep 09
0
Re: Problems with user namespaces
It seems to be working now, what I needed was libvirt built with libcap
support and also securityfs patch. Thanks!
On Mon, Sep 9, 2013 at 1:08 PM, Jaka Hudoklin <jakahudoklin@gmail.com>wrote:
> I applied your patch, but no success. What bothers me is that connection
> gets reseted. By the way, i'm using systemd, with process started in
> forking mode and as daemon. Could this
2013 Sep 09
2
Re: Problems with user namespaces
I applied your patch, but no success. What bothers me is that connection
gets reseted. By the way, i'm using systemd, with process started in
forking mode and as daemon. Could this cause any problems?
This is my libvirtd.conf, if it helps anything:
unix_sock_group = "libvirtd"
unix_sock_rw_perms = "0770"
auth_unix_ro = "none"
auth_unix_rw = "none"
Can
2013 Sep 06
3
Re: Problems with user namespaces
Hello!
Okay i tried again with only staticly linked busybox:
offlinehacker:~/ $ /home/offlinehacker/busybox/busybox
BusyBox v1.17.1 (Debian 1:1.17.1-8) multi-call binary.
Copyright (C) 1998-2009 Erik Andersen, Rob Landley, Denys Vlasenko
and others. Licensed under GPLv2.
See source distribution for full notice.
....
Again my id:
uid=499(offlinehacker) gid=100(users)
2005 Aug 09
2
Upgrading Drive, Best Practice?
Hi,
This might sound like a n00b question, but I've honestly never done this
with a Linux machine... (it is running Centos3)
We have a 1U mail server with two 36GB SCSI drives in a hardware mirror
config. There's no more room for any other drives in the case. It's
filling up, so we now have two 74GB drives ready to take their place.
Possible solutions that I've come up
2005 Feb 14
6
Query regarding initramfs
Hi
I had some doubts regarding what all the init application should do:
>> so, that should that application do?
>> - mount /dev/hda1 /new-root
>> - cd /new-root
>> - run-init
1. Of what I understand, before exitting, init should mount the realroot
and execute the init process.
Is realroot the '/' or the empty directory created (in the cpio
archive) ?
2013 Jul 09
2
[PATCH 2/2] LXC: hostdev: parent directroy for hostdev atomically
Create parent directroy for hostdev atomically when we
start a lxc domain or attach a hostdev to a lxc domain.
Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
---
src/lxc/lxc_container.c | 42 ++++++++++++++++++++++++++++--------------
src/lxc/lxc_driver.c | 14 ++++++++++++++
2 files changed, 42 insertions(+), 14 deletions(-)
diff --git a/src/lxc/lxc_container.c
2005 Jun 11
7
A questiong about replacing my failing drive
First, I am not a RedHat or linux newbie. I simply have not had to do
what I am getting ready to do, and I want to see if I am going to run into
a problems...
My HDA drive is failing (I can hear the occasional click from it and I am
seeing Smart errors, the transfer rate is slow but all my data is there).
I have 3 partitions on it, the /, /boot/ and my game servers (this is also
the drive the
2007 Aug 08
2
Clone physical into virtual
Is there a formal, or preferred, method for importing a physical
CentOS machine into a VMware instance? I know they make
software to move Windows machines, but I couldn't find one to
handle our CentOS servers. I have done something via scp/sftp
in the past, which *seemed* to work, but if there's a better way
I'm more than interested in hearing the process.
Thanks!
Scott
2006 Aug 09
2
How to draw the decision boundaries for LDA and Rpart object
Hello useR,
Could you please tell me how to draw the decision boundaries in a scatterplot of the original data for a LDA or Rpart object.
For example:
> library(rpart)
>fit.rpart <- rpart(as.factor(group.id)~., data=data.frame(Data) )
How can I draw the cutting lines on the orignial Data?
Or is there any built in functions that can read the rpart object 'fit.rpart' to do
2002 May 01
1
Wine's regsvr32 use
Hi,
I have a program that tries to launch regsrv32.
Since a replacement has been made by Andriy & Jorgen,
i should be able to remove the orignial regsvr32.exe
and wine's regsvr32.so.
So what must I do to make my software use it ?
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais !
Yahoo! Mail :
2013 Sep 05
2
Problems with user namespaces
Hello!
I'm testing user namespaces and I have quite some problem getting them to
work.
First of all, I have user namespaces support enabled in kernel:
offlinehacker:~/ $ uname -r
3.10.10
offlinehacker:~/ $ ls /proc/self/ns/
ipc@ mnt@ net@ pid@ user@ uts@
I created simple ubuntu rootfs and when I start container without idmap, so
without user namespace mappings, it works just fine:
2011 Dec 08
1
read-only rootfs for lxc containers
And speaking of running out of a shared read-only root, I get the
following error when I attempt it:
error: Failed to start domain hw
error: internal error guest failed to start: PATH=/bin:/sbin TERM=linux
LIBVIRT_LXC_UUID=38320e75-1ba0-d85a-6138-532a3a66f13d
LIBVIRT_LXC_NAME=hw /bin/bash
2011-12-08 15:31:41.945: 1: info : libvirt version: 0.9.7
2011-12-08 15:31:41.945: 1: error :
2013 Sep 06
0
Re: Problems with user namespaces
On 09/06/2013 03:15 AM, Jaka Hudoklin wrote:
> Hello!
>
> I'm testing user namespaces and I have quite some problem getting them to work.
>
> First of all, I have user namespaces support enabled in kernel:
>
> offlinehacker:~/ $ uname -r
> 3.10.10
> offlinehacker:~/ $ ls /proc/self/ns/
> ipc@ mnt@ net@ pid@ user@ uts@
>
> I created simple ubuntu