11-19-2010
Quote:
Originally Posted by
Corona688
/dev/sdb. You don't fdisk a partition. Well, my directions would've been on how to get that partition table back. That it has is both very good and very bad news; something's seriously wrong with either the drive or the USB cage for a sector to just vanish and return like that! Also good that you posted it here. Armed with that you have enough information to recreate it from scratch if it vanishes again.
If windows doesn't see the partition table, first off I would rewrite the same partition table back to it, just 'w' from fdisk /dev/sdb. If there's anything odd in it preventing windows from seeing the partitions, that may clear it.
What would the command be? I don't see anything in my man page's of fdisk about "w".
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
:confused: Hello,
In my Solaris system, I want to resize my mounted home directory slice.
1.I unmount the slice, #umount /export/home
2.Resize the directory #format>partition>
3.#format>label
4.#format>Cannot label disk when partitions are in use as described.
So, How can label ?
Thanks (2 Replies)
Discussion started by: XNOR
2 Replies
2. Solaris
Hi Fellows,
I am trying to mirror 2 identical disks on a SUN Ultra 10 machines (with new installation of Solaris 8). In the process, I found 2 issues:
1. prtvtoc /dev/rdsk/c0t0d0s0 | fmthard -s - /dev/rdsk/c0t1d0s0
Result: Disk partitions between the 2 disks do not match up.
2. manually... (2 Replies)
Discussion started by: o51974
2 Replies
3. Solaris
I 'm having problem in importing a zfs pool was getting error device missing and upon further digging found that labels on my disk for zpool are missing
Does anyone know how to recover from it ?
root@essapl020-u006 # zdb -l /dev/dsk/emcpower0c
--------------------------------------------... (0 Replies)
Discussion started by: fugitive
0 Replies
4. Solaris
Hello,
I'm brand new to Sun/Solaris.
I have a Sun Blade 150, with SunOS 5.8.
I wanted to make a backup to prevent future data loss, so I put the disk in a normal PC with Windows XP to try to make a backup with Norton Ghost, the disk was detected, but not the file volume, so I place the disk... (6 Replies)
Discussion started by: Resadija
6 Replies
5. UNIX for Dummies Questions & Answers
Hi there,
I'm wondering how to display a disk label (why not edit it but I don't need that yet).
I found several commands on forums like disklabel and diskinfo but I can't find them on my system and don't know the package they belong to.
Can you help me?
Cheers
Santiago (2 Replies)
Discussion started by: chebarbudo
2 Replies
6. Solaris
Hi there,
I am trying to do root volume mirroring on SunFire V210 server. I have two disks in it.First one is c1t0do and second one is c1t1do. Both disks already have partitions in them so I am deleting the partitions of second disk(c1t1do) using format command and selecting cylinder start 0... (2 Replies)
Discussion started by: newbi8321
2 Replies
7. Solaris
Hi Guys,
Do you have any script to label a disk automatically.
It is part of my script but I am not able to find solution to label this inside script without user intervention. (2 Replies)
Discussion started by: prashant2507198
2 Replies
8. Hardware
Hi everyone,
I have an external hard drive and I accidentally deleted the partition table.
Can I restore my files?
If I try to run the f-disk command this is what it says
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units =... (1 Reply)
Discussion started by: Sampa
1 Replies
9. HP-UX
I have a B.11.31 U ia64 system where I swremove the disk driver "SerialSCSI-00 B.11.31.1303 PCI-X/PCI-E SerialSCSI" (by mistake). afterwards the system won;t boot because of the missing disk drivers. I'm trying to recover my kernel by using the image HP-ux_11_31_disc_1.iso
Run an Expert... (1 Reply)
Discussion started by: black_fender
1 Replies
10. SCO
Dear Community!
i try to instaled the sco 6 in hp proliant ML350g8
but unsucces,
the trouble when i do instaled it undetected hardisk
please help me
:(:o (7 Replies)
Discussion started by: mnr
7 Replies
FDISK(8) System Manager's Manual FDISK(8)
NAME
fdisk - partition a hard disk [IBM]
SYNOPSIS
fdisk [-hm] [-sn] [file]
OPTIONS
-h Number of disk heads is m
-s Number of sectors per track is n
EXAMPLES
fdisk /dev/hd0 # Examine disk partitions
fdisk -h9 /dev/hd0 # Examine disk with 9 heads
DESCRIPTION
When fdisk starts up, it reads in the partition table and displays it. It then presents a menu to allow the user to modify partitions,
store the partition table on a file, or load it from a file. Partitions can be marked as MINIX, DOS or other, as well as active or not.
Using fdisk is self-explanatory. However, be aware that repartitioning a disk will cause information on it to be lost. Rebooting the sys-
tem immediately is mandatory after changing partition sizes and parameters. MINIX, XENIX, PC-IX, and MS-DOS all have different partition
numbering schemes. Thus when using multiple systems on the same disk, be careful.
Note that MINIX, unlike MS-DOS , cannot access the last sector in a partition with an odd number of sectors. The reason that odd partition
sizes do not cause a problem with MS-DOS is that MS-DOS allocates disk space in units of 512-byte sectors, whereas MINIX uses 1K blocks.
Fdisk has a variety of other features that can be seen by typing h.
Fdisk normally knows the geometry of the device by asking the driver. You can use the -h and -s options to override the numbers found.
SEE ALSO
part(8).
FDISK(8)