Fedora :: Adding Second Drive To Existing System For RAID1?

Jul 31, 2011

I have an existing Fedora 15 system installed from scratch.I've ordered a harddrive identical to my SDA and want to add it to my existing system as a RAID1 setup.I've googled around and cannot find recent clear instructions how to accomplish this. I don't want to reinstall everything from scratch. It should be possible to create the RAID1 using the existing data disk and then mirror everything up?

View 1 Replies


Red Hat :: Adding A Root Mirror Drive To Existing RHEL5 System?

Nov 9, 2010

I have a running RHEL5 system, which has two physical disk drives, but is currently running on a single drive of the pair. The single drive the system is running on contains a root/boot partition and a swap partition. I would like to be able to add a mirror drive to this existing setup without having to disturb the running system (much). That is, I don't want to have to completely dump, reinstall (creating the mirror on the way up), and reload from backup media if I can avoid it. I have seen procedures that go as follows:

- the "extra drive" (the one not being used as the current root/boot device) is first brought under LVM control as a root object with one physical mirror attached.

- the data from the running root/boot drive is rsync-ed over to the LVM-controlled half-mirror, and boot records added.

- System rebooted on newly created half-mirror.

- Original root prepped to be second side of LVM mirrored root, and is added in.

Can one boot from an LVM disk directly? There seems to be some question on this that came up in other lists I had read online.

View 5 Replies View Related

General :: Migrate An Existing System With RHEL5 OS To RAID1?

Mar 7, 2011

I am trying to migrate my existing system with one IDE disk , tools installation already done... without loosing informations and having to install once again every things, to RAID1 (soft) with a second IDE disk I tried to do this using somme informations given on forums but i always have a kernel Panic at the end of boot What I did:

The system is going down for system halt NOW!
login as: root
root's password:
/usr/bin/xauth: creating new authority file /root/.Xauthority


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


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

General :: Adding XP To An Existing Ubuntu System

Oct 4, 2010

I want to move my windows XP image from my old PC's C: and put it onto my new PC, with Ubuntu 9.10 already on it. Will this procedure work?First I'll burn an iso image of the windows C: to a CD or DVD, using the Win XP computer. Then, I'll load a (live Ubuntu), from my thumb drive and boot into my new PC, and move the Ubuntu partition to another location, in order to create the partition needed to install a Windows OS. I know that Windows, God bless them, needs to be first on the HDD. This procedure will destroy the grub loader.Then rebooting should load correctly to the grub bootloader, right?

View 9 Replies View Related

Debian Configuration :: Squeeze Adding Two SATA Drives To Existing System?

Apr 21, 2011

Is there an easy way to add SATA drives to an existing system and have them m automatically at boot?So far I've been able to create a partition and format but they never mount at boot.What do I have to put in fstab so it will work?Also, since RAID doesn't work in Debian, is it possible to make two drives mount at the same folder

View 3 Replies View Related

Red Hat / Fedora :: Adding Existing Memory In Sdb1 To Sda1?

Nov 30, 2010

Here is the output of disk free space

# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00 940287756 3320512 888432924 1% /
/dev/sda1 101086 21142 74725 23% /boot
tmpfs 7730504 0 7730504 0% /dev/shm
/dev/sdb1 2884158292 74736 273757667 1% /data

Now,I wanna add a large amount of memory in sdb1 to sda1 to increase the available memory.Is there a way I can do this?

View 4 Replies View Related

General :: Mirror The Boot Partition On Existing Raid1?

Feb 26, 2011

I have a raid1 setup on a machine. Recently it died and I thought one of the drives had failed as it was shooting errors. So I tried unplugging that drive get it to boot off the mirror but it seems the techs forgot to mirror the boot device so the 2nd drive can't boot on its own. After a while it was realized that the sata cable was in fact bad and replaced so now its working again.

However, this occurrence showed a flaw in the setup where the RAID1 isn't working as its supposed to. I would like to correct this. Can I somehow mirror the boot partition so the 2nd drive will boot independent? I'm not sure how I would go about this. This is a CentOS 5 installation.

View 13 Replies View Related

