TiVoCommunity.com
(c)opyright 1995-2005 All rights reserved
indexcheckTC
This area is a static history of posts in the TiVo Community Forum Archive.
This archive history was made for the simple indexing of search sites like Google.



Pages:1



Trouble Mounting Drive

(Click here to view the original thread with full colors/images)



Posted by: ddockery

I am running Windows XP, but my D: is a FAT32 drive. When I try to mount the drive to /mnt/dos to make a backup, it tells me I have to specify the filesystem. What do I need to do the specify the file system?

Any and all help is appreciated.

Thanks,

Drew



Posted by: ewilts

I spent 3 hours trying to get a backup on Sunday and eventually gave up. I had the same problems you did. I even ripped the extra drive, booted up a Win98 boot disk on my other system and did a fresh format but still could not get the drive to mount.

Since I was going to be replacing my 30GB with an 80GB, I went without a backup. If I had to do it again, I wouldn't even test the dd'd copy first - just go ahead an bless the darn thing and then test since the 30GB was still intact (it's since been repurposed).



Posted by: donjefe68

I think you say mount -t type /dev/hdX where X is the D Drive. I THINK that the type is fat32, but a quick check of the man page for mount wouldn't go amiss. Type man mount at the prompt and look through it - there's a list of types in there.

Jeff



Posted by: stormsweeper

chances are you're trying to mount the wrong device. are you trying to mount /dev/hda2 or /dev/hda5?



Posted by: hinsdale

Stormsweeper is correct.. you need to know the partition table of the destination drive. Use FDISK to display your partition table and then use the appropriate device designation when mounting.. example hda1 for the first primary partition, hda2, etc.. or hda5 for the 1st extended partition.



Posted by: stormsweeper

Even easier that using fdisk is just to type

code:
dmesg | grep hda


and you should get the line from the boot logs that looks like

[code]
hda1 hda2 <hda5>
[code]

the partitions in the <> are logical partitions in the extended partition just previous to it. windows almost always creates 1 standard partition (hda1) and creates any other partitions as logical ones in the second extended partition. so /dev/hda2 isn't really a mountable partition, but /dev/hda5 is.



Posted by: ddockery

Thanks for the help - it's been a LONG time since I've done anything in the Linux world. I did try to read the manpage on mount, but I got a command not found on man. I'll check my partition table to be sure, but I only have 1 partition on that drive so I believe had the right one.

Thanks again,
Drew



Posted by: ddockery

Alright, I checked in fdisk and I do have just the one partition. In my case I have the drive as primary slave, so I tried hdb1 and I'm still told I have to specify the file system. Same thing for hdb5, which I tried for the hell of it. I don't have a man command at all, is my boot CD screwed up? Can someone run a 'man mount' and tell me the types? I tried a -t fat32 and it says the type is not supported. AHHHH! Since my DTiVo is my only DirecTV receiver I'm about to put it back as is to watch the game tonight, but I have to get this fixed before I sleep, it's driving me mad!



Posted by: donjefe68

Sorry, it's not fat32, its vfat. Try this

mount -t vfat /dev/hdb /mnt/msdos

assuming you're trying to mount the primary slave drive to a mount point named msdos.

Jeff



Posted by: ewilts

I happen to be an experienced Linux administrator, and I could not figure out how to get the darn backup drive to mount. Any file system types I specified (fat, fat32, vfat) were not recognized. It's like the kernel wasn't built properly, but everything else seemed to work. I verified that the partition was correct (at least, I'm pretty sure I double-checked it), and there was no way I was going to get a backup.

As I mentioned before, I even took the drive to another system and freshly formatted it and created a new file system (single fat32 primary partition for the entire drive) and still no luck. It was very frustrating :mad:

.../Ed



Posted by: ddockery

I could never get that drive to mount either. I have a couple of older drives that are spare, so I will probably format one of those as a normal FAT drive and try that. If that doesn't work, I'm just not backing it up. I won't get to try any of this until at least Tuesday though, as I'm heading out of town shortly.



Posted by: ewilts

I tried 2 different older drives, and neither worked. Hopefully you'll have better luck!

.../Ed



Posted by: nelgin

I tried sticking my SAT-T60 Quantum into my linux box and mounting it last night with no joy.

May 27 23:13:52 12-237-26-10 kernel: hda: QUANTUM FIREBALLP AS30.0, ATA DISK drive
May 27 23:13:52 12-237-26-10 kernel: hdb: QUANTUM FIREBALLlct20 40, ATA DISK drive

The first disk is my linux boot disk the 2nd disk is the T60 disk.

May 27 23:13:52 12-237-26-10 kernel: hda: 58633344 sectors (30020 MB) w/1902KiB Cache, CHS=3649/255/63, UDMA(66)
May 27 23:13:52 12-237-26-10 kernel: hdb: 78177792 sectors (40027 MB) w/418KiB Cache, CHS=4866/255/63, UDMA(66)

So far so good.

May 27 23:13:52 12-237-26-10 kernel: /dev/ide/host0/bus0/target0/lun0: p1 p2 <p5 p6 p7 p8 p9 p10 p11 >
May 27 23:13:52 12-237-26-10 kernel: /dev/ide/host0/bus0/target1/lun0: unknown partition table

Uhoh, not so good. It doesn't see an ext2 partition table on the T60 disk.

May 27 23:16:02 12-237-26-10 kernel: FAT: bogus logical sector size 30255
May 27 23:16:02 12-237-26-10 kernel: VFS: Can't find a valid FAT filesystem on dev 03:40.
May 27 23:16:09 12-237-26-10 kernel: VFS: Can't find ext2 filesystem on dev ide0 (3,64).

Blagh. Any clues here?

Regards
Nigel



Posted by: kenr

Nigel,
It sounds as if you are running "your" Linux system, not the one with the TiVo kernel modifications and byteswapping enabled for the TiVo drives. Is this true?



Posted by: kenr

For those of you trying to mount a DOS partition, you don't need to specify the partition type. Also, if your're trying to mount it via hdb (primary, slave) and you're running the TiVo boot CD, perhaps the reason the mount fails is that the hdb, hdc, and hdd drives are byteswapped.



Posted by: nelgin

quote:
Originally posted by kenr
Nigel,
It sounds as if you are running "your" Linux system, not the one with the TiVo kernel modifications and byteswapping enabled for the TiVo drives. Is this true?



Yes, you're right. I just found out about the byteswapping. I'm just going to get a spare hard disk, install Win98 on it and do it that way.

Regards
Nigel



Posted by: ddockery

Turns out the byteswapping was my problem. I never could get the original drive I was using to show up as the master, but once I used a different old drive everything went great. Thanks for all of your help, now I have 146 hours of storage!



Posted by: nelgin

My answer was to get a new hard for my PC (Needed one anyway) and format the old one to FAT32. Put in that disk and the TiVo disk, booted up off the CD and did a backup. Put in the new disk and blessed it. I went from 35 hours to 107 hours.

Regards
Nigel





vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Limited.
vB Easy Archive Final ©2000 - 2009 - Created by Stefan "Xenon" Kaeser Modified by Adam J. de Jaray