FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 02-16-2010, 03:08 PM
Mikkel
 
Default How to move my / partition

On 02/16/2010 08:29 AM, Timothy Murphy wrote:
> I want to move the / partition on a (very ancient) Fedora-12 desktop
> from one SCSI disk to another (/dev/sdb3 to /dev/sda6),
> because the second disk is showing some signs of sickness.
>
> Is there any safe way of doing this while the machine is running?
> Unfortunately the CD drive does not appear to be working,
> and the machine (an Asus-P2B-LS) does not support booting from USB.
>
> I could download and install something like Knoppix,
> if it is possible to boot from it with grub?
>
> Any help or suggestions gratefully received.
>
You may want to take a look at the gparted project - they have hard
drive install documentation as well, as CD/USB/PXE boot images.

http://gparted.sourceforge.net/livehd.php

Mikkel
--

Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 02-16-2010, 03:20 PM
Chris Tyler
 
Default How to move my / partition

On Tue, 2010-02-16 at 14:29 +0000, Timothy Murphy wrote:
> I want to move the / partition on a (very ancient) Fedora-12 desktop
> from one SCSI disk to another (/dev/sdb3 to /dev/sda6),
> because the second disk is showing some signs of sickness.
>
> Is there any safe way of doing this while the machine is running?
> Unfortunately the CD drive does not appear to be working,
> and the machine (an Asus-P2B-LS) does not support booting from USB.
>
> I could download and install something like Knoppix,
> if it is possible to boot from it with grub?
>
> Any help or suggestions gratefully received.

Hi Timothy,

If your / filesystem is on a logical volume, which is the default for
F12 installations, you can move it easily:

- Add the new disk.
- Partition the disk (optional but recommended). One partition is fine,
or if you're going to also boot from this disk, then create a new /boot
partition as well. (fdisk)
- Make the new partition a physical volume (PV). (pvcreate)
- Add the PV to your volumg group (VG). (vgextend)
- Tell your system to migrate your data off the old PV (pvmove)
- When complete, tell the system to take the old PV out of the VG
(vgreduce).
- Optional - if desired, remove the PV metadata from the old PV
(pvremove).

Except for physically adding and removing the drives, these steps can be
performed while the system is running, either from the command line or
using the system-config-lvm GUI.

Finally, set up your /boot partition and reset your grub configuration,
and you should be good to go. As when performing any disk
administration, backups are your safety net.

-Chris

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 02:35 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org