Author |
Message |
Rala
|
Posted: Mon Aug 28, 2006 1:41 pm |
|
Joined: Fri Jun 30, 2006 2:48 pm
Posts: 14
|
let me begin by saying that these forums have been a great help in my quest to getting a Myth box set up. I had my eyes on it for a while, and finally invested in the hardware to do it.. note: that I am rather experienced with linux, just have yet to do a system using a SATA drive.
Onto the problem:
I was able to get everything installed fairly effortlessly, but it appears that during the install either I set the partition for both / & /myth to be rediculously tiny, or there is an issue with SATA drives where the total disk size is not reported properly. here is the output of df -k:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 2403420 2281396 0 100% /
/dev/sda3 5855088 2145020 3710068 37% /myth
this is a 350gig drive so I should have more than adequate room. i'm just not sure where it all went
It really isn't that big of an issue for me to reinstall as it was fairly painless to get it working as I had wanted. just curious if anyone else had encountered a similar problem.
I really didnt think I would have been foolish enough to set the root partition at 2.5gig but it was like 2am when i started the install and I was a bit excited.
|
|
Top |
|
 |
Gnarl
|
Posted: Mon Aug 28, 2006 2:21 pm |
|
Joined: Mon Feb 16, 2004 7:06 pm
Posts: 309
Location:
Toronto
|
not sure about your issue, but a quick tip would be to use df -h instead of df -k
Code: root@Mediabox01:~# df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda1 4820232 4151464 424608 91% / /dev/hda3 4931072 302632 4377952 7% /myth /dev/media/tv 83910764 21044536 62866228 26% /myth/tv /dev/media/video 399436412 329281816 70154596 83% /myth/video /dev/media/data 30995384 6053304 23367580 21% /myth/data
root@Mediabox01:~# df -h Filesystem Size Used Avail Use% Mounted on /dev/hda1 4.6G 4.0G 415M 91% / /dev/hda3 4.8G 296M 4.2G 7% /myth /dev/media/tv 81G 21G 60G 26% /myth/tv /dev/media/video 381G 315G 67G 83% /myth/video /dev/media/data 30G 5.8G 23G 21% /myth/data
_________________ KnoppMyth Folding@home
How to setup F@H
F@H Stats Page
|
|
Top |
|
 |
Rala
|
Posted: Mon Aug 28, 2006 2:22 pm |
|
Joined: Fri Jun 30, 2006 2:48 pm
Posts: 14
|
Digging a bit deeper, I find that my partition table looks like this:
Code: Device Boot Start End Blocks Id System sda1 * 1 304 2441848+ 83 Linux sda2 305 486 1461915 83 Linux sda3 487 1215 5855692+ 83 Linux sda4 1216 38913 302809185 83 Linux
What I thought I did was set slice 3 as the boot drive (being around 5gig) and then set slice 4 as the /myth drive. this obviously isn't what happened. What would be the best method for me to fix this? reinstall and get the partitions the right size? I really don't see any way I can reorganize the partitions to fix my problem.
|
|
Top |
|
 |
Gnarl
|
Posted: Mon Aug 28, 2006 2:57 pm |
|
Joined: Mon Feb 16, 2004 7:06 pm
Posts: 309
Location:
Toronto
|
Re-installing may be the easy option but you do have a couple of other options if you used parted and resize2fs
1. Copy the filestructure of sda3 to sda4 and fix the fstab mount point
2. Delete sda4 and use parted & resize2fs to make sda3 use all the space sda4 had.
_________________ KnoppMyth Folding@home
How to setup F@H
F@H Stats Page
|
|
Top |
|
 |
spalVl
|
Posted: Mon Aug 28, 2006 3:19 pm |
|
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location:
Philadelphia, PA US
|
gparted is a nice live CD for moving/resizing partitions.
|
|
Top |
|
 |
Rala
|
Posted: Mon Aug 28, 2006 3:49 pm |
|
Joined: Fri Jun 30, 2006 2:48 pm
Posts: 14
|
Yeah I am just going to reinstall tonight when I get home from work. With the root partition already being filled, and it being fairly straight foward in getting it setup with my hardware; reinstall seems to be the best way. Thanks for the options though.
|
|
Top |
|
 |
tjc
|
Posted: Mon Aug 28, 2006 6:04 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Modern KM expects 3 partitions (x here is either 's' or 'h') which it uses as follows:
/dev/xda1 - / /dev/xda2 - swap /dev/xda3 - /myth
You can force it to do something else, but that takes a fair amount of effort during the initial install and for every subsequent upgrade.
|
|
Top |
|
 |
mjl
|
Posted: Mon Aug 28, 2006 8:33 pm |
|
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location:
Warwick, RI
|
Hi,
Just can't resist
Quote: note: that I am rather experienced with linux,
I idea of 4 partions is ok, I have 8 on my 300 gig drive. M$, Edubuntu, several versions of KM and of course /myth .. why, cause I can.
If you resize & repartition the drive why not leave space enough for Ubuntu and dual boot as there are some things that KM doesn't do (out of the box) that you may like, need, want to do .. print comes to mind as one. Just install KM first.
Give yourself some toys, er I mean tools to play, er work with. Worse case is you waste 6 gig because you don't use it but use the experience anyway.
Have a great day!
Mike
|
|
Top |
|
 |
Rala
|
Posted: Wed Aug 30, 2006 12:09 pm |
|
Joined: Fri Jun 30, 2006 2:48 pm
Posts: 14
|
I really have no need to make the myth box a dual boot, since I already have 2 laptops running linux, a server running debian, and a lonely XP machine for playing games anything else that I would need to do could easily be handled on one of those PC's.
I was more concerned with getting it up and running correctly. afterall, why waste the 6gig when I could use that to store more shows  Plus with the pamphlet I went off of, it said to use only 2.5 gig for the root partition which I noticed was completely filled immediately after installation. Figured it might be nice to have a little extra room here for upgrades/new features I may want to add.
All is good now, as the reinstall went amazingly smooth now that I know what tweaks need to be done for my setup. Had it up and running in less than an hour from the time I put the disc in to begin the install, which includes the updating of the ~160 gig music database.
I do have one problem, which is playing avi and other movie files that are located on another server. I am just not sure which directory under /myth I should mount them. if i remeber from my first install there was a /myth/movies directory that does not seem to be there now. Haven't toyed with it too much as i have been enjoying my recorded shows, but I am sure once I get around to it, it shouldn't be much of a problem with the help of this forum
|
|
Top |
|
 |
askjeffro
|
Posted: Thu Sep 07, 2006 11:45 pm |
|
Joined: Thu Sep 07, 2006 11:35 pm
Posts: 2
|
I ran into a similar problem myself, but before I address that I'm hoping to get another question answered.
I know from reading the FAQ that a SATA drive should be avoided if possible for the boot drive. No sweat, had an old 40 gig IDE I tossed in. My question is to what is the limit of a HDD for knoppmyth/linux? For example before SP2 in XP there was a 132Gig limit, does Knoppmyth have a similar limit and should I avoid buying larger then X gigs when I get order a SATA drive?
Thanks.
|
|
Top |
|
 |
tjc
|
Posted: Fri Sep 08, 2006 6:42 am |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
askjeffro wrote: My question is to what is the limit of a HDD for knoppmyth/linux? For example before SP2 in XP there was a 132Gig limit, does Knoppmyth have a similar limit and should I avoid buying larger then X gigs when I get order a SATA drive?
Not that I'm aware of. Just so long as your mother board is modern enough for the BIOS to deal with it properly Linux witll do just fine. I've got 2x250Gb, and other folks have used bigger drives (e.g. 400Gb) without problems.
|
|
Top |
|
 |
askjeffro
|
Posted: Fri Sep 08, 2006 7:31 am |
|
Joined: Thu Sep 07, 2006 11:35 pm
Posts: 2
|
tjc wrote: Not that I'm aware of. Just so long as your mother board is modern enough for the BIOS to deal with it properly Linux witll do just fine. I've got 2x250Gb, and other folks have used bigger drives (e.g. 400Gb) without problems.
Thank tjc.
|
|
Top |
|
 |