Re: How to migrate to new disk?
From: John-Paul Stewart (jpstewart_at_sympatico.ca)
Date: 12/05/03
- Next message: Dale Dellutri: "Re: (newbies) ssh putty win linux modem & eth0 ..."
- Previous message: Grant Edwards: "Re: Byte data interchangability between endian machines"
- In reply to: Yvan_at_office: "How to migrate to new disk?"
- Next in thread: Ed Murphy: "Re: How to migrate to new disk?"
- Reply: Ed Murphy: "Re: How to migrate to new disk?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 05 Dec 2003 10:27:39 -0500
"Yvan@office" wrote:
>
> I have RH 8 installation on *one partition* on disk 1. It was suppose to
> be a test installation, but now that all is configured, I would like to
> move it to another HDD.
>
> I partitioned new HDD as I wanted, and now I am wondering how to copy
> entire installation on it.
>
> I Googled for a while and I believe that I found a solution:
>
> After "formating" partitions:
>
> # mke2fs -j /dev/hdfx
>
> I am suppose to:
>
> # shutdown now
There's no need to shutdown right now, AFAIK.
> and mount /dev/hdfx /mnt/new/x
>
> then:
>
> # cd /var
> find . -xdev | cpio -admpv /mnt/new/6
>
> Now that way I can copy /home, /usr and /var. What do I do with / ?
Same thing for /. Just be sure to exclude /home, /usr, and /var when
copying it.
> I also need to edit /mnt/new/1/etc/fstab and configure grub.
Yep. That's fairly straightforward to, although I use LILO rather than
Grub.
Have you read the "Hard Disk Upgrade HOWTO" from the Linux Documentation
Project? It should cover everything you need to know.
http://www.tldp.org/HOWTO/Hard-Disk-Upgrade/index.html
- Next message: Dale Dellutri: "Re: (newbies) ssh putty win linux modem & eth0 ..."
- Previous message: Grant Edwards: "Re: Byte data interchangability between endian machines"
- In reply to: Yvan_at_office: "How to migrate to new disk?"
- Next in thread: Ed Murphy: "Re: How to migrate to new disk?"
- Reply: Ed Murphy: "Re: How to migrate to new disk?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|