Tag Info

Hot answers tagged

43

As you've already noticed, Red Hat's description is vague about what each suite actually includes. Below is a list of the package groups the each suite will install. You can get more information about what package group by running yum groupinfo foo-bar. The names listed below differ from what yum grouplist will list but the groupinfo cobase, ...


30

tune2fs -l /dev/sda1 or /dev/sdb1* | grep 'Filesystem created:' This will tell you when the file system was created. * = In the first column of df / you can find the exact partition to use.


27

Yes! This is a big deal, and incredibly common. And there are two basic approaches. One way is simply with scripted installs, as for example used in Fedora, RHEL, or CentOS's kickstart. Check this out in the Fedora install guide: Kickstart Installations. For your simple case, this may be sufficient. (Take this as an example; there are similar systems for ...


23

One reason for having a /boot partition is that it allows for things like encrypted /, where the kernel and initrd are loaded from an unencrypted partition and then used to mount the encrypted root partition containing the operating system. It shouldn't matter for general usage however.


23

This is a holdover from "ye olde tymes" when machines had trouble addressing large hard drives. The idea behind the /boot partition was to make the partition always accessible to any machine that the drive was plugged into. If the machine could get to the start of the drive (lower cylinder numbers) then it could bootstrap the system; from there the linux ...


16

The Debian CD set contains all of the packages in the main repository. Most of this software can easily be downloaded later. According to the Debian wiki: Although there are over 30 CDs (or 5 DVDs) in a full set, only the first CD is required to install Debian. The additional CDs are optional and include extra packages, that can be downloaded ...


16

Is this not how to set up a swap file? I think you missed a step in between chmod and swapon: mkswap /mnt/sda2/swapfile As for the oxymoromic error... swapon: /mnt/sda2/swapfile: read swap header failed: Success What this literally means is there's a bug in the swapon code, but not necessarily one related to its primary functioning. C library ...


15

In Larry Wall's original Perl v1.0 posting to the comp.sources.misc newsgroup on December 18, 1987, he said: If you have a problem that would ordinarily use sed or awk or sh, but it exceeds their capabilities or must run a little faster, and you don't want to write the silly thing in C, then perl may be for you. In a much later ...


14

The answer is/isn't sexy, depending on your point of view. Perl is very useful. Lots of the system utilities are written in or depend on perl. Most systems won't operate properly if Perl is uninstalled. A few years ago FreeBSD went through a lot of effort to remove Perl as a dependency for the base system. It wasn't an easy task.


12

Following method works with CentOS 6.2: Requirements: USB flash drive (at least 4 GB, I used a 16 GB one) Download an ISO image from a mirror - I chose the full 1st DVD image to avoid a network install (because it is not clear if the cryptographic package signatures are checked by the installer or not), e.g.: $ wget ...


12

There's a FAQ on Debian CDs, which also includes this: Which of the numerous images should I download? Do I need all of them? No. First, of course you only need to download either CD or DVD images - the two types of images contain the same packages. Also, you only need the CD/DVD images for your computer's architecture. [...] Furthermore, ...


11

The main reason for the major enterprisey distro's like Red Hat and I think Suse to use a separate /boot is that they use LVM by default and Grub cannot be used to boot from LVM. It is that simple. So if you want to use LVM, and that is a boon, you use a separate /boot. Personally, I think it is good practice to use both LVM and separate partitions for a ...


11

A CD-ROM and USB stick use entirely different methods to boot. For an ISO9660 image on a CD-ROM, it's the El Torito Specification that makes it bootable; for a USB stick, it needs a Master Boot Record style boot sector. ISOLINUX, the bootloader that is used in ISO9660 CD-ROM images to boot Linux, has recently added a "isohybrid" hybrid mode that uses some ...


11

Download the netinstall iso, boot it and select non-graphical install. I actually made a video once for it: http://www.youtube.com/watch?v=JOGSupJury4 The difference between ubuntu and debian is the way they are doing package testing. Debian is all about stability and ubuntu is more about all the new things (less stability).


11

tune2fs You can use the command tune2fs to find out when the filesystem was created. $ tune2fs -l /dev/main/partition |grep 'Filesystem created' Example $ sudo tune2fs -l /dev/dm-1 |grep 'Filesystem created' Filesystem created: Sat Dec 7 20:42:03 2013 which disk to use? If you don't have /dev/dm-1 you can use the command blkid to determine ...


