Sponsored Content
Full Discussion: Problem mounting harddisk
Operating Systems Linux Ubuntu Problem mounting harddisk Post 302407926 by jnymarkp on Saturday 27th of March 2010 04:50:40 AM
Old 03-27-2010
Hi all

Thanks for your replies!

First I tried
Code:
fdisk /dev/sda -l

Disk /dev/sda: 640.1 GB, 640135028736 bytes
86 heads, 15 sectors/track, 969196 cylinders
Units = cylinders of 1290 * 512 = 660480 bytes
Disk identifier: 0x00000001

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1      208090   134217727+   4  FAT16 <32M

Then
Code:
fsck /dev/sda

fsck from util-linux-ng 2.16
e2fsck 1.41.9 (22-Aug-2009)
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sda

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

Latest
Code:
mount -t vfat /dev/sda1 /mnt/winxp/

mount: wrong fs type, bad option, bad superblock on /dev/sda1,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

Any suggestions on these outputs?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

mounting disk problem

i am using Interactive Unix 4.1.1 and i have a disk from a another unix machine which is Unix Slackware 2.1 i'm having problem mounting the disk. it gives me an error message, ??? is there any solution to this ??? it say the disk has invalid file system (1 Reply)
Discussion started by: mharck29
1 Replies

2. UNIX for Dummies Questions & Answers

Problem with mounting

Hi people, I've made some search about it but i didn't find anything. I tried to mount my floppy, mount -t /dev/fd0 /mnt but it didn't work... it says : "Device not configured". Can you help me please??? And mounting my dos partiton... mount -t vfat /dev/hdc1... (6 Replies)
Discussion started by: Erythro73
6 Replies

3. Shell Programming and Scripting

Mounting problem.

Hi, I wanted to mount my windows folder under linux using samba server.. I just run this command : $mount -t smbfs -o fmask=666,ajay //16.100.225.179/Build_stage /mnt/share ajay is user name .. it prompted for password i have given that now i saw error message like 27893: session setup... (1 Reply)
Discussion started by: ajayyadavmca
1 Replies

4. UNIX for Advanced & Expert Users

Harddisk partation problem

Hello! My harddisk is RZ1CB-CS SCSIWC.It runs radar application software on unix operating system.Now dev\rz0a partation not found.So it can't run application recorded at rz0a .How can i solve this problem.? (1 Reply)
Discussion started by: akzin
1 Replies

5. UNIX for Dummies Questions & Answers

CD mounting problem

