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


ADVERTISEMENT

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

Debian Configuration :: Copying / Moving Root Filesystem To Another Partition?

Mar 4, 2010

My root filesystems flooded so I'm trying to move it to another (bigger) partition but I'm not sure of the best method. I just tried to use "dd if=/dev/sda1 of=/dev/sda6" to copy it but all that did was give me a brand new partition with no freespace available presumably because the filesystem is smaller than the partition. Is it possible to make the filesystem bigger?

View 8 Replies View Related

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 View Related

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 :: XFS Root Filesystem Corrupt After 5.3 Upgrade?

Apr 5, 2009

today I upgraded (yum update) one of my Dell Poweredge Server from 5.2 to 5.3. After rebooting the system first seems to start normal but then the following Error Messages appear:

Apr 5 14:28:26 srv_1 kernel: I/O error in filesystem ("dm-0") meta-data dev dm-0 block 0x668000008 ("xfs_trans_read_buf") error 5 buf count 4096
Apr 5 14:28:26 srv_1 kernel: attempt to access beyond end of device
Apr 5 14:28:26 srv_1 kernel: dm-0: rw=0, want=27514634256, limitfs]

[code]....

Booting with a rescue disk and doing a xfs_repair solves the file system Problems but moved a lot of files ( at least /usr/bin and /usr/lib completly) to "lost+found"... I tried the update with a spare 5.2 Server (different Hardware), and ended up with exactly the
same effect and error message. Both systems are running XFS as root File system on an LVM Disk.

View 3 Replies View Related

CentOS 5 :: Mount: Could Not Find Filesystem /dev/root?

Jun 27, 2009

I have successful tar an existing CentOS 5.2 partition from Fefora10. The idea is to move a working CentOS 5.2 reside in an internal hard drive to a portable hard drive. I know how to edit a stencil in menu.lst to boot the clone CentOS5.2. During boot, I encountered

Red Hat nash version 5.1.19.6
mount: could not find filesystem /dev/root
setuproot: moving /dev failed No such file or directory
setuproot: mounting /proc: No such file or directory
setuproot: mounting /sys: No such file or directory

[Code]...

View 4 Replies View Related

CentOS 5 :: Extra Root Filesystem Folders For Mounting Device

Oct 26, 2009

I was looking at the root filesystem folder for mounting a device when I noticed extra folders. I'm using an encrypted filesystem so I'm not sure if it's that, a break in or the default Red Hat layout. I searched these forums and Google to no avail on extra folders. The root system contains the following:

bin {fda00e13-8c62-4f63-9d19-d168115b11ca} media opt selinux usr
boot home misc proc srv var
dev lib mnt root sys
etc lost+found net sbin tmp

View 3 Replies View Related

CentOS 5 :: Init Error \ Failed To Mount The Root Filesystem?

Jun 17, 2011

I had a LiveUSB of CentOS 5.5, so I decided the install it.With no installer,I just copied the files to my hard drive.his was in a multi boot with Windows 7, Ubuntu 9.10, and FreeDOS.I updated GRUB2 and it detected CentOS. I loaded my entry and it failed to mount the root filesystem.I took the initrd0 file from the LiveUSB syslinux folder and added that ramdisk to the entry. Now it finds the root filesystem (/dev/sda9 as Ext3).But it fails shortly after loading /sbin/init. It talks about an init error where it says "File not found!!!".The previous lines involved umounting old filesystems, like /dev.

View 4 Replies View Related

CentOS 5 Hardware :: Magneto Optical Disk Written Under OS/2 Hpfs Filesystem?

Nov 22, 2010

I am trying to access a Magneto Optical disk written under OS/2 hpfs filesystem. I cannot locate a dang thing about support of CentOS for OS/2. I found a module for Linux OS/2 support that dated back to 1993, have no idea how to compile it, used alien to create an RPM package, said compiled succesfully, still can't mount the drive (/dev/sdb) with filesystem type -t hpfs. Can anyone out there help me, or does CentOS just not do this?

View 12 Replies View Related

Ubuntu :: Volume "filesystem Root" Has Only 474.8 MB Disk Space

Apr 25, 2010

When I logged in today I got this message:

The volume "filesystem root" has only 474.8 MB disk space remaining

What does this mean??

View 5 Replies View Related

OpenSUSE Install :: Unknown Filesystem Type 'reiserfs' Could Not Mount Root Filesystem - Exiting To /bin/sh

Mar 27, 2010

When I try to boot to OpenSUSE I get the following error during boot-up: unknown filesystem type 'reiserfs' could not mount root filesystem - exiting to /bin/sh$

