OpenSUSE Install :: Making SRV Directory Separate Partition?
Oct 11, 2010
I am setting up a LAMP server for my home LAN. I want to move the data out of / into a new disk partition for ease of backup and especially away from any clean installation I might do. What
I have in mind:
Shut down MySQL and Apache
Make a new partition, format as ext4
Mount new partition on /mnt
Copy all of /srv to /mnt
Copy MySQL stuff from /var/lib/mysql to /mnt/mysql
Update /etc/my.conf to point to /srv/mysql
Unmount /mnt
Update /etc/fstab to mount new partition on /srv
mount /srv
Start mysql, apache
Will a fresh install or upgrade keep its fingers out of /srv, in the same way as /home? Or will those parts of apache installed in /srv/www be updated?
View 4 Replies
ADVERTISEMENT
Jan 26, 2010
P4 2.4gHZ 2.0GB Ram I have tried to do some reading on this by googling and such, but it is all a bit overwhelming and so many posts/articles want to deal with dual booting which I am not planning to do on this machine. I am trying to find some info on whether it is better to have a separate boot partition. As in, separate from root partition. I have read that a separate boot partition makes for a quicker start and better recovery if system crashes. I will shortly be installing openSuse 11.2(KDE) [currently on 11.0] and I want to optimise the partition scheme so that it is the most efficient. I have a 160GB HDD that will be housing this new installation, so space is not a problem. I am only user on this machine. Currently, it is just partitioned as such:
2.0GB - swap [because I read it should equal Ram]
32.0GB - /
40.0GB - /home
76.8GB - extra storage [Not really necessary as I have 2 other HDD on system 1 - 320GB and 1 - 200GB]
Also, is it recommended to have separate partitions for /tmp /var or any other /nnn ?
View 6 Replies
View Related
Oct 24, 2010
I want to get into the Linux world and trying to install openSuse 11.3 on a separate partition, so I can start getting familiar with it. Installation started and PREPARATION was OK. INSTALLATION WAS OK. While doing Automatic Configuration after a little while the program stops (it hangs). I have to restart the computers by pushing the hdw reset button.
At next reboot, at the partition menu I choose openSUSE option; the program starts and after a while it says that previous installation failed and ask me if I want to retry. I do choose yes, but than again same thing happens - hangs and does not complete automatic configration (which by the way seems to be the last step of the installation). PC is a 2,8GHz, 1GB RAM, Windows OS XPHome and Service PAck3, and now partially loaded openSUSE11.3. OS
View 3 Replies
View Related
Jul 24, 2011
I have a dual boot system with Vista and OpenSUSE 11.3 . Linux is distributed over 2 partitions: one for /home and one root partition for all the rest. As this root partition is getting filled, I thought of taking a 10 GB partition from the Vista partition and using this for the /usr folder (= 6 GB). This partition is a primary partition, while the rest of Linux is on secondary partitions.To be save, I renamed the existing /usr to /usr-old and created an empty /usr as mount point. I changed fstab to load the root partition, the /usr partition and then the /home partition.But when I started the system, there were a lot of errors about files not found in the /usr folder, lthought this folder and is content were clearly present when browsing the filesystem. What went wrong? Hard links? Other system configurations to change? Not possible to put /usr on a separate partition?
View 9 Replies
View Related
Mar 3, 2010
I'm trying a fresh install of 11.2 but I couldn't figure out how to make the whole installation on the same logical extended partition.
It always wants to create a separate /home partition.
I have a second HDD with NTFS only for backup purposes, but the installer puts a grub entry for it too (windows 2). And this HDD is not even bootable. I don't have the balls to try to boot from it and see what happens. How to get rid of it?
View 2 Replies
View Related
May 5, 2010
Saw a reference to putting the swap partition on a separate drive--just minutes after I was considering that approach. Can't find anything recent on the topic, so asking: Is there an advantage to having /swap on a separate HD from data on /home? My thought was that both disks could be active at once, perhaps speeding up a busy application.
View 1 Replies
View Related
Feb 26, 2011
using Opensuse 11.3, I have used Ubuntu 9.10 in the past and have had a blast with Linux. I have to rehash some of my old skills that I have forgotten in the past several years..I installed 11.3, everything is working fine. However, I just releazed that after I installed it, I used my whole partition (Not Windows 7, or I would've been in hell). My Windows 7 is in Raid 0. My second HDD is 1 TB and 11.3 is on there. So, how can I trim down let's say 100 GB and just give the rest to Windows (800gbs). I need that much because I do editing for videos, etc. So, once again, how can I trim my partition and use it for Windows 7.
View 7 Replies
View Related
May 10, 2010
How would I go about moving a separate home partition back to /, and be able to delete the /home partition? I'm assuming I would have to copy the contents of /home to the root partition, and change fstab at the very least.
View 6 Replies
View Related
Sep 10, 2010
I didn't delete my old extension and recently mounted it so I could retrieve the data. I was wondering if there was any way I could make it the extension to my current native without deleting any of the data? Or if attaching it as an extension was at all possible at this point.
View 9 Replies
View Related
Jul 17, 2010
I just installed suse 11.3 on formatted partitions (5GB swap, 30GB / and 500GB /home). Just after the installation, My computer showed 25.2GB of /home to be used. When I do:
Code:
dyn-0a2a1f40:/ # df -h .....
That seem to be roughly correct because since yesterday I've been running a program that constantly writes logs and other data files and plots, which might have accumulated a few GB's. It is also collaborated by the output of
Code:
dyn-0a2a1f40:/ # du -sk /home
10548452 /home
I'm not hard-up on space right now but storage has been dear until the recent past. Also out of curiosity, the size of the /home partition is shown as 493 instead of the 500GB allocated while the swap also lists only 4GB instead of 5GB. Below is the output for fdisk -l in case anyone needs it:
Code:
dyn-0a2a1f40:/ # fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x219b052d .....
I have Linux 2.6.34-12-desktop x86_64 and KDE 4.4.5 (which I had previously used in 11.2 without any problems) and 4.0GB RAM.
View 9 Replies
View Related
Mar 16, 2011
I just installed the 11.4 version after using numerous previous versions. During this install the /usr directory was placed in a separate partition. How would I go about placing it in the partition with all the other running directories?
View 7 Replies
View Related
Apr 24, 2010
I just bought a new hard drive so that I could convert my XP-only machine into an XP-Ubuntu-Windows 7 triple boot machine.Since the drive is absurdly huge (1 TB) I wouldn't mind throwing ReactOS into the mixtoo.I just found out that master boot records are limited to 4 entries, meaning 4 primary partitions. I had Windows XP set up on my old drive as a boot partition, a program files partition and a media partition. Since I really didn't want to install XP from scratch, I cloned this setup on my new drive.
This leaves me one MBR partition entry for installing Windows 7, Ubuntu and ReactOS. I'd like to avoid having to install XP from scratch like the plague, partly because it's supposed to be a safety net in case things go wrong with my other OS's and because I've invested a lot of time getting it set up exactly the way I like it.Here are the options I've considered and why I don't like them:Install Windows 7 on my media partition. This would work, but I prefer to keep my media partition completely separate from any OS, so that I can reformat an OS partition without affecting my media partition at all.
Use wubi or something to install Ubuntu in the same partition as something else. Again, this is brittle.Move all my media to a logical drive on an extended partition. Create another logical drive on this extended partition for Ubuntu. The problem here is that extended partitions are rather brittle--if you nuke one, it renders the rest useless.Just put the old drive back in my computer and run XP off it. Use the new one for the other OS's. The problem here is that the old drive is slower and uses extra power, generates extra heat, etc.
View 2 Replies
View Related
Feb 7, 2011
I recently put ubuntu on my laptop in hope that most of my games would run through wine, some did and some didn't.
Anyway, long story short, I have ubuntu on my laptop and I want to re install windows onto a separate partition, keeping my ubuntu instillation in tact and set as my deafault OS.
I'm very new to ubuntu and the only guides i've seen are fairly complex. I was just wondering if anyone could point me in the right direction? p.s. Is there maybe a way to create an image of my current ubuntu nstillation/settings/apps etc. just in case I do something wrong and lose everything?
View 9 Replies
View Related
Nov 20, 2009
Where can I install grub? I know it can be installed to the mbr of a hard drive. I also know it can be installed to a /boot partition. Can I install it to a lvm partition? Does it have to be /boot? grub-install --root-directory=/boot /dev/hda Does this command install grub to a partition and link it to a separate /boot? I have fedora, but this is a live cd. I need to learn where I can install grub2 to boot
View 3 Replies
View Related
Mar 20, 2011
I've read several accounts of users who upgraded Ubuntu versions and ran into problems. I read that putting /home on a separate partition can make it easier to do upgrades. But it seems to me application versions and even the default applications themselves change so much between Ubuntu releases that I question whether it's a good idea to have all the "OLD" config files and settings that get stored in /home sitting around when running a new Ubuntu release.Does anyone think it's a better idea to just put the whole Ubuntu install (i.e., / and /home) on the same partition? And then when upgrading, backup, and then just fresh install everything (to get the cleanest possible installation)?
View 9 Replies
View Related
Jun 25, 2010
Looks like I missed defining a /home dir during installation. It's been a while I have a spare partition now that I'd really love to use. Can you specify this still, or is it only allowed during an install?
View 3 Replies
View Related
Aug 16, 2009
install fedora 11 on Vista I want to keep the windows boot loader and also install on a usb drive or a seperate partition that has 10GB free "install doesn't see partition's". Recently I installed ubuntu and had a major problem with booting, without having the usb drive connected I couldn't boot windows so uninstalled it. I'm trying to install now but install does'nt give me any option to select partitions from my drives one 320GB "portable, 3 partitions" and 80GB "main os 2 partitions one partition has 10GB free"
View 3 Replies
View Related
Dec 15, 2010
My debian 5 is up and running smoothly and act as file-server in the middle of windows network jungle using samba the only problem is, after backup an external hdd (213 GB) to my /home partition, I end up with message say that I'm running out free space. Fyi my debian installed on 1TB SATA disk, and I separate my /home partition from system what happen to my free space ? here is screenshot of my disk, using disk usage analyzer: is there is a way to get my space back or something missing on my setup.or I have to reinstall my debian and use LVM when partitioning my disk?
View 8 Replies
View Related
Sep 9, 2010
On my triple-boot PC:
Code:
SuLinux:~ # fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
[Code]....
Will the above procedure accomplish this objective, without crippling openSUSE ? The second swap partition has never shown any activity (on SUSE). I understand (from Using shared swap files) that a single swap partition may be shared. Since these areas are relatively small, It is not inconvenient to maintain separate swap partitions.
View 9 Replies
View Related
Mar 29, 2010
I got a hard drive with an image of an older redhat OS that i need to do some work with. The hard drive isnt bootable but i need to get into it somehow. I am not even close to an expert on these kinds of things, but i will provide the information that ive got.
fdisk -ul
Code:
Device Boot Start End Blocks Id System
/dev/sda1 * 63 149838254 74919096 83 Linux
/dev/sda2 149838255 156296384 3229065 5 Extended
[Code]....
The simplest way the occurs to me to do this is to virtualize the OS on it. So i installed hypervisor from yast, but (i think) it requires an image of the OS to virtualize it, not some partitions on a hard drive. Is there an easy way around this?
View 4 Replies
View Related
Oct 7, 2010
We were trying to install w7 on a reserved partition. W7 did not like the partition (whatever we tried).
Since we had 3 hard-drives, on the allocated drive we deleted all partitions and set the partition table type new to MSDOS (yast etc.....).
W7 installed fine. We did not time it, but it appeared that 11.3 installs faster plus considering 11.3 installs quite a number of applications.
There are plenty of postings re integrating W7 to the Grub-menu.
This system went through several Suse updates, hardware upgrades, basically was all over the place.... we did a "new" install of 11.3 allocating its own hard-drive.
Install......fine, and Grub entered W7 to the menu. Worked ! Mounted the windows partition to /home/yourusername/windows
So, if you really (?) need W7 and have a spare hard-drive, this maybe is a clean solution.
View 7 Replies
View Related
Feb 7, 2010
I was surprised not to find an existing thread on this anywhere, as I would expect this to be a common problem: I have the following partitions on my eee PC 100HE:
10GB Windows XP
5GB Linux Mint 8
5GB Ubuntu 9.10 NBR (awesome distro by the way!)
130GB Home partition shared by Linux Mint and Ubuntu NBR
2GB Swap partition shared by Linux Mint and Ubuntu NBR
I installed Ubuntu NBR after Mint. Immediately after install, the panel layout, menus and colour scheme were slightly messed up - presumeably because they had been "adopted" from the Mint settings in the home folder. I corrected them easily, but now I have the same problem in Mint. Is there any way I can get both distros to use the same /home folder, but different settings (i.e. the /home/username/. folders)? Can I get these settings folders put on a different partition for example?
And is this problem due only to the fact that these are 2 Ubuntu-based distros? Or will I have the same problem if/when I replace Mint with another distro, such as Fedora or Moblin?
View 6 Replies
View Related
May 10, 2010
Downloaded openSUSE-11.2-DVD-x86_64.iso Burned on a DVD and used to make an install op a Dell laptop Everything went okay. Now I like to make a install on a ASUS UL20A laptop without an optical drive Placed the iso on a USB stick with dd command The stick can be read by openSUSE 11.2 machine NOT by WIN 7 machine I tried to make the USB stick with Win32DiskImager.exe
View 9 Replies
View Related
Jun 3, 2010
I have a computer, that has the bad luck to be equipped with buggy hard-drives. Actually, they need a firmware update. This firmware update will probably destroy the data on them. I also want to add one or two other hard-drives to the RAID. What I am looking for, is a tool, that makes a clone of the system as it is now. And then, when I will have upgraded the disk firmware and added the other hard-drives, I just clone the system back from the clone.
View 9 Replies
View Related
May 19, 2011
i used sle11 before.my brother makes it's bootscreen diffrent like walking penguins on the screen.can i make the same thing on opensuse 11.4?
View 9 Replies
View Related
Apr 16, 2011
I have three drives on my system and I want to put 11.4 on the third drive. My BIOS can select which drive I am going to boot from. I don't want my Windows 7 or Windows XP drives included in grub or grub to over write/install the bootloader on any other drive except the one I am installing 11.4 on how do I do that?
View 2 Replies
View Related
Jun 11, 2010
I am attempting to install Ubuntu 10.04 side by side with my existing XP on my Sony Vaio. Since I am using NTFS, how to I go about making a partition so that I can install Ubuntu?
View 7 Replies
View Related
Mar 30, 2011
I am trying to setup 2 individual FTP users. They should both have access to the same directory. They both need to be able to read/write into the directory. But, I want them not to be able to write to each other's files (e.g. delete, remove, rename, etc.).
So let's say the shared directory is: /home/ftp/shared/
UserA needs read/write access to /home/ftp/shared/. UserA should only have write access to his own files. UserB also needs read/write access to /home/ftp/shared/. UserB should only have write access to his own files.
It would be a unix box of sorts, but that is the only restriction. I could use whatever software. I am currently thinking pure-ftpd or vsftp but I am open to all ideas.
View 1 Replies
View Related
Jun 18, 2010
Ubuntu 10.04 (64)I have a second drive (currently mounted as /disk2).I want my home directory (/home/jb) to include this second disk as JUST a separate 'folder' accessible from my home area.want the data on the second disk to be encrypted, (just like my /home/jb folder is now).I would prefer to 'blend' the second drive into my existing setup.I'm looking for the safest way to achieve this, don't mind editing fstab etc. or getting my hands dirty on the cli.
View 2 Replies
View Related
Apr 24, 2010
I've set Mozilla Thunderbird to store incoming email attachments in a separate directory, but it still keeps attachments inline in their messages and there's not a single attachment saved in the directory I've set.
View 3 Replies
View Related