General :: Move And Utilize Root /boot And Swap Dir To Temporary Location?

Oct 16, 2009

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:

/dev/mapper/vg_sharpyfed-lv_root / ext4 defaults 1 1
/dev/mapper/vg_sharpyfed-lv_swap swap swap defaults 0 0

Output of Fdisk -l /dev/sda

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.

View 3 Replies


ADVERTISEMENT

Ubuntu :: How To Move The Swap Location

Apr 28, 2011

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.

View 3 Replies View Related

CentOS 5 :: Need To Move Space From Root File System To Swap

Apr 7, 2009

I currently have a server with the default VolGroup00 that contains logical volumes for the root file system and swap using logical volumes LogVol00 (root) and LogVol01 (swap.) I need to take space from LogVol00 and move it to LogVol01. I have found documentation for increasing the swap, and the resizing the logical volumes. However in the documentation and the man pages it says that I have to reduce the size of teh file system on the logical volume I am going to shrink. I have found documentation resizing the logical volumes but not the file systems.

View 6 Replies View Related

General :: Does The Gnome Desktop Use Gksu For Temporary Root

Sep 13, 2009

Like in the kde desktop there is; "kdesu" for temporary root, such as to open a text to edit. So then does the gnome desktop use "gksu" for it's temporary root ? I now refer to a Fedora 11 install. And how can I change a utility tool to open up as a regular user, (not just only as root) ?

View 2 Replies View Related

General :: Move Some Of The Files From Multiple Directories To One Location?

Jun 17, 2010

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

View 4 Replies View Related

CentOS 5 Networking :: Setup A Network To Network VPN Tunnel Between Our Main Office And A Temporary Location?

Aug 12, 2009

I am attempting to setup a network to network VPN tunnel between our main office and a temporary location. This location need full VPN access back to the main office's network.Anyhow we have spent about 3 solid days attempting to make this work without any great success. Here is our network scheme for these two devices.

Network A (Main Office) (OpenBSD using isakmpd)
Network: 172.16.8.0/24
External IP: 1.1.1.1 (obviously not the real IP)[code].....

View 2 Replies View Related

OpenSUSE Install :: Using GRUB And The Boot Loader Location Has Both "Boot From MBR" And "Boot From Root Partition"?

May 19, 2011

I just did a fresh install of 11.4 and I LOVE IT!!! One of the little issues I am having though, is that there is no login screen. No matter what settings I change it still auto-logs me in.

I am using GRUB and the Boot Loader Location has both "Boot from MBR" and "Boot from Root Partition". Is this right? I would think that I should just boot from the MBR.

View 4 Replies View Related

Ubuntu :: Finding The Squid3 Swap File Location?

Jul 14, 2010

I got squid3 installed on ubuntu server 10.4. I believe it is up and running as I can browse the internet on my other computers.I followed one of the tutorials on the net and looked at others for guide as well. Everyone of them did not mentioned that we have to create the swap files. Are we suppose too? I couldn't find the location of the swap file anywhere on the server.

View 1 Replies View Related

Ubuntu :: Long Disk-activity-pause On Boot - Between Mounting Root And Mounting Swap?

Jul 14, 2011

Just the last day or so, I've noticed a long pause when I boot my laptop, with lots of disk activity. dmesg says:

[Code]...

Why would there be a 15-second pause (during which the disk is slammed) between mounting root and mounting swap? During this time I see nothing but a blank purple screen, there are no cycling dots or text scroll. Is this normal and I'm just freaking out over nothing because there's no indicator of progress? GRUB default boot options: quiet splash nomodeset video=uvesafb:mode_option=1920x1200-24,mtrr=3,scroll=ywrap vt.handoff=7

View 9 Replies View Related

Ubuntu :: Move Swap From Pendrive To HDD?

May 30, 2011

Just moved/reinstalled my HTPC setup (XBMC Live + extras) to a 8GB USB pendrive to simplify future reinstalls and upgrades. Everything works fine so far and I've not had any issues setting up everything for my needs. The system is very responsive in use in XBMC (and other) but slow down quite a bit occasionally when doing to much at the same time.

Since a USB pendrive have its limitations, a concern I have is regarding the swap partition that is currently on the pendrive. Should I move the swap to a swap partition on my HDD to ease the stress on the pendrive; and could I expect any gain in performance? I have 2GB of RAM.

View 2 Replies View Related

Hardware :: Need To Move Swap Partition From SSD To Platter?

