04-18-2001
read only
Okay, to boot from the cd is there anything special I most do? On pc's you have to adjust the cmos settings, anything for SUN?
Also, I did look at the /etc/vfstab file, but I don't now what would make be read only...Would it be possible to show me an example of the read only setting?
Thanks for all the help to all.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
I've managed to get Mandrake 9 installed by disconnecting my 2 windows' drives. When I reconnect them Mandrake wants to take over. I figure it's time for the BootManager, or should I use a Linux specific one like Lilo? Or have I already stuffed up by not running Lilo at time of... (2 Replies)
Discussion started by: onestepto
2 Replies
2. Linux
I installed RH8 on Thinkpad R51. The install went smooth, but when I tried to boot, it hanged at:
PCI_IDE: unknown IDE controller on Pci bus 00 device f9, VID=8086, ID=24ca
PCI: Device 00:1f.1 not available because of resource collisions.
PCI_IDE: (ide_setup_pci_device:) could not enable... (0 Replies)
Discussion started by: etc
0 Replies
3. Solaris
My Solaris machine is not booting.It just stops at the point
Boot device: /pci@1e,600000/ide@d/disk@0,0:a File and args:
Whether i try boot or boot -s it is stopping at this point..
I tried boot cdom -s.It went into single user mode but I am not able to run a fsck in this mode.
Right... (1 Reply)
Discussion started by: lydiaEd
1 Replies
4. Solaris
any one can help me. my system running on solaris 2.7. recently there is sudden power failure while system running. after that unable to boot the system. it is giving comment that "can not open /etc/path_to_inst" and then returning back to "OK" after comment of termination. The processor is... (10 Replies)
Discussion started by: prabir
10 Replies
5. Solaris
Hello..
I am Still Learing Solaris ..
when i try to Install Solaris 8 from its CD...i pressed STOP + A and i get a OK prompt screen.
I then typed, "boot cdrom" and i am getting this error message.
" FATAL: system is not bootable, boot command is disabled."
How do we enable the boot... (5 Replies)
Discussion started by: vr76413
5 Replies
6. UNIX for Dummies Questions & Answers
Dear List,
While I was adding second hard disk to my system, I changed the /etc/fstab file by adding the following line:
/mnt/sdb1 /dev/sdb1 ext3 default 2 1
Now system does not boot and gives the following error:
Checking filesystems
/: Clean, 309260/18495840 files, 1064776/18486790... (2 Replies)
Discussion started by: siavoush
2 Replies
7. Solaris
ater successfully completeing my solaris 10 installation
i am not able boot the machine properly .
my machine is continously rebooting after switching on the machine.
what the problem ? is it the boot process problem or some other
if any body got the solution mail it my email id (11 Replies)
Discussion started by: ravinder singh
11 Replies
8. UNIX and Linux Applications
Hi,
I've just installed Centos 5.3 x86_64 into a CPU. I've done a yum update to update the version to Centos 5.4. I then installed mysql, php, apache and phpmyadmin into the system.
After the installation of phpmyadmin the screen suddenly goes blank, but the monitor is still on, and the cpu... (0 Replies)
Discussion started by: anaigini45
0 Replies
9. Solaris
I am trying to install solaris 10-x86 as second OS on top of Windows XP. I have downloaded iso image from Oracle website and burned into bootable cd. when I loaded into CD-drive and made changes in BIOS to boot from CD. Its not reading from CD drive.
After restarting the system with CD(solaris... (8 Replies)
Discussion started by: SunSolars_admin
8 Replies
10. Solaris
sol10 sendmail : unable to qualify domain name (local host) ---- using short name
sol10 sendmail : My unqualified host name (local host)
keystore version failure (3 Replies)
Discussion started by: nash
3 Replies
LEARN ABOUT SUNOS
getvfsent
getvfsent(3C) Standard C Library Functions getvfsent(3C)
NAME
getvfsent, getvfsfile, getvfsspec, getvfsany - get vfstab file entry
SYNOPSIS
#include <stdio.h>
#include <sys/vfstab.h>
int getvfsent(FILE *fp, struct vfstab *vp);
int getvfsfile(FILE *fp, struct vfstab *vp, char *file);
int getvfsspec(FILE *, struct vfstab *vp, char *spec);
int getvfsany(FILE *, struct vfstab *vp, struct vfstab *vref);
DESCRIPTION
The getvfsent(), getvfsfile(), getvfsspec(), and getvfsany() functions each fill in the structure pointed to by vp with the broken-out
fields of a line in the /etc/vfstab file. Each line in the file contains a vfstab structure, declared in the <sys/vfstab.h> header, whose
following members are described on the vfstab(4) manual page:
char *vfs_special;
char *vfs_fsckdev;
char *vfs_mountp;
char *vfs_fstype;
char *vfs_fsckpass;
char *vfs_automnt;
char *vfs_mntopts;
The getvfsent() function returns a pointer to the next vfstab structure in the file; so successive calls can be used to search the entire
file.
The getvfsfile() function searches the file referenced by fp until a mount point matching file is found and fills vp with the fields from
the line in the file.
The getvfsspec() function searches the file referenced by fp until a special device matching spec is found and fills vp with the fields
from the line in the file. The spec argument will try to match on device type (block or character special) and major and minor device num-
bers. If it cannot match in this manner, then it compares the strings.
The getvfsany() function searches the file referenced by fp until a match is found between a line in the file and vref. A match occurrs if
all non-null entries in vref match the corresponding fields in the file.
Note that these functions do not open, close, or rewind the file.
RETURN VALUES
If the next entry is successfully read by getvfsent() or a match is found with getvfsfile(), getvfsspec(), or getvfsany(), 0 is returned.
If an end-of-file is encountered on reading, these functions return -1. If an error is encountered, a value greater than 0 is returned. The
possible error values are:
VFS_TOOLONG A line in the file exceeded the internal buffer size of VFS_LINE_MAX.
VFS_TOOMANY A line in the file contains too many fields.
VFS_TOOFEW A line in the file contains too few fields.
FILES
/etc/vfstab
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO
vfstab(4), attributes(5)
NOTES
The members of the vfstab structure point to information contained in a static area, so it must be copied if it is to be saved.
SunOS 5.10 12 Mar 1997 getvfsent(3C)