Tag Info

New answers tagged

-1

Depends on your application, doesn't it? I think you should have some swap space, perhaps even as small as half the RAM size. You don't want your system to choke.


0

Another alternative: HDD are cheap ($50 will buy you a 500GB HDD, and under $100 for a 1TB HDD). Install a second HDD and install a fresh, new install of linux. For safety, disconnect the current HDD prior to install, then install the new HDD and the new Linux, then reconnect the old HDD, and rsync everything you want to keep onto the new HDD. You can ...


0

Run du -x / to see what is occupying space on the root filesystem. 320MB is not much, but it should be ok as long as you have a single kernel package installed. Remove all the kernel versions except the one you want to reboot to. Run dpkg -l 'linux-image-*' to see what kernel packages are installed. uname -rshows which version you're running now, but if ...


3

If the filesystem is ext2, ext3 or ext4, then you can use the command tune2fs to find out particulars about a given filesystem on a device. $ sudo tune2fs -l <dev> Example $ sudo tune2fs -l /dev/sda2 tune2fs 1.42.8 (20-Jun-2013) Filesystem volume name: <none> Last mounted on: /boot Filesystem UUID: ...


2

In order to recover this installation, I suggest: download & boot RIP Linux (11.7 is a version I prefer, although there is 13.7 available too); if you have problems booting the ISO, remember that for RIP Linux is enough to start the kernel and rootfs.cgz as initrd, making it very simple to boot even from an existing installation with gparted resize ...


0

Go to your home directory and run du -mad 1 | sort -n to see what eats your space and remember that if you just deleted some files you may need to close all programs which still use them (e.g. mplayer) to actually free this space.


0

du is your friend in cases like this. I usually use du -sh * from the top level of a partition or directory tree that I'm concerned about. the -s summarizes the size of the subdirectories. The -h creates human-readable output, meaning sizes in KB, MB or GB instead of really long numbers that you have to try to parse.


-2

Forget about fdisk, use parted -l or gdisk -l (from package gptfdisk) instead ...


0

In windows 8 create a desktop shortcut to: %SystemRoot%\System32\shutdown.exe -s -f -t 5 -c "System fully shutting down - Bye-bye!" And use that to shut down windows. Full system shutdown with no hibernation, you can mount the ntfs partion with no troubles now. Protip: pin a copy of the shortcut to the startbar, add another with shutdown -a if you want an ...


0

That depends on how you are referring to the partitions throughout the system. Two key places are /etc/fstab and bootloader configuration. If you check these to be using UUIDs for the affected partitions (i.e. anything above sda6) it should be ok. Alternatively, you could use a different partitioner - namely one that doesn't rename the partitions unless ...


0

Use parted to identify offset values. root@mysystem:~/# parted myimage.img GNU Parted 2.3 Using /root/myimage.img Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) u Unit? [compact]? B (parted) print Model: (file) Disk /root/myimage.img: 8589934592B Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start ...


0

As you say, simply move your /var/www to a partition and mount this partition as /var/www on every distribution. You may have permission issues if one distro runs apache under a different user/group to another, but that's a trivial fix in the apache conf file. Also, if you do install Fedora (or any other distro running SELinux) and make changes within ...


0

As long as this is for the static files to save space you will be fine. If you have programs under /var/www (e.g. using WSGIScriptAlias) I suggest you separate these out to physical locations outside of /var/www on a machine by machine basis. The distributions often differ in subtle ways that need to be reflected in your programs. You will most likekly ...


1

Gilles answer was great, but it wasn't detailed enough for newbies. Thus, I will attempt to describe everything in details. Scenario: You want to increase the size of your disk in VMware and you have Fedora installed. Find out the names of the partitions. You execute sudo fdisk -l and look for the section as below. You can see that /dev/sda2 is the ...


1

This is not a hardware issue or a bug. The reason that it is taking so long is that it is doing a secure wipe of the entire hard disk by filling it with random data. The reason that this is being done, from a security standpoint is that it prevents attackers from being able to determine which parts of the disk actually contain your encrypted data, and ...


0

The requirement to align to cylinder boundaries has been gone for a long time now. With the introduction of drives with 4k blocks and SSDs with 128k erasure blocks it has become neccessary to align to multiples of those instead. An alignment to 1MiB boundaries seems to become the new standard and is what DI uses in squeeze. Source You can use ...


3

If you're new, gparted is probably your friend as it's quite user-friendly for both the above options. Use it to create three partitions on /dev/xvdc of the required size for your partioning scheme. Once installed, run it as root: gparted /dev/xvdc Make sure you create the filesystems as well as the partitions. Use ext4 for the partition filesystems - ...


1

Your best bet is to hook up an external drive and use dd to clone the drive - make sure your external drive is formatted. dd will take a long time so you will need to be patient. After the disk is copied you can mount the drive and use encryptfs commands (along with your password) to access the contents. If it is critical data then you will also need ...


1

If it's encrypted, and I assume that you know your own password, you can try something like rescatux or more simply gparted which will allow you to manually mount your disk. Chances are high that they share the same encryption libraries since they are all Debian-based distros. So they may offer to decrypt on mount. More distros that offer full suites of ...


1

This should be doable. Once you've booted up your system using the Knoppix LiveCD you'll need to open a shell and then determine what the device ID is for the SSD device. You can use a command such as blkid or lsblk, assuming they're available on Knoppix. Once you've identified this, you can mount it: $ mount /dev/sda1 /mnt Once mounted you can ...


0

None of the answers above solve the issue; in fact, the problem is related to Apache itself, not filesystem or permissions. The only thing you need to do to solve the issue is the following: <Directory "/www/mywebdirectoryinapartitioneddisk"> Require all granted </Directory> Here is a blog post in which I explain everything in-detail.


0

Q#1: Interpreting output The output seems fairly straightforward. It isn't blocks (or bytes) but rather current block and bytes. . Between 1 and 1024 blocks successfully read. [xx](+yy){ Current block and number of bytes continuously read successfully up to this point. X Read failed on a block with minimum ...


0

Yes, backing up, deleting, creating a larger one and restoring is an easy way to do this. Alternative to booting from LiveCD is to login as root and do this from the running system. However do not use su/sudo to change from an account that has it's home directory on the partition that is going to be backed-up and restored. If you don't want to use a ...


2

You don't even need to do that. Simply log out of all users and log back in as root (root's home is /root; not within /home) Unmount the /home partition. Resize /dev/sda3 using gparted or similar. Mount /home. Run lsblk - /dev/sda3 should now be about 280GiB.


1

- Editing partitions /dev/sda3 to /dev/sda2 in terminal as root - Backup partition table sfdisk -d /dev/sda > sda.bkp Copy partition table backup to the new partition table cp sda.bkp sda.new Edit new partition table gedit sda.new Save, close Reinstall the new partition table sfdisk --no-reread -f /dev/sda < sda.new Reboot computer


0

I advise using the disc divided into different partitions "each corresponding to the system in use" ntfs-3g with windows and linux with ext4 "and the sector of user data in the linux system folder" home "on a separate partition or as part of a "folder" on the partition ntfs-3g windows system that could be something like this: where we would have the linux ...


2

This is a critical moment of the installation, the guide doesn't want to interfere too much because: you have chosen expert you could erase data involuntarily Exposing all possible options to a GUI installer is difficult (GUI is always limiting choices). Finally some recommendations: Bootable flag for boot partion: on Other partitions, bootable flag: ...


1

Did you extend any filesystem in logicla volume ? if yes reduce size of Filesystem (If this can be achieved) ... (remove file, use fsck -B). if no lvreduce --size 100M /dev/myvg/lvtest vgreduce myvg /dev/rdsk/myusb with obvious meaning for myvg and myusb.



Top 50 recent answers are included