Debian :: Copying An Existing System To A USB Flash Drive?

Oct 21, 2010

I want to move my "currently installed Debian and its all settings" to a USB flash drive. I am wondering what methods are available out there. I looked into Remastersys but it failed on my system so I am wondering if there is another method available?

View 2 Replies View Related

General :: Mount A Hard Drive With Pre-existing File System And Data?

Mar 23, 2010

I had a drive that kept kernel panic'ing so my data center recommended using the spare hard drive to reinstall OS on, and import the data from the old drive. (they checked the hardware, it wasn't the hardware) The new install is done, and I need to mount the old drive and get backups off it since my data center does not provide management whatsoever.

It's the same OS on both (Cent OS 5.4 32-bit) I'm an advanced user on windows, but linux gets me. I can ssh in, do basic stuff like setup IP ranges and restart services. I normally navigate the box through SFTP so I have a gui. WHM shows me my drives as such

Found Disk: hda
Found Disk: sdb

so I'm assuming SDB is my old drive and the drive I need to access. I attempted to follow instructions on


but I'm assuming FreeBSD would work differently and I wasn't totally sure what the labels of the file systems should be.

View 1 Replies View Related

Debian :: Adding 2 New SATA Drives As RAID1?

Feb 8, 2009

i have 2 shiny new 1TB SATA drives. I have a running system already, basic install on a single disk. install both new drives & raid1 them on a single partition - mount them for storage. Seems simple but all i can find are howto's on instaling the whole system & booting on RAID.

View 1 Replies View Related

Ubuntu Installation :: Adding A 2nd Drive For XP To A Karmic System?

Jan 1, 2010

A local store built a brand new dual core system for me about a month ago with a 1TB drive and installed Karmic on the entire drive. I now have a piece of external hardware that requires XP and simply will not work in XP in Virtualbox. I have purchased another 1TB drive, and my thinking is to create an XP partition of about 2-300GB and leave the rest of the drive for another Karmic partition and dual-boot. I don't care which drive is primary (unless there is a reason I should).

I was thinking of unplugging the karmic drive and putting the new drive in it, installing XP on it, then adding the Karmic drive back to the system and editing one of the boot files to add the other operating system.

If so, which boot file should I edit? Which drive should be primary? Or, is there a better, easier way to do this?

View 3 Replies View Related

Ubuntu Installation :: Adding Space To The System Drive?

Aug 22, 2011

when i first installed ubuntu i cut up 20 gb from one of my drives and put ubuntu in it, because i still had xp. Now i want to add extra space. can i do that ?

View 9 Replies View Related

Fedora Hardware :: Software RAID1 /boot Volume Doesn't Mount Automatically At System Startup

Feb 7, 2010

My software RAID setup is as follows.

/dev/md0 (made from sda1 and sdb1) RAID1 /boot partition
/dev/md1 (made from sda2, sdb2, and sdc2) RAID5 / partition

Earlier on I had some trouble with my sda drive, it dropped itself from both arrays, screwing up the mirroring of my two raid partitions participating in the /boot partition. I eventually got everything sorted out and back in sync. (I also have grub installed to MBR on both sda and sdb). Things are working fine regarding that, but since then I've had this issue:

During boot up, I'll get an error message that it could not mount my /boot partition (when fstab is set to either /dev/md0 or the UUID). It claims c9ab814c-47ea-492d-a3be-1eaa88d53477 does not exist!

My fstab:


[mark@mark-box ~]$ cat /etc/fstab
# /etc/fstab
# Created by anaconda on Wed Jan 20 16:34:41 2010


As far as I know, it isn't neccessary for /boot to be mounted always, correct? Although, as I understand, I need to have it mounted whenever making kernel changes correct?

View 2 Replies View Related

Fedora :: Unable To Add A Physical Drive To An Existing Filesystem?

Aug 15, 2011

I want to be able to add a physical drive to an existing filesystem, and PRESTO! That filesystem has more storage and/or redundancy. When one of the physical drives eventually fail, no problem, Ive lost some redundancy, I just have to install a new drive before another one fails.Lets assume I have 4 physical drives.*What Is This Configuration? *[URL]...But I am unclear how to get a logical volume that is mirrored and linear.

