CentOS 5 :: Port The Current Fedora4 System To The 5 On A New Hard Disk?
Feb 20, 2010
I am trying to port the current Fedora4 system to the CentOS5 on a new hard disk. Actually, the Fedora4 system is constantly being hacked due to my lazy update. So i prefer a fresh install of CentOS5. I am not clear what files need copy and what does not need for ease and for avoiding possible backdoors.
I am trying to port the current Fedora4 system to the CentOS5 on a new harddisk. Actually, the Fedora4 system is constantly being hacked due to my lazy update. So i prefer a fresh install of CentOS5. I am not clear what files need copy and what does not need for ease and for avoiding possible backdoors. Kinda a big problem,
server is :intel 5000p ,2gX4 ram ,cpu 5405 X13 sata sda 500g sata use for system rootfilesystem primate mastersdb 500g sata use for data filesystem second mastersdc 500g sata use for data filesystem second slavebios set use enhance and ide i install centos5.4 x86_64 on sda when i install system on sda, sdb and sdc is offline.after system install sucess ,poweroff and add sdb and sdc when system kernel start report ata0 error or ata1 error. exp XXXX (rydy).but when only add sdb or sdc ,system can startup and use all service ,exp vncserver ,kvm,pptp..
I would like to build a bootable system image on an attached hard disk on a running CentOS machine.The hard disk would be moved to a headless server, where only SSH access would be available. It seems that all the documented install methods assume that the installation runs on the taget machine. In this case, I would like to create a bootable system image of CentOS on a running host system. The new install mage would generally have a newer version of CentOS than the running host system where the image is created. Also, I would prefer to do a text-based install.
The reason for all this is that I have network access to several remote machines. I can ask disks to be moved between machines, but I have no physical access. In order to do software testing, I would like to have several system disks with different installed CentOS versions. It would be easer if I could build the system disks on one single machine. The hardware an all machines is very nearly identical.
On a pc running Fedora4 with cups-1.1.23-15.4 , I have printers setup that can accept lp submitted jobs from other pcs, including windows pc on the LAN and a UNIX machine that is not on the lan. I would like to get the same functionality going with CentOS5.5 and cups 1.3.7-18.el5 5.7 On the CentOS pc
lpstat -p -d printer 5si is idle. enabled since Tue 14 Sep 2010 03:30:34 PM PDT printer Cups-PDF is idle. enabled since Thu 03 Jun 2010 09:42:49 AM PDT
the HDAPS system in IBM / Lenovo Thinkpad laptops is, in principle, supported by the hdaps kernel module. However, it is actually *useless* since it refuses to load on current models which report Lenovo as vendor ID instead of IBM The alternative is the tp_smapi module which, according to ThinkWiki, is strongly recommended anyway. It is not available in any CentOS repo, so I tried to compile it. However, I get the following error:
/root/devel/tp_smapi-0.40/tp_smapi.c: In function tp_suspend: /root/devel/tp_smapi-0.40/tp_smapi.c:1241: error: PM_EVENT_HIBERNATE undeclared (first use in this function) /root/devel/tp_smapi-0.40/tp_smapi.c:1241: error: (Each undeclared identifier is reported only once /root/devel/tp_smapi-0.40/tp_smapi.c:1241: error: for each function it appears in.) make: *** [/root/devel/tp_smapi-0.40/tp_smapi.o] Error 1 make: *** [_module_/root/devel/tp_smapi-0.40] Error 2
Hardware: Toshiba Satellite L755Software: openSuse 11.4 with kernel 3.1.0-rc1-98-g72fa599-1-vanillaPeripherals: Logilink USB 3.0 to SATA HDD Adapter with Western Digital WD2500JSI installed the Vanilla kernel in the hope that USB 3.0 will work. But though some things really have been fixed (for instance, the notebook can resume from sleep mode), USB 3.0 still doesn't work.
Code: lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
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.
after installing Ubuntu on one WD 500 GB hard disk and after making mistake and pasting wrong code into Terminal:my OTHER WD 500 GB hard disk that was also in the system (I guess it was "hd1") - died.The problem must be, I guess, I typed wrong code: "hd1,1" instead of "hd0,0".)500 GB (NTFS) of data was on that other (non-Ubuntu) hard disk, and now I can not access it anymore. While booting, system gives "Hard Disk Error" warning and stops.One again: I installed Ubuntu od one hard disk and at the end of instalation I pasted wrong code for GRUB, giving address of another hard disk. Now that other hard disk has error and will not work
I have a sata 320 gb with mandriva linux 2009.1 on it.And it is what curently atached to my cpu. It is shown as 'sda' in the partition table.I also have another 40gb hard disk with windows xp installed on it.It is shown as 'hda' in the partition table . Now what i want to do is attach this 40gb hard disk to my pc and configure grub on my 320gb hard disk('sda') so as to boot windows xp(which is residing on the second hard disk,'hda')Can anyone tell me if what im doing is feasible or not? If it is feasible,can anyone suggest me how to get it working. I know i just need to add 2-3 lines to my grub.conf, but dont know what exactly i need to write.
I had a dual boot (windows 7 + debian), both of them installed in my internal hard disk, with the GRUB in it. I have recently installed a second linux distro (mint), but I put it in an external hard disk. Now the GRUB allows me to boot any of the three operating systems, but I need the external disk to do it. It seems that after the mint installation the GRUB is now working from the external disk (if the external disk is not connected, the machine does not boot.) �Is there a way to change the location of the GRUB, to the internal hard disk of my laptop?
i have Cent OS 5.2 CD (6) with me. I need to install it in my hard disk. I have already installed Windows XP in C: partition. I need to install Cent OS in D: partition. During installation process its asking for hard disk partition. In this regard, how to select the partition. I have C,D,E and F partitions and C,E and F are in common use. So i have to install Cent OS in D partition.
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.
I have two systems, both having file systems running on LVM. System No 1 has 2 PATA HDD (40 and 80 GB) running linux on LVM. System 2 has a single SATA HDD (300 GB) which again uses LVM. What i was trying to do was to add the two HDD in system 1 to system 2, possibly with little or no data loss. So i connected the PATA drives from system 1 to system 2 and booted up. The system booted up to the openSUSE 11.3 splash screen and stopped after scanning the HDDs. Frankly i never expected openSUSE to try n auto mount the new drives. I think the problem was caused because both the systems had VG and LV of the same names. Can the volume group be renamed, maybe from a live CD or somthing?? System 2 is not boot able now.
I have been running Ubuntu as my sole OS for about a month now, and aside from Computer Janitor, I have found no drive/fs cleaning tools, or defragging tools. I know this isn't Windoze, but surely there must be a way of maintaining your hard disk. I mean installs/uninstalls must leave detritus, and file moving must cause SOME fragmentation. Are there any apps, systems or methods in place that provide this functionality?
I want to install Cent OS5 on my machine. The Hard Disk is SATA. I want to discuss about how to custom partition the hard disk. In the old version there is a drop down list for manual partition the hard disk. like /,boot,swap,var etc etc. In the new version of centos 5 I can not see things like that. During installation process and in partition page there are things like:
Code: Remove all partitions on selected drives and create default layout. Remove Linux partitions on selected drives and create default layout. Use free space on selected drives and create default layout. Create custom layout.
When I choose custom layout it show me an error message. "An error has occurred-no invalid devices were found on which to create new files system. Please check your hardware for the cause of this problem."
I need to install a voice recording application on a server.My problem is that I have four hard disks with 150 GB storage space each. So I have 150*4 = 600 GB Storage available as whole .I need all four hard drives (600 GB ) as single volume to store and retrieve recording .
I just invested nearly 12 hours configuring a CCTV system using CentOS 5.5 Server and Zoneminder. I have it setup just the way I want it. I would like to make a clone image of the drive just in case disaster strikes (lightning strike, failed hard disk, etc). In the Windows PC world, I use a program called Ghost to make a mirror image of a hard disk. I power the computer down, run Ghost to make a block level clone of the drive, then power it back up. Can I assume that will work with CentOS without problem?
In the computer now is a 320GB SATA drive. One partition on it is swap, and the other is ext3. There is no raid setup on the drive. I have an identical 320GB drive I could use and keep it in the computer unplugged from the power and not spinning. That way if anything ever happens, I can power down, move the power and data cable to the new drive and power it back up. Granted, I will lose any new config and database changes, but it will be a lot better than starting back at square 1 and reconfiguring the entire OS and software.
I've recently installed openSUSE 11.3 with GNOME When I was working on desktop settings, it locked itself, and it doesn't accept password I set during installation. I know that password is right, because it worked in YaST.
How to solve this problem without loosing any files? I haven't done backup... Is it possible to reinstall system, without formatting hard disk, and loosing files?
I have never used Linux before and know nothing about it . But my cousin installed a Fedoro linux CD on my laptop which previously had Lotus symphony . Unfortunately my laptop had single partition and so Linux overrode the old OS ,ie lotus symphony .
I have some critical data on my hard disk but I have no clue how to take backup this data using Linux . I desparately need this data .
Could somebody let me know how I can access this data and take the backup ?
I was using Terminal and browsing a directory in my home folder. My "home" directory is located on "/dev/sdb1". When in Terminal I typed "ls" in one of my directories and the output was garbage. The output didn't show the files in the directory. I think it said something like, "input/output error". Unfortunately, I didn't write the exact error down. Instead I rebooted.The hard disk with the problem is:
Code: $ sudo hdparm -I /dev/sdb [sudo] password for brian:
A while back I decided to use CentOS as my main day to day operating system :) Previously I was mainly using Fedora (old Red Hat <9.x) and occasionally Debian / Debian based distros.Since I am running CentOS on a Dell M1530 laptop I am concerned by the Load Cycle issue that plagues many laptop hard disks due to aggressive default power management. For those of you who are not aware of the Load Cycle issue please refer to the following link from Ubuntu forums which documents it really well:URL...
In Fedora and various other distros I have successfully used Laptop Mode Tools URL... to help set the hard disk APM value meaning the hard disk would stop rapidly increasing the Load Cycle value when running on mains. The setting I choose to use was hdparm -B 254 /dev/sda when the laptop is running off of mains power and set in scripts supplied with the Laptop Mode Tools RPM which will run as a service.
The problem I am having with CentOS is I can't get Laptop Mode Tools to run as a service either from the RPMForge repo (old version) or by installing the latest Fedora version from Laptop Mode Tools site above. I am therefore having to manually set hdparm -B 254 /dev/sda when running which I occasionally forget An error is seen during boot but which changes the CentOS boot to verbose mode but I am unable to locate the error in any of the /var/log files so I can put it in here.Can anyone suggest a way of creating a script suitable for CentOS which will auto apply the above (or other) power saving value for when a laptop is running off of mains power?If anyone can also advise how I can confirm what the error is I can also forward it to the author of Laptop Mode Tools.
I have a server with two hard disks SATA (500 GB), I installed centos in one of them, desire to know how I can mount the other hard disk empty and without format, so that this hard disk always appears mounted when "reboot" the system.