10

Many distributions have some facility for a minimal install; essentially where you manually select only those packages that you explicitly wish to install. Debian has this ability and would be a better choice, in your situation, than the other obvious minimal contender, Arch Linux. Arch's rolling release status may provide a level of ongoing complexity ...


9

AIF, the Arch Installer Framework, has been removed from the new ISOs. There will be a formal announcement in the next couple of days. For the moment, you can read the details on the mailing list. You can now use the Arch Install Scripts as described on the wiki. There is also this thread on the Arch boards which has some more detail about the reasons ...


8

There is a dedicated article on this: https://help.ubuntu.com/community/Installation/FromUSBStick In brief: Download the ISO. Download UnetBootin http://unetbootin.sourceforge.net/ Burn the ISO to your USB using UnetBootin. Your USB will become a liveUSB from which you can boot. Boot the system using USB and choose Install.


8

I think I found the answer: blkid From the man page: The blkid program is the command-line interface to working with the libblkid(3) library. It can determine the type of content (e.g. filesystem or swap) that a block device holds, and also attributes (tokens, NAME=value pairs) from the content metadata (e.g. LABEL or UUID ...


8

When you examine the contents of /proc/cpuinfo, the flags for the CPU will include "pae".


8

You can boot the machine with a live CD OS. This will allow you to move /var without corrupting the OS. I have done this in the other direction with /tmp, /var, /opt, and /usr on a SLES install. I think it would work on others distros. Boot the live CD Mount the old /var partition in /mnt/var Mount the real root directory in /mnt/root Correct ...


8

This is possible for syslinux: syslinux ~/floppy.ima The syslinux installer contains enough magic to be run on an unmounted filesystem. (In fact, it is designed to do that.) The extlinux installer expects to be run on a mounted filesystem, though. It is almost certainly possible to split off the extlinux installer into a part that copies the files ...


7

Check the date of the root filesystem with dumpe2fs. I can't really think of how that could be anything other than the date you're looking for: dumpe2fs $(mount | grep 'on \/ ' | awk '{print $1}') | grep 'Filesystem created:'


7

One final reason, less important than those given, is it can allow the PC to remain bootable if part of the disk is corrupted. The more partitions you have, the easier it will be to simply not mount the partition with the fault. This can be useful sometimes, but usually there's a better way anyway. EDIT: Another point: assuming Linux, using LVM can be a ...


7

You will notice differences certainly. Most noticable will be differences in the standard userland utilities. FreeBSD does not use GNU ls, GNU cp, and so on. For example, if you're attached to a colorized ls, you may want to alias ls to "ls -G". It does use GNU grep, though. The default shell is a much simpler and less bloated shell than GNU Bash, which ...


7

EDIT: When I wrote this answer very few distributions shipped with an EFI_STUB configured kernel so one had to build a custom one. Nowadays most distributions ship a suitably configured kernel and a custom build is not required any longer. In this case the sections “Set up your partitions” and “Setting things up” are the interesting ones, “Requirements” and ...


7

There are two approaches you can use. For either approach, you need first mount your hard disk partition wherever (for example, under /hd) and also add it to /etc/fstab, then create home, var, and tmp inside the mount. Use symlinks. Then create symlinks from /home to /hd/home, etc. Instead of symlinks, use bind mounts. Syntax is mount --bind /hd/home ...


7

with the required skill and especially knowledge about the installed linux it is not worth while anymore to replace it. and whatever you do, you probably never want to replace the already installed kernel. however, you can have your arch linux relatively easy and fool proof! the concept: you install arch linux into some directory on your NAS and chroot (man ...


7

I'm guessing the real problem is that you don't know what a SSID is. It's the technical term for the network's name, i.e. the thing that shows up in a listing of available networks. If you don't know what network you're supposed to connect to, you'll have to ask somebody at your location. As the Arch wiki explains, you can get a list of available networks ...


7

If you cannot choose a language that better correlates to your location, just install with any timezone. When the install is finished, as root, run the command tzselect to set a new timezone. Also, consider filing a bug against the debian installer if you truly cannot pick your language and your timezone properly.



Only top voted, non community-wiki answers of a minimum length are eligible