The last time I tried software RAID 1 (dm-x) under lvm, it was very fragile. Systemd could not start it,and then an update to mdadm put a stake through its heart. So I know that does not work.

View 5 Replies View Related

Red Hat / Fedora :: Bootable Backup On Existing Drive Holding Win 7

Feb 10, 2010

I have Fedora 12 installed on an external harddrive (USB) and have it configured the way I want. Inside my laptop I'm working on I have a Win 7 installation. My plan is to slowly migrate to Fedora and only use Win 7 when needed, so far so good..

I shrinked the partition on the internal drive holding using Win 7's built in tools and would like to clone my USB installation to the new partition I can now create, I work a lot with Macs in my line of work and there I always use Carbon Copy Cloner to make bootable backups, works like a charm..

As far as I know CCC uses rsync which is available for Linux as well so I guess I could use that? I plan on editting the Win7 bootloader later on to make it possible to boot from the new Fedora partition.

How would I go about it? The internal drive is GUID (or is it GPT?) formatted and loosing the Win 7 installation isn't an option of course.. All I could find were commandlines to backup certain folders or entire drives but I only want to backup my partition onto a different partition..

View 4 Replies View Related

General :: Adding Users To Existing Group

Aug 26, 2010

I've been asked by my professor to add the list of users to a linux server (not sure of the OS type I think he said debian) but anyway. He gave me this script to add users.

Code: #!/bin/bash
# Script to add a user to Linux system
if [ $(id -u) -eq 0 ]; then
read -p "Enter username : " username
read -s -p "Enter password : " password
egrep "^$username" /etc/passwd >/dev/null
if [ $? -eq 0 ]; then
echo "$username exists!"
exit 1
pass=$(perl -e 'print crypt($ARGV[0], "password")' $password)
useradd -m -p $pass $username
[ $? -eq 0 ] && echo "User has been added to system!" || echo "Failed to add a user!"
echo "Only root may add a user to the system"
exit 2

I need to see if I can get this script to read a file that list the usernames and their passwords using the pipe command (or some similar command) so I can just do it in one batch. I've done some searching but there are so many vairiations of the code that I've confused myself. Also, I'm not too familiar with linux, it's been a few years since I've used it but in the prior script, I need to add the users to an existing group named "forensics". Which line would I change/add in order to do this?

View 3 Replies View Related

Programming :: Adding New Selections To The Existing Script?

Mar 19, 2010

i have two scripts called:

"type" & "selecttype".

In "type" i have only the name of the products ex.: product1 & product2. Now, i have to ADD product3 which includes sub categories: productA, productB, productC, productD, productE, productF. so my New type script (menu) looks as below:

1) product1
2) product2
3) product3

and my current selectype looks how can I add the new product3 argument with all other multiple selections (productA, productB, productC, productD, productE, productF) into my current selectype (as below which is set only for product1 & product2), so when a user select: 3) product3 from "type" would get a new menu of all the sub categories, and the script would process the new additional arguments.

Here is the copy of my selectype script:

export -n selecttypechoice
if [ "${upgrade}" == "yes" ] ; then


View 5 Replies View Related

Ubuntu Installation :: Adding Windows XP To Existing 10.10 Install

Mar 11, 2011

After spending almost 100 hours trying to get my MP3 player working I have decided to add an XP partition and use it there.I am an Ubuntu newbie and am finding the whole "new-dos" experience too frustrating for words.Can someone please explain in ENGLISH for an IDIOT how I can do this.

View 9 Replies View Related

Networking :: Adding Wireless Router To An Existing Network

Dec 22, 2010

I have an existing network that connects to the 'net via a Linux-based firewall. That system has two ethernet interfaces: one to the DSL modem and the other to the internal switch. Future plans were for adding a second "internal" interface with the idea of moving servers into that (think DMZ). But while I was planning for that, the missus has decided she wants to pick up a Windows laptop and would like to be able to use it wirelessly at home. I have access to a (free!) Netgear WGR614L and was hoping it would work. Unfortunately, I'm unsure how to add the wireless capability to our network.


