CentOS 5 :: Moving RPM On Disk To A Dir?

Aug 19, 2010

What I'm doing is attempting to create a minimalized CentOS which only installs the base components.

I decided that I'd install everything I need, then I did a ..

rpm -qa > installed-packages

I think used this new file to move all the RPMs that were used during the installation from ~/CentOS/disk/CentOS/ to ~/CentOS/graveyard

[root@localhost CentOS]# cat installed-rpms-no-vers | while read file; do mv disk/CentOS/${file}* ~/CentOS/graveyard/ ;done
mv: cannot stat `disk/CentOS/iptables-ipv6*': No such file or directory
mv: cannot stat `disk/CentOS/nss-tools*': No such file or directory

[Code]....

View 5 Replies


ADVERTISEMENT

CentOS 5 :: Moving /var And /usr Partitions To Different Hard Disk?

Apr 3, 2009

Especially /var because I am running a MYSQL server on this box. I want to know if there is a safe procedure to follow to move these partitions from the current sda2 and sda3 that they are now to sdb2 and sbd3 because this is a much bigger disk. I don't want to break MYSQL and I don't want to be down for a long period. I have heard of some people suggesting a sym link to a /newvar and /newuser on sdb but I have also read this will not work when moving to a different physical drive.

View 3 Replies View Related

CentOS 5 :: Moving Root Filesystem To Another Disk?

May 19, 2009

Ive setup a filesystem on a RAID 0+1 and am looking at moving root filesystem from a single disk to the new one. I could not install CentOS on mirrored filesystem as the RAID card did not have a pre-built driver for CentOS 5.3, so I had to compile the driver after installing the system.

What Im going to do now is:

1.Mount the new mirrored filesystem under /root1
2.use find | cpio to copy everything from the existing / to /root1
3.use grub to create a boot record on /root1
4.edit /root1/etc/fstab to point / to the new disk
5. reboot the system and keep my fingers crossed

Is this the way to go? Am I missing anything?

View 6 Replies View Related

Fedora :: Moving Install To A New Disk?

Mar 25, 2011

Currently, my disk layout is as follows:

Code:

/boot /dev/sda1
/ /dev/sda5
windows /dev/sda3
/home /dev/sda4
/dev/sda2 is currently an extended partition.

I purchased a small SSD, and I'd like to move most of the root partition and my home directory over to it. Assuming the new drive is /dev/sdb, my desired layout is this:

Code:

/boot /dev/sda1
windows /dev/sda3
/data /dev/sda4

[code].....

What's the best way to go about this with minimal downtime? Second, what configuration files would I need to update?

View 2 Replies View Related

Software :: Moving Root Filesystem To Another Disk

May 19, 2009

I've setup a filesystem on a RAID 0+1 and am looking at moving root filesystem from a single disk to the new one. I could not install CentOS on mirrored filesystem as the RAID card did not have a pre-built driver for CentOS 5.3, so I had to compile the driver after installing the system.What I'm going to do now is:

1. Mount the new mirrored filesystem under /root1
2. use find | cpio to copy everything from the existing / to /root1
3. use grub to create a boot record on /root1
4. edit /root1/etc/fstab to point / to the new disk
5. reboot the system and keep my fingers crossed

Is this the way to go? Am I missing anything?

View 3 Replies View Related

Ubuntu :: Moving One Users Home Folder To Other Disk?

May 29, 2011

How would you go about moving one users home folder to a different partition, while maintaining other users home folder on the current one. Will simply running "usermod -dm /path/to/new/home username" on one of the users do the trick.

I want to run one of the users of an SSD, while the other runs of a bigger SATA disk.

View 9 Replies View Related

Red Hat / Fedora :: Moving Install From Single Disk To RAID 1

Oct 27, 2009

If you want a full run down as to WHY I want to do this, read here: webhostingtalk.com/showthread.php?t=899909Basically, my ISP could not get my server running stable on a simple raid 1 (or raid 5) so what it came down to was having them install my system on a single disk. I don't exactly like this, main reason being, if the system (or HDD) crashes, I'll end up with another several hours of down time..

View 1 Replies View Related

CentOS 5 :: Moving Files From CentOS VPS > Windows Home PC?

Jun 11, 2011

I am wondering what is the fastest way for me to move files from a VPS running CentOS to my home PC? I do not have FTP or anything like that installed. Are there commands I can enter in putty, for example, that will simply download an entire directory on the VPS onto my home PC?

View 2 Replies View Related

Ubuntu Installation :: Moving System Partition - Back To Front Of The Disk

Jan 1, 2010

Currently, my disk layout is: 20GB(windows-ntfs) / 250GB data-ext4 / 20GB ubuntu-ext4 / 4gb swap

