View unanswered posts    View active topics

All times are UTC - 6 hours





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

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Apr 08, 2007 12:21 am 
Offline
Joined: Tue Jan 23, 2007 1:38 pm
Posts: 249
Location: Sweden
Following tjc:s upgrade guide I held my breath and took the plunge. Would I destroy my system? It turns out that the upgrade went according to plans up to the stage where the reboot, instead of dropping you to some setup-shell, simply started MythTV and all was normal.

Everything was there, but the system was actually left in the R5D1 version. :roll: Or so it seems. The menus are the same, the bugs likewise, a freshly added R5E5 frontend detects different backend version etc.

How could this be - what did I do wrong? :?:

/Chris

_________________
LinHES R8.6.1
BE: AMD64X4, 4GB, Hauppauge usb tuners
FE1: Gigabyte F2A85X-UP4, nVidia GT640
FE2: Gigabyte GA-MA69GM-S2H, AthlonX2 4850E 2.5 GHz, 1GB, ASUS GEFORCE 7200GS 256MB
FE3: Asus Eeebox410


Last edited by cahlfors on Mon Jun 11, 2007 9:27 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 08, 2007 9:13 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Did you download the right image? What does the following command show?
Code:
cat /etc/KnoppMyth-version

I should be, "KnoppMyth R5E50" Try refetching directly from the following locations, and be sure to check that the md5sum matches!
ftp://ftp.knoppmyth.net/R5/R5E50/KnoppMythR5E50.iso
ftp://ftp.knoppmyth.net/R5/R5E50/KnoppMythR5E50.iso.md5sum

OBTW - on the off chance that you're doing something crazy, what does this show?
Code:
cat /myth/backup/backup.list
cat /myth/backup/restore.list


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 08, 2007 6:41 pm 
Offline
Joined: Tue Jan 23, 2007 1:38 pm
Posts: 249
Location: Sweden
Well, the image is 5E50 (not 5E5 as I wrote in the first post). It installed nicely on a new frontend from the same disk.

cat /etc/KnoppMyth-version reports 5D1 after two attempted upgrades.

cat /myth/backup/backup.list
cat /myth/backup/restore.list

Both report nonexistent files.

I have never managed to run a backup without failing. However, it is the file listing that does not match. I am thinking it might be because of mounted external directories (under /mnt). The reported files indicate that. All else is in good order.

Thanks for your time!

/Chris

_________________
LinHES R8.6.1
BE: AMD64X4, 4GB, Hauppauge usb tuners
FE1: Gigabyte F2A85X-UP4, nVidia GT640
FE2: Gigabyte GA-MA69GM-S2H, AthlonX2 4850E 2.5 GHz, 1GB, ASUS GEFORCE 7200GS 256MB
FE3: Asus Eeebox410


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 28, 2007 3:56 pm 
Offline
Joined: Tue Jan 23, 2007 1:38 pm
Posts: 249
Location: Sweden
:(
I'm still stuck.
Since upgrading does not work for me, should I do a fresh install and try to restore afterwards?

/Chris

_________________
LinHES R8.6.1
BE: AMD64X4, 4GB, Hauppauge usb tuners
FE1: Gigabyte F2A85X-UP4, nVidia GT640
FE2: Gigabyte GA-MA69GM-S2H, AthlonX2 4850E 2.5 GHz, 1GB, ASUS GEFORCE 7200GS 256MB
FE3: Asus Eeebox410


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 29, 2007 12:04 am 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
There is no such thing as a fresh install and restore afterwards. A fresh install will wipe the drive clean. Was /myth on a LVM volume? Please post the contents of /etc/fstab.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 30, 2007 3:58 pm 
Offline
Joined: Tue Jan 23, 2007 1:38 pm
Posts: 249
Location: Sweden
Ah, no fresh install then. Nope - no LVM in this installation. I've tried to keep it as standard as I could figure to facilitate such things as upgrading following standard procedures. I've been advised to change mount points - hope they are good now.

Thanks :)
/Chris

# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hda3 / ext3 defaults,errors=remount-ro 0 1

proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0

//SCOOBYDOO/data /mnt/SCOOBYDOO/data smbfs username=xxx,password=yyy 0 0
//ZOIDBERG/Film /mnt/ZOIDBERG/Film smbfs username=xxx,password=yyy 0 0
//SCOOBYDOO/sdc /mnt/SCOOBYDOO/sdc smbfs username=xxx,password=yyy 0 0

# Added by KNOPPIX
/dev/hda1 /mnt/hda1 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda2 none swap defaults 0 0

_________________
LinHES R8.6.1
BE: AMD64X4, 4GB, Hauppauge usb tuners
FE1: Gigabyte F2A85X-UP4, nVidia GT640
FE2: Gigabyte GA-MA69GM-S2H, AthlonX2 4850E 2.5 GHz, 1GB, ASUS GEFORCE 7200GS 256MB
FE3: Asus Eeebox410


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 30, 2007 5:47 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
You can't auto upgrade with a nonstandard disk layout. It really expects to find the root (/) in partition 1 (for example - hda1, hdb1, sda1, ...) and the swap in partition 2 (hda2, hdb2, sdb2), and more specifically for older versions the first and second partitions of the primary master IDE device (/dev/hda1 and /devhda2).

Where it finds /myth is less of a problem because you have a window of opportunity to mount this during the upgrade.

It sounds like you need to follow the manual upgrade procedure described in the pamphlet. http://www.mysettopbox.tv/pamphlet.html


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 04, 2007 3:09 pm 
Offline
Joined: Tue Jan 23, 2007 1:38 pm
Posts: 249
Location: Sweden
Thanks guys! I think you are pointing me in the right direction. Funny, I really thought I had a standard installation with boot, swap and root partitions in that order, but apparently I must have set it up that way not realizing I was deviating from Knoppmyth standard. :oops:

