hi
i am getting an interesting error.its a fresh installed OEL5.4 x86_64.but facing an issue with partition.how to get rid of from this error?
[root@pc-2 ~]# fdisk -ls
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 3916 31455238+ 7 HPFS/NTFS
/dev/sda2 3917 9728 46684890 f W95 Ext'd (LBA)
/dev/sda5 3917 7863 31704246 7 HPFS/NTFS
/dev/sda6 7864 7876 104391 83 Linux
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 5222 41945683+ 83 Linux
/dev/sdb2 5223 5744 4192965 82 Linux swap / Solaris
AS in the Starting it says *"WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted."* so i tried "parted".but parted says
[root@pc-2 ~]# parted /dev/md
Error: Could not stat device /dev/md - No such file or directory.
Retry/Cancel? retry
Error: Could not stat device /dev/md - No such file or directory.
Retry/Cancel? C
[root@pc-2 ~]# parted /dev/
Error: Error opening /dev: Invalid argument
Retry/Cancel? C
[root@pc-2 ~]# parted /dev/md0
Warning: Unable to determine geometry of file/device /dev/md0. You should not use Parted unless
you REALLY know what you're doing!
Ignore/Cancel? I
GNU Parted 1.8.1
Using /dev/md0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) help
check NUMBER do a simple check on the file system
cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER copy file system to another partition
help [COMMAND] prints general help, or help on COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition table)
mkfs NUMBER FS-TYPE make a FS-TYPE file system on partititon NUMBER
mkpart PART-TYPE [FS-TYPE] START END make a partition
mkpartfs PART-TYPE FS-TYPE START END make a partition with a file system
move NUMBER START END move partition NUMBER
name NUMBER NAME name partition NUMBER as NAME
print [free|NUMBER|all] display the partition table, a partition, or all devices
quit exit program
rescue START END rescue a lost partition near START and END
resize NUMBER START END resize partition NUMBER and its file system
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition NUMBER
unit UNIT set the default unit to UNIT
version displays the current version of GNU Parted and copyright
information
(parted) rm /dev/md0
Error: Unable to open /dev/md0 - unrecognised disk label.
(parted) rm
Error: Unable to open /dev/md0 - unrecognised disk label.
(parted) print
Error: Unable to open /dev/md0 - unrecognised disk label.
(parted) version
GNU Parted 1.8.1
Copyright (C) 1998 - 2006 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
(parted) quit
Information: Don't forget to update /etc/fstab, if necessary.
how to get rid of it.
regards