Re: Upgrading Hard Drives
- From: Martin McCormick <martin@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 15 Aug 2008 11:55:21 -0500
Shachar Or writes:
On Friday 15 August 2008 14:41, Martin McCormick wrote:
I've got a working Debian system that I am about to
break. I am replacing the master drive with a new one that is 32
times the size of the old one and want to transfer the system
intact from the old one to the new one so dd is not an option
but I want to be sure to preserve all the special files and the
boot sector for the new disk.
This is really easy :)
The a command in fdisk says to toggle a boot flag. When
I make a Linux partition and then mkfs -text3, what state is
that flag in? I looked at the known good disk and the new one
and fdisk reported the same information except for size.
I must admit my ignorance in this matter.
I plan to use dar to put the old system on to the new
drive. Will that preserve all the special files?
If not for those, ordinary tar would work for everything
else?
The end result should be the same system as before but
with a _LOT_ more space.
Thanks for any constructive ideas.
I'd do this:
1. plug the new one in and reboot and configure the bios
2. boot up debian into single user mode
3. create partition(s) in the new disk drive with cfdisk
4. create filesystems in the new disk drive with mkfs.ext3
5. create the swap space in the new disk drive using mkswap
I accidentally responded to him directly so this is for the
list. While have used fdisk many times, cfdisk is a bit new to
me so I should give it a try.
Again, thanks.
Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
OSU Information Technology Department Telecommunications Services Group
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Prev by Date: Re: installing xen on testing
- Next by Date: how to try OOo's 3.0 beta deb on Debian?
- Previous by thread: Re: Upgrading Hard Drives
- Next by thread: installing xen on testing
- Index(es):
Relevant Pages
|