I am really looking forward to a maintenance window to retry the operation now! :D

/Chris

_________________
LinHES R8.6.1
BE: AMD64X4, 4GB, Hauppauge usb tuners
FE1: Gigabyte F2A85X-UP4, nVidia GT640
FE2: Gigabyte GA-MA69GM-S2H, AthlonX2 4850E 2.5 GHz, 1GB, ASUS GEFORCE 7200GS 256MB
FE3: Asus Eeebox410


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 05, 2007 6:28 am 
Offline
Joined: Tue Jan 23, 2007 1:38 pm
Posts: 249
Location: Sweden
:( Things aren't going my way.
Following the manual install procedure, I rewrite the partition table with cfdisk, load the configuration, configure the installation and start it. It then warns me that it will format (!) /dev/hda3. I specified that's where I want Knoppmyth to be installed, since that's where the root is. I don't dare to proceed, since I fear it will really format.

If I'm going to lose all my recordings anyway, I might as well do a clean standard install. What would be my best way forward from this very stuck position?

/Chris

_________________
LinHES R8.6.1
BE: AMD64X4, 4GB, Hauppauge usb tuners
FE1: Gigabyte F2A85X-UP4, nVidia GT640
FE2: Gigabyte GA-MA69GM-S2H, AthlonX2 4850E 2.5 GHz, 1GB, ASUS GEFORCE 7200GS 256MB
FE3: Asus Eeebox410


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 05, 2007 9:56 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
This is why you don't put everything in one partition.

Have you got another machine or disk with enough free space to hold the contents of the /myth directory?


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 06, 2007 7:35 am 
Offline
Joined: Tue Jan 23, 2007 1:38 pm
Posts: 249
Location: Sweden
Yes :)

_________________
LinHES R8.6.1
BE: AMD64X4, 4GB, Hauppauge usb tuners
FE1: Gigabyte F2A85X-UP4, nVidia GT640
FE2: Gigabyte GA-MA69GM-S2H, AthlonX2 4850E 2.5 GHz, 1GB, ASUS GEFORCE 7200GS 256MB
FE3: Asus Eeebox410


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 06, 2007 9:14 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
OK, so do a fresh backup, shut down the FE and BE and copy all of /myth over to the other place. Make sure you do it in such a way as to preserve all the file ownerships and permissions. If you're copying to an MS-Windows machine you probably need to write a tar archive or the like to do this.

Once you've got that in a safe place (the copy may take hours depending on how much data you have), then you can repartition to have [hs]da1 as root (/) (5-6GB), [hs]da2 as swap (1x or 2x your RAM), and [hs]da3 /myth with the rest of the space you want to use.

There are several ways to get the saved contents of /myth back on you new /myth partition (rescue CD, temporary install, ...) so I'll leave that up to you. Just remember that you want to preserve ownerships and permissions.

Finally, do an auto upgrade to pick up the contents of of your backup.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 06, 2007 12:16 pm 
Offline
Joined: Tue Jan 23, 2007 1:38 pm
Posts: 249
Location: Sweden
Thanks a lot - that'll keep me busy for a while. :D
I'll try to do it right this time. :oops:

The plan is to use rsync /myth with proper options to a Mandriva box, fresh install/standard partitioning of R5E50, rsync /myth back and then upgrade to R5E50. 8)

Cheers,
/Chris

_________________
LinHES R8.6.1
BE: AMD64X4, 4GB, Hauppauge usb tuners
FE1: Gigabyte F2A85X-UP4, nVidia GT640
FE2: Gigabyte GA-MA69GM-S2H, AthlonX2 4850E 2.5 GHz, 1GB, ASUS GEFORCE 7200GS 256MB
FE3: Asus Eeebox410


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 06, 2007 12:51 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
That should do it. There are other ways, but this is probably the fastest & simplest. It's essentially how I transfered everything from the old KM box to the new one (quite a while back now). The only extra step I took was a hostname fix up and you won't need to do that if you keep the same hostname. The rsync is the most time consuming part, and you can walk away and do something else while that's happening.


Top
 Profile  
 
PostPosted: Sun Jun 10, 2007 11:57 am 
Offline
Joined: Tue Jan 23, 2007 1:38 pm
Posts: 249
Location: Sweden
Thanks for all the good advice!

Using Samba to my Mandriva box failed for reasons of file size limitations and ownerships, so I ended up using a usb disk.
With this setup, all went well to the upgrade phase, when the restore failed and the system was unable to connect to the database.

The restore failed for reasons of file lists not being quite equal (all else OK), an error message I got already when backing up. I figure that this is reasonable OK and may be because of my all-in-one-partition setup.

It appears, however, that the network parameters where garbled up and although I specified fixed IP, NO DHCP a hostname etc, it came up as "Knoppix" (not my hostname) in the DHCP server log with a dynamic IP - different from those in the setup dialogs.

Now, the backend is unable to connect to MySql and I think the address might have something to do with it. The logs indicate using the fixed IP address as I had specified it.

Trying to change the FE and BE address parameters to match DHCP doesn't help, trying ifconfig to change the interface to a fixed IP neither helps nor survives a restart.

I'm stuck again! :roll:

Oh, I went for R5F1 this time.

/Chris

_________________
LinHES R8.6.1
BE: AMD64X4, 4GB, Hauppauge usb tuners
FE1: Gigabyte F2A85X-UP4, nVidia GT640
FE2: Gigabyte GA-MA69GM-S2H, AthlonX2 4850E 2.5 GHz, 1GB, ASUS GEFORCE 7200GS 256MB
FE3: Asus Eeebox410


Top
 Profile  
 

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



All times are UTC - 6 hours




Who is online

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