can you move your swap to a new location after a install and if it is possible will it give any kind of performance boost if it is moved to a separate hard drive? I did this on my XP machine and it made a pretty big difference in over all speed of the machine and wanted to try this on my Ubuntu machine, assuming it will even make and difference in performances.
I would like to move the /home directory to a different location, there only seem to be guides on how to move it to it's own partition.
I have a drive (/dev/sda5) mounted as /media/data
I would like to move /home to /media/data/home?
I have tried usermod but get the following error:
Code: test@TestServer:/media/data$ sudo mkdir /media/data/home test@TestServer:/media/data$ ls home lost+found test@TestServer:/media/data$ sudo usermod -dm /media/data/home usermod: user '/media/data/home' does not exist
How to move hidden folder from /home to another location - on another partition? Is it possible? I'd like to move some folders for example ./thunderbird or so that I wouldn't need to make a backup. Or at least is it possible that program can right files to two folders, or that everything from /home./thunderbird would copy automatically to ./thunderbird on another partition every time there is a change? Is it possible to write a script or something? I use luckybackup but I would like to be able to forget about backups and make script or program to do it for me.
I'd like to move a selection of files from all the sub-directories within an overall directory to a single destination. I don't want any of the directory structure, just the files themselves. This is what I tried so far:
mv /dir1/*/igs*.sp3.Z /dir2
There are other .sp3.Z files in the * directories within /dir1 but I just need the ones that start with igs..
I'll start by explaining what my system layout currently is. I have Fedora 11 X64 installed on my system, it is an HP Dv9380ca laptop. My system has 2 hdd /dev/sda /dev/sdb. During the setup i set my home directory to reside on /dev/sdb. After booting i realized that my root and swap partition are part of a volume group name vg_sharpfed and are set in fstab as:
Disk /dev/sda: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x1aecda8d
[code]....
My /dev/sda2 partitions is 100gigs and set as an LVM. Essentially what i am getting at is, if it's possible to temporarily copy / /boot and swap to my second partition, edit grub if needed and fstab to mount to the temp locations, format sda to ext4 create partitions for / /boot and swap partitions, then copy back the original directories edit required fstab to mount the original locations and no longer have them contained in a Logical volume.
I use dual boot with windos 7. i use xampp in win7. want to use lampp for ubuntu 10.04. i want to use one local server directoy for both . i successfuly changed htdocs location in lampp. but could not change mysql data directory location.
Ubuntu 10.04. I've tried every method I can find and none work. Here's what I know...
1. My /etc/my.cnf is ignored. I can even delete it and phpmyadmin continues to work as it did before.
2. If I move /var/lib/mysql and replace it with a new directory (chowned to mysql:mysql so it looks like it's got the same ownership & permissions as the original) I get a write permission problem, e.g.
Quote:
What I ultimately want to do is used existing database files on a FAT32 partition but I can't even get to first base.
I was playing with the mysql my.cnf file yesterday, trying to move my database files to my dropbox folder so I can use the database on my other machine. All I changed was the datadir setting to point to my dropbox folder. I also moved my mysql data files there.
When I tried to restart mysql and test the new location it said my mysqld.sock was missing. I searched and searched the web and my filing system for it but I have no idea what's happened to it?? I have even tried changing the datadir path back and reinstalling mysql but that doesn't seem to work either.
I just installed mysql and need to move the databases to a new location.I say 'no problem' I shutdown mysql (service mysqld stop) I configure my.cnf to point to the new location, which in my case is: /mnt/data/mysql. I know not very original naming. I do the old chown -R mysql:mysql /mnt/datal/mysql AND I copy all the files over (cp -R /var/lib/mysql /mnt/cgsvol/mysql) chmod 777 /mnt/data/mysql I ensure the chown worked (ls -a -l) and the files are there from the old directory. I can't load the daemon again. I check the log (/var/log/mysqld.log) and it can't write any test file to that directory.
(log file exact data). 091107 23:22:21 mysqld started 091107 23:22:22 [Warning] option 'max_join_size': unsigned value 18446744073709$ 091107 23:22:22 [Warning] option 'max_join_size': unsigned value 18446744073709$
Does anyone know how I can move the location bar in nautilus up by the toolbar, as shown by this pic: http://i39.tinypic.com/2qdsyll.jpg
I'd rather not have to download the source of nautilus and edit the code / compile it myself.
By the way, a guy on Ubuntu Forums thought this was a mockup. It's not. It's the regular version of Nautilus, only I removed some toolbar buttons through the /usr/share/nautilus/ui xml files.
I just want the location bar next to the toolbar to conserve screen space, and be a bit more like Finder.
I recently installed openCV using [URL]. I am unable to locate library location to be included while running programs. Does this version of openCV needs libraries to be downloaded externally or they are inbuilt and I am unable to get their location.
I have used a couple of slackbuild binary packages (i.e. without doing the actually build) and have worked fine. Thanks to those who have spent the time and effort to create them.
When installing the package I wanted to know what binary files were being put on my machine and at which directory location. This was more out of curiosity.
However, now I plan to get the boost slackbuild package. It's more relevant to know where it's being installed. Is there a way to know that? Also, can I specify a different directory?
I avoid capslock like the plague and use "ctrl:nocaps" when in X, and would like to have the same behaviour in the console. Back when I was using Debian I got it set up the way I want, but now I can't seem to locate the default keymap. I tried editing
I want to add an app to an xfce menu, but I cannot find the .destop files. I tried the how-to at he xfce site, but it refers to ~/.config/menus, but I do not have that and I can find none of the .desktop files anywhere in my home directory.So, where the heck are the files I need to modify?
Since school ended, I decided to finally wipe and due a clean upgrade to Slackware 13.0. Everything is great except one thing. When I want to save something in firefox, the "save as" window that popups up, that allows you to browse to right directory, popups too low. In my window manager(wmii), the bottom is cutoff. I want to have the window popup higher. Is this possible? In my previous install, I think the window would usually remember where it last was, but now it seems to always popup in the same location. I'm not sure if this is slackware, firefox or wmii issue. Also I tried another wm, Awesomewm, and it showed up in the same spot.
I'm trying to move a mysql 5.1.50-community InnoDB database from one location to another.When starting the service I get:Starting MySQL.Manager of pid-file quit without updating file [FAILED]I've searched for a way to do this but I can only find people who describe what I've just done.
I have a large directory tree with my ebooks and some of these files are zipped. I would like to move all of the zip files to another one so I can manipulate them. Since they are all scattered inside the tree, I would like to do it quickly and painfully with CLI. How should I proceed?
I have problem with my Slackware 13.1. When I run system under log in is "user" after 5 minutes system is hung! I can't move mouse and use keyboard! I didn't have this problem when I run system under log in is root. How I can decide this problem ?
using any sort of rxvt-based terminal with TERM set to rxvt (or rxvt-unicode) then ^L will not clear the screen, only act as newline. This is not the behavior I see on Debian or CentOS. I have the same user environment at each site. Using urxvt on centos, ^L will clear the screen like readline(3) says it should. If I then ssh to slackware, it won't. exporting TERM=xterm will cause the correct behavior after having logged in to slackware, but I'd rather understand why this is happening. I've tried moving aside all the shell startup scripts, setting clear-screen explicitly in .inputrc, setting stty sane nothing doing. Am I missing something?
I think this goes here, but I'm not sure. I decided that XAMPP had been troublesome enough. MySQL never worked. So I decided to instal the LAMP stack offered by YaST. I went about installing it thinking that it would all work. But it seems that I was wrong. So I try to start mysql, and here's what I get:
Code: the-matrix:~ # mysql start ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) or Code: the-matrix:~ # rcmysql start Starting service MySQL warning: /var/mysql/mysql.sock didn't appear within 30 seconds chmod: cannot access `/var/run/mysql/mysqld.pid': No such file or directory
I'm working with a program that uses Open Motif to create all of the widgets, including the Open File dialog box (obviously). However, Open Motif being kinda old-timey, 80's vintage, and for the most part now an abandoned project, it is quite clunky. So, actually what I need to do is to open some files located on my work server. I have already successfully connected to the relevant server directories with Samba, and with programs built with GTK+ (such as GIMP) I can open files across the network because I have created a bookmark in Nautilus, and those bookmarks appear in the Open File dialog box created by GTK+. Now, Open Motif is different: it doesn't see network locations, orNautilus shortcuts. When I type "smb://serveripyadayada" in the search folder, it really doesn't like it and complains. So, what do I do? Can I get somehow Open Motif to open a network location? Or can I do a run-around and place a shortcut in the file system that points to the network location?
I installed SalixOS on my laptop just to play with when I'm bored. My laptop is nothing special, it's a couple of years old has a pentium dual core t2390 at 1.86Ghz and 3 GB ddr2 RAM with Intel video.
I then have a beast i7 920 clocked to 3331Mhz 6GB RAM, and an NVIDIA GT220. Full screen ..... at 720p is fine unless I move the mouse, then the whole picture freezes. Persistant mouse movement will freeze the screen for a few minutes. This machine runs both slack64 current and slack13 32 bits.
The slack box does much better with 32 bit flash than 64, but it still doesn't do nearly as well as the laptop.
With Salix and Slack being so close to each other supposedly I can't figure out why the hardware seems to be irrelevant. The only thing I can think of would be the video codecs installed by Salix, whereas I built a bunch of codecs myself for Slack.
I'm writing a story for LWN on Slackware 13.37 this week. I'd like to hear from current Slackware users: How are you using it, and why you're using it? What appeals to you about Slackware Linux instead of Ubuntu, Fedora, openSUSE, Debian, etc.? Slackware tends to move a bit more slowly than other distributions to adopt newer features (like, say, GRUB) -- is this a pro or con for you? How long have you been running Slackware?
Any other thoughts about Slackware? If you respond, indicate in the post how you'd like to be attributed if I use your response in the story. (e.g., sign your name or indicate that I should use your forum username, etc.)