Koozali.org: home of the SME Server

Can't mount second (ex-Windows) disk

firegrind

Can't mount second (ex-Windows) disk
« on: April 11, 2005, 10:17:46 AM »
Hi

I've installed SME onto an old desktop to use as a server on the local network.  The machine started out as Win98, then Mandrake, now SME.  The web server is accessible using the machine's IP address and I can connect through ssh (which hangs occasionally, crashing the entire server, but I'll sort that out later).

The machine has 2 drives : a 20Gb drive on IDE1 which is dedicated to SME, and a 80Gb drive on IDE2 containing data files.  With Mandrake I could mount the 80Gb drive and access the files.

I'm following the AddingSecondDrive HowTo.

Code: [Select]
mount tells me

/dev/hda3 on / type ext3 (rw,usrquota,grpquota)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)

After saying
Code: [Select]
mkdir /mnt/windows
mount -t vfat /dev/hda2 /mount/windows

I get a 'bad superblock or too many filesystems mounted' refusal.

Have I fried the drive or is there something I'm missing ?

RobH

Can't mount second (ex-Windows) disk
« Reply #1 on: April 11, 2005, 12:04:56 PM »
Hi!

I assume that your second drive is the secondary master, so your mount line should be;

mount -t vfat /dev/hdb2 /mnt/windows

or if that is the only partition on the drive try;
mount -t vfat /dev/hdb1 /mnt/windows


Rob.

firegrind

Can't mount second (ex-Windows) disk
« Reply #2 on: April 11, 2005, 12:15:20 PM »
Thanks for rapid response. Yes this drive should only have one partition, it's only ever been a storage drive.

# mount -t vfat /dev/hdb1 /mnt/windows
mount: /dev/hdb1: unknown device

# mount -t vfat /dev/hdb2 /mnt/windows
mount: /dev/hdb2: unknown device

# mount -t vfat /dev/hdb /mnt/windows
mount: block device /dev/hdb is write-protected, mounting read-only
mount: No medium found

RobH

Can't mount second (ex-Windows) disk
« Reply #3 on: April 11, 2005, 12:22:52 PM »
Hi!

That sounds like it's trying to mount the CD drive, try this;

mount -t vfat /dev/hdc1 /mnt/windows

If not then try;
mount -t vfat /dev/hdd1 /mnt/windows


Rob.

firegrind

Can't mount second (ex-Windows) disk
« Reply #4 on: April 11, 2005, 01:28:58 PM »
at least the error message changed !

Code: [Select]
# mount -t vfat /dev/hdc1 /mnt/windows
mount: wrong fs type, bad option, bad superblock on /dev/hdc1, or too many mounted file systems (could this be the IDE device where you in fact use ide-scsi so that sr0 or sda or so is needed?)
# mount -t vfat /dev/hdd1 /mnt/windows
mount: /dev/hdd1 is not a valid block device

RobH

Can't mount second (ex-Windows) disk
« Reply #5 on: April 11, 2005, 02:17:52 PM »
OK!

Just out of curiousity try:
mount -t vfat /dev/hdc2 /mnt/windows

Also i assume it is formatted in fat32 and not NTFS?

Rob.

firegrind

Can't mount second (ex-Windows) disk
« Reply #6 on: April 13, 2005, 11:45:33 AM »
Code: [Select]
mount -t vfat /dev/hdc /mnt/windows
mount: wrong fs type, bad option, bad superblock on /dev/hdc,or too many mounted file systems


I'm 99% sure it's FAT32 - can't recall any NTFS related problems with Mandrake.

Anyone know of tutorials, manual pages or similar which may be pertinent to the problem ?