Sponsored Content
Top Forums Shell Programming and Scripting Virtual disk to create and partition Post 302419807 by Guccio on Sunday 9th of May 2010 07:30:29 AM
Old 05-09-2010
dmesg doesn't exist in my version of minix (R3.1.6) Smilie

---------- Post updated at 06:30 AM ---------- Previous update was at 05:18 AM ----------

This is the settings of Qemu launcher. Is it right?

Image

Minix hasn't the command dmesg, How can I find virtual image in /dev/ ? Smilie

Last edited by Guccio; 05-09-2010 at 12:15 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Disk Partition

Hi All, While my LINUX SERVER installed we didnt' used all the space for partitions. with what tool I can create a new partition or mount point to use the free space. I tried the command fdisk and diskdruid. They are not working. Thanks in advance With Best regards, Varma. (2 Replies)
Discussion started by: jarkvarma
2 Replies

2. Solaris

New disk - how to partition?

Have a solaris x86 running solaris 9. Root disk - logical - mirrored. I added 2 more disks today - and I have mirrored them using array configuration utility. I did a reconfiguration boot - and now I can see the logical disk using format: I then partitioned this the way I wanted (I hope)... (4 Replies)
Discussion started by: frustrated1
4 Replies

3. HP-UX

Am I running in a virtual partition

How can I tell if HP-UX 11 is running in a virtual partition from the command line? (1 Reply)
Discussion started by: Midcain
1 Replies

4. Solaris

Disk Partition

I have 3 disks to partition in following file system. c1t1d0 = 72gb /prod1 /prod2 /prod3 /prod4 /prod5 I am first time using "format" command to do this. How can i name with specified size. -Adeel (1 Reply)
Discussion started by: deal732
1 Replies

5. Filesystems, Disks and Memory

Partition disk

Hi, Can I partition disk in use or would I damage the file store on it? Regards Mehrdad (1 Reply)
Discussion started by: mehrdad68
1 Replies

6. Linux

C++ Code to Access Linux Hard Disk Sectors (with a LoopBack Virtual Hard Disk)

Hi all, I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies

7. HP-UX

HP-UX Virtual Partition

Hi guys can someone please advise... are there 2 types of VM used in HP-UX? because i have seen 2 sets of commands the one uses hpvm* (hpvmstatus) then the other it starts with v* (vparstatus) (2 Replies)
Discussion started by: sbn
2 Replies

8. Red Hat

How to partition your disk?

Hello, I am a new member of the forum. I need an idea on how to partition the disk. My situation is as follows: I have two 3TB disks ognuno.In 6TB total then, but I have to do to force a RAID 1 so my space will be 3TB. I'll have to force install RedHat 5.8 and liquids is to be taken in... (4 Replies)
Discussion started by: Joaquin
4 Replies

9. Solaris

Solaris 10 virtual disk (ramdisk) create for sun4v (T-2000 simulator) architecture

have been trying to create a 2 GB ramdisk (virtual) to run on my T-2000 simulator (Legion) which has sun4v architecture. I have a SPARC workstation which runs on sun4u architecture with Solaris 10. I have created a ramdisk image using dd command, newfs, then used ufsrestore to restore the... (3 Replies)
Discussion started by: Zam_1234
3 Replies

10. Red Hat

Shrink LVM partition & create new Linux Primary partition

Hello All, I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows, /boot - Linux Partition & another is LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc). Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 Replies
virt-format(1)						      Virtualization Support						    virt-format(1)

NAME
virt-format - Erase and make a blank disk SYNOPSIS
virt-format [--options] -a disk.img [-a disk.img ...] DESCRIPTION
Virt-format takes an existing disk file (or it can be a host partition, LV etc), erases all data on it, and formats it as a blank disk. It can optionally create partition tables, empty filesystems, logical volumes and more. To create a disk containing data, you may be better to use virt-make-fs(1). If you are creating a blank disk to use in guestfish(1), you should instead use the guestfish -N option. Normal usage would be something like this: virt-format -a disk.qcow or this: virt-format -a /dev/VG/LV "disk.qcow" or "/dev/VG/LV" must exist already. Any data on these disks will be erased by these commands. These commands will create a single empty partition covering the whole disk, with no filesystem inside it. Additional parameters can be used to control the creation of partitions, filesystems, etc. The most commonly used options are: --filesystem=[ext3|ntfs|vfat|...] Create an empty filesystem ("ext3", "ntfs" etc) inside the partition. --lvm[=/dev/VG/LV] Create a Linux LVM2 logical volume on the disk. When used with --filesystem, the filesystem is created inside the LV. For more information about these and other options, see "OPTIONS" below. The format of the disk is normally auto-detected, but you can also force it by using the --format option (q.v.). In situations where you do not trust the existing content of the disk, then it is advisable to use this option to avoid possible exploits. OPTIONS
--help Display brief help. -a file --add file Add file, a disk image, host partition, LV, external USB disk, etc. The format of the disk image is auto-detected. To override this and force a particular format use the --format=.. option. Any existing data on the disk is erased. --filesystem=ext3|ntfs|vfat|... Create an empty filesystem of the specified type. Many filesystem types are supported by libguestfs. --filesystem=none Create no filesystem. This is the default. --format=raw|qcow2|.. --format The default for the -a option is to auto-detect the format of the disk image. Using this forces the disk format for -a options which follow on the command line. Using --format with no argument switches back to auto-detection for subsequent -a options. For example: virt-format --format=raw -a disk.img forces raw format (no auto-detection) for "disk.img". virt-format --format=raw -a disk.img --format -a another.img forces raw format (no auto-detection) for "disk.img" and reverts to auto-detection for "another.img". If you have untrusted raw-format guest disk images, you should use this option to specify the disk format. This avoids a possible security problem with malicious guests (CVE-2010-3851). --lvm=/dev/VG/LV Create a Linux LVM2 logical volume called "/dev/VG/LV". You can change the name of the volume group and logical volume. --lvm Create a Linux LVM2 logical volume with the default name ("/dev/VG/LV"). --lvm=none Create no logical volume. This is the default. --partition Create either an MBR or GPT partition covering the whole disk. MBR is chosen if the disk size is < 2 TB, GPT if >= 2 TB. This is the default. --partition=gpt Create a GPT partition. --partition=mbr Create an MBR partition. --partition=none Create no partition table. Note that Windows may not be able to see these disks. -v --verbose Enable verbose messages for debugging. -V --version Display version number and exit. --wipe Normally virt-format does not wipe data from the disk (because that takes a long time). Thus if there is data on the disk, it is only hidden and partially overwritten by virt-format, and it might be recovered by disk editing tools. If you use this option, virt-format writes zeroes over the whole disk so that previous data is not recoverable. -x Enable tracing of libguestfs API calls. EXIT STATUS
This program returns 0 on success, or 1 on failure. SEE ALSO
guestfs(3), guestfish(1), virt-filesystems(1), virt-make-fs(1), virt-rescue(1), virt-resize(1), <http://libguestfs.org/>. AUTHOR
Richard W.M. Jones <http://people.redhat.com/~rjones/> COPYRIGHT
Copyright (C) 2012 Red Hat Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. libguestfs-1.18.1 2013-12-07 virt-format(1)
All times are GMT -4. The time now is 10:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy