Displaying 20 results from an estimated 3000 matches similar to: "img file to physical disk"
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
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
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
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
2009 Feb 25
3
HVM Linux DomU doesn''t start
Hi all,
we are running two servers with Ubuntu 8.04 LTS Server with Xen 3.2 and two
dual-core CPUs:
processor : {0-3}
vendor_id : AuthenticAMD
cpu family : 15
model : 65
model name : Dual-Core AMD Opteron(tm) Processor 2218 HE
stepping : 3
cpu MHz : 2613.394
cache size : 1024 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
fpu :
2003 Jun 13
1
jbd count incremented *even* if volume is mounted RO?
Continuing on with my earlier post . . . after looking
through code of JBD, is the following perhaps the
difference in why the md5 values differ;
When a journalled filesystem that uses jbd is mounted
the journal b_count is incremented by one?
*EVEN* if the volume was mounted read only, this
b_count is still increased by one?
curious as ever!
lt
__________________________________
Do you
2006 Aug 21
4
Making DOS/Win9x HD Image for memdisk
Hi list!
I'm trying to make a hd image with can boot from memdisk over PXE.
So this is what i did:
- Created a new VM [VMware]
-Installed DOS on a 100MB HD from a floppy
-bootet Linux over PXE [DamnSmallLinux]
-in terminal: dd if=/dev/hda of=dos.img
This image [dos.img] isn't working! Memdisk loads the Image and boots the
HD! The error message is something like this:
I/O Device
2008 Aug 12
3
Converting full virtualized Linux domUs to use paravirtualized drivers
Hi
Is there any docs, howtos, etc, if i am installed eg. CentOS 5 to as domU
as fully virtualized and now i am wanting to use it PV drivers.
Any help how migration can be done?
Terveisin/Regards,
Pekka Panula, Net Servant Oy - A Sofor company
pekka.panula@sofor.fi
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
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]
2005 Aug 27
1
Samba clients can't see partitions mounted via loop device from image files
Is there something special about filesystems mounted via
the loop device, which prevents Samba from sharing them?
I have a small LAN with several PCs on it. It has a
few Windows machines, and a Linux machine running
Mandrake 10 (kernel 2.6.3), which shares out its root
("/") read-only as "c".
(Temporarily, for testing, it is shared with full write
permissions, which I know
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
2009 Aug 05
2
Unable to start domU because losetup fails
Hi,
I have Xen 3.3.1 dom0 on Debian with 2.6.26-2-xen-amd64 kernel and I had to "xm
destroy" my domU. Now when I try to start it again it fails like this:
# xm list | grep n39
#
# xm create -c /xen/conf/n39
Using config file "/xen/conf/n39".
ROOT xen1:~> Error: Device 4 (vbd) could not be connected. losetup -r /dev/loop1
/xen/iso/amd64-netbsd-6.iso failed
# losetup -a
2011 Jan 22
32
Bug in mkfs.btrfs?!
Hi,
I wanted to create a new btrfs fs for my backups.
When trying to mkfs.btrfs for that device, I''m getting
"error checking /dev/loop2 mount status"
With strace I see where the problem is:
lstat("/dev/disk/by-id/ata-INTEL_SSDSA2M160G2GC_CVPO939201JX160AGN-par",
0x7fffa30b3cf0) = -1 ENOENT (No such file or directory)
The problem is there is something missing
2009 Nov 18
1
To loop or not to loop with btrfs
Hi,
This left me puzzled for a while:
22:29 borg:/ # losetup /dev/loop1 /.B.disk
22:29 borg:/ # mount /dev/loop1 /B
mount: /dev/loop1: can''t read superblock
22:29 borg:/ # blkid /dev/loop1
/dev/loop1: UUID="e19fe89b-cde3-4ccc-bc70-b759a57bd1c9"
UUID_SUB="f29c6218-d040-4546-a227-4dd2d2142817" TYPE="btrfs"
22:29 borg:/ # losetup -d /dev/loop1
22:29 borg:/ #
2011 Apr 09
16
wrong values in "df" and "btrfs filesystem df"
Hallo, linux-btrfs,
First I create an array of 2 disks with
mkfs.btrfs -d raid0 -m raid1 /dev/sdb1 /dev/sdd1
and mount it at /srv/MM.
Then I fill it with about 1,6 TByte.
And then I add /dev/sde1 via
btrfs device add /dev/sde1 /srv/MM
btrfs filesystem balance /srv/MM
(it run about 20 hours)
Then I work on it, copy some new files, delete some old files - all
works well. Only
df
2012 Jun 25
1
how to create bootable FreeDOS HDD or USB flash drive?
Hello,
there is a "fdboot.img" floppy drive image included with FreeDOS ISO
file. It's a floppy image file:
root at debian64:~# file -s /home/martin/FreeDOS/isolinux/fdboot.img
/home/martin/FreeDOS/isolinux/fdboot.img: x86 boot sector, FREE-DOS
BEta 0.9 Bootloader KERNEL.SYS, code offset 0x40, OEM-ID "FreeDOS ",
sectors/cluster 2, root entries 112, sectors 720 (volumes
2008 Dec 26
7
Installing domU from ISO image file
I am trying to install CentOS from an ISO image file but the installer does
not see a CD-ROM drive. The VNC viewer works but the CentOS installer
indicates "Unable 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
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
2007 Dec 19
2
Resizing a Xen DomU disk image
Hello Mailing List!
A quick question. Has anyone gotten a resize (in my case grown) a Xen
DomU disk image?
Here is the procedure I have followed:
1. Install a DomU using virt-install
Customize xvda to be all one partition ext3
2. On Dom0:
dd if=/dev/zero bs=1G count=1 >> <my_disk_image>
ll -h (Image is now 1GB larger)
xm create <DomU>
On DomU:
df -h (Size has not
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 ]