View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Apr 14, 2007 5:07 pm 
Offline
Joined: Mon Apr 24, 2006 8:30 am
Posts: 91
Location: Pittsburgh, PA
i've searched and searched the forum and tried troubleshooting, etc. the closest i've come to an answer is this guide.

i currently have a system running really well on an 80 gig PATA drive. however, i suspect that drive is dying, so i bought a 500gig SATA. now, how do i go about moving my installation from one to the other? i'd like to boot from the SATA... in fact i'd like it to be the only drive.

using the guide above and countless posts here, i got, well, just about nowhere. i can't seem to get initrd to do anything but cause a kernel panic. i can get lilo to run, but that's as far as i get.

can anyone here guide me through this process?

would it work to simply use the backup script on the PATA, do a SATA install from CD, and then restore the backup on the SATA? or would that overwrite important things like the fstab?

thanks in advance.

_________________
#R5.5#
ATSC OTA on FE/BE - EPoX EP-8KDA7I, AMD Athlon 64 3200+, 512MB RAM, GeForce FX5200, Kworld ATSC-110x2
FE - Antec NSK2400, ABIT NF-M2 (w/GeForce 6150), Athlon 64 3800+, 1 GB RAM


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 14, 2007 7:19 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
See this thread for a better handle of what gets restored. /etc/fstab is _not_ in that list. http://mysettopbox.tv/phpBB2/viewtopic.php?t=10117

When I upgraded from my old machine to the new machine I did a backup on the old machine, installed on the new machine to get all the partitions layed out and make sure the hardware was working, copied the contents of /myth across, shoved the CD back in and did an autoupgrade using the backup that had been copied in /myth/backup. Yes, some of what I did by installing and upgrading was redundant, but it worked and didn't require lots of head scratching.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 14, 2007 9:47 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,

Do a backup first! Also stay same version for the transition, do any upgrades once all is reestablished. Write down the hostname! Use the same hostname on the new build or all will fail.

I have done ide to ide but ide to sata should work also. Mine was similar to tjc's process. I did the auto install to build the drive and then only did the basic q&a process for the time, network, remote etc. When it goes into the setup screen, I esc both times. Once it is all complete, come the tricky part :)

If you can hang a second ide cable on the system, then set the old drive as a slave (hdd) Edit /etc/fstab to make a mount table for the old drive. Then mkdir /mnt/hdd1 & /mnt/hdd3 (assuming a standard install). mount /mnt/hdd1 mount /mnt/hdd3 I then copied all of hdd3 to /myth/ When it finished, do as root mythrestore then reboot.

nano -w /etc/fstab

(add these lines and should work)
/dev/hdd1 /mnt/hdd1 ext3 noauto,users,exec 0 0 (you may want something from the old world)
/dev/hdd3 /mnt/hdd3 ext3 noauto,users,exec 0 0 (your /myth stuff)

mkdir /mnt/hdd1
mkdir /mnt/hdd3

mount /mnt/hdd1
mount /mnt/hdd3

cp -a /mnt/hdd3/* /myth/ (go get a refreshment if a lot of recordings :) )

mythrestore
reboot
alternative method would be to use an external usb housing and substitute sdb1 & sdb3 for the hdd

The mythtv - mysql setup stuff is all stored in the backup. There may be a half dozen better ways but it work for me ide to ide.

Mike


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 16, 2007 9:01 am 
Offline
Joined: Mon Apr 24, 2006 8:30 am
Posts: 91
Location: Pittsburgh, PA
thanks! it worked. i had to reinstall a bunch of libraries to get firefox and a few other installed programs working, so it took a while, but i was spinning my wheels trying to get lilo and initrd to play nice with my sata drive. the install cd did it all for me.

now i just have to get things set up again for my diskless frontend, but i think all that will entail is copying over some config files from the ide installation and running DHCP.

just wanted to send out another thanks for the help here and to cecil and the rest who developed knoppmyth... and made it so easy to install.

_________________
#R5.5#
ATSC OTA on FE/BE - EPoX EP-8KDA7I, AMD Athlon 64 3200+, 512MB RAM, GeForce FX5200, Kworld ATSC-110x2
FE - Antec NSK2400, ABIT NF-M2 (w/GeForce 6150), Athlon 64 3800+, 1 GB RAM


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 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