Is it best -- or even possible -- to use one the wireless router for this?

Is it possible to merely hang the Netgear router off the internal switch and set it up for the wireless users? Or...

Would I need to add another ethernet interface to the firewall and hang the router off that? The address of this new interface would act as the default route for the wireless users. Then I'd need to (I assume) add more rules to the iptables configuration to deal with the new network. (I sort of like this option -- it it's actually feasible -- as I can easily shut down any wireless access by logging into the firewall and stopping the interface connecting the wireless router.)

I've taken a look at the setup guide on the CD that came with the router and it assumes that you have a modem connecting your PC to the internet. The instructions have you placing the wireless router between the modem and that PC. For our network, that would have the wireless access coming into the "dirty" side of the firewall. (Not what I would like.)

View 4 Replies View Related

Software :: Adding Partitions To An Existing Image File?

Jun 15, 2009

I have 2 image files, image 1 which is 16MB, has multiple partitions, where the boot partition has a 2.4 kernel in it, and image 2, which is 32MB, has a single partition with a 2.6 kernel.

I wish to add those extra partitions from image 1, into image 2, either by adding them within the 32MB(which means cutting back on the size of the existing partition), or adding them to the end of the image(which means extending the image beyond 32MB).

The boot partition for both images is ext2, while the rest of the partitions in image 1 is just raw data.

I'm working with these images in Mandriva Linux 2009.

How can I achieve what I want to do? I think it should be with fdisk and/or mkfs but I'm not sure how? I've tried using gparted to regenerate the partitions from a new image file with the following steps:
dd if=/dev/zero of=image.img bs=32M count=1
gparted image.img

Then I created a 30M boot partition. However, I'm not able to create the rest of the partitions as they are smaller than 1MB, which seems to be the min supported. I need precise control of the start/ending sectors of each partition.

View 1 Replies View Related

Ubuntu :: Edit The Bootloader Entries (remove Some Existing Ones - Not Adding Any)

Mar 31, 2010

