View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 29 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Feb 19, 2005 10:35 pm 
Offline
Joined: Mon Nov 17, 2003 8:59 am
Posts: 206
Location: Michigan
I just added mkcdrec to my knoppmyth box so I could make another backup of the system before moving forward to R5A10. I've now got a single bootable CD I can use to re-install my knoppmyth box from bare metal if necessary. It should recover to exactly as it was at the time of backup.

I excluded all media directories (/myth/tv, /myth/video, etc) so that the system would fit on a single cd. Media should be backed up some other way if you feel the need.

I thought others might like to do this, so I wrote a howto over at the knoppmythwiki:
http://knoppmythwiki.homelinux.org/inde ... drec_Howto

Hold the Phone! I just attempted a restore with the cd to a spare drive and it did not boot properly. I don't know if this is a problem with my hardware or if the backup is flawed. If you follow the wiki, please test the recovery CD before trusting it!!!

Please read the rest of this thread. Andrew Lynch installed mondo/mindi after failing with mkcdrec and it appears he made a proper bootable recovery dvd.


Last edited by davem on Mon Mar 07, 2005 3:30 pm, edited 3 times in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 19, 2005 11:31 pm 
Offline
Joined: Tue Jan 04, 2005 4:01 pm
Posts: 54
davem:

Thanks allot. I was asking this very question recently.

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


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 20, 2005 5:35 pm 
Offline
Joined: Tue Jan 27, 2004 10:51 am
Posts: 71
Location: Carlsbad, CA
I can see why you had a problem with booting the CD rom. When I tried it I got the same error. Check the log file. I got this error:


WARNING: kerneld was not found. Skipped.

Not sure what the solution is tho. I'm doing a RTFM right now to see if I can figure it out.

_________________
Freddyman
Knoppmyth r5a12
Shuttle AB60N mobo (Intel 865PE chipset)
P4 2.8ghz
512MB PC 3200 RAM (paired 2X256MB corsair)
GeforceMX 4400 with tv out
PVR-350
PVR-250
linuxHDTV
AirToPC
Creative Audigy 5.1


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 21, 2005 11:40 am 
Offline
Joined: Mon Nov 17, 2003 8:59 am
Posts: 206
Location: Michigan
Hmm possible, though I was making a recovery cd of R4v3 in preparation of the R5A10 update. I want to get this working, but for now it just doesn't work for me. The cd has valid zip files of the partitions so it's not a total waste, but it doesn't do what it's supposed to do.

I had a bunch of copy errors in the logs but I'm not sure why. Choosing option 1 off the first menu to just make a rescue cd is much faster than doing option 2 and it fails for me in the same way, so I'll keep trying that until I can get one that boots.

I put a warning in the wiki article, but do you folks think I should delete the article until I get it working?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 23, 2005 8:51 pm 
Offline
Joined: Tue Jan 04, 2005 4:01 pm
Posts: 54
I can't seem to stop the backend and mysql.

typing /etc/init.d/mythtv-backend stop does not work. Same for mysql stop.

any suggestions on how to stop the backend and mysql?

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


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 23, 2005 9:12 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
perhaps run them as user root instead of user mythtv


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 24, 2005 7:14 am 
Offline
Joined: Tue Jan 04, 2005 4:01 pm
Posts: 54
That's what I don't understand. I am running as root. I typed su and placed my password. Unless you mean loggin as root from the start.

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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 24, 2005 9:42 am 
Offline
Joined: Mon Nov 17, 2003 8:59 am
Posts: 206
Location: Michigan
Curious, su should work fine. Type the following commands and copy/paste the output here.

su
whoami
/etc/init.d/mythtv-backend stop
ps -ef | grep backend | head -2
/etc/init.d/mysql stop
ps -ef | grep mysql | head -2


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 24, 2005 10:51 am 
Offline
Joined: Tue Jan 04, 2005 4:01 pm
Posts: 54
Thanks i'll try the command you posted. I keep getting this command not found error.

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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 24, 2005 11:16 am 
Offline
Joined: Tue Jan 04, 2005 4:01 pm
Posts: 54
davem: this is a silly question but there's always a first time for everything.

How do I copy and paste the output? Do I have to use the vi edicator and copy the text (how?)

