View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Jun 20, 2006 6:26 pm 
Offline
Joined: Sun Nov 14, 2004 10:04 am
Posts: 263
Location: Toronto, Canada
Okay:

Well, either KnoppMyth or I goofed-I'm not sure which one of us it was.
For that very reason, I have a 2-part question.

I already had my previous partition structure intact from my last KM install,
so I decided to just go ahead and use it when I installed a newer version of KnoppMyth (R5C1).
I just assumed that KnoppMyth's installer would notice my partition structure,
and set all the mount points up accordingly. But I was wrong.

P R E V I O U S F S T A B

Code:
# /etc/fstab: filesystem table.
#
# filesystem  mountpoint  type   options  dump  pass
/dev/sda1     /         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
/dev/cdrom    /cdrom    iso9660  defaults,ro,user,noexec,noauto  0  0
/dev/cdromhdc /cdromhdc iso9660  defaults,user,noexec,noauto  0  0
/dev/hdc      /mnt/dvd           defaults,user,auto
/dev/sda3     /cache    ext2     auto,users,exec 0 0
/dev/sda4     /myth     auto     defaults,auto   0 2


C U R R E N T F S T A B
Code:
# /etc/fstab: filesystem table.
#
# filesystem  mountpoint  type   options  dump                           pass
/dev/sda1     /           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
/dev/cdrom    /cdrom     iso9660 defaults,ro,user,noexec,noauto          0  0
/dev/cdromhdc /cdromhdc  iso9660 defaults,user,noexec,noauto             0  0
/dev/hdc      /mnt/dvd           defailts,user,auto

Now, instead of having, for example, /dev/sda4 mapped to /myth, all my folders
are on /dev/sda1. I have no room for recordings on /dev/sda1, as it is tiny-
only designed to be large enough to hold the root directory structure.

First question: Can someone please explain step-by-step how I need to fix this,
so that I won't lose any data in the process?

I'm an old Windows guy, still somewhat new to Linux. Is (Knopp)Myth smart enough
to know to just get its cues from Linux, or am I going to have to make all kinds of
changes beyond, for example, adding sda3 and sda4 to my fstab file.?

Second question: Was/is KnoppMyth supposed to notice preexisting partition
information during installation, or should I have specified it somehow so everything was
mounted at the right place?


Thanks in advance for any help.


Shplad

_________________
KnoppMyth R5C7
Abit NF7-S
Athlon XP Mobile 2500+
Hauppauge PVR-150 + PVR-150MCE
nVidia Geforce 6600GT
Samsung Spinpoint SATA 120GB
NEC ND-3520A DVD
Seasonic Super Tornado 350
BTC 9019URF Wireless Kbd. w. Joystick


Last edited by shplad on Tue Jun 20, 2006 8:21 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 20, 2006 7:57 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
- All MythTV knows is directory and file names. You can play whatever filesystem level games that are needed or desired to get them there. Mounting filesystems, using symlinks, ...

- There are just too many possible disk layout options for KM to deal with them all. For example, anything from my simple single LVM volume containing /myth, to more elaborate schemes like yours and mjl's.

- There are notes in my R5C7 upgrade hints posting about the need to do this, and even information about how to retrieve your old fstab from a modern backup safely. http://mysettopbox.tv/phpBB2/viewtopic.php?t=10116

Oh yeah, to fix your problem you can probably mount your old partitions in a temporary location, copy any new files over from the new /myth, delete anything but your mount points under /myth, and then mount the old partitions in the appropriate places. BTW - you don't need a cache partition anymore.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 20, 2006 9:25 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,
I recommend following through with tjc's suggestions for backups and how to save those special tweaks.

To get your current box up, simply edit the fstab and add the two missing entries. You have the information and even if you had to hand type instead of copy/paste shouldn't be a minute or two.

I usually add an entry for my usb stick also.

Once the entries are completed, do mount /myth and mount /cache do a df -h to see if everybody came home.. IF you had a backup before the upgrade, go into the KnoppMyth menu and do a Restore, Reboot.

Without any hardware listed can't offer much beyond that. IF you have a pvr-350 and selected bootsplash you have make a fix before reboot.
The cache I would keep for music storage, the gallery, or like a closet just to save stuff. Maybe depending on the size add edubuntu for the kids.

Mike


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

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