Displaying 20 results from an estimated 700 matches similar to: "[PATCH] daemon: drop error message check in do_part_expand_gpt"
2015 Dec 01
3
[PATCHv2] New API: part_expand_gpt.
This action moves second(backup) GPT header to the end of the disk.
It is usable in in-place image expanding, since free space after
second GPT header is unusable. To use additional space, we have
to move second header. This is what sgdisk -e does.
However, sgdisk -e may perform additional actions if the partition
table has unexpected params (e.g. if we call sgdisk -e /dev/sda1,
it may fix
2016 Jan 20
1
[PATCHv2] New API: part_expand_gpt.
This action moves second(backup) GPT header to the end of the disk.
It is usable in in-place image expanding, since free space after
second GPT header is unusable. To use additional space, we have
to move second header. This is what sgdisk -e does.
However, sgdisk -e may perform additional actions if the partition
table has unexpected params (e.g. if we call sgdisk -e /dev/sda1,
it may fix
2015 Dec 22
0
Re: [PATCHv2] New API: part_expand_gpt.
Please take a look.
This feature is necessary for in-place image expanding.
On 12/01/2015 06:28 PM, Maxim Perevedentsev wrote:
> This action moves second(backup) GPT header to the end of the disk.
> It is usable in in-place image expanding, since free space after
> second GPT header is unusable. To use additional space, we have
> to move second header. This is what sgdisk -e does.
2015 Nov 25
1
[PATCH] New API: part_expand_gpt.
This action moves second(backup) GPT header to the end of the disk.
It is usable in in-place image expanding, since free space after
second GPT header is unusable. To use additional space, we have
to move second header. This is what sgdisk -e does.
However, sgdisk -e may perform additional actions if the partition
table has unexpected params (e.g. if we call sgdisk -e /dev/sda1,
it may fix
2018 May 01
1
Curious sgdisk behavior
FYI
Just found interesting behavior of sgdisk (it is used in daemon code for
various things) which might surprise us: sgdisk won't work if it finds
"valid" MBR and GPT partition tables on the disk. In this case sgdisk fails
with "Invalid partition data!" message.
How to reproduce (esiest way is to use DISPART command line tool in Windows
but you can do the same via Disk
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] == '"' &&
2014 Feb 04
6
[PATCH 0/3] virt-resize: preserve GPT partitions label
Hi,
attached there are few patches to implement a way to get the label of
GPT partitions (refactoring an existing function and adding a new
daemon API) and using it in virt-resize to restore them when copying
partitions.
Thanks,
Pino Toscano (3):
daemon: parted: refactor sgdisk info parsing code
New API: part-get-name (RHBZ#593511).
resize: preserve GPT partition names (RHBZ#1060404).
2015 Dec 10
2
Bug: windows server 2012R2 fails to start after virt-resize
Hello everyone!
After I ran virt-resize (v1.31.28) on my disk with win2012R2
(partition table [GPT]: VFAT (100M), unknown (128M), NTFS (64G))
My VM fails to boot: black screen informing that
Windows failed to start...
Status: 0xc000000e
Info: an unexpected error has occured.
After some investigations, I realized that Windows remembers the GUID of
disk it is installed to.
If I execute
2015 Dec 10
3
Re: Bug: windows server 2012R2 fails to start after virt-resize
On 12/10/2015 02:55 PM, Pino Toscano wrote:
> On Thursday 10 December 2015 13:55:26 Maxim Perevedentsev wrote:
>> Hello everyone!
>>
>> After I ran virt-resize (v1.31.28) on my disk with win2012R2
>> (partition table [GPT]: VFAT (100M), unknown (128M), NTFS (64G))
>> My VM fails to boot: black screen informing that
>>
>> Windows failed to start...
2014 Dec 10
4
CentOS 7 grub.cfg missing on new install
Greetings -
The short story is that got my new install completed with the partitioning I
wanted and using software raid, but after a reboot I ended up with a grub
prompt, and do not appear to have a grub.cfg file. So here is a little
history of how I got here, because I know in order for anyone to help me
they would subsequently ask for this information. So this post is a little
long, but
2016 Jan 18
1
[PATCH] New API: part_get_disk_guid and part_set_disk_guid.
Some OSes (e.g. Windows Server 2012 R2) fail to boot if the disk
GPT GUID has changed. To preserve disk GUID e.g. during virt-resize,
we need a way to get/set disk GUIDs.
---
daemon/parted.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++
generator/actions.ml | 37 ++++++++++++++++++++++++++++++++
src/MAX_PROC_NR | 2 +-
3 files changed, 98 insertions(+), 1 deletion(-)
diff
2018 May 29
2
CentOS6: HELP! EFI boot fails after replacing disks...
At Mon, 28 May 2018 20:49:54 -0700 CentOS mailing list <centos at centos.org> wrote:
>
> On 05/28/2018 06:20 PM, Robert Heller wrote:
> > The UUID in the BIOS is NOT VFAT volume. It is something completely
> > different. I have no clue what it is -- it does not correspond to anything I
> > can find.
>
>
> It should be the UUID of the partition, not of
2016 Nov 07
1
How do I create a syslinux bootable GPT UEFI Linux disk?
I need to create one bootable UEFI disk partition that contains all the space on the disk. The steps must work in a shell script. Ideally with syslinux/extlinux but if not possible then grub.
How to do this? Surely it should be dead easy, a handful of lines? Nothing I do works.
This is what I have so far:
DISK_DEVICE_NAME_CURRENT_OS=hda
echo remove all partitions
sudo /usr/local/sbin/sgdisk -Z
2015 Nov 17
1
Windows vs. Linux commands
I have had some difficulty creating a bootable ESXi installation media on a USB disk in Windows(Kickstart scripts read by VMwares Weasel are not running properly), it works in Linux. The problem might have nothing to do with Syslinux, but I still want to ask a question regarding Syslinux to be sure there are variations as result of installing Syslinux to a USB drive in Windows vs Linux.
In Linux
2010 Aug 16
2
gpt and extlinux how to get it bootable?
Hi
I just tried to implement gpt extlinux booting in my archboot project.
extlinux installs fine but i'm not able to boot the hd afterwards.
Setting partition to boot on in parted doesn't seem to have an effect in GPT
mode.
Is there any way to get it booting, i haven't found any docu about it.
Thanks in advance
greetings
tpowa
--
Tobias Powalowski
Archlinux Developer & Package
2016 Feb 21
2
[PATCH] added ntfscat_i api
Adding ntfscat_i command for downloading files based on their inode number.
This allows the dowload of files unaccessible otherwise from a NTFS guest disk image.
---
daemon/ntfs.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++
generator/actions.ml | 15 +++++++++++++
2 files changed, 77 insertions(+)
diff --git a/daemon/ntfs.c b/daemon/ntfs.c
index 568899e..58f62fa 100644
2024 Oct 13
1
XFS corruption reported by QEMU virtual machine with image hosted on gluster
Hello all! We are experiencing a strange problem with QEMU virtual machines where the virtual machine image is hosted on a gluster volume. Access via fuse. (Our GFAPI attempt failed, it doesn?t seem to work properly with current QEMU/distro/gluster). We have the volume tuned for ?virt?.
So we use qemu-img to create a raw image. You can use sparse or falloc with equal results. We start a virtual
2020 May 21
2
[PATCH] v2v: convert-windows: remove installation reference for prl_strg driver
There is an issue with removal of parallels disk paravirt driver.
Without the patch, the VM being migrated may not boot on the
desination with BSOD: 0x7b.
The patch is a workaround to prevent the BSOD.
Signed-off-by: Denis Plotnikov <dplotnikov@virtuozzo.com>
---
v2v/convert_windows.ml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/v2v/convert_windows.ml b/v2v/convert_windows.ml
2018 Jan 16
0
[PATCH v3 2/3] New APIs: part_set_gpt_attributes and part_get_gpt_attributes
Allow reading and setting the GPT partition attribute flags.
---
daemon/parted.ml | 23 +++++++++++++++++++++++
daemon/parted.mli | 2 ++
generator/actions_core.ml | 37 +++++++++++++++++++++++++++++++++++++
generator/proc_nr.ml | 2 ++
lib/MAX_PROC_NR | 2 +-
5 files changed, 65 insertions(+), 1 deletion(-)
diff --git a/daemon/parted.ml b/daemon/parted.ml
2018 Jan 15
0
[PATCH v2 2/3] New APIs: part_set_gpt_attributes and part_get_gpt_attributes
Allow reading and setting the GPT partition attribute flags.
---
daemon/parted.ml | 23 +++++++++++++++++++++++
daemon/parted.mli | 3 +++
generator/actions_core.ml | 37 +++++++++++++++++++++++++++++++++++++
generator/proc_nr.ml | 2 ++
lib/MAX_PROC_NR | 2 +-
5 files changed, 66 insertions(+), 1 deletion(-)
diff --git a/daemon/parted.ml b/daemon/parted.ml