PDA

View Full Version : access rc.sysinit while drive in pc


Karpa
03-06-2004, 01:17 PM
I hosed my rc.sysinit and need to restore it. I have Tiger’s Mfs Tools Boot Floppy (1.4MB) and the Tivo as primary master. I cannot find the tivo drive however. Can someone point me in the right direction to finding /etc/rc.d on the tivo drive. It has been years since the drive has been in the PC and I cannot, for the life of me, remember how to do it.

Thanks
Karpa

tytyty
03-06-2004, 01:33 PM
mount /dev/hda4 /mnt/tivo
If its not there try hda7

Good luck

Karpa
03-06-2004, 01:40 PM
mount /dev/hda4 /mnt/tivo
If its not there try hda7

Good luck


This is what I get:

# mount /dev/hda4 /mnt/tivo
/dev/hda4: Invalid argument
hda4: bad access: block=0, count=1
end_request: I/O error, dev 03:04 (hda), sector 0
FAT: unable to read boot sector
mount: you must specify the filesystem type

When I boot, it recognized the HD as 80 gig, hda, etc. Just under where it recognizes the HD it says this:

Partition check:
hda: unknown partition table

I don't know if that helps.

Karpa

Karpa
03-06-2004, 02:23 PM
Got the boot cd and now I get the following:

#mount /dev/hda4 /mnt/tivo
/dev/hda4: Success
mount: you must specify the filesystem type
#ls /mnt/tivo
#

There seems to be nothing in the directory?

Any idea why?

Karpa

tytyty
03-06-2004, 02:37 PM
Got the boot cd and now I get the following:

#mount /dev/hda4 /mnt/tivo
/dev/hda4: Success
mount: you must specify the filesystem type
#ls /mnt/tivo
#

There seems to be nothing in the directory?

Any idea why?

Karpa
Your boot disk is not recognizing your drive, get a differnet one.

Karpa
03-06-2004, 02:39 PM
Used the cd, hdd7, not 4, and everything is fixed. Thanks for the help.

Karpa

TwistedMelon
03-07-2004, 03:54 AM
Next time you may want to specify the filesystem type. It's ext2.

As in: mount -t ext2 /dev/hdx4 /whatever

x = a, b, c or d (depending where you connected the drive) and "whatever" is a directory you've created before trying to mount the filesystem.