similar to: Mapping partitions rather than disks into a Libvirt managed KVM guest

Displaying 20 results from an estimated 10000 matches similar to: "Mapping partitions rather than disks into a Libvirt managed KVM guest"

2013 May 24
1
Failed to create /dev/loop0p* entries for partitions inside loopback devices
centos 6 failed to create entries under /dev for newly created loopback devices. Any one know why? and how to fix/workaround it? The steps to duplicate is pretty simple dd if=/dev/zero of=/tmp/deleteme bs=1M count=100 losetup /dev/loop0 /tmp/deleteme fdisk /dev/loop0?? ## created partitions 1, 2, etc. fdisk -l /dev/loop0? ## confirmed that the partitions do exist mkfs.ext3 /dev/loop0p1 ## failed
2003 Oct 07
3
Boot Failed: please change disks...
I had to create a single floppy image holding the kernel and initrd of SuSe8.0 distibution. When I boot the computer, it first loads the kernel, and starts loading the initrd. After a short while it halts saying ?Boot Failed: please change disks and press a key to continue.? The floppy image is served by a PXE server, so I am not sure if the problem I am facing has anything to do with ?bad
2012 Nov 04
1
syslinux installation problem
Hey, guys. I have a problem when installing syslinux 4.06, and I'd be grateful if someone could tell me how to solve the problem. My task - to install the bootloader on the virtual machine image. The image contains the MBR and the only partition with the file system ext4. The file system contains all the files for the guest OS. To install bootloader into the image of the guest OS, I use the
2018 May 15
0
[PATCH libldm v2 1/1] Fix crash while creating mapper for a volume which lacks of partitions.
How to reproduce: 1. Extract test images from test/data/ldm-data.tar.xz 2. losetup --show -f test/data/ldm-2003r2-simple-1.img Let's assume image file was associated with /dev/loop0 3. ldmtool -d /dev/loop0 create all Result: One LDM volume which contains all required components on the associated loop device will be mapped but application crashes on further attempt to do the same for
2009 Jul 11
1
[PATCH node] fix mount_live again
fixes install from ISO --- scripts/ovirt-functions | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/scripts/ovirt-functions b/scripts/ovirt-functions index e01ee0e..3f55656 100644 --- a/scripts/ovirt-functions +++ b/scripts/ovirt-functions @@ -249,11 +249,13 @@ mount_live() { return 0 fi local live_dev=/dev/live - if [ ! -e $live_dev ]
2007 Mar 26
1
Backing Up A Xen Guest
Here's the problem. We perform full tar backups of our CentOS 4/5 machines in real-time at regular intervals. And when a disaster happens, we are able to restore those backups onto virgin filesystems, make the /dev/null, /dev/zero and /dev/console devices .. and boot the machine. This has worked well on standalone systems, and also on Xen 3.0.3 guests on CentOS 4.4 machines, where each guest
2008 Nov 01
2
Patching your own boot-disk from first principles
Hi, I'm trying to build a bootable MSDOS disk and put it on a ISO with floppy and hard disk emulation. I want to use commonly available Linux tools like dd, losetup, mkdosfs, memdisk etc. I have done the following: 1. dd if=/dev/zero of=myImage bs=1M count=50 [ Builds a 52MB image ] 2. losetup /dev/loop0 myImage [Links /dev/loop0 to myImage file ] 3. vi /grub/stage1; %!xxd; [ NULL the partion
2013 Jun 12
0
Mounting RAID1 writeable with two devices missing but all data present
Hi, I have potentially found a (minor) bug (or missing feature) in btrfs, but it might be a misunderstanding, so I like to ask here first before reporting in Bugzilla. I have a btrfs file system in RAID1 mode with two missing devices, but I know that all data is still present on the remaining device. btrfs refuses mounting this fs in rw mode (too many missing devices), as it probably just counts
2020 Nov 15
5
(C8) root on mdraid
Hello everyone. I'm trying to install CentOS 8 with root and swap partitions on software raid. The plan is: - create md0 raid level 1 with 2 hard drives: /dev/sda and /dev/sdb, using Linux Rscue CD, - install CentOS 8 with Virtual Box on my laptop, - rsync CentOS 8 root partition on /dev/md0p1, - chroot in CentOS 8 root partition, - configure /etc/mdadm.conf, grub.cfg, initramfs, install
2007 Jun 17
0
micro HOWTO build an HVM able image in one file
# # create image file # dd if=/dev/zero of=hd.img bs=8225280 count=64 losetup /dev/loop0 hd.img fdisk /dev/loop0 Device Boot Start End Blocks Id System /dev/loop0p1 * 63 1028159 514048+ 83 Linux # start sector = 63 # end sector = 1028159 # delta sectors = 1028159 - 63 + 1 = 1028097
2019 Jan 30
0
C7, mdadm issues
> On 01/30/19 03:45, Alessandro Baggi wrote: >> Il 29/01/19 20:42, mark ha scritto: >>> Alessandro Baggi wrote: >>>> Il 29/01/19 18:47, mark ha scritto: >>>>> Alessandro Baggi wrote: >>>>>> Il 29/01/19 15:03, mark ha scritto: >>>>>> >>>>>>> I've no idea what happened, but the box I was working
2008 Jan 22
1
Resize a VM disk image
Hi guys, I have Xen 3.0.3 installed with yum on Centos 5.1. I''am facing an issue trying to resize the disk image of a centos 4.5 VM. The VM disk size is 50Go and i need to add 150Go. I tried two methods so far : -------------1st method----------------------- dd if=/dev/zero of=<image file> bs=1M conv=notrunc count=1 seek=2500 * losetup /dev/loop0 <image file> * e2fsck -f
2005 Sep 20
4
standalone bootable usb-stick
hi ya syslinuxerz - i've been slowly working on a making a custom bootable standalone usb-stick with X11 and kde - it's basically builds itself off of a slackware-10.1 server - create a custom initrd.gz ( /dev/ram0 ) http://linux-boot.net/Bootable/InitRD/ - create a custom rootfs.gz ( /dev/loop0 ) http://linux-boot.net/Bootable/RootFS/ - create X11 and kde loopfiles
2011 Jul 22
1
Make WINE detect an image as a CD drive with an audio disc
I've been trying to figure this one out for some time now without success and can't find anyone else with this exact problem, so hopefully there's a guru around here that might be able to point me in the right direction. I've got a copy of Dark Reign I want to play on my netbook. The problem is that I only have a USB CD drive which I don't normally connect, but can for a
2008 Oct 03
2
OCFS2 with Loop device
hi there i try to setup OCFS2 with loop device /dev/loop0 i've 4 servers running SLES10 SP2. internal ip's: 192.168.55.1, .2, .3 and .6 my cluster.conf: -------------------------------------------- node: ip_port = 7777 ip_address = 192.168.55.1 number = 0 name = www cluster = cawww node: ip_port = 7777 ip_address = 192.168.55.2
2009 Nov 19
10
Unable to mount loopback devices in RAID mode
Hi! I recently tried to mount a filesystem in RAID1 mode using loopback devices. I followed the instructions at [1]. Here''s exactly what I''ve done: $ dd if=/dev/zero of=raid1_0.img bs=1M count=500 $ dd if=/dev/zero of=raid1_1.img bs=1M count=500 $ mkfs.btrfs -m raid1 -d raid1 raid1_0.img raid1_1.img $ losetup /dev/loop0 raid1_0.img $ losetup /dev/loop1 raid1_1.img $ mount -t
2016 Mar 26
2
Follow up to adding EFI boot?
Have been trying some things, but something isn't working at least with using Virtual Box with EFI option. With it off, the cd boots as normal, and works, but with EFI on, it has an error that flashes on screen, and then it drops to a shell prompt. I'm hoping it is just a dumb mistake I am making, and can be resolved. Perhaps I've named the directories incorrectly, or there is a
2004 Oct 12
3
Problem with VBD
Hi! $ xm create -n -f xmtest Using config file "xmtest". (vm (name testdomain) (memory 128) (image (linux (kernel /boot/vmlinuz-2.6.8-foo1-XenU) (ip :1.2.3.4:::tesmo:eth0:dhcp) (root ''/dev/xda1 ro'') (args 1) ) ) (device (vbd (uname phy:loop0) (dev xda1) (mode w))) (device (vif (mac
2019 Jan 31
0
C7, mdadm issues
> Il 30/01/19 16:49, Simon Matter ha scritto: >>> On 01/30/19 03:45, Alessandro Baggi wrote: >>>> Il 29/01/19 20:42, mark ha scritto: >>>>> Alessandro Baggi wrote: >>>>>> Il 29/01/19 18:47, mark ha scritto: >>>>>>> Alessandro Baggi wrote: >>>>>>>> Il 29/01/19 15:03, mark ha scritto:
2008 May 29
2
Attempt of virt-install at Ubuntu 8.04 Desktop Dom0
Original Dom0 setup had been done per Todd Deshane''s instruction:- http://deshantm.livejournal.com/29959.html Functionality of SNV89 PV and HVM DomUs tested fine as well as F8 and WinXP HVM guests. Once again, all done as advised at http://deshantm.livejournal.com/29959.html Next i attempted to follow :- https://help.ubuntu.com/8.04/serverguide/C/libvirt.html #