Since I no longer use windows, I want to move ubuntu to the first place.

What do I need to change in configuration files, grub and anywhere else?
Shoudl I keep swap where it is or move it, too?

View 9 Replies View Related

Ubuntu Installation :: Moving An Existing System Disk To An ICH10R RAID1?

Mar 12, 2011

I've read many of the postings on ICH10R and grub but none seem to give me the info I need. Here's the situation: I've got an existing server on which I was running my RAID1 pair boot/root drive on an LSI based RAID chip; however there are system design issues I won't bore you with that mean I need to shift this RAID pair to the fakeraid (which happens to most reliably come up sda, etc). So far I've been able to configure the fakeraid pair as 'Adaptec' and build the RAID1 mirror with new drives; it shows up just fine in the BIOS where I want it.

Using a pre-prepared 'rescue' disk with lots of space, I dd'd the partitions from the old RAID device; then I rewired things, rebooted, fired up dmraid -ay and got the /dev/mapper/ddf1_SYS device. Using cfdisk, I set up three extended partitions to match the ones on the old RAID; mounted them; loopback mounted the images of the old partitions; then used rsync -aHAX to dup the system and home to the new RAID1 partitions. I then edited the /etc/fstab to change the UUID's; likewise the grub/menu.list (This is an older system that does not have the horror that is grub2 installed) I've taken a look at the existing initrd and believe it is all set up to deal with dmraid at boot. So that leaves only the grub install. Paranoid that I am, I tried to deal with this:

dmraid -ay
mount /dev/mapper/ddf1_SYS5 /newsys
cd /newsys

[code]....

and I get messages about 'does not have any corresponding BIOS drive'. I tried editing grub/device.conf, tried --recheck and any thing else I could think of, to no avail. I have not tried dd'ing an mbr to sector 0 yet as I am not really sure whether that will kill info set up by the fakeraid in the BIOS. I might also add that the two constituent drives show up as /dev/sda and /dev/sdb and trying to use either of those directly results in the same error messages from grub. Obviously this sort of thing is in the category of 'kids don't try this at home', but I have more than once manually put a unix disk together one file at a time, so much of the magic is not new to me.

View 2 Replies View Related

CentOS 5 Hardware :: Moving Centos From Intel To Amd?

Jul 14, 2011

I got a crash on intel machine running intel cpu (CENTOS 5)I would like to know if i can move hdd to new machine with amd cpu? 3 hdd (raid 0 on 2 of them)system is on hdd without raid.

View 1 Replies View Related

CentOS 5 :: Moving From Centos 5.2 To 5.3 Breaks USB HUB Use?

Jul 4, 2009

I help develop an Asterisk channel driver that uses USB audio devices to link amateur radio stations via the Internet.All worked well under Centos 5.2 but I recently upgraded to Centos 5.3. I now get either "cannot submit datapipe for urb 0, error -28: not enough bandwidth" followed by a kernel panic or choppy audio depending on the use of either single or multi-TT hubs. For at least 4 devices, things do work under Centos 5.3 if I have a PC with 4 USB ports and do not use a hub. Of course I need to use a hub in most cases errors but even with a single device connected, data seems to be lost resulting in choppy audio. We need the hubs to work for larger systems and PC's with only 2 USB ports.Hardware:

USB 2.0 Audio Device Class 1.0, C-Media CM108
USB 2.0 HUB, 7 port with one TT, NEC UPD720113 or
HUB 2.0 HUB, 7 port with multiple TT's, Genesys Logic GL852.

[code].....

View 1 Replies View Related

General :: Moving From Fedora To CentOS?

Mar 31, 2010

I have Fedora installed and I am trying to change to CentOS. Can't boot from live CD I download

View 2 Replies View Related

CentOS 5 Hardware :: Moving From IDE To SATA?

May 27, 2009

This might be a common topic but searching yielded me no results. I am trying to take one of my NAS servers from an IDE hard disk to a new SATA hard disk. Reinstalling the OS is not an option. I have a working system and have cloned the disk using Acronis True Image to a SATA hard disk.

First, Grub has to be reinstalled which is no problem. I have done this and it works just fine. My SATA drive is booting through Grub and attempting to load CentOS. Obviously the problem lies in that my original drive is /dev/hda and my new disk is /dev/sda

I have changed the following to try and correct the issue:
/boot/grub/menu.lst
/boot/grub/device.map
/etc/fstab

The new disk is still having problems booting. I have attempted before to create a new inittab but I am not sure it was successful and I encountered the same issues. After booting via Grub, here is the message that I receive

Unable to access resume device (LABEL=SWAP-hda3)
mount: could not find filesystem '/dev/root'
setuproot: moving /dev failed: No such file or directory

