10 More Discussions You Might Find Interesting
1. AIX
i've installed vios 2.2 on blade PS700
there are 2 disk, hdisk0 dan hdisk1 and i want to mirror it
but blv (boot logic volume) does not appear on hdisk1 (bootlist -mode normal -ls) only on hdisk0
i've already did command (bootlist -mode normal hdisk0 hdisk1"
does anyone know the command to... (1 Reply)
Discussion started by: jpmei
1 Replies
2. Hardware
I have a 320 GB drive which dual boots Windows and Debian:
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal):... (0 Replies)
Discussion started by: phillipsoasis
0 Replies
3. Shell Programming and Scripting
Hello,
I have a file like this:
FILE.TXT:
(define argc :: int)
(assert ( > argc 1))
(assert ( = argc 1))
<check>
#
(define c :: float)
(assert ( > c 0))
(assert ( = c 0))
<check>
#
now, i want to separate each block('#' is the delimeter), make them separate files, and then send them as... (5 Replies)
Discussion started by: paramad
5 Replies
4. UNIX for Dummies Questions & Answers
I'm Unix. I'm looking at "df" on Unix now and below is an example. It's lists the filesystems out in 512-blocks, I need this in 4k blocks. Is there a way to do this in Unix or do I manually convert and how?
So for container 1 there is 7,340,032 in size in 512-blocks. What would the 4k block be... (2 Replies)
Discussion started by: rockycj
2 Replies
5. UNIX for Advanced & Expert Users
Hi,
I want to have one binary image that contains both my boot loader as well as the OS(linux) image at pre defined offsets which i can use to program flash . Can anyone help in this direction?
Regards
Subrata (0 Replies)
Discussion started by: subratasaharia
0 Replies
6. Filesystems, Disks and Memory
Hello All,
I backed up my RHEL 4 as an image.
Then I restored the image on my machine. Everything went fine but I dont get the normal boot sequence as it used to come when I freshly installed RHEL4.
The messages that are shown when the system boots are something like-
" .....
EXT3-fs:... (2 Replies)
Discussion started by: shamik
2 Replies
7. Red Hat
I'm running redhat linux: 2.6.18-128.1.6.el5xen #1 SMP Tue Mar 24 12:28:27 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux as my Dom0.
I have several other DomU's running on this system, but for this test I've shut them down.
I'm attempting to boot winXP from an image.
Here is my config file:
#... (3 Replies)
Discussion started by: willjw1
3 Replies
8. AIX
hi all
i just found one of my p650 server showing a warning message when i
tried to run bosboot command after upgrading TL to AIX 530803.
i also tried to run chpv -c hdisk0 and chpv -c hdisk1 to clear out the
old boot info in hdisk0 and hdisk1 and rerun bosboot -a. it still
showed... (0 Replies)
Discussion started by: rs6000er
0 Replies
9. AIX
hello
i saved my system this morning, mksysb tape, and i have the message: "boot.image exceeded the size....." i have not the end because the message is disappeared.
where can i find the mksysb message in a log ?
the message is scary ?
thank you (6 Replies)
Discussion started by: pascalbout
6 Replies
10. Filesystems, Disks and Memory
Where can I find the boot floppy disk image file(*.vfd)of SCO UNIX 5.0.5?:confused: (1 Reply)
Discussion started by: whiteknight
1 Replies
MAKEFS(8) BSD System Manager's Manual MAKEFS(8)
NAME
makefs -- create a file system image from a directory tree or a mtree manifest
SYNOPSIS
makefs [-DxZ] [-B byte-order] [-b free-blocks] [-d debug-mask] [-F specfile] [-f free-files] [-M minimum-size] [-m maximum-size]
[-N userdb-dir] [-o fs-options] [-S sector-size] [-s image-size] [-t fs-type] image-file directory | manifest [extra-directory ...]
DESCRIPTION
The utility makefs creates a file system image into image-file from the directory tree directory or from the mtree manifest manifest. If
optional directory tree extra-directory is passed, then the directory tree of each argument will be merged into the directory or manifest
first before creating image-file. No special devices or privileges are required to perform this task.
The options are as follows:
-B byte-order
Set the byte order of the image to byte-order. Valid byte orders are '4321', 'big', or 'be' for big endian, and '1234', 'little', or
'le' for little endian. Some file systems may have a fixed byte order; in those cases this argument will be ignored.
-b free-blocks
Ensure that a minimum of free-blocks free blocks exist in the image. An optional '%' suffix may be provided to indicate that
free-blocks indicates a percentage of the calculated image size.
-D Treat duplicate paths in an mtree manifest as warnings not error.
-d debug-mask
Enable various levels of debugging, depending upon which bits are set in debug-mask. XXX: document these
-F specfile
Use specfile as an mtree(8) 'specfile' specification. This option has no effect when the image is created from a mtree manifest rather
than a directory.
If a specfile entry exists in the underlying file system, its permissions and modification time will be used unless specifically over-
ridden by the specfile. An error will be raised if the type of entry in the specfile conflicts with that of an existing entry.
In the opposite case (where a specfile entry does not have an entry in the underlying file system) the following occurs: If the spec-
file entry is marked optional, the specfile entry is ignored. Otherwise, the entry will be created in the image, and it is necessary
to specify at least the following parameters in the specfile: type, mode, gname, or gid, and uname or uid, and link (in the case of
symbolic links). If time isn't provided, the current time will be used. If flags isn't provided, the current file flags will be used.
Missing regular file entries will be created as zero-length files.
-f free-files
Ensure that a minimum of free-files free files (inodes) exist in the image. An optional '%' suffix may be provided to indicate that
free-files indicates a percentage of the calculated image size.
-M minimum-size
Set the minimum size of the file system image to minimum-size.
-m maximum-size
Set the maximum size of the file system image to maximum-size. An error will be raised if the target file system needs to be larger
than this to accommodate the provided directory tree.
-N dbdir
Use the user database text file master.passwd and group database text file group from dbdir, rather than using the results from the
system's getpwnam(3) and getgrnam(3) (and related) library calls.
-o fs-options
Set file system specific options. fs-options is a comma separated list of options. Valid file system specific options are detailed
below.
-p Deprecated. See the -Z flag.
-S sector-size
Set the file system sector size to sector-size. Defaults to 512.
-s image-size
Set the size of the file system image to image-size.
-t fs-type
Create an fs-type file system image. The following file system types are supported:
ffs BSD fast file system (default).
cd9660 ISO 9660 file system.
-x Exclude file system nodes not explicitly listed in the specfile.
-Z Create the image as a sparse file.
Where sizes are specified, a decimal number of bytes is expected. Two or more numbers may be separated by an ``x'' to indicate a product.
Each number may have one of the following optional suffixes:
b Block; multiply by 512
k Kibi; multiply by 1024 (1 KiB)
m Mebi; multiply by 1048576 (1 MiB)
g Gibi; multiply by 1073741824 (1 GiB)
t Tebi; multiply by 1099511627776 (1 TiB)
w Word; multiply by the number of bytes in an integer
FFS-specific options
ffs images have ffs-specific optional parameters that may be provided. Each of the options consists of a keyword, an equal sign ('='), and a
value. The following keywords are supported:
avgfilesize Expected average file size.
avgfpdir Expected number of files per directory.
bsize Block size.
density Bytes per inode.
fsize Fragment size.
label Label name of the image.
maxbpg Maximum blocks per file in a cylinder group.
minfree Minimum % free.
optimization Optimization preference; one of 'space' or 'time'.
extent Maximum extent size.
maxbpcg Maximum total number of blocks in a cylinder group.
version UFS version. 1 for FFS (default), 2 for UFS2.
CD9660-specific options
cd9660 images have ISO9660-specific optional parameters that may be provided. The arguments consist of a keyword and, optionally, an equal
sign ('='), and a value. The following keywords are supported:
allow-deep-trees Allow the directory structure to exceed the maximum specified in the spec.
allow-max-name Allow 37 instead of 33 characters for filenames by omitting the version id.
allow-multidot Allow multiple dots in a filename.
applicationid Application ID of the image.
archimedes Use the 'ARCHIMEDES' extension to encode RISC OS metadata.
chrp-boot Write an MBR partition table to the image to allow older CHRP hardware to boot.
boot-load-segment Set load segment for the boot image.
bootimage Filename of a boot image in the format ``sysid;filename'', where ``sysid'' is one of 'i386', 'mac68k', 'macppc',
or 'powerpc'.
generic-bootimage Load a generic boot image into the first 32K of the cd9660 image.
hard-disk-boot Boot image is a hard disk image.
keep-bad-images Do not throw away images whose write was aborted due to an error. For debugging purposes.
label Label name of the image.
no-boot Boot image is not bootable.
no-emul-boot Boot image is a ``no emulation'' ElTorito image.
no-trailing-padding Do not pad the image (apparently Linux needs the padding).
preparer Preparer ID of the image.
publisher Publisher ID of the image.
rockridge Use RockRidge extensions (for longer filenames, etc.).
volumeid Volume set identifier of the image.
SEE ALSO
mtree(5), mtree(8), newfs(8)
HISTORY
The makefs utility appeared in NetBSD 1.6.
AUTHORS
Luke Mewburn <lukem@NetBSD.org> (original program)
Daniel Watt
Walter Deignan
Ryan Gabrys
Alan Perez-Rathke
Ram Vedam (cd9660 support)
BSD
August 16, 2013 BSD