PDA

View Full Version : HR10-250 problems...


wadsworthj
06-30-2006, 05:53 PM
...well I'm just screwed....I think.

Purchased the $5 bootCD from ptvupgrade.

Backed up my original kernel, and after checking with bootpage that my active partition was in fact 7, I moved vmlinux.px.gz from cdrom/s2_kernels/3.1.5 to a temp directory, gunzipped it and used dd to copy it to dev/hdc6.

Put drive back into tivo where it hangs on "Welcome. Powering up..." and periodically reboots

Put drive back into linux box, booted from cd. hdc9 mounts, but am unable to mount hdc7 or hdc4...get an error:

"mount: you must specify the filesystem type"

pdisk shows 13 partitions on /dev/hdc:
3 as Image Kernel 1
4 as Ext2 Root 1
6 as Image Kernel 2
7 as Ext2 Root2

I tried using mount -t ext2 and get an error saying "wrong fs type, bad option, bad superblock on /dev/hdcx, or too many mounted filesystems"

obviously i've somehow managed to screw up my root partitions...not entirely sure how though.

Any tips/thoughts/help greatly appreciated.

PlainBill
06-30-2006, 10:00 PM
There are two approaches. If you don't care about your recordings, the solution is easy: Download an image for your system, restore it to the drive, run Clear and Delete Everything, then watch tv.

If you want to preserve your recordings, download an image, restore it to a 'scratch' drive (must be at least as large as the original drive), then dd the root partition to your original drive. Several details must be watched - boot parameters, fstab, etc must all be adjusted to match the image you obtained.

PlainBill

wadsworthj
07-01-2006, 08:30 PM
Plainbill,

Thanks, that's certainly the approach I'm going to take....starting over from scratch.

Was curious as to what went wrong, but I suppose I'll never know. Any idea why the partitions wouldn't mount?

PlainBill
07-01-2006, 09:18 PM
Plainbill,

Thanks, that's certainly the approach I'm going to take....starting over from scratch.

Was curious as to what went wrong, but I suppose I'll never know. Any idea why the partitions wouldn't mount?
It is not unusual for only one of the root partitions to contain a file system. There are a couple of possibilities for what went wrong. The usual one is to write to the wrong partition - 7 instead of 6 (of=/dev/hda7, not of=/dev/hda6). There have been reports of the same thing happening if you do not specify a block size (bs=1024) with the dd command. According to one of the many people (Jamie) who are smarter than I am, dd should not write past the end of a partition.

PlainBill