Tag Info

Hot answers tagged

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 ...


10

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 ...


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.


6

I don't understand it. Almost every 10th or 20th question is about fan or overheating or that the fan is too loud and the speed to big etc. I think if we did a more realistic survey this would prove a grotesque exaggeration. I monitor this site a lot, and while there are hundreds of questions per day, this most recent overheating question is the first ...


6

Follow these steps: Start up Windows just like you normally would, and download the latest (non-test) version of Plop Boot Manager here. Extract the zip and open the folder "Windows" in it. If you have Windows XP, double-click the file InstallToBootMenu.bat. If you have Windows Vista, Windows 7 or Windows 8, right-click the file InstallToBootMenu.bat, ...


6

The problem was simply that the efivars kernel module was not loaded. This can be confirmed by: sh-4.2# efivar-tester UEFI variables are not supported on this machine. If you are chrooted in to your new install, exit out, and then enable efivars: exit modprobe efivars ...and then chroot back in. In my case, this means: chroot /mnt but you should ...


6

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 ...


5

If you have grub installed, run os-prober as root. It does exactly what you want. Update os-prober will only list operating systems other than the one it's on: it's used by GRUB during installation to generate grub.cfg so it's natural that GRUB doesn't need info about the OS it's being installed on. To get the partition mounted as the current /, you can do ...


5

tl;dr: it's doable but you will have to work just a little bit. If you don't have the ability to use Ethernet, and are installing from netinst media, you're basically screwed (although if you're really determined you can make it work). When I originally wrote this answer, I'd only done this once, but now I'm doing it again on a different Mac, so I've split ...


4

The Laptop task contains the following packages: $ tasksel --task-packages laptop wireless-tools acpi-support cpufrequtils acpi wpasupplicant powertop acpid apmd pcmciautils pm-utils anacron avahi-autoipd bluetooth Wifi, CPU frequency scaling, ACPI, Bluetooth, etc. So yes, you probably want those things.


4

I found the solution to this issue in the following thread titled: [SOLVED] CentOS 6 on GA-990FXA-UD5. The solution involved removing the BIOS RAID metadata that apparently was part of a residual software RAID that the 40GB HDD must of been used in. Running this command in the CentOS 6.5 LiveCD in a terminal fixed it: $ dmraid -r -E /dev/sda Do you really ...


4

I believe Logical Volume Manager will do this for you... I have never tried it on SSD's but I don't see why it would not work. install command "apt-get install lvm2" Here is the user guide. http://linuxconfig.org/linux-lvm-logical-volume-manager


4

You are right, even with minimal installation, the current FreeBSD requires a minimum of 600 MB, especially if you go for a amd64 release. There is still some options left: Using an "old" 7.x or 8.x (i386) release I tried to install an "old" 7.3 (i386) with everything to minimal and it took 270 MB. Assuming your machine is old enough, you will not care ...


3

An OpenBSD install does most of that currently, but you just have to press "enter" a lot. As for doing the pkg_installs and other customizations, there is (and has been for a long time) a mechanism to do that, although it's harder to track down the documentation if you don't know what you are looking for. The installer will pull a sitexx.tgz or ...


3

Debian installs into /target by default. You will have to skip some of the install steps and have a file ready for loopback mounting. Run mkfs.ext2 (or similar) on the file before mounting -o loop. mkdir /target mount /path/to/file /target -o loop Normally, with special purpose installs, I skip the debian installer and use debootstrap and apt: ...


3

Well the post is very old but since noone gave Marcos credits for the right answer i will . Although , via msconfig i couldn't find the "continue with the installation" partition in my disk as a start up thread , nor with diskmanagment , the solution is really simple : 1.Open cmd (Run:cmd ) 2.Type bcdedit (as Marcos suggested) 3.You will find the ...


3

The partition layout has zero influence on the speed of the system (unless you have partitions across multiple drives). So choose what makes maintenance easier (which is part of running smooth). Unless you have special needs, create the following filesystems (in addition to swap): / for the operating system /home for user data, unless it's a server that ...


