≡ Menu

boot time

Ubuntu: Mount The Drive From Command Line

I'm new to Ubuntu Linux. How do I mount the hard disk drive from command line?
[click to continue…]

KVM: Start a Virtual Machine / Guest At Boot Time

There are various ways to start virtual machines at at boot time. This means you don't have to type virsh start vmName command. This can be done by marking a vm as autostart. To configure a domain to be automatically started at boot. It will create an softlink at /etc/libvirt/qemu/autostart/. So if your VM name is debianlenny1, your config file name should be /etc/libvirt/qemu/debianlenny1.xml and the softlink should be created at /etc/libvirt/qemu/autostart//debianlenny1.xml
[click to continue…]

FreeBSD: Load Kernel Module at Runtime

How do I load a kernel module at runtime from a shell prompt under FreeBSD UNIX operating systems?
[click to continue…]

Linux Restart IMAP Services ( dovecot IMAP server )

How do I restart dovecot IMAP4 / IMAP (Internet Message Access Protocol) under RHEL / CentOS / Fedora / Debian / Ubutnu Linux?
[click to continue…]

FreeBSD Disable /etc/rc.d Services Which Started Up At Initial Boot Time

Q. How do I disable services located at /etc/rc.d or /usr/local/etc/rc.d directory? For example I'd like to disable a service called /etc/rc.d/foo
[click to continue…]

FreeBSD iSCSI Initiator Installation and Configuration

Q. How do I install and configure iSCSI initiator service under FreeBSD server?
[click to continue…]

How To: Disable Firewall on RHEL / CentOS / RedHat Linux

I don't want firewall because I only run one http (port 80) public service. How do I turn off or disable firewall permanently under RHEL / Fedora Linux / Red Hat Enterprise Linux and CentOS Linux?
[click to continue…]

OpenBSD set up default boot time by modifying boot.conf file

Q. I’m using OpenBSD as VPS os (guest os) under VMWARE server. However OpenBSD pauses for a few seconds to give me a chance to provide parameters to the kernel at boot> prompt. I'd like to force boot loader to wait for 30 seconds instead of default timeout. How do I setup bootloader timeout?

A. OpenBSD uses boot program. The main purpose of this program is to load the system kernel while dealing with the downfalls of the PC BIOS architecture. This program acts as an enhanced boot monitor for PC systems, pro viding a common interface for the kernel to start from. By default, boot attempts to load the kernel executable /bsd. If it fails to find the kernel and no alternative kernel image has been specified, the system will be unable to boot.

/etc/boot.conf file and timeout parameter

/etc/boot.conf is configuration file for bootloader. Open file using text editor:
$ sudo vi /etc/boot.conf
Append / modify timeout parameter as follows:
set timeout 30
Save and close the file. Above line set the 30 second pause at boot-time.

chkconfig on FreeBSD To Start Services Automatically At Initial Boot Time

How do I use chkconfig on FreeBSD to start or stop services automatically on boot?
[click to continue…]