LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Adding a hard disk ....

[ILUG] Adding a hard disk ....

FRLinux frlinux at gmail.com
Wed Jul 14 10:13:06 IST 2004


On Wed, 14 Jul 2004 09:57:21 +0100, Declan Grady
<declan.grady at nuvotem.com> wrote:
> How can I restructure this, without losing any data.
> i.e. I want to :
> 1. Shutdown box
> 2. insert new drive (probably as hdb, as I currently have one hda drive
> and one hdc cdrom.)
> 3. power up box
> 4. somehow partition extra drive, and move data form existing structure
> to new mountpoints
> 
> I dont know how to do this.... If i create a new /var/spool partition,
> how do I get at the data in the current /var/spool directory ?

You've got several possibilities. Depending on weither you want to
keep your existing drive or replace it. I've oftenly installed the new
drive as hda and the existing drive with data as hdb then used a
'replace_with_your_linux_flavor' liveCD then booted on it and
partition the new hda, copied all directories with preserving
ownership (rsync is your friend here) then chroot to the new hda and
run lilo/grub, remove liveCD, hdb and try to boot up.

Steph
-- 
"Step by step, penguins are taking my sanity apart ..."



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell