Sponsored Content
Operating Systems BSD FreeBSD Label Editor Post-install Question Post 302277649 by septima.pars on Saturday 17th of January 2009 06:53:23 AM
Old 01-17-2009
FreeBSD Label Editor Post-install Question

Hello there,

Over the past few days I have installed FreeBSD 7.1 (which i'm new at)
to an external Hard Drive.

When installing, I chose to partition the disk Automatically and now I'm trying to use the label editor (post-installation configuration) to name the mount points:

/
/usr
/var
/home

...on each of the separate partitions.
_______________________________________________________________

My question is when I start to label the mount points with the Label Editor and attempt to 'write' (finalize) my changes, i get an error saying something to the effect of "the disk could not be mounted" along with "operation not permitted"
(these errors are for EACH partition btw)

What am I doing wrong? How am I able to make my changes 'permanent' ?

P.S.

After being prompted, I also set the following because I was informed I could not perform the operations on disks that were in use.

Code:
sysctl kern.geom.debugflags=16


Thanks for any pointers : )
 

10 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

FreeBSD Install error

Not entirely sure if this belongs here but here it is. I am installing FreeBSD, downloaded the ISO from their website, created the Bootdisk. And when I try to boot, I get this error, 'Panic, Couldn't Inialize. Will not continue without Inialization'. I get the prompt telling me that it will... (2 Replies)
Discussion started by: Fmarvez
2 Replies

2. UNIX for Dummies Questions & Answers

Install FreeBSD 4.5

Hi, everyone. Last night I tried to install FreeBSD Unix 4.5 to my compaq desktop. During the installation, it showed some message says some devices "collaped". Does it mean my computer not support unix, or I need to config those data? (7 Replies)
Discussion started by: HOUSCOUS
7 Replies

3. BSD

FreeBSD 5.4 Install

sup everyone, i am having trouble installing freebsd 5.4 when i'm done installing freebsd, it came out like this screen shot 1 then i typed startx, it came out like this.. screen shot 2 i don't think it's normal.. so i went with "exit", it came out like this screen shot 3 ... (3 Replies)
Discussion started by: royal
3 Replies

4. UNIX for Dummies Questions & Answers

How to install FreeBSD without loosing my data?

hi. I am newbie in Unix. I wanted to install Free BSD 5.2.1 to my computer which winXp was already installed. But i couldn't. I chose Standard. Then it said you are going to use dos style fdisk partitioning. Then a window displayed begining like this. WARNING: A geometry of 155127/16/63 for... (0 Replies)
Discussion started by: sualcavab
0 Replies

5. BSD

Install Gnome 2.22 in FreeBSD

at root command line # pkg_add -r gnome2 This will download the latest GNOME 2.22 packages from the FreeBSD FTP site, and proceed to install them on your system. Up-to-date GNOME packages for i386 and amd64 for all supported versions of FreeBSD are also available from the GNOME Tinderbox.... (0 Replies)
Discussion started by: very9music
0 Replies

6. BSD

Installing ports upon FreeBSD install

I use DesktopBSD (FreeBSD + KDE) and regularly install this on our machines. Currently I go to the package manager to install the ports, but what shell command can I enter instead right after BSD install to install the ports? Thanks in advance (3 Replies)
Discussion started by: figaro
3 Replies

7. BSD

How can install the FreeBSD on desktop!!

;)Hello everyone,I'm a new FreeBSD user,I don't know how to intall the BSD on desktop,please help me ~~ Thanks~~:D (11 Replies)
Discussion started by: johnney
11 Replies

8. UNIX for Advanced & Expert Users

How to install bsdpan-* on freeBSD 7.1

Hi Experts, I have installed freeBSD 7.1. then I installed perl-5.8.8_1 from Ports, I read somewhere that If I install perl from port then it will automatically install bsdpan. But it did not work out. Practical Extraction and Report Language postgresql-plperl-8.3.3_1 Write SQL... (0 Replies)
Discussion started by: mukundranjan
0 Replies

9. BSD

Standard FreeBSD install by circumventing sysinstall

Many of our machines are using the same FreeBSD install apart from details such as user name and node name. What would be an efficient way to install these machines without having to go through the sysinstall questions every time? We could create an iso image, but how are the user name and node... (0 Replies)
Discussion started by: figaro
0 Replies

10. Shell Programming and Scripting

Sed label question

Hi, I'm trying to run the below sed command someone showed me to remove comments, blank lines and line continuations from a file but I get the following label error: Label too long: :loop;/\\$/N;s/\\\n//;t loop sed '/^ *#/d' <$1 | sed '/^$/d' | sed ':loop;/\\$/N;s/\\\n//;t loop' | sed 's/\+/... (7 Replies)
Discussion started by: Jazmania
7 Replies
MKIMG(1)						    BSD General Commands Manual 						  MKIMG(1)