[Code]...

There must be some places that still reference hda. That first line of the panic message talks about SWAP-hda3. I have changed an entry like that in the Grub config but it still shows up at boot time.

View 1 Replies View Related

CentOS 5 :: Moving Files To Second Partition?

Dec 8, 2009

Here is a dumb question (For some reason I can never remember Linux commands but can always remember DOS commands). I don't know what it is, but I think it's the "everything is a file or a directory" nature of Linux that I can't remember it.

Anyhow, I have an instance running on Amazon EC2. I have noticed recently that FreePBX (an Asterisk GUI) is warning me of shortage of disk space. So here is the output:

[root@ip-10-251-123-3 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.9G 8.8G 621M 94% /
/dev/sda2 147G 188M 140G 1% /mnt

[Code].....

So, it seems that I have a lot of space in sda2 but I don't know how to access it. how to do a symbolic link (or I can search with google) to move some folders to sda2 and then link them.

View 12 Replies View Related

CentOS 5 :: Moving Logs Automatically?

Mar 8, 2010

I have a logserver.log located at /usr/local/logserver. It's NSLOGDEPTH=100. I'm not sure if this is the reason but my log file is only up to 100 only..samplelogserver001.loglogserver002.log......logserver100.logThe other logs were already removed. I do not have any scripts on logrotate for this specific logs. My question now is: How can I move some logs automatically so that it will not be removed totally from the system. I'm planning to move it locally on the server and compressed it at the same time. My second plan is to move it on another server. Do I need to create a script on this or can be done on logrotate? (note: i do not want to remve old logs)

View 1 Replies View Related

CentOS 5 :: Moving Drives To New Hardware?

Jun 22, 2011

I have recently lost quite a bit of electronics around the house to a power surge/lightning strike (all items were on APC backups). The drives from my server were undamaged and I have a new server to host them in. I am having a hard time getting the new server to boot up with the old drives (trying to avoid a fresh install/rebuild of server). The hardware is very similar but not identical. At this point it gets to the following during the boot process:

Scanning and configuring dmraid support devices
md: Autodetecting RAID arrays
MD: autorun ...
MD: ... autorun DONE.
MD: Autodetecting RAID arrays.

[Code]...

View 2 Replies View Related

CentOS 5 :: Redistribute A Disk Without Loss Of Data Namely It Is Necessary To Make / Boot And Two Equivalent On Disk Volume?

Aug 24, 2009

There is a disk 500 gb, it is broken on /boot and on /root and on /dev/sda1 and /dev/sda2. Whether prompt it is possible to redistribute a disk without loss of data namely it is necessary to make/boot and two equivalent on disk volume.

View 3 Replies View Related

CentOS 5 Hardware :: Moving System From Usb To E-sata?

Nov 11, 2009

I've a pc running Centos 5.4 with an uniq external hard disk hooked by USB (no internal drive). I'd like to hook it through e-sata to get performance improvment. So I am using a sata->e-sata connector to plug the disk.The disk is well detected by the bios, and Centos begin to boot but when it wants to mount the volume groups I've a kernel panic.VG and LV names are detected, but the system says it can't find them (there is a /dev/root not found error message)If I boot the system through a live cd I can mount and access VG/LV without problem any hint to get the system up and running through sata ?

grub.conf:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that

[code]...

View 1 Replies View Related

CentOS 5 Networking :: Moving Interfaces At Boot?

Oct 6, 2010

I have a series of four config scripts which all run in sequence of each other.first occurs during the whole kcikstart thing.Kickstart then tells rc.local to run step2, which then tells rc.local to run step 3. No steps are repeated, after they are run they delete themselves from rc.local.After each step, it reboots.Step 3 is responsible for creating the /etc/sysconfig/network-scripts/ifcfg-eth1 file, and populating it. It greps ifconfig -a for the mac address of USB0.

#! /bin/bash

# Check to see if the usb nic takes eth2, if it does, move it to eth1[code]............

View 1 Replies View Related

Fedora :: Moving Cursur Its Moving But When Clcking On Touch Pad To Open Anything Its Not Opening?

Sep 13, 2009

I have installed fedora 11, now i want to install touch driver for my dell 15 laptop. when i m moving cursur its moving but when i m clcking on touch pad to open anything its not opening, to open i have 2 select any file then i have to click touchpad keys.

View 2 Replies View Related

OpenSUSE Install :: Moving Opensuse From One Hard Disk To Another?

Aug 30, 2010

Recently I was working on something on my windows partition (on the same HD as opensuse), and all the sudden windows stopped working and I got some bad sectors on my HD.

Now, my opensuse installation is on the same HD as windows, but I need to get rid of that HD soon because it's starting to get worse (and I think opensuse is randomly crashing because of it).

Is there any way to transfer my opensuse parititon/os to another hard drive?

View 9 Replies View Related

Ubuntu :: Moving Buttons To Left - Keep Moving Back

Mar 27, 2011

I like the buttons on the left. I'm running 10.04 & I know how to move them. The problem is that changing themes will move them back right. OK, if the new theme has them on the right that's OK. But going back to the other theme doesn't change them back. They don't seem to be controlled by the theme, or I'm just not doing it right.

View 2 Replies View Related

CentOS 5 :: Install CentOS 5.2, And The Installation Ran Out Of Disk Space After Running For About 2 Hours?

Feb 18, 2010

I am trying to install CentOS 5.2, and the installation ran out of disk space after running for about 2 hours.I checked the FAQ, and it said 1.2 GB. The disk is 3 GB. The default install was selected, and I think that it checks for sufficient available disk space before installing. Still, it ran for quite a while before announcing that it was out of disk space.The Installation Guide is not very helpful, since there is a blank page where the disk space requirement is supposed to be. I just picked the default installation. A search of the forums on "not enough disk space" did not return much.

View 13 Replies View Related

CentOS 5 Hardware :: Installing CentOS 5.3 Using Custom ISO And Drive Disk?

Nov 10, 2009

I am having new hardware and IDE driver for that hardware as drive disk image (it8213_centos53.img). CentOS 5.3 installation is working fine with drive disk image at USB and CentOS 5.3 at DVD. Our application uses CentOS 5.3 and we build a custom kick-start ISO for installations. Using that ISO client is going to install on all hardware boxes.

Note while installing :
a) No network connection is avalible.
b) No USB isavalible.
c) No floppy is avalible.
d) Only single CD-ROM is avalible.