There are several similar log files each with a consecutive number in the end. Do you want the output of the last numbered file or the first?

Thanks for your patience with me.

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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 24, 2005 12:00 pm 
Offline
Joined: Mon Nov 17, 2003 8:59 am
Posts: 206
Location: Michigan
Well, it depends on how you access the box. If your browser and the window you're typing in are on the same machine, you highlight the text you want to copy by swiping it with the mouse and left mouse button, then go to the window where you want to paste it and hit the middle button. If there's no middle button, then click the left and right at the same time to paste.

If you're typing on a different box, you'll have to get your text into a file; swipe, vi /tmp/foo, i, paste with middle button, escape, :wq!

Then get the file transferred to your browser box for typing here.

If you're getting "file not found" then it sounds like your'e not typing something right. Learn to use "tab complete" to avoid typo's. For example, to type the command to stop mysql, you could type:
/etc [TAB] init.d [TAB] mys [TAB]. You should now see /etc/init.d/mysql on the command line and you just type stop and press enter.

If you press [TAB][TAB] it will show you all the possible completions for the word you've started to type.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 24, 2005 2:33 pm 
Offline
Joined: Tue Jan 04, 2005 4:01 pm
Posts: 54
ok so I figured out what I was doing wrong.

I was typing in the commands from the command prompt (black screen) by pressing control alt F1.

The I tried exiting the frontend and opening up an xterm window. Typing in the commands there worked. I guess linux is wiered that way.

Should I always work from xterm insteak of crtl-alt-F1?

Thanks

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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 24, 2005 2:37 pm 
Offline
Joined: Mon Nov 17, 2003 8:59 am
Posts: 206
Location: Michigan
No, xterm and console work the same. It must have been something else.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 04, 2005 7:35 pm 
Hi

This certainly looks interesting and I tried your instructions at KnoppMyth wiki but I am getting some repeatable errors at the very first steps. When I

#cd /tmp
#wget http://mkcdrec.ota.be/project/mkCDrec_v0.8.5.tar.gz
#wget http://mkcdrec.ota.be/project/mkCDrec_v ... ils.tar.gz

#su
#cd /myth/backup
#tar xvfz /tmp/mkCDrec_v0.8.5.tar.gz | less

when I pipe the output of the untar I notice there are several missing files and numerous errors reported by tar.

#cd mkcdrec
#tar xvfz /tmp/mkCDrec_v0.7.9_utils.tar.gz

same thing here.

#make test

gives the following errors

scripts/dispatch.sh test
make: scripts/dispatch.sh: Command not found
make: *** [test] Error 127


I cannot get any further with your commands. Both tar files check out on the md5sum listed on the home website. There is something seriously funky going on here. Is the upstream tarball corrupted? Are we not using the correct command for tar?

I don't get it. Please help!

Thanks!

Andrew Lynch


Top
  
 
 Post subject:
PostPosted: Fri Mar 04, 2005 9:15 pm 
Offline
Joined: Mon Nov 17, 2003 8:59 am
Posts: 206
Location: Michigan
Wierd. I just tried it to see if that repeats here, and I don't have that problem. Here's my output. BTW, you did see the warnings that the CD that this created wasn't bootable right? I haven't had a chance to work on it further to see what's causing that problem.

Code:
davem@mythtv:/tmp$ wget http://mkcdrec.ota.be/project/mkCDrec_v0.8.5.tar.gz
--22:08:53--  http://mkcdrec.ota.be/project/mkCDrec_v0.8.5.tar.gz
           => `mkCDrec_v0.8.5.tar.gz'
Resolving mkcdrec.ota.be... 212.68.198.130
Connecting to mkcdrec.ota.be[212.68.198.130]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,534,560 [application/x-tar]

100%[================================================================================================================>] 2,534,560     59.02K/s    ETA 00:00

22:09:36 (58.07 KB/s) - `mkCDrec_v0.8.5.tar.gz' saved [2534560/2534560]

davem@mythtv:/tmp$ md5sum mkCDrec_v0.8.5.tar.gz
1d58ae8aaa9302c1a104f10b5f7e6756  mkCDrec_v0.8.5.tar.gz

And then running tar xvfz mkCDrec_v0.8.5.tar.gz worked without errors.


Top
 Profile  
 

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



All times are UTC - 6 hours




Who is online

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