Displaying 20 results from an estimated 2949 matches for "rescuing".
2012 Nov 27
6
How to clean up /
Hello.
I recently upgraded to 9.1-RC3, everything went fine, however the / partition its about to get full. Im really new to FreeBSD so I don?t know what files can be deleted safely.
# find -x / -size +10000 -exec du -h {} \;
16M /boot/kernel/kernel
60M /boot/kernel/kernel.symbols
6.7M /boot/kernel/if_ath.ko.symbols
6.4M /boot/kernel/vxge.ko.symbols
9.4M
2016 Aug 19
1
[PATCH] virt-rescue rewrite in OCaml
Hi, I tried to rewrite virt-rescue from C to OCaml.
Goals were feature parity with C implementation, smaller codebase and
hopefully better maintainability. I still don't know if I've covered
everything right. So, please check it out.
PS: my git send-email seems to be broken, so I'm sending it from thunderbird
Thanks!
maros
2017 Mar 04
7
[PATCH v3] Fix virt-rescue.
Version 3:
- Tidies up the code further.
- Implements correct handling of SIGTSTP and SIGCONT.
- Adds: ^] s - sync filesystems
- Adds: ^] z - suspend virt-rescue
Rich.
2017 Mar 04
0
[PATCH] rescue: Implement escape sequences.
This implements a few useful escape sequences:
><rescue> ^]?
virt-rescue escape sequences:
^]? - print this message
^]h - print this message
^]i - print inspection data
^]q - quit virt-rescue
^]u - unmount filesystems
^]x - quit virt-rescue
to send the escape key to the rescue shell, type it twice
^]i
root device: /dev/sda3
product name: Fedora 25 (Twenty Five)
type: linux
2015 Mar 27
2
Re: [virt-tools-list] Statically compiling virt-rescue ?
[Sorry - I didn't see this email until now as virt-rescue is part of
the http://libguestfs.org project and so normally uses a different
mailing list]
On Tue, Mar 17, 2015 at 11:29:29AM +0000, Keith Roberts wrote:
> Hi all.
>
> I’d like to create a statically-linked version of virt-rescue that I
> can compile on my laptop then deploy that binary locally onto a xen
> server
2017 Mar 03
6
[PATCH v2 0/6] Fix virt-rescue.
This supersedes the two previous patch series:
https://www.redhat.com/archives/libguestfs/2017-March/msg00017.html
https://www.redhat.com/archives/libguestfs/2017-March/msg00046.html
Rich.
2016 Mar 24
1
[PATCH 1/2] rescue: Suggest using recursive bind mounts.
Since /dev and other directories contain sub-mounts, suggest using
--rbind instead of --bind. This also allows us to remove the /dev/pts
line.
---
rescue/rescue.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/rescue/rescue.c b/rescue/rescue.c
index 53afdae..9a7c988 100644
--- a/rescue/rescue.c
+++ b/rescue/rescue.c
@@ -453,10 +453,9 @@ do_suggestion (struct drv
2014 Oct 02
4
[PATCH 0/3] RFC: appliance flavours
Hi,
this is a prototype of something I've around for some time.
Basically it is about adding new appliances in addition to the main
one currently used and kept up-to-date automatically: this way it is
possible to create new appliances with extra packages, to be used in
specific contexts (like virt-rescue, with more network/recovery tools)
without filling the main appliance.
It's still
2017 Mar 03
1
[PATCH] rescue: Implement --mount and -i options.
Depends on the previous 5 patches that modified virt-rescue
to work without direct mode:
https://www.redhat.com/archives/libguestfs/2017-March/msg00017.html
Rich.
2015 Mar 28
0
Re: [virt-tools-list] Statically compiling virt-rescue ?
I've added a few patches upstream to make static linking work, and it
is [surprisingly] possible to get it to work.
You'll have to check out libguestfs from git. Read the README file
very carefully, and get familiar with building from source. This is
easier on a recent Fedora machine or VM.
Once you are comfortable building libguestfs from source, configure it
like this:
./configure
2017 Mar 03
5
[PATCH 0/5] Fix virt-rescue.
This fixes the main issues in virt-rescue and is usable.
There are some enhancements which could be made (in follow up work):
- An escape sequence and escape commands that could be handled by
virt-rescue, eg. to shut down the appliance, mount or unmount
filesystems.
- `virt-rescue -i' could be implemented cleanly by performing the
right API calls before handing control to the
2017 Mar 03
5
[PATCH WIP 0/5] Fix virt-rescue.
This set of patches fixes virt-rescue rather cleanly. In particular
the problems with handling ^C are completely fixed.
Work still to be done before this can go upstream:
- Shutdown doesn't work properly if you exit the shell. At the
moment to exit you must do 'reboot -f'.
Future improvements:
- An escape sequence and escape commands that could be handled by
virt-rescue,
2015 Aug 23
2
CentOS 7 - Limiting rescue kernel imeges
In order to keep only 3 kernel images on a CentOS 7 I edited /etc/yum.conf and I
put
installonly_limit=3
This parameter works for standard kernel images, but does not work for rescue
images:
$ ls -al /boot/vmlinuz*
-rwxr-xr-x 1 root root 5027376 May 13 20:46
/boot/vmlinuz-0-rescue-2554e2ffad84452bb07401bed0a61089
-rwxr-xr-x 1 root root 3084288 Jun 27 06:42
2014 Feb 04
2
Re: [PATCH 2/3] New API: part-get-name (RHBZ#593511).
On Tue, Feb 04, 2014 at 04:01:32PM +0100, Pino Toscano wrote:
> +static char *
> +extract_optionally_quoted (const char *value)
> +{
> + size_t value_len = strlen (value);
> +
> + if (value_len >= 2 &&
> + ((value[0] == '\'' && value[value_len - 1] == '\'') ||
> + (value[0] == '"' &&
2010 Aug 26
4
[REPOST] guestfsd core capture, and virt-rescue clean shutdown
This is a repost of a previously posted set. It's been updated following review
comments.
[PATCH 1/4] Add a core_pattern debug command
Added missing return statements.
[PATCH 2/4] Call sync after guestfsd exits
Remove redundant sleep 1; sync
[PATCH 3/4] Shut down the appliance cleanly
[PATCH 4/4] Ignore launch() error in virt-rescue
These were previously 2 patches. They are otherwise
2016 Jul 21
3
[PATCH] appliance: move virt-rescue welcome to /etc/issue
To allow easier downstream tweaks to the virt-rescue welcome message,
just output the content of the /etc/issue file in the appliance.
Thus, a new extras.tar.gz file appeared in supermin.d containing
the etc/issue file and future tweaks like this one.
---
appliance/Makefile.am | 11 +++++++++++
appliance/init | 11 ++---------
appliance/issue | 9 +++++++++
3 files changed, 22
2017 Oct 23
1
[PATCH] rescue: initialize CLEANUP pointer variable
This way it will not try to free uninitialized memory when going out of
scope, and the inspector mode is not enabled.
Fixes commit 3637c42f4e521eb647d7dfae7f48eb1689d0af54.
---
rescue/escape.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rescue/escape.c b/rescue/escape.c
index 3bb69578b..a6af99ae1 100644
--- a/rescue/escape.c
+++ b/rescue/escape.c
@@ -236,7 +236,7 @@
2005 Aug 03
1
Modify rescue mode boot?
Hi,
I have been able to boot with pxe and load linux rescue, it loads
loader and ask me lang, keyboard,load base from nfs, etc... then it
ask me about mount chroot or skip, I just choose skip to go to shell.
What I want is boot in rescue mode and get a shell directly without
having to enter lang, keyboard, nfs ip and dir, skip, etc... once
booted on shell I want it automatically run a script
2014 Dec 02
2
Virt-rescue problem
Hello,
I am trying to run this command
virt-rescue --suggest -d XYZ
virt-rescue --network -d XYZ
the prompt is looking like this:
I have no name!@(none):
now I mounted the root partition suggested by virt-rescue to /sysroot
then chroot /sysroot
after that I tried to rebuild an initrd.img with the following command
update-initramfs -c -k 3.2.0-58-generic
But it failed with following error:
2014 Aug 07
3
[PATCH] rescue: fix sscanf placeholders for --smp and --memsize
Use %d to parse them as int (since the variables for them as int)
instead of %u, even if they both need to be at least > 0.
--smp was already checked to be >= 1 while --memsize not, so check that
the specified memory size is not < 128 (which is semi-arbitrary, but
enough as a minimum threshold).
---
rescue/rescue.c | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)