So, is it possible to build single custom kick-start CentOS 5.3 ISO which contains dirve disk image and entire installation will be done using that image. If so please let me know the steps to build it.

View 2 Replies View Related

CentOS 5 :: Daily Backup Of CentOS Server To Disk?

Oct 6, 2010

I'm looking for a simple solution to backup my CentOS Server (5.x) on a daily base to a mounted disk. I found the glastree tool but I have no clue if it will work on CentOS.All recommendations, tipps, hints and maybe scripts are welcome. Unfortunatelly I'm an Linux newbie and starting with Linux CentOS a couple of weeks ago

View 1 Replies View Related

CentOS 5 :: Can External Sun UltraSCSI Ufs Disk Be Mounted On CentOS

Jun 26, 2011

I need to read information from SUN hard disks which are about a decade old. My CentOS 5.6 mount command comes from util-linux 2.13-pre7."mount -t ufs -o ufstype=sun /dev/sdb2 /New" reports "mount: unknown filesystem type 'ufs'", though its man page describes such settings.How could I read an external UltraSCSI hard disk (yes: high pitch noise and only 9 GB capacity) on a current CentOS? Is that possible at all?

View 1 Replies View Related

CentOS 5 :: Cannot Install CentOS On Large Disk (> 8 TB)?

Apr 20, 2010

I have a server with 10 disks 1TB with RAID 5, and I want to install CentOS 5.4 on this disk, but fail

View 2 Replies View Related

CentOS 5 :: Running Centos From USB As Hard Disk?

Sep 1, 2010

I have seen that is possible to boot from a USB stick and use a USB memory as hard drive.I have a server enable to hold 6 sata drives 3.5", But I want to use the 6 drives and make a Raid-5 setup for backups 5 -1 spare. /boot cannot be on a raid-5 level 0 or 1. But I want to have redundancy for my OS, them I can install Centos on a Raid-1 using 2 disk, which let me only 4 for the raid 5. I will run a backup I want to have a lot of space.

Using 4 disk for raid-5 2 TB I will have 6TB no spare, no spare is not a good option at least I will prefer 1 spare.Well, I was thinking, the server MoBo have USB support, if I open the box I can see the small entrances, If Centos let me installed on a USB memory drive, can I trust a USB memory stick?t night with bacula.

View 2 Replies View Related

CentOS 5 :: Ext4 And Moving Items To The Trashcan In Gnome Results In Nothing Showing In The Desktop Trashcan

May 21, 2010

On my home test 5.5 VM, after converting to ext4, moving items to the trashcan in Gnome results in nothing showing in the desktop Trashcan. Looks like a bug in gnome-vfs' support (or lack of it) for ext4, or have I got some other more subtle corruption going on? It's of little importance to me as I'm rarely in the GUI, but it would be nice to see confirmation or otherwise.

View 7 Replies View Related







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