I have a Sun9 server. When I put a CD into it, I keep getting: Server1{root}:$PWD=> mount: Permission denied mount: cannot mount /vol/dev/dsk/c0t6d0/roxio1 It mounts fine in my Sun8 boxes. What am I doing wrong? (I'm logged in as root). Thanks! (0 Replies)
Discussion started by: FredSmith
0 Replies

6. UNIX for Advanced & Expert Users

Harddisk partation problem

Hello! My harddisk is RZ1CB-CS SCSIWC.It runs radar application software on unix operating system.Now dev\rz0a partation not found.So it can't run application recorded at rz0a .How can i solve this problem.? (1 Reply)
Discussion started by: akzin
1 Replies

7. UNIX for Dummies Questions & Answers

mounting problem

I have successfully installed redhat linux in my PC. But when i am trying to mount cdrom with the command "mount /dev/sda1 /mnt/cdrom" I am getting the following error "Unknown device /dev/sda1". Can anyone help me in this regard. cheers RRK (3 Replies)
Discussion started by: ravi raj kumar
3 Replies

8. Solaris

E3500 Harddisk not found problem (First time user)

I'm first time user on Enterprise 3500 and got some problem, that I try to install Solaris 9 on this machine (and it work fine on Sun U10) it not found harddisk in fdisk command on 'ok prompt' I try probe-scsi-all but it show only Tape and CDrom in this machine I install 2 harddisk in... (2 Replies)
Discussion started by: Harmut
2 Replies

9. HP-UX

Having problem with mounting in HPUX

Hi Gurus, I'm using HP-UX B.11.23 system. I've been having some problem in mounting a filesystem that has been defined in /etc/fstab as shown below. fstab entries: /dev/vgsap/ora10264 /oracle/PRD/102_64 vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2 /dev/vgsap/orasapreog... (2 Replies)
Discussion started by: superHonda123
2 Replies

10. Red Hat

Problem mounting SAMBA please help

I am trying to mount SAMBA/CIFS and it just won't work Here are my settings...please let me know what i did wrong This is Centos 6.4 box Thanks! cat /etc/samba/smb.conf comment = Samba path = /home/vm1/Desktop/samba writable = yes public = yes findsmb ... (3 Replies)
Discussion started by: nokia3310
3 Replies
NEWFS_MSDOS(8)						    BSD System Manager's Manual 					    NEWFS_MSDOS(8)

NAME
newfs_msdos -- construct a new MS-DOS (FAT) file system SYNOPSIS
newfs_msdos [-N] [-B boot] [-F FAT-type] [-I volid] [-O OEM] [-S sector-size] [-a FAT-size] [-b block-size] [-c cluster-size] [-e dirents] [-f format] [-h heads] [-i info] [-k backup] [-m media] [-n FATs] [-o hidden] [-r reserved] [-s total] [-u track-size] [-v volume-name] special [disktype] DESCRIPTION
The newfs_msdos utility creates a FAT12, FAT16, or FAT32 file system on device special, using disktab(5) entry disktype to determine geome- try, if required. The options are as follows: -N Don't create a file system: just print out parameters. -B boot Get bootstrap from file. -F FAT-type FAT type (one of 12, 16, or 32). -I volid Volume ID. -O OEM OEM string (up to 8 characters). The default is "BSD 4.4" (with two spaces). -S sector-size Number of bytes per sector. Acceptable values are powers of 2 in the range 128 through 32768. -a FAT-size Number of sectors per FAT. -b block-size File system block size (bytes per cluster). This should resolve to an acceptable number of sectors per cluster (see below). -c cluster-size Sectors per cluster. Acceptable values are powers of 2 in the range 1 through 128. -e dirents Number of root directory entries (FAT12 and FAT16 only). -f format Specify a standard (floppy disk) format. The eight standard formats are (capacities in kilobytes): 160, 180, 320, 360, 640, 720, 1200, 1232, 1440, 2880. -h heads Number of drive heads. -i info Location of the file system info sector (FAT32 only). A value of 0xffff signifies no info sector. -k backup Location of the backup boot sector (FAT32 only). A value of 0xffff signifies no backup sector. -m media Media descriptor (acceptable range 0xf0 to 0xff). -n FATs Number of FATs. Acceptable values are 1 to 16 inclusive. The default is 2. -o hidden Number of hidden sectors. -r reserved Number of reserved sectors. -s total File system size, in sectors. -u track-size Number of sectors per track. -v volume-name Volume name (filesystem name), up to 11 characters. The name should consist of only those characters permitted in regular DOS (8+3) filenames. NOTES
FAT file system parameters occupy a "Boot Sector BPB (BIOS Parameter Block)" in the first of the "reserved" sectors which precede the actual file system. For reference purposes, this structure is presented below. struct bsbpb { u_int16_t bps; /* [-S] bytes per sector */ u_int8_t spc; /* [-c] sectors per cluster */ u_int16_t res; /* [-r] reserved sectors */ u_int8_t nft; /* [-n] number of FATs */ u_int16_t rde; /* [-e] root directory entries */ u_int16_t sec; /* [-s] total sectors */ u_int8_t mid; /* [-m] media descriptor */ u_int16_t spf; /* [-a] sectors per FAT */ u_int16_t spt; /* [-u] sectors per track */ u_int16_t hds; /* [-h] drive heads */ u_int32_t hid; /* [-o] hidden sectors */ u_int32_t bsec; /* [-s] big total sectors */ }; /* FAT32 extensions */ struct bsxbpb { u_int32_t bspf; /* [-a] big sectors per FAT */ u_int16_t xflg; /* control flags */ u_int16_t vers; /* file system version */ u_int32_t rdcl; /* root directory start cluster */ u_int16_t infs; /* [-i] file system info sector */ u_int16_t bkbs; /* [-k] backup boot sector */ }; EXAMPLES
newfs_msdos /dev/disk0s1 Create a file system, using default parameters, on /dev/disk0s1. newfs_msdos -f 1440 -v foo fd0 Create a standard 1.44M file system, with volume name "foo", on /dev/fd0. SEE ALSO
fdisk(8), mount(8) DIAGNOSTICS
Exit status is 0 on success and 1 on error. HISTORY
The newfs_msdos command appeared in FreeBSD 3.0. AUTHORS
Robert Nordier <rnordier@FreeBSD.org>. BSD
July 6, 1998 BSD
All times are GMT -4. The time now is 07:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy