search for: loop0

Displaying 20 results from an estimated 224 matches for "loop0".

Did you mean: loop
2012 Nov 04
1
syslinux installation problem
...e 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 following procedure (guest OS is not running): 1. losetup -f --show /tmp/guest_os.img #map guest OS image to, e.g., /dev/loop0. So, "file -s /dev/loop0" shows: "/dev/loop0: x86 boot sector; partition 1: ID=0x83, starthead 32, startsector 2048, 2095104 sectors, extended partition table (last)\011, code offset 0x0" 2. losetup -f --show -o 1048576 /dev/loop0 #map partition with ext4 to, e.g., /dev/...
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]
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 =...
2011 Mar 06
10
grub commands problem with Ubuntu 10.04
Following is one grub entry menuentry "Ubuntu, Linux 2.6.32.27" { insmod ntfs set root=''(hd0,2)'' search --no-floppy --fs-uuid --set 96f65c80f65c6313 loopback loop0 /ubuntu/disks/root.disk set root=(loop0) linux /boot/vmlinuz-2.6.32.27 root=/dev/sda2 loop=/ubuntu/disks/root.disk ro quiet splash initrd /boot/initrd.img-2.6.32.27 } the above boots into a pv-dom0 kernel but when I try following which has Xen also menuentry "Xen L...
2009 Nov 19
10
Unable to mount loopback devices in RAID mode
...esystem 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 btrfs /dev/loop0 /mnt/btrfs mount: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so $ dmesg...
2009 Feb 24
0
why no /dev/loop0 in install chroot system?
Hi, just out of curiosity: Within a kickstart postinstall script, I tried to do a loop mount, which failed. It turns out that there is no /dev/loop0 (no /dev/loop<x>). After creating it with mknod /dev/loop0 b 7 0 everything works fine. Now this script executes in the chroot system. This is the system on the hd. A plain chroot system should not have any /dev or /proc mounted. But actually, it does: + cat /proc/mounts rootfs / rootfs rw...
2011 Jul 22
1
Make WINE detect an image as a CD drive with an audio disc
...ormally connect, but can for a once-off install. This is one of those weird multi-track CDs where the first track is data and the remaining tracks are normal CD audio... and I want audio in my game. So I ripped the whole image to bin format using AcetoneISO, and can mount that on the loopback (/dev/loop0) fine. Code: fdisk -l /dev/loop0 reports the expected size (658Mb) so I don't think there's any issue with the way the image was ripped or looped. So I've got: Code: $ sudo losetup /dev/loop0 dark_reign.bin $ sudo mount /dev/loop0 /media/loop0 and I configured d: device in winec...
2004 Oct 12
3
Problem with VBD
...quot;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 aa:00:00:2f:d4:fb))) ) That''s how I create the domain. The domain starts, and this is the console output before kernel panic: <snip> Xen virtual console successfully installed as tty Event-channel device installed. [XEN] Initialising vi...
2009 Jul 11
1
[PATCH node] fix mount_live again
...) 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 ] && losetup /dev/loop0|grep -q '\.iso'; then - # PXE boot - live_dev=/dev/loop0 - else - return 1 + if [ ! -e $live_dev ] + if losetup /dev/loop0|grep -q '\.iso'; then + # PXE boot + live_dev=/dev/loop0 + else + return 1 + fi...
2007 Mar 26
1
Backing Up A Xen Guest
...nes, where each guest filesystem resides on regular (Xen-host) real filesystem. But there's no way we've been able to make it work for CentOS 5 Beta guests on CentOS 5 Beta Xen hosts, where each guest disk resides in a file. The strategy goes something like: * losetup -o 32256 /dev/loop0 /XenGuests/Guest1 * mkfs -t ext3 /dev/loop0 * mount -t ext3 /dev/loop0 /mnt * cd /mnt && tar xjpf /tmp/Guest1.tbz * for i in console null zero; do /sbin/MAKEDEV -d /mnt -x $i; done * cd /tmp; umount /srv/vm1; losetup -d /dev/loop0 * xm create -c Guest1 A...
2008 Nov 01
2
Patching your own boot-disk from first principles
...'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 tablei within stage1 ]; %!xxd -r; 4. cat /grub/stage1 /grub/fat_stage1_5 > /dev/loop0 [ Puts the GRUB boot loader into the MBR of the image and stage1_5 after that ] 5. fdisk /dev/loop0 [ I use th...
2005 Sep 20
4
standalone bootable usb-stick
...erz - 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 http://linux-boot.net/Bootable/Patches.X11/ http://linux-boot.net/Bootable/Patches.KDE/ ( i created this mess because i do not want to use busybox ) - there's nothing odd about initrd.gz, rootfs.gz, x11 and kde...
2008 Dec 26
7
Installing domU from ISO image file
...e to find any devices of the type needed for this installation type." Then it prompts with "[Select driver] [Use a driver disk] [Back]". I have tried several variations of the "disk" paramater, all with the same results. I also used losetup to attach the imate to /dev/loop0 and tried the commented out "disk" parameters with the same results. xen is 3.3 OS is Ubuntu 8.04 1 name = "cos52" 2 memory = 128 3 4 disk = [ ''file:/etc/xen/iso/COS52.iso,ioemu:hdc:cdrom,r'', ''phy:/dev/vg00/elastix,xvda1,w'' ] 5 #...
2013 Aug 19
11
[RFC PATCH] Btrfs: fix memory leak of orphan block rsv
...ut acquiring the orphan_lock first (confront with btrfs_orphan_commit_root(), which acquires the lock before getting and setting the root''s orphan_block_rsv). This issue is simple to reproduce and observe if kmemleak is enabled. Two simple ways to reproduce it: ** 1 $ mkfs.btrfs -f /dev/loop0 $ mount /dev/loop0 /mnt/btrfs $ btrfs balance start /mnt/btrfs $ umount /mnt/btrfs ** 2 $ mkfs.btrfs -f /dev/loop0 $ mount /dev/loop0 /mnt/btrfs $ touch /mnt/btrfs/foobar $ rm -f /mnt/btrfs/foobar $ umount /mnt/btrfs After a while, kmemleak reports the leak: $ cat /sys/kernel/debug/kmemleak unr...
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 here, the error prompt says that the /dev/loop0p1 doesn't exist! ls /dev/loop0p*? ## no entries Please shed a light here, I'm ru...
2019 Jul 04
3
[PATCH] v2v: Allow Windows virtio ISO to be a block device as well as a regular file.
Thanks: Steven Rosenberg --- v2v/windows_virtio.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2v/windows_virtio.ml b/v2v/windows_virtio.ml index 59b0bf493..56c7a6757 100644 --- a/v2v/windows_virtio.ml +++ b/v2v/windows_virtio.ml @@ -338,7 +338,7 @@ and copy_from_virtio_win g inspect srcdir destdir filter missing = ) paths ) ) - else if is_regular_file
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
2010 Jun 29
2
[LLVMdev] Confuse on getSCEVAtScope
hi all, i have SCEVAddRec {{(32 + @edge.8265),+,32}<Loop0>,+,4}<Loop1> where Loop0 and Loop1 are brothers (loops at the same level of the loopnest), and Loop0 have a computable backedge taken count. when i call getSCEVAtScope({{(32 + @edge.8265),+,32}<Loop0>,+,4}<Loop1> , Loop1), it just give me a {{(32 + @edge.8265),+,32}<Loop0...
2002 Mar 23
1
bad i_blocks count when FS full
I tried it on loop. 1. mount /dev/loop0 /mnt/test -t ext3 2. cp files to 100% full 3. umount /mnt/test 4. fsck.ext3 -f /dev/loop0 Inode xxxxx, i_blocks is xxx, should be yyy. Fix?
2008 Jun 04
3
SBS 2008 install finds no disks
...06-sbs2008" memory = 4096 vcpus = 1 builder = "hvm" kernel = "/usr/lib/xen/boot/hvmloader" boot = "d" device_model = "/usr/lib64/xen/bin/qemu-dm" vfb = [ "type=vnc,vncunused=1" ] disk = [ "phy:/dev/sdd,hda,w" ] disk = [ "phy:/dev/loop0,hdc:cdrom,r" ] vif = [ "mac=00:16:3E:EE:16:2F,bridge=xenbr0" ] rtc_timeoffset=36000 # AEST #rtc_timeoffset=39600 # AEDST usb = 1 usbdevice = "tablet" _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xe...