Single User Mode in Linux

Single-user mode is equivalent to runlevel 1 on the system. If runlevel 1 is not configured properly, you will not be able to boot into single-user mode. Rescue mode requires a boot media, but single-user mode is specified as a kernel option using the installed boot loader and does not require additional boot media. However, it does require [...]

Rescue Mode in Linux

Rescue mode allows the administrator to bypass the boot loader by instead booting off an installation media. Possible reasons to use rescue mode include . Corrupt boot loader that needs repair . Corrupt filesystem that can not be mounted and needs repair To start rescue mode, boot from the first Red Hat Enterprise Linux installation CD. [...]

Boot Loader Repair in Linux

If your system does not display the GRUB interface when booting, if GRUB won’t boot into Red Hat Enterprise Linux properly, or if you have another problem with the GRUB boot loader on an x86 or x86_64 system, try booting into rescue mode and reinstalling GRUB with the following command: grub-install –root-directory=/boot ‘<device-name>’ The –root-directory=/boot option specifies that [...]

Filesystem Repair in Linux

If one or more filesystems are corrupt, boot into rescue mode and do not mount the filesystem. Even if you can boot into single-user mode, do not use it because the filesystem can not be repaired if it is mounted. The e2fsck utility can be used to check and repair an ext2 or ext3 (default for Red [...]

Disabling USB Drive Auto-Mount in Ubuntu

With USB storage devices, such as thumb drives and external hard drives, the default action is to assign a drive letter and immediately mount the drive. There are twoways to cause the auto-mount. First, you can have the disk listed in /etc/fstab with an auto-mount parameter. For example: /dev/sdb1 /mnt/backup ext3 defaults,auto 0 0 To disable the auto-mount, [...]

Sharing a Printer with Windows in Ubuntu

It is usually best to use a native printing protocol. For Ubuntu, LPD and CUPS are native. Most versions of Windows support network printing to LPD servers, so sharing with LPD should be enough, but it requires users to configure their printers. Native Windows environments can share printers using the Server Message Block (SMB) protocol. This allows Windows users [...]

LPD Printer Sharing in Ubuntu

Enabling LPDsupport is a little more complex, since Ubuntu does not normally include servers. On the print server: 1. Install xinetd on the print server. This is the extended Internet daemon for running processes. sudo apt-get install xinetd 2. Create a configuration file for the printer service. This requires creating a file called /etc/xinetd.d/printer. The contents should look [...]

Sharing Printer in Ubuntu with CUPS

After you have added your printer, you can share it with other people on thenetwork. Sharing the printer requires knowing who will use it: other system using CUPS, other devices using LPD, or other computers running Windows. Sharing a Printer with CUPS To share the printer with CUPS, you will need to configure both the printer server [...]

Missing SMP in Ubuntu

If you find that you only have one active CPU on a multiple CPU system, then there are few generic debugging options. The problem is unlikely to be related to Ubuntu—it is probably a general Linux kernel problem. Check with the motherboard’s manufacturer to see if Linux supports the chipset. For example, I have an old dual-CPU motherboard that [...]

Types Ubuntu Version

Each Ubuntu release is designed to require only one CD-ROM for installing the system. This reduces the need for swapping disks during the installation. Unfortunately, one disk cannot hold everything needed for a complete environment. To resolve this issue, Ubuntu has many different types of initial install images that address different system needs. Desktop—This image provides a Live [...]