NAME
mkimg -- utility to make disk images SYNOPSIS
mkimg [-H heads] [-P blksz] [-S secsz] [-T tracksz] [-b bootcode] [-f format] [-o outfile] [-v] [-y] -s scheme -p partition [-p partition ...] mkimg --formats | --schemes | --version DESCRIPTION
The mkimg utility creates a disk image from the raw partition contents specified with the partition argument(s) and using the partitioning scheme specified with the scheme argument. The disk image is written to stdout by default or the file specified with the outfile argument. The image file is a raw disk image by default, but the format of the image file can be specified with the format argument. The disk image can be made bootable by specifying the scheme-specific boot block contents with the bootcode argument and, depending on the scheme, with a boot partition. The contents of such a boot partition is provided like any other partition and the mkimg utility does not treat it any differently from other partitions. Some partitioning schemes need a disk geometry and for those the mkimg utility accepts the tracksz and heads arguments, specifying the number of sectors per track and the number of heads per cylinder (resp.) Both the logical and physical sector size can be specified and for that the mkimg utility accepts the secsz and blksz arguments. The secsz argument is used to specify the logical sector size. This is the sector size reported by a disk when queried for its capacity. Modern disks use a larger sector size internally, referred to as block size by the mkimg utility and this can be specified by the blksz argument. The mkimg utility will use the (physical) block size to determine the start of partitions and to round the size of the disk image. The [-v] option increases the level of output that the mkimg utility prints. The [-y] option is used for testing purposes only and is not to be used in production. When present, the mkimg utility will generate pre- dictable values for Universally Unique Identifiers (UUIDs) and time stamps so that consecutive runs of the mkimg utility will create images that are identical. A set of long options exist to query about the mkimg utilty itself. Options in this set should be given by themselves because the mkimg utility exits immediately after providing the requested information. The version of the mkimg utility is printed when the --version option is given. The list of supported output formats is printed when the --formats option is given and the list of supported partitioning schemes is printed when the --schemes option is given. Both the format and scheme lists a space-separated lists for easy handling in scripts. For a more descriptive list of supported partitioning schemes or supported output format, or for a detailed description of how to specify partitions, run the mkimg utility without any arguments. This will print a usage message with all the necessary details. ENVIRONMENT
TMPDIR Directory to put temporary files in; default is /tmp. EXAMPLES
To create a bootable disk image that is partitioned using the GPT scheme and containing a root file system that was previously created using makefs and also containing a swap partition, run the mkimg utility as follows: % mkimg -s gpt -b /boot/pmbr -p freebsd-boot:=/boot/gptboot -p freebsd-ufs:=root-file-system.ufs -p freebsd-swap::1G -o gpt.img The command line given above results in a raw image file. This is because no output format was given. To create a VMDK image for example, add the -f vmdk argument to the mkimg utility and name the output file accordingly. A nested partitioning scheme is created by running the mkimg utility twice. The output of the first will be fed as the contents of a parti- tion to the second. This can be done using a temporary file, like so: % mkimg -s bsd -b /boot/boot -p freebsd-ufs:=root-file-system.ufs -p freebsd-swap::1G -o /tmp/bsd.img % mkimg -s mbr -b /boot/mbr -p freebsd:=/tmp/bsd.img -o mbr-bsd.img Alternatively, the mkimg utility can be run in a cascaded fashion, whereby the output of the first is fed directly into the second. To do this, run the mkimg utility as follows: % mkimg -s mbr -b /boot/mbr -p freebsd:-'mkimg -s bsd -b /boot/boot -p freebsd-ufs:=root-file-system.ufs -p freebsd-swap::1G' -o mbr-bsd.img To accomodate the need to have partitions named or numbered in a certain way, the mkimg utility allows for the specification of empty parti- tions. For example, to create an image that is compatible with partition layouts found in /etc/disktab, the 'd' partition often needs to be skipped. This is accomplished by inserting an unused partition after the first 2 partition specifications. It is worth noting at this time that the BSD scheme will automatically skip the 'c' partition by virtue of it referring to the entire disk. To create an image that is com- patible with the qp120at disk, use the mkimg utility as follows: % mkimg -s bsd -b /boot/boot -p freebsd-ufs:=root-file-system.ufs -p freebsd-swap::20M -p- -p- -p- -p- -p freebsd-ufs:=usr-file-system.ufs -o bsd.img For partitioning schemes that feature partition labels, the mkimg utility supports assigning labels to the partitions specified. In the fol- lowing example the file system partition is labeled as 'backup': % mkimg -s gpt -p freebsd-ufs/backup:=file-system.ufs -o gpt.img SEE ALSO
gpart(8), makefs(8), mdconfig(8), newfs(8) HISTORY
The mkimg utility first appeared in FreeBSD 10.1. AUTHORS
The mkimg utility and manpage were written by Marcel Moolenaar <marcelm@juniper.net> BSD
September 27, 2014 BSD
All times are GMT -4. The time now is 02:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy