04-20-2010
Boot the system using cdrom to single user mode. From there you can mount your disk and do whatever you want to.
Also let us know the model of the system.
10 More Discussions You Might Find Interesting
1. Solaris
I am seeking advice from experts in this forum. Please help me.
I have tow disks on Sun Sparc box. Disk one has been installed Solaris 9 system. The disk two has been partitioned as one disk with 140 GB on the partition /dev/dsk/c1t1d0s6. Right now, I want to modify it as two partitions. I have... (8 Replies)
Discussion started by: duke0001
8 Replies
2. Solaris
Hi All,
Very need help about format syntax on solaris 10.
I have done install Solaris 10 OS on sun fire v245 but currently i have a problem to use "format" command to display partition info for my hard drive.
i cannot enter the format menu, below is captured display :
# format
Searching... (7 Replies)
Discussion started by: bucci
7 Replies
3. Solaris
Hi,
i just want to know how to format date command in solaris. like in linux if i use `date +%s`, it gives me seconds since 1970, but in solaris (sol86) , it is giving %s as result.
Is there any different way in solaris
Thanks
Sarbjit (1 Reply)
Discussion started by: sarbjit
1 Replies
4. Solaris
Hi
We have upgraded our sun machine from solaris 9 to solaris 10.
Before upgradation the date command output(Solaris 9)
Wed Oct 13 09:45:21 IST 2010
But after upgradation the output for date is as below(solaris 10).
Wednesday, October 13, 2010 9:46:14 AM IST
Looks like I need to... (1 Reply)
Discussion started by: csreenivas
1 Replies
5. Solaris
Hello,
I have a few questions about format and disks in general. Would like to get some interpretation.
defects:
primary: ..... defects form the factory?
grown: ........ defects happening as drive is in use?
What would be a rule of thumb regarding a point when the drive would require it to... (4 Replies)
Discussion started by: pepi
4 Replies
6. Solaris
I have a CP3260 Blade connected to a RTM which houses a Seagate ST9146802SS SAS Hard Drive in a CT900 Chasis.
I wanted to format the Hard Drive before i started installation of Solaris 10 OS.
I performed the following steps
{0} ok boot disk -s
# format
specify disk (enter its number): 0... (0 Replies)
Discussion started by: Justin83
0 Replies
7. Solaris
I have Solaris-10 server. During troubleshooting of some storage issue, I removed disk entries from /dev/dsk and /dev/rdsk
rm /dev/vx/dmp/*
rm /dev/vx/rdmp/*
rm /dev/dsk/*
rm /dev/rdsk/
And rebooted the box. That recreated device tree for SAN disks, but I do not see c1t0d0s0 and c1t1d0s0... (7 Replies)
Discussion started by: solaris_1977
7 Replies
8. Shell Programming and Scripting
I want to develop a script that I can run like follows:
./format_disks.sh <disk name 1>, <disk name 2>, etc...
Some background. I've create a VMware based virtual machine that has Solaris 5.11 installed on it. Initially, the only disk that is on this VM is the one that hosts the OS. ... (1 Reply)
Discussion started by: wdg74
1 Replies
9. Solaris
I have list of dates in a file. Am reading each line and trying to format date, Can you please help me ?
Sample file content:
02/22/16 USA is great country
02/21/16 USA future
02/23/16 who is he
I want to read each line from above file and format date as below
2016-02-21 (i.e., using... (1 Reply)
Discussion started by: prince1987
1 Replies
10. Solaris
Hi,
I want to change time format to AM/PM format. In below output -
-bash-3.2# date
Thu Jul 27 16:48:59 PDT 2017
-bash-3.2#
I want to be it 4:48:59 PM. NTP is configured on this. Can time format be changed while NTP server is configured ?
Thanks (3 Replies)
Discussion started by: solaris_1977
3 Replies
LEARN ABOUT LINUX
apt-cdrom
APT-CDROM(8) APT APT-CDROM(8)
NAME
apt-cdrom - APT CDROM management utility
SYNOPSIS
apt-cdrom [-hvrmfan] [-d=cdrom mount point] [-o=config string] [-c=file] [[add] | [ident]]
DESCRIPTION
apt-cdrom is used to add a new CDROM to APTs list of available sources. apt-cdrom takes care of determining the structure of the disc as
well as correcting for several possible mis-burns and verifying the index files.
It is necessary to use apt-cdrom to add CDs to the APT system, it cannot be done by hand. Furthermore each disk in a multi-cd set must be
inserted and scanned separately to account for possible mis-burns.
Unless the -h, or --help option is given one of the commands below must be present.
add
add is used to add a new disc to the source list. It will unmount the CDROM device, prompt for a disk to be inserted and then proceed
to scan it and copy the index files. If the disc does not have a proper disk directory you will be prompted for a descriptive title.
APT uses a CDROM ID to track which disc is currently in the drive and maintains a database of these IDs in /var/lib/apt/cdroms.list
ident
A debugging tool to report the identity of the current disc as well as the stored file name
OPTIONS
All command line options may be set using the configuration file, the descriptions indicate the configuration option to set. For boolean
options you can override the config file by using something like -f-,--no-f, -f=no or several other variations.
-d, --cdrom
Mount point; specify the location to mount the cdrom. This mount point must be listed in /etc/fstab and properly configured.
Configuration Item: Acquire::cdrom::mount.
-r, --rename
Rename a disc; change the label of a disk or override the disks given label. This option will cause apt-cdrom to prompt for a new
label. Configuration Item: APT::CDROM::Rename.
-m, --no-mount
No mounting; prevent apt-cdrom from mounting and unmounting the mount point. Configuration Item: APT::CDROM::NoMount.
-f, --fast
Fast Copy; Assume the package files are valid and do not check every package. This option should be used only if apt-cdrom has been run
on this disc before and did not detect any errors. Configuration Item: APT::CDROM::Fast.
-a, --thorough
Thorough Package Scan; This option may be needed with some old Debian 1.1/1.2 discs that have Package files in strange places. It takes
much longer to scan the CD but will pick them all up.
-n, --just-print, --recon, --no-act
No Changes; Do not change the sources.list(5) file and do not write index files. Everything is still checked however. Configuration
Item: APT::CDROM::NoAct.
-h, --help
Show a short usage summary.
-v, --version
Show the program version.
-c, --config-file
Configuration File; Specify a configuration file to use. The program will read the default configuration file and then this
configuration file. If configuration settings need to be set before the default configuration files are parsed specify a file with the
APT_CONFIG environment variable. See apt.conf(5) for syntax information.
-o, --option
Set a Configuration Option; This will set an arbitrary configuration option. The syntax is -o Foo::Bar=bar. -o and --option can be
used multiple times to set different options.
SEE ALSO
apt.conf(5), apt-get(8), sources.list(5)
DIAGNOSTICS
apt-cdrom returns zero on normal operation, decimal 100 on error.
BUGS
APT bug page[1]. If you wish to report a bug in APT, please see /usr/share/doc/debian/bug-reporting.txt or the reportbug(1) command.
AUTHORS
Jason Gunthorpe
APT team
NOTES
1. APT bug page
http://bugs.debian.org/src:apt
Linux 14 February 2004 APT-CDROM(8)