Dec 5, 2010

I love the way my Patriot Inferno SSD boots up. It takes about 13 seconds from GRUB to when I start to hear music... But I was wondering if I need my swap partition to be on the SSD, i.e. my spinning disk also has a S.P. I have 8GB RAM, so I don't know if I'm even writing to it.
Q9550, Palit GTX460-2GB, Evga 9800GT, 60GB inferno SSD, P5N-D, Zumax 650W, Unbuntu 10.10, and 11.04

View 2 Replies View Related

Ubuntu :: Move The /home Directory To A Different Location?

Jun 29, 2010

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

View 2 Replies View Related

Slackware :: Move MySql Datafile To Different Location?

Aug 27, 2010

I want to move the location of MySql data file by setting datadir variable but I cannot find the variable in my.cnf file.

Should I set the variable in my.cnf, or is there any other configuration file beside this one?

View 2 Replies View Related

General :: No Space On Root After Large Move Operation?

Feb 16, 2010

I tried to move 2.7TB of data from my /var/webroot/ partition (4.5TB total in size). I left it to run over night, this morning when I came to check I saw that all data on / paratition is used up and no operations can be done because of the "no space left on device" message.

Code:

Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p7 911G 911G 0 100% /
tmpfs 7.9G 0 7.9G 0% /lib/init/rw

[code]....

I freed up several hundred MB from / but still the usage is at 100% and I cant free up any more space or complete the transfer ?

View 1 Replies View Related

OpenSUSE Install :: Move Swap File To A 8GB SD Card?

May 24, 2010

I just got a new laptop and installed 11.1, and I want to move my swap file to a 8GB SD card I have. It seems to run very fast, so it will improve swapping speed. I created a swapfile with Partitioner, and I can delete the existing swapfile with GParted during a reboot - but I'm afraid I will make my system unbootable by doing that - don't I need to first tell OpenSuSE what swapfile (on the new sdb) to use? I'm pretty sure it will detect the new swapfile automatically during boot, but it might choke on a missing (old) swapfile.

View 6 Replies View Related

Ubuntu :: Move Hidden Folder From /home To Another Location?

Nov 3, 2010

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.

View 9 Replies View Related

Server :: Ubuntu Doesn't Move To The Memory And Empty The Swap

Feb 2, 2011

In our cluster, both the server and worker had been gone to swap and the performance is extremely slow. Although currently the memory is free but I don't know why the in the swap area is still being there and ubuntu doesn't move them to the memory and empty the swap.

On the other hand, when I run

Code:
sudo swapoff -a
on the server it says:
Code:
mahmood@server:~$ sudo swapoff -a

[Code]....

View 10 Replies View Related

General :: Swap Fails On Boot Up?

Sep 10, 2010

Maybe what I am trying to do doesn't work but let me explain. I have two identical drives on my PC.

/dev/sda = 1 TB
/dev/sdb = 1 TB

I wanted to mirror the drives so I created two separate partitions on each drive:

sda1 = 1024 MB (Swap)
sda2 = 999 GB (Software RAID)
sdb1 = 1024 (Swap)
sdb2 = 999 GB (Software RAID)

I then only created /dev/md0 which consist of /dev/sda2 & /dev/sdb2 in RAID 1 mirror.

When I boot the system, I show that Swap fails during boot in bright 'red' letters. I don't know if it failed activating both or just any swap partitions in general. When I look at 'df -h' while my system is booted, I show:

Code:

[root@buster ~]# df -h
Filesystem Size Used Avail Use% Mounted on
udev 10M 168K 9.9M 2% /dev
/dev/md0 997G 847M 992G 1% /
shm 997M 0 997M 0% /dev/shm

Does this mean that only 1 swap partition activated successfully and the 2nd one failed? Should I mirror the two swap partitions into /dev/md1?

View 3 Replies View Related

General :: Mount A Swap Partition On Boot And Use It?

Aug 15, 2010

all when installing my linux i dind't create a swap partition.now i'd like to use one.so i've create a swap partition.So how to mount it and let the system use it.

View 2 Replies View Related

General :: How To Utilize Inotify Command Properly

Jan 21, 2010

I am using inotify-tools in order to achive my task. inotify-tools has two commands inotifywait or inotifywatch. I am using inotifywait. I want to be able to extract unique paths that inotifywait will output and then take those unique file path run them through clamscan and quarantine the files if necessary. Here's what I have come up with so far.

View 6 Replies View Related

