View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Jan 14, 2007 10:53 pm 
Offline
Joined: Tue Oct 24, 2006 8:13 pm
Posts: 40
"Watch TV" blanks and comes back to the menu, apparently because it can't find the new sata drive location. (From Mythtv-setup/General, I replaced /myth/video with /mnt/sda1/recordings). When I switch back to /myth/video, Myth is happy again.

I thought I installed the sata drive right, but I'm a noob, thus the reason for this post (what did I do wrong?)

The Knoppmyth (R5d1) install seemed to recognize my Sata drive, and I did a

mkfs.ext3 /dev/sda1

and made a directory called recordings and gave it full access

chmod 777 recordings


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 15, 2007 8:06 am 
Offline
Joined: Sat Dec 30, 2006 4:17 am
Posts: 10
I'm a noob too so...

You are specifying the actual device /dev/sda1

What you need to do is mount that device to a directory, then tell Myth to use that directory.

Look at the manuals for mount and fstab. (man mount and man fstab).


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 15, 2007 11:43 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Looks like he was actually using a mount point, even if it had the device name encoded in it. I'd suspect that the real problem was something more basic like setting the ownership and/or permissions on those directorties correctly after creating the filesystem.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 15, 2007 7:57 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,
First, check the pamphlet, http://mysettopbox.tv/pamphlet.html
#
Quote:
mke2fs -j -O sparse_super -m0 -i8000000 -L myth -M /myth /dev/hda3

Here he sets up large blocks for storage. In your case, use /dev/sda1

Once you have it formatted, mount it some place, look under /mnt/ or /media . Once you have it mounted then
# cp -a /myth/* /<where you mount it>
as this will copy all the directoies and files needed with your current working system keeping ownership and permissins also.

Once the copy is complete,
# umount /<where you mount it>
and mount it to /myth. Before you can do that, edit /etc/fstab and change the /dev/<partition> /myth to be /dev/sda1 /myth
# mount /myth
and you should be as you just were except with the added space of the new directory replacing the original /myth partition.

Mike


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 15, 2007 10:11 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
You know we're all thrashing around here and not asking for diagnostics... :oops: I really should know better... :(

pairajacks - we need the details. We'll want your exact mount command and /etc/fstab entries. Also the output from running "mount" with no arguments and an "ls -al" of the mounted drive. If you're not set up to cut & paste from a remote session on the KM box, redirect the output to a file and sneaker-net it across.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 16, 2007 1:27 am 
Offline
Joined: Tue Oct 24, 2006 8:13 pm
Posts: 40
2nd attempt (before reading some of the latest replies):

mkdir /myth/video_160gHD
chmod 777 video_160gHD

Edited fstab....
LABEL=/myth/video_160gHD /myth/video_160gHD ext3 defaults 1 2

mount /dev/sda1 /myth/video_160gHD

Output from terminal:
root@mythtv:/myth/video_160gHD# ls -alt
total 28
drwxrwxrwx 3 root root 4096 Jan 15 11:02 .
drwxr-xr-x 17 root root 4096 Jan 15 10:54 ..
-rw-r--r-- 1 root root 57 Jan 15 10:52 TryKenFile
drwxrwxrwx 2 root root 16384 Jan 15 10:24 lost+found

root@mythtv:/etc# df -H
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 5.0G 3.0G 1.8G 63% /
/dev/hda3 26G 212M 25G 1% /myth
/dev/sda1 142G 34M 135G 1% /myth/video_160gHD
root@mythtv:/etc#

"WatchTV" just goes blank, then comes back to menu (still doesn't like my new HD)
Is it because of the owner "root root" in the ls -alt command?


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 1 guest


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:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu