LinHES Forums http://forum.linhes.org/ |
|
All mount points at /dev/sda1 http://forum.linhes.org/viewtopic.php?f=5&t=10567 |
Page 1 of 1 |
Author: | shplad [ Tue Jun 20, 2006 6:26 pm ] |
Post subject: | All mount points at /dev/sda1 |
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 |
Author: | tjc [ Tue Jun 20, 2006 7:57 pm ] |
Post subject: | |
- 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. |
Author: | mjl [ Tue Jun 20, 2006 9:25 pm ] |
Post subject: | |
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 |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |