View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 10 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: R5B7 SATA drive problem
PostPosted: Tue Mar 21, 2006 10:49 am 
Offline
Joined: Tue Mar 21, 2006 10:40 am
Posts: 2
I have a system which has installed properly with former versions, but I tried to install R5B7 and it won't properly install on my SATA drive. Yes, I use the manual install and select the partition creation (but it then would not recognize my partitions until I formatted them with Knoppix), and I used the -sata configuration, and everything.

It seems to not be seeing the other partitions properly or something because it has a bunch of error messages (that go away much to quickly) and then it a) doesn't mount the /cache and /myth partitions, and b) doesn't run the setup properly.

Anyone have any suggestions? Maybe I should try it on a standard old IDE drive to see if it will work. :(


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 21, 2006 11:57 am 
Offline
Joined: Tue Nov 08, 2005 7:31 am
Posts: 195
Location: Secret Lair
R5B7 doesn't use the /cache partition anymore so it shouldn't be trying to mount it.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 21, 2006 12:05 pm 
Offline
Joined: Tue Mar 21, 2006 10:40 am
Posts: 2
So are there any new instructions for installation? The old ones are obviously wrong and I'm obviously having some troubles, so it would make sense to have some new instructions for the installation. If the auto install would handle the SATA drives, then I would probably not have any issues. Anyone know if the SATA drives are properly handled in the new auto install?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 21, 2006 12:14 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
No they are not. If you wish to write some new instructions feel free to.
SATA will most likely be looked at for R6, but I wouldn't hold my breath for that one. Until then you'll have to do manual installs or get the recommended hardware (PATA)

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 22, 2006 2:10 am 
Offline
Joined: Thu Apr 01, 2004 10:44 am
Posts: 677
Location: WA
ok i hate this type of post.. the "I have had no problems installing with SATA's" but i just wanted to encourage you.. that it can be done.. you use the knoppmyth CD for everthing.. all you need to do it boot the knoppmyth cd.. drop to a command prompt.. then use "cfdisk" to wipe the hard drive and create your partitions.. most of the time 3..
1 for /
2 for /myth
3 for swap.. multiply 1024 by number of megabytes of ram on your box for the size of your swap.

note: your first 2 partions should or can be ext3 but your swap MUST be a linux swap file type.

now just format your 3 partions.. example..
mkfs.ext3 /dev/hda1
mkfs.ext3 /dev/hda2
(and finally to format your swap)
mkswap /dev/hda3

** make sure that when you create the partions ie. "/dev/hda1" is your root or /myth partion and make sure that /dev/hda3 is your swap.. if your just copying and pasting those commands.

warning: i have done this 4 or 5 times now..but its been many months and cant remember if there are any special switches for the above commands.. but i dont think so..

now that all 3 partions are created and formated.. reboot to the knoppmyth cd installer menu and gothrough a manual install.
im pretty sure i remember manually editing fstab to make /myth mount correctly. but thats the wide angle view of howto do it.
start with this.. make it work.. ask questions.. and make a better howto

:)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 22, 2006 5:59 am 
Offline
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location: Philadelphia, PA US
Quote:
So are there any new instructions for installation? The old ones are obviously wrong and I'm obviously having some troubles, so it would make sense to have some new instructions for the installation.


This is directions I followed and worked fine. This is modified from knoppmyth install instructions taking into account R5B7 no longer uses /cache. I did a clean SATA install 3 times using this method. In my case xda=sda.

Quote:
Currently if you have an SATA drive, you must use Manual Install. You will see two options 1. Partition and 2. Quit, on a new drive or a drive with an invalid partition table. If you see six options, KnoppMyth recognizes the partition table. Either way, you must partition the drive. Select partition and create 3 partitions using cfdisk. The first will be /, the second swap, the third /myth. I recommend 5 gigs for /, swap should be 1.5 times memory. Use the rest of the drive for /myth. Ensure /dev/xda1 is bootable, write the partition table and quit cfdisk. Once the partitions have been created, press <CTRL><ALT><F2>. mkswap /dev/xda2 && swapon /dev/xda2. Format /dev/xda3 with the desired filesystem type. Once complete <CTRL><ALT><F1> and return to the installation.

Note: During the making of partitions, you can choose any fstype you wish, ext2 is recommended for the data (xda3).

# mke2fs -j -O sparse_super -m0 -i8000000 -L myth -M /myth /dev/xda3
(I highly recommend a journalling fs for /dev/xda3).


You should now see six option. Choose 4. Load config. You should now see /KNOPPIX/knoppmyth. Press <ENTER>. If you have an SATA drive, change this to /KNOPPIX/knoppmyth-sata and press <ENTER>. Next, choose 1. Configure Installation. Provided the requested information. Don't create a user called "mythtv", this user has already been created with a password of "mythtv". Once back to the main menu, select 2. Start installation. Verify the information and sit back. Once complete, reboot the system. After the system reboots it will start X and KnoppMyth will open an Xterm and ask for the root password. See post installation.


Last edited by spalVl on Wed Mar 22, 2006 9:36 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 22, 2006 8:04 am 
Offline
Joined: Tue Nov 08, 2005 7:31 am
Posts: 195
Location: Secret Lair
Cecil has stated that 5Gb is standard for / in R5B7 and other modern releases.


Top
 Profile  
 
PostPosted: Sat Mar 25, 2006 5:52 pm 
Offline
Joined: Fri Dec 23, 2005 12:17 am
Posts: 5
Location: Albuquerque, NM
I have a running system with an SATA drive, using R5A26. I want
to upgrade to R5B7 but the auto-upgrade procedure fails because
I'm using SATA. I could go through the manual install procedure
again (it worked fine when I originally installed) but I don't want
to lose all my programming (saved shows, channel settings, GUI tweaks,
etc, etc.) Is there any hope for me, or should I just give up and
rebuild from the ground up?

Also, does anyone know what the issue is with SATA? I'm a system admin
by trade, and I don't quite understand why the underlying disk technology
should matter to the application-layer stuff, especially when I already have
a drive that's formatted/partitioned the way I want it. I'm not trying to
complain here, I'm genuinely curious what the issues are.

Thanks,

Mark


Top
 Profile  
 
PostPosted: Sat Mar 25, 2006 6:51 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
cheeks wrote:
I have a running system with an SATA drive, using R5A26. I want to upgrade to R5B7 but the auto-upgrade procedure fails because I'm using SATA. I could go through the manual install procedure again (it worked fine when I originally installed) but I don't want to lose all my programming (saved shows, channel settings, GUI tweaks, etc, etc.) Is there any hope for me, or should I just give up and rebuild from the ground up?

Cecil has posted several times about how to do this.
cecil wrote:
You can now install to SATA drivers. In manual install, when you 'load configuration' instead of /KNOPPIX/knoppmyth, use /KNOPPIX/knoppmyth-sata. If you're upgrading an existing installation on a SATA drive, you'll have to select manuall installation and use the above configuration. Before reboot, then you chroot to the partition:
Code:
rm -fr /home/mythtv/.configure
touch /home/mythtv/.upgrade


cheeks wrote:
Also, does anyone know what the issue is with SATA? I'm a system admin by trade, and I don't quite understand why the underlying disk technology should matter to the application-layer stuff, especially when I already have a drive that's formatted/partitioned the way I want it. I'm not trying to complain here, I'm genuinely curious what the issues are.

The same reason a box might have trouble booting from any device (tape drive, network, ...). It comes down to BIOS and device driver issues.
    1) The BIOS has to be able to get a boot sector from the device
    2) The initial bootloader in that sector has to be able read the device to get the rest of the image.
    3) The image needs to be able to load higher level device drivers before the filesystem is up (thus from an initrd).
    4) ...

Frankly MS-Windows has had similar problems with SATA drives. A friend of mine was putting together a gaming system several months back, and got wedged because he didn't have a floppy drive installed and whatever version of MS-Windows he was using needed a floppy with the SATA drivers before it could access them and wouldn't accept any substitutes.


Top
 Profile  
 
 Post subject: Thanks for the help
PostPosted: Thu Mar 30, 2006 12:57 am 
Offline
Joined: Fri Dec 23, 2005 12:17 am
Posts: 5
Location: Albuquerque, NM
tjc: thanks for the tips. I found the threads you referenced and used that method to
do an upgrade without losing my data. Thank you!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 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:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu