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
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)
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)
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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT LINUX
partx
PARTX(8) System Manager's Manual PARTX(8)NAME
partx - tell the Linux kernel about the presence and numbering of on-disk partitions
SYNOPSIS
partx [-a|-d|-s] [-t TYPE] [-n M:N] [-] disk
partx [-a|-d|-s] [-t TYPE] partition [disk]
DESCRIPTION
Given a device or disk-image, partx tries to parse the partition table and list its contents. It optionally adds or removes partitions.
The disk argument is optional when a partition argument is provided. To force scanning a partition as if it were a whole disk (for example
to list nested subpartitions), use the argument "-". For example:
partx --show - /dev/sda3
This will see sda3 as a whole-disk rather than a partition.
This is not an fdisk program -- adding and removing partitions does not change the disk, it just tells the kernel about the presence and
numbering of on-disk partitions.
OPTIONS -a, --add
Add the specified partitions, or read the disk and add all partitions.
-b, --bytes
Print the SIZE column in bytes rather than in human-readable format.
-d, --delete
Delete the specified partitions or all partitions.
-g, --noheadings
Do not print a header line.
-l, --list
List the partitions. Note that all numbers are in 512-byte sectors. This output format is DEPRECATED in favour of --show. Don't
use it in newly written scripts.
-o, --output list
Define the output columns to use for --show and --raw output. If no output arrangement is specified, then a default set is used.
Use --help to get list of all supported columns.
-r, --raw
Use the raw output format.
-s, --show
List the partitions. All numbers (except SIZE) are in 512-byte sectors. The output columns can be rearranged with the --output
option.
-t, --type type
Specify the partition table type -- aix, bsd, dos, gpt, mac, minix, sgi, solaris_x86, sun, ultrix or unixware.
-n, --nr M:N
Specify the range of partitions. For backward compatibility also the format <M-N> is supported. The range may contain negative
numbers, for example "--nr :-1" means the last partition, and "--nr -2:-1" means the last two partitions. Supported range specifi-
cations are:
<M> Specifies just one partition (e.g. --nr 3).
<M:> Specifies lower limit only (e.g. --nr 2:).
<:N> Specifies upper limit only (e.g. --nr :4).
<M:N> or <M-N> Specifies lower and upper limits (e.g. --nr 2:4).
EXAMPLES
partx --show /dev/sdb3
partx --show --nr 3 /dev/sdb
partx --show /dev/sdb3 /dev/sdb
All three commands list partition 3 of /dev/sdb.
partx --show - /dev/sdb3
Lists all subpartitions on /dev/sdb3 (the device is used as whole-disk).
partx -o START -g --nr 3 /dev/sdb
Prints the start sector of partition 5 on /dev/sda without header.
partx -o SECTORS,SIZE /dev/sda5 /dev/sda
Lists the length in sectors and human-readable size of partition 5 on /dev/sda.
partx --add --nr 3:5 /dev/sdd
Adds all available partitions from 3 to 5 (inclusive) on /dev/sdd.
partx -d --nr :-1 /dev/sdd
Removes the last partition on /dev/sdd.
SEE ALSO addpart(8), delpart(8), fdisk(8), parted(8), partprobe(8)AUTHORS
Davidlohr Bueso <dave@gnu.org>
Karel Zak <kzak@redhat.com>
The original version was written by Andries E. Brouwer <aeb@cwi.nl>.
AVAILABILITY
The partx command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
1 Feb 2011 PARTX(8)