I installed Ubuntu in a dual-boot with Windows 7, and installed the bootloader (GRUB? However, I have some weird Windows XP Embedded entry! I also have a lot of different boot options for Ubuntu. All I want is my Windows 7 entry (picked up as Windows Vista) and my main Ubuntu entry. How can I edit the bootloader entries (remove some existing ones, not adding any) so I have only two on there?

View 4 Replies View Related

General :: Adding Existing Distro Back To Boot Loader?

Mar 19, 2011

Have 3 linux distros on 3 hard drives. lost one distro from boot loader. how do I restore missing distro to boot loader? drive was not written to when one distro (drive) was updated.Example drives a, b, and c each had listing on boot loader, now after upgrade to distro on drive b order on boot loader is drive b then a and none for c.

View 5 Replies View Related

Fedora Installation :: Possible To Make Updated Installer DVD From Existing System?

Feb 19, 2009

I have recently installed Fedora 10 in my x86_64 system and fully updated. The updation size was nearly 650MB. My question is can I make a an updated installer DVD from my existing fedora system?

View 8 Replies View Related

Software :: Installing ATI Radeon Card In Existing Fedora 12 System?

Aug 23, 2010

After lots of trouble with the new Nvidia stuff in Fedora 12 I gave up and am trying to switch to an ATI Radeon 4350 card in the existing system.I have removed the Nvidia refs with rpm -e, deleted /etc/X11/xorg*, and installed the card. I am only able to get a maximum resolution of 1024x768. Here's what I've done:

Boot and su/delete all refs: /etc/X11/xorg*
Reboot. System comes up with 1024x768
Select Administration->Display to run system-config-display.
Su/password dialogue


If I try to add a mode line following Depth 24, It is ignored by system-config-display and overwritten. This worked with the Nvidia installation and I was able to select my resolution above 1024x768.

View 13 Replies View Related

Fedora Installation :: F12 (Install Or Upgrade Existing System) Sony Vaio

Jun 22, 2010

I've had such good luck with Fedora (and this Forum), I'm attempting to put F12 on wife's brand new Sony Vaio, a VPCEB11FM, a 64bit system. I downloaded the Fedora-12-x86_64-netinst.iso, made sure it was ok with sha256.exe, then burned the image to DVD. Booted it up and let it default to "install or upgrade an existing system". It dead-ended in a dark blue or black screen. I re-started and examined the other options. Thought I'd try the one that says: "Install system with basic video driver". Got all the way through to where it got ready to start downloading files. Can't get past that point because it attempts to get to the Internet using the Sony's wireless card! Why would it try the wireless when there's a wired NIC card in this PC that requires no special driver etc. How to proceed from here?

View 3 Replies View Related

Red Hat / Fedora :: Creating A Fedora CD From An Existing System

Apr 6, 2009

I want to find out how to create a Fedora installation CD from an existing Fedora System. I cant find my CDs and I want to set up another system. What commands do i use or how do I go about it.

View 1 Replies View Related

Fedora :: Adding SATA Drive - Not Detected By The Bios ?

Oct 18, 2009

I have a working F-10 box with an older motherboard (pre-sata). The p-ata ports are full (4 drives), so I'm trying to add a sata controller and another drive. The sata controller plugs into the pci bus, but is not detected by the bios (very old). After booting, the OS loads the driver module(s) and detects the new controller and drive. I was able to add the new sata drive into the LVM system using system-config-lvm. All was fine until I rebooted.

I get pages of lvm errors and booting fails. It looks like it's trying to mount the volumes before the sata controller is modprobed. Is there a way to get the os to modprobe for the new controller before trying to mount? The extra drive space is on a data partition, not the boot partition.

View 7 Replies View Related

Red Hat / Fedora :: Adding Third Drive Keeping Share Under Var Files

Aug 7, 2010

I am just starting out in linux and am a little confused about mounting drives. On my fedora pc, I have 2 x hard drives. When I originally installed the os, I had 1 drive with the default partitioning. I placed all my data into /var/files and had various folders under there e.g. music, video, docs etc. It didn't take long for this to fill up. So I added a 2nd drive and mounted it as /var/files which increased the space for all the folders in that directory. So my fstab has:
sda1 /
sdb1 /var/files

Now its filling up again and I want to add a 3rd drive. But this time, I want to separate my music from my video's etc but still keep the share under /var/files. So, do I add the 3rd drive, mount it as /var/files/music1, then transfer the music files from /var/files/music to /var/files/music1 and once the transfer is complete, delete /var/files/music, rename /var/files/music1 to /var/files/music and then mount sdc1 to/var/files/music? The bit I can't get my head around is the mount within a mount:
sdb1 /var/files is mounting everything under it including /music
If I add sdc1 /var/files/music how does it affect the mount point of sdb1
Am I better putting the /music under /var/music instead of /var/files?

View 8 Replies View Related

Ubuntu :: Safely Resize A Partition Like Adding The Extra Space Without Touching The Existing Data?

Jul 9, 2011

I have a BIG extended partition. It's at about 750Gb. Aside from that, I have 2 unallocated spaces, one at 240Gb and one at 5Gb. I want to make one of my storage drives bigger, and so that I can take advantage of all the space I have. (Those 250Gb have been unused for ages. I want to use them for my growing libraries.) So I wonder: would it be safe to put these smaller "chunks" into the extended partition, and still have a working systen? I don't want to mess it all up.

Also, can I safely resize a partition, like adding the extra space, without touching the existing data? I'm not exactly sure how the resize/move function in GParted works. Will it wipe and extend or only extend it by adding it? It would be nice to have these questions answered. Also, if it's to any help, this is my partition table as of now:


As for the first entries, they're unallocated. They're the primary drives, but they don't exist. I'm actually considering to move my partitions out of the extended one, because I only have 3 partitions that I use and will ever use. But if the extended partition is not a problem, I will just keep it this way.

I'd imagine that I first extend the extended partition to consume the unallocated space, and then I move it all to the end of the partition, and then resize sda7 to consume it, and get a 750Gb partition. Can this be done without loss of data?

View 9 Replies View Related

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