General :: Create Tunnel To Utilize For Telnet Connection?

Nov 8, 2010

Machine A is located behind client firewall. The machine runs telnetd. This is Linux machine with Python 2.5.4 installed. I do not know the IP addy of the router and firewall is not open incoming. outgoing firewall is open.

Machine B (Windows machine) is a server with well known IP address. I can install any programs I want on either machine.

The idea is that I want Machine A to open a socket to machine B. Then I want to hold that socket and use to run a telnet session from Machine B to Machine A telnetd server.

View 1 Replies View Related

General :: Cloning Logical Volume And Swap And Boot Partitions?

Feb 28, 2011

I have a RHEL4 system with 2 250GB physical volumes. There is a boot partition that is outside LVM and 2 logical volumes (swap and root) within a single volume group. This volume group bridges the 2 physical volumes.

I would like to clone this system onto a single 1 TB physical volume that will replace the 2x250GB currently in use.

View 2 Replies View Related

General :: When Boot From The Usb Getting Original Sys Page And Cannot Move From There?

Jul 25, 2011

I have an Acer Aspire one which runs ubuntu 10.04. Recently it has developed a problem upon loading it where the screen will not stop flickering and won't allow me to see anything, let alone try to solve the problem. I did have a good google session and found that others have had this problem before, but I couldn't find a solution that worked. I decided to install the newest version via bootable usb and originally try SysLinux but for some reason it would not work, so I have since tried other programs to create a bootable usb. My problem is that whichever software I use, whenever I boot from the usb I get the original SysLinux page and cannot move from there.

Has SysLinux somehow changed the mbr of my usb stick? I'm basically stuck and this is my only non-essential usb so I don't want to use another one.

P.S. sorry if this is in the wrong section of the forum, I wasn't sure where to put it.

View 4 Replies View Related

General :: Move Boot Drive To New System?

Jul 19, 2010

I have been given a new system, but want to try moving my old server's system / boot drive directly to it, rather than re-install.

All of the hardware is different, what am I letting myself in for? What should I prepare for?

Existing system OS is Ubuntu 10.04 Server, non-specific install from live CD.

I've done this before on Win XP and it was a nightmare, but I suppose that's not really designed for that sort of thing. I'm hoping that linux will be easier.

View 9 Replies View Related

General :: Use Windows Pagefile.sys (swap) As Swap?

Feb 19, 2010

I know it's possible, but does anyone have a URL or tutorial on how to do this?

View 3 Replies View Related

General :: Can Not Move Files To Root Files In Kubuntu 9.04?

Aug 18, 2009

Being relatively new both to Linux and this forum, i am sorry if i make a post that already is, evn though i couldn`t find it.My problem is i can`t move downloaded files over to root filesystem, i have downloaded and unpacked them to files. to change it`s looks and downloaded a skin, i open root, go to usr---> amsn ---> share --> skins, now i am to copy the file of the skin over to the root directory, butI also tried alt+f2, writing sudo conqueror, as an advice i got, but there was noe difference.

View 14 Replies View Related

Ubuntu :: Which Is Root Swap Home Labels The Partitions?

Apr 30, 2010

Is there a command that tells you what the partitions are fdisk -l shows partitions I want to know which is root swap home etc, Labels the partitions?

View 6 Replies View Related

Ubuntu :: Setting Home / Root And Swap Directory

May 15, 2011

I've set a side 80GB on a separate partition, I have 4GB of RAM. I know it will ask me to set /home /root and /swap. How much should I set each one to be with my partition size and RAM.

View 2 Replies View Related

CentOS 5 :: Apahce Document Root Location Conflict

May 21, 2009

I have a VPS (Mosso Cloud Server) that is administered and monitored by Platinum Server Mgmt. I have CentOS 5 and Apache 2.2 installed. I requested that my Document Root be set to /var/[URL] and also a subdomain setup to /var/[URL]. They responded by telling me that it would, "[This would] cause a problem with the permissions and that it will be a permissions conflict if you set them to /var/www/. For security and compatibility purposes, they should be in /home/username/.... It can be put anywhere in there." This is the first time I've been involved with any server administration, but while coding on numerous private vps's before, they had a setup similar to what I was requesting. Am I incorrect in my understanding of the previous situations and the Mgmt company is in fact correct?

View 1 Replies View Related

Ubuntu :: Move Nautilus Location Bar In Nautilus Up By Toolbar?

Apr 11, 2010

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.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved