Removing GPT information from a drive
=====================================
Linux/Unix:
Method #1:
1. Press CTRL-ALT-F2 or F3.
2. Type "parted /dev/<devicename>", usually "parted /dev/sda".
3. Once inside parted type "mktable":
-> Table type: msdos
-> Destroy data: yes
-> quit
4. GPT should now be removed
Method #2:
1. fdisk -s /dev/<devicename> --- This gets the blocksize of the device.
Make the last five digits of this number zeros. Example: fdisk -s /dev/sda
Will show an error about GPT, and then the block size: 39078144
Change to 39000000 which equals our blockcount
2. dd if=/dev/zero of=/dev/devicename bs=1k seek=blockcount
3. dd if=/dev/zero of=/dev/devicename bs=1k count=20
Method #3:
1. Press CTRL-ALT-F2 or F3.
2. Type: "dd if=/dev/<devicename" of=/dev/zero bs=4k"
3. When done, continue with install.
Windows Vista/7/2008/BartPE/WinPE/WinXP Live:
Method #1:
1. Boot up to installation DVD/CD.
2. Click install but don't follow through.
3. Press SHIFT-F10 to bring up console.
4. Type "diskpart"
5. Once inside diskpart type:
-> list disk (find the one you want to convert)
-> select disk 0 (select the one you want from the list)
-> convert mbr (should take a second or two)
-> quit
6. Continue with install
Method #2:
1. Boot up to installation DVD/CD.
2. Click install but don't follow through.
3. Press SHIFT-F10 to bring up console.
4. Type "diskpart"
5. Once inside diskpart type:
-> list disk (find the one you want to convert)
-> select disk 0 (select the one you want from the list)
-> clean (wait an hour or so until its done)
-> quit
6. Continue with install------------------------------------------------
root@webservice:/home# fdisk /dev/sdc
WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.
Command (m for help): q
root@webservice:/home# parted /dev/sdc
GNU Parted 2.3
Using /dev/sdc
Welcome to GNU Parted!
(parted) print
Warning: /dev/sdc contains GPT signatures, indicating that it has a GPT table. However, it does not have a valid fake
msdos partition table, as it should. Perhaps it was corrupted -- possibly by a program that doesn't understand GPT
partition tables. Or perhaps you deleted the GPT table, and are now using an msdos partition table. Is this a GPT
partition table?
Yes/No? yes
Model: ATA Hitachi HDS72102 (scsi)
Disk /dev/sdc: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 17.4kB 250GB 250GB raid
(parted) mktable
New disk label type? msdos
Warning: The existing disk label on /dev/sdc will be destroyed and all data on this disk will be lost. Do you want to
continue?
Yes/No? yes
Warning: /dev/sdc contains GPT signatures, indicating that it has a GPT table. However, it does not have a valid fake
msdos partition table, as it should. Perhaps it was corrupted -- possibly by a program that doesn't understand GPT
partition tables. Or perhaps you deleted the GPT table, and are now using an msdos partition table. Is this a GPT
partition table?
Yes/No? yes
setelah di partisi
root@webservice:/home# fdisk /dev/sdc
Command (m for help):
(parted)
sumber :
http://www.digital52.com/help/gptremoval.html
Tidak ada komentar:
Posting Komentar