search for: loop0p1

Displaying 18 results from an estimated 18 matches for "loop0p1".

2003 Jul 02
6
help: booting dos from syslinux/memdisk
Thanks for Remko for his help to solve the fractional cylinder problem. But there is the second problem, the boot disk failure (see below << [B]) ... command line: initrd=disk.img harddisk c=2 h=256 s=63 BOOT_IMAGE=memdisk Disk is hard disk, 16128K CHS=2/256/63 <<<< [A] ... Loading boot sector... booting... SYSLINUX 2.04 welcome! boot: 1 [single dot]
2013 May 24
1
Failed to create /dev/loop0p* entries for partitions inside loopback devices
...y 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 here, the error prompt says that the /dev/loop0p1 doesn't exist! ls /dev/loop0p*? ## no entries Please shed a light here, I'm running centos 6.4 Thanks. Robert
2015 Oct 20
2
Extlinux with guestfish
...is how I create the virtual machines:* lvcreate -n vm_name -L 9G vm_volumes parted /dev/vm_volumes/vm_name mklabel msdos parted -a optimal /dev/vm_volumes/vm_name mkpart primary ext4 0% 100% parted /dev/vm_volumes/vm_name set 1 boot on kpartx -av /dev/vm_volumes/vm_name mkfs.ext4 /dev/mapper/loop0p1 mount /dev/mapper/loop0p1 /mnt/clone tar -zxf /root/centos7_template.tar.gz -C /mnt/clone/ umount /mnt/clone kpartx -dv /dev/vm_volumes/vm_name /root/libguestfs-1.30.3/run guestfish -i -a /dev/vm_volumes/{vm_name} << _EOF_ \n\ #####mbr.bin and syslinux already existant in centos7_templa...
2014 Feb 06
3
Possible to speed up guestmount?
Hi, Apparently, guestmount -o allow_other -a "/path/to/raw_file" -m /dev/sda1 "/path/to/mountfolder" is much slower than kpartx -av "/path/to/raw_file" mount /dev/mapper/loop0p1 /path/to/mountfolder (Doing lots of read/write inside the image.) I thought guestmount "only" scripts the above. Seems I was wrong on that. I am currently using libguestfs 1.18.1-1 (because it comes with Debian wheezy/stable) and read the FAQ [1] [2], but still have questions. Seems m...
2015 Oct 20
0
Re: Extlinux with guestfish
...lvcreate -n vm_name -L 9G vm_volumes > > parted /dev/vm_volumes/vm_name mklabel msdos > parted -a optimal /dev/vm_volumes/vm_name mkpart primary ext4 0% 100% > parted /dev/vm_volumes/vm_name set 1 boot on > > kpartx -av /dev/vm_volumes/vm_name > > mkfs.ext4 /dev/mapper/loop0p1 > > mount /dev/mapper/loop0p1 /mnt/clone > > tar -zxf /root/centos7_template.tar.gz -C /mnt/clone/ > > umount /mnt/clone > kpartx -dv /dev/vm_volumes/vm_name Strange way to do this, as libguestfs can do all this. > /root/libguestfs-1.30.3/run guestfish -i -a /dev/vm_vol...
2004 Jan 26
0
[ANNOUCE] kpartx-0.0.2
...oop device (like the mount cmd), and map devmaps from here. Example : here, /tmp/test is a dump of an USB key root@zezette../kpartx-0.0.2$ ./kpartx -a -v /tmp/test last_lba(): I don't know how to handle files with mode 81a4 gpt: 0 slices dos: 6 slices reduced size of partition #2 to 32 Added loop0p1 : 0 15968 /dev/loop0 32 Added loop0p2 : 0 32 /dev/loop0 16000 Added loop0p5 : 0 6432 /dev/loop0 16032 Added loop0p6 : 0 9504 /dev/loop0 22496 root@zezette../kpartx-0.0.2$ ./kpartx -d -v /tmp/test last_lba(): I don't know how to handle files with mode 81a4 gpt: 0 slices dos: 6 slices loop found...
2016 Oct 02
2
mount: unknown filesystem type 'exfat'
Hello, Can anyone please tell me whether guestfish can mount exFAT partitions? I created a full disk image of a drive which contained a single exFAT partition. Was able to mount it with kpartx/FUSE: # kpartx -a -v disk.img add map loop0p1 (252:2): 0 39070078 linear 7:0 2 # mount /dev/mapper/loop0p1 /mnt -o ro FUSE exfat 1.2.3 # ls /mnt foo bar baz etc but not guestfish: $ sudo apt install libguestfs-tools $ guestfish --version guestfish 1.32.2 $ guestfish -a disk.img ... ><fs> run ... ><fs> list-filesystems /...
2012 Mar 31
4
Suggestions on building VM disks from scratch
This may not be the best forum to ask, but it does seem to be one where it is as likely as anywhere that someone will have dealt with a similar problem. I need to define a procedure for last resort disaster recovery from an incremental file level backup of the root partition (and any others that are critical.) Now it is easy enough to create a raw virtual disk with dd, then to losetup and do a
2012 Mar 31
4
Suggestions on building VM disks from scratch
This may not be the best forum to ask, but it does seem to be one where it is as likely as anywhere that someone will have dealt with a similar problem. I need to define a procedure for last resort disaster recovery from an incremental file level backup of the root partition (and any others that are critical.) Now it is easy enough to create a raw virtual disk with dd, then to losetup and do a
2008 Sep 29
3
LVM related bug in the GPL PV drivers for Windows?
...9155 (/home/vw-storman2.bin) carrier3:~ # fdisk -l /dev/loop0 Disk /dev/loop0: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x95f9a265 Device Boot Start End Blocks Id System /dev/loop0p1 * 1 2609 20956761 7 HPFS/NTFS carrier3:~ # It seems to me the same as formerly. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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 # # create filesystem inside image file # dd if=/dev/zero of=fs.img bs=512 count=1028097 mkfs.ext3 -F fs.img...
2014 Feb 06
0
Re: Possible to speed up guestmount?
...00, Patrick Schleizer wrote: > Hi, > > Apparently, > > guestmount -o allow_other -a "/path/to/raw_file" -m /dev/sda1 > "/path/to/mountfolder" > > is much slower than > > kpartx -av "/path/to/raw_file" > mount /dev/mapper/loop0p1 /path/to/mountfolder > > (Doing lots of read/write inside the image.) For general performance tips, see this page (I think you've seen it already): http://libguestfs.org/guestfs-performance.1.html > I thought guestmount "only" scripts the above. Seems I was wrong on that....
2009 Aug 20
3
No swap on domU
Hi guys. DomU config disk = [ ''phy:/dev/xen00/debian5-base,sda1,w'', ''phy:/dev/xen00/debian5-swap,sda2,w'', ] ----------------------- mkswap /dev/xen00/debian5-swap But in domU in booting: Activating swap...failed. What wrong? -- Best Regards, alex.faq8@gmail.com
2006 Aug 23
2
question on mounting a partition that is in a disk image
How do I mount a partition that is in an image file? I have a file called centos.img that has 3 partitions in the file. I need to copy data to the third partition on that image file. I have seen things about a loop back device (which is fine) but then it talked about an offset parameter and I dont know what that is or more importantly what number to use. I hope I'm on the right track. How
2011 Jan 12
1
Centos 5.5 KVM GRUB / Virtio issue
I have a virtual machine that had been running fine using a RAW disk image (IDE). I am in the process of converting this virtual machine to use a single LVM and virtio. (For LVM backup snapshots and easy resizing purposes (no LVM within the guest)) I create the LVM and copied all the files from the existing RAW image to an ext3 under the LVM. However, I cannot get it to boot. It has to do
2009 Jan 15
8
Can you convert Windows LVM domU to sparse img file?
I have a Windows 2000 domU running in an LVM partition. I need to move it to another host, but none of my other xen servers have lvm or free space to create an lvm. So I''d like to convert it to a sparse img file. The file system in the domU is ntfs. Can anyone suggest how to do this? Thanks, James _______________________________________________ Xen-users mailing list
2008 Apr 07
6
img file to physical disk
Hi all. I''ve got a domU that exists in a sparse file image, I''d like to now use this on a physical partition (loopback performance issues). Is there an a easy way to do this ? Thanks Stuart _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2006 Jun 05
3
How to configure two NICs on a DomU?
...m1/hda 2. Look at geometric information on /dev/loop0. # fdisk -l -u /dev/loop0 Disk /dev/hda: 30.7 GB, 30738677760 bytes 255 heads, 63 sectors/track, 3737 cylinders, total 60036480 sectors Units = sectors of 1 * 512 = 512 bytes Device Boot Start End Blocks Id System /dev/loop0p1 63 208844 104391 83 Linux /dev/loop0p2 208845 60034904 29913030 83 Linux 3. Calculate the offset. offset = Start x Unit size # offset=((63*512)) 4. Mapping hda1 in /dev/loop0 # losetup -o $offset /dev/loop1 /dev/loop1 5. Mount /dev/loop1 to /mnt/vm1_hda1 # m...