3

You don't need to use Intelligent Provisioning to install Linux onto this server. That's for streamlined installations of ESXi, Windows and such. You say you're installing from "a USB". Is that a USB CD or DVD drive? A USB thumb drive? What did you place onto the media? An .ISO? Try burning a CD and using the internal drive. If there's no internal drive, ...


3

You need to hit E at the GRUB menu. According to the bug report you linked to, the workaround is to add i915.invert_brightness=1 to your kernel parameters. Scroll down to the kernel line and change it to (emphasis mine): linux /boot/x86_64/vmlinuz archisobasedir=arch archisolabel=ARCH_201310 initrd=boot/x86_64/archiso.img i915.invert_brightness=1 To ...


3

If you want to run services in a chroot: that's not really what a chroot is built for. You'd be better off to isolate your Gentoo system in a Docker container. You can easily create a Docker image from your chroot by creating a new baseimage from it: tar --numeric-owner -cf- /gentoo | docker import - gentoo:base Then build a proper Docker imageon top of ...


3

To force a specific order, you need to modify the file /etc/grub.d/10_linux. This file is what specifies which order the distros are listed. If you want to force a certain distribution to be booted by default, then I would change /etc/default/grub and just set the GRUB_DEFAULT parameter to the one that you want to boot first, and then run update-grub


3

That should just work, if you tell Arch-Linux not to write the MBR. Linux Mint should see the new partition and write the new boot menu, replacing the Windows XP entry with Arch Linux. You can be more safe by first saving the boot record under Mint dd if=/dev/sda of=/boot/MBR.img bs=512 count=1


3

I find it very hard to believe that the Fedora installer does not offer this option. In fact, according to this it does. It is probably hidden in an "Advanced" tab somewhere, look around for "Manual partitioning" or similar. Another option would be to resize your partition using something like PartedMagic which will allow you to boot into a live session ...


3

You basically have 2 choices if you want to install an alternative OS. ChrUbuntu (traditional dual boot) Crouton (side by side) NOTE: you'll need to enable developer mode, so you'll be forgoing verified boot. These 2 tutorials should get you started. Acer C720 Chromebook How to Install Ubuntu Linux on Your Chromebook with Crouton


3

Since partition E: is, and partition and F: is almost empty, you should (under Windows) move what data you need that is on F: to C: and then delete the E: and F: partitions. That way you create space for a 350Gb+ partition for Linux, which I think should be enough for any DVD install.


3

I want to ensure I have enough swap space to hibernate, what are the simplest steps to achieve this? You'll want at least as much swap space as you have RAM. I'd recommend 50% more if you are used to using most of your memory, since while I have not found any official number, I seem to recall it refusing to work occasionally when they are roughly equal ...


3

It always annoys how CentOS/RHEL, by default, on a large hard disk, create a fairly small / partition and a really huge /home partition. This is why, when install CentOS, I always manually partition, and never use LVM (which, I have heard, also reduces performance). LVM makes sense when you want to stream a partition across multiple hard disks, but not as ...


2

This is certainly possible, I had it installed in a free partition next to 12.04 without problems. Make sure to use manual partitioning, as by default it tries to use the whole disk. I did not install Kali's grub in the MBR (installer asks you if you want that). Instead after installation I booted in Ubuntu and ran update-grub: at the next reboot there ...


2

I couldn't find any debootstrap-like software. And there are some (probably solvable) caveats if one was planning to create one: There might be file system compatibilitiy issues debootstrap's second stage relies on being able to chroot to the target directory as it has to run some apps in it (and the linux kernel can't execute FreeBSD binaries afaik) . Any ...


2

At least some distros offer shrinking NTFS partitions during the Linux installation. Of course, this is possible with free space in that partition only. And you should run Windows' check disk tool immediately before. There is always a risk when playing with file system structures and partition tables (you should "try" not to have a power outage then...) but ...



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