This only started happening quite recently - before this I could boot to Linux quite happily.

View 6 Replies View Related

CentOS 5 :: How To Mirror Root Disk

Apr 27, 2011

I've got a new server built, shaken down and patched (2.6.18-194.el5). Works nicely.

I don't want to rebuild it from scratch if the root drive goes belly up, but I do NOT have a hardware raid controller.

The root disk should be pretty static at this point... any suggestions how I might back it up?

I was thinking I could put in another disk (same size or bigger) and use cron to run something like this nightly: dd if=/dev/sda1 of=/dev/sda2

View 4 Replies View Related

Ubuntu :: Resize Entire /root (root.disk) Virtual Disk Space?

Jan 25, 2011

I'm running out of space in wubi. Online wubi help didn't help much since they suggest creating extra virtual disk space(similar to having a diffrent partition i guess) .None of them speak about increasing the size of /root disk space(or root.disk). I store all files in space shared with windows or external disk and use ubuntu only to install and use softwares and browsing. So how do increase the available space for installing more softwares?

View 3 Replies View Related

Ubuntu :: Moving Files In Terminal \ Moving Files That Have Root Permissions?

Mar 4, 2010

I have limited experience in terminal, but let me first explain what I am trying to do to see if there is some easier way to do it. Basically I want to change the skin in aMSN. I downloaded the new skin but am unable to unzip or move it without /root permissions. I don't know how to acquire this without being in terminal. So I figured there had to be some way to go into the terminal and use it to move the unzipped folder from the desktop to the aMSN skins folder.

View 3 Replies View Related

General :: Remount Root Filesystem As Read/write After Modify Readonly-root File?

Dec 21, 2010

My linux distro is CentOS 5.3. Today I edited /etc/sysconfig/readonly-root and set "READONLY" to yes, now my /etc/sysconfig/readonly-root file is like this:

# Set to 'yes' to mount the system filesystems read-only.
READONLY=yes
# Set to 'yes' to mount various temporary state as either tmpfs

[code]...

View 3 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

Ubuntu Installation :: Moving Over Root And Home Into New 9.10

Jan 17, 2010

I have a IBM T42 (using it now to write this) and a newer Lenovo T500 (with a fresh install of Ubuntu 9.10 on it). I want to take all of my programs and config of those programs, plus all my /home directory information/files/hidden files all over onto the new machine. There may be other stuff I need to take over to, and don't know enough about to comment here.

But basically I want my new system to look and work like my old system, with all the same programs and user data, all configured in the same way. Is there a way to do this over the network or another way? I can't even get the two systems to see each other over the network, even though Folder Sharing is enabled and (I think) all the right components are installed. I even checked to see if my user had permission to share files on both machines, and I do.

View 7 Replies View Related

Ubuntu :: Moving A Partition - Unmounting Root ?

May 11, 2011

I want to move my / partition to the end of my drive (sda). To do this with gparted, I have to unmount it, but I'm not comfortable with the idea of unmounting root partition... Should I do it from a live cd? More important : is the operation safe?

View 5 Replies View Related

General :: Fix Grub After Moving Root Partition?

May 15, 2010

Because I am using one of the new WD disks I am trying to aling my root partition with the real sectors, as described here:[URL]31So I copied all files to a temp location, deleted my partition (/dev/sda3), recreated it a few cylinders later (same name) and copied the files to the newly created partition. But now when I try to boot, I get my old grub menu but after selecting my kernel version it hangs

View 15 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

Red Hat :: Increasing Disk Device To / Root Disk Enterprise Server 4?

Mar 25, 2010

I am having problem with the root disk / fill up. So now that i have the disk information provided from SAN team Id 0:3, how would i do to add this device to / to increase space on Redhat Enterprise server 4?

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

General :: Moving A File To The Root Of The Drive Via Command Line

Oct 17, 2010

How can I move a directory to the root of a drive via command line?

In MS-DOS it would be 'move C:/GAMES/QUAKE C:/'

What is the equivilent in Linux?

View 8 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

General :: Extend The Lvm And The Filesystem To The Second Disk?

Dec 18, 2010

I've added a second drive to a system and I need to extend the lvm and the filesystem to the second disk. Is there a way to do this online with centos 5.5? I specifically need extending the actual ext3 filesystem which seems to be the trick part.

View 8 Replies View Related

Fedora :: Trying To Build A Root Filesystem?

Aug 13, 2009

I am trying to build a root file system for using it with the user mode linux on a fc 11 system.

View 5 Replies View Related







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