View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 23 posts ] 
Go to page Previous  1, 2

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Sun Oct 24, 2004 7:04 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Perhaps reading my first reponse...

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 24, 2004 7:14 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
You can do this with any one of:

- dd

- tar

- rsync

and several other ways... Most of these were discussed further up the thread. In the end there's no substitute for RTM.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 25, 2004 7:40 pm 
Offline
Joined: Thu Feb 19, 2004 6:52 pm
Posts: 117
turpie wrote:
I want to do something similar to wrooster, except that I'm just upgrading my original drive to something less noisy.


if the sizes of the two drives are the same, this is trivial...

1) config the 2nd (new, blank) drive to be a slave IDE device, or use cable select appropriately.
2) install drive in your current mythtv machine, or hang it off a cable.
3) boot off of original drive.
4) $ su
5) use dd to copy all the bits from drive1 (/dev/hda) to drive2 (/dev/hdb). specify a large block size to speed things up. check the dd man page first, but it's something along the lines of:
# dd if=/dev/hda of=/dev/hdb bs=8192k
6) # shutdown -h now
7) remove original drive; reconfig new drive to be primary IDE device.
8) boot with new drive.

jim


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 25, 2004 7:48 pm 
Offline
Joined: Thu Feb 19, 2004 6:52 pm
Posts: 117
cesman wrote:
There is a change. But why? wrooster hasn't even posted if he followed any of the suggestions. So, we don't know if any of them worked for him...


no. for various reasons, in the end i abandonded the cloning idea. in several attempts i got unbootable disks. in several other attempts i had all kinds of weirdess during booting, mostly very protracted fsck's and then complaints about superblock discrepancies. i'm sure that the duplication can be done but my debugging time would have swamped how long it actually took to install from scratch and subsequently copy over my configs. which is what i finally did.

but thanks for all of the suggestions.

jim


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 25, 2004 7:56 pm 
Offline
Joined: Wed Apr 28, 2004 10:42 pm
Posts: 405
Location: Bendigo, Victoria, Australia
wrooster wrote:
turpie wrote:
I want to do something similar to wrooster, except that I'm just upgrading my original drive to something less noisy.


if the sizes of the two drives are the same, this is trivial...

jim


That's the bit I forgot to mention, the new drive is much bigger than the original (160GB vs 40GB), so the partition sizes will be different.

Thanks anyway

_________________
Paul Turpie
-------------
<--Is your location in your profile? Why not?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 25, 2004 10:12 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
For your disk image there are several bits of relevant information:
    - Low level
      - the formatting
      - file system (ext2, ext3, xfs, reiserfs, ...)
      - the boot record
    - High level
      - The directory tree and files
Given a formatted destination drive with an empty file system, all you need to copy is that last bit, the high level data. The only other thing you need to do is run lilo to set up the boot record. Both the tar and rsync method will let you copy between drives of different sizes and even different filesystem types. This is NOT speculation. I've done this many times before, generally one partition at a time.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 19, 2005 1:56 pm 
Offline
Joined: Tue Jan 04, 2005 4:01 pm
Posts: 54
Does anyone know if there's a howto regarding this topic for various scenarios?

I'd like to know if mondo can be installed and used with knoppmyth.

_________________
AMD Athlon 666mghz
asus a7a266 motherboard
1gig ram
160 gig drive
pvr 250
nvidia gforce 4 mx


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 19, 2005 2:49 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Perhaps a search of the forum. Seriously, someone asked about moving to another hard drive. Myself and other posted on how this could be done. Yes, you can use mondo w/ KnoppMyth. Not that I have, but KnoppMyth is Linux.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ] 
Go to page Previous  1, 2



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 37 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu