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, 01:29 PM
Timothy Murphy
 
Default How to move my / partition

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.

--
Timothy Murphy
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

--
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, 02:56 PM
Rich Mahn
 
Default How to move my / partition

> 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.
>
If your system is still working well enough this is not too difficult.

First download a CD image for F12 for your architecture--the netinstall
CD is pretty small and any of them are sufficient. Then mount the image
and grab the kernel and initrd from the isolinux partition and put them
in your /boot partition (if they names conflict, change appropriately).
Next update your grub.conf file to add an entry to boot this
image/initrd. Add 'rescue' to the kernel line so it will boot in that
mode. Alternately you can type that in when you boot.
The entry will look something like this:
title Fedora Rescue
root (hd0,0)
kernel /vmlinuz rescue
initrd /initrd.img

When you boot this you will be running in RAM with the tools you need to
do what you want. Don't have it mount your existing system--just get
into a shell to do the dirty work. Assuming you are using lvm for your
/dev/sdb3, you can do something along these lines (from memory--check
syntax):
pvcreate /dev/sda6
vgextend vg_your_vg /dev/sda3
pvmove /dev/sdb3 /dev/sda6
pvremove /dev/sdb3

I may be missing a step or two, but this idea works fine--I just had to
do it myself and the main problem I had was reducing the size of a LV so
it would fit on the new partition.



No virus found in this outgoing message.
Checked by AVG - www.avg.com
Version: 8.5.435 / Virus Database: 271.1.1/2691 - Release Date: 02/16/10 07:35:00
--
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 03:35 PM.

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