You are not logged in.
Hi,
The topic pretty much says it all. I had a win7 NTFS partition as /dev/sda1 (with boot flag set) and arch on /dev/sda{3-10}.
So, lately win7 got borked and I finally decided to nuke it Thus, I created an ext2 filesystem on /dev/sda1 using mkfs -t ext2 /dev/sda1, and also toggled the boot flags off with fdisk. However, fdisk -l still shows /dev/sda1 as HPFS/NTFS partition. At the same time, parted correctly identifies it as ext2, and so does mount.
Any ideas what I am missing here?
Thanks.
Last edited by Leonid.I (2011-04-04 00:04:38)
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
if you change the partition type with fdisk to 83 (linux) doesn't help?
Arch64/DWM || My Dropbox referral link
Offline
Just ignore it. I used to format my harddrive to GPT and then switch back to MBR but fdisk always display a warning it can't work on a GPT drive even though I can still use it as usuall
Last edited by lives2evil (2011-03-27 21:39:44)
tsujeruplive, tnarongisi... ... ... ... ɥsılƃuǝ sı sıɥʇ
Offline
"gdisk -z device" is what you want. sometimes I wonder why nobody read the manual.
man gdisk
z Zap (destroy) the GPT data structures and exit. Use this option if you want to repartition a GPT disk using fdisk or some
other GPT-unaware program. You'll be given the choice of preserving the existing MBR, in case it's a hybrid MBR with sal‐
vageable partitions or if you've already created new MBR partitions and want to erase the remnants of your GPT partitions.
If you've already created new MBR partitions, it's conceivable that this option will damage the first and/or last MBR par‐
titions! Such an event is unlikely, but could occur if your new MBR partitions overlap the old GPT data structures.
Arch64/DWM || My Dropbox referral link
Offline
Please, I mean I reformated my disk to MBR but fdisk still complaining with reason (gparted recognized it correctly). I knew what I was doing or I wouldn't even be here.
By the way, I didn't have gdisk when I formated my disk anyway and I don't think it's necessary to have gdisk just to destroy my GPT partitioning scheme.
Would you read a TV's manual if you want to destroy it?
Last edited by lives2evil (2011-03-27 22:23:30)
tsujeruplive, tnarongisi... ... ... ... ɥsılƃuǝ sı sıɥʇ
Offline
Thanks for replies, everyone
if you change the partition type with fdisk to 83 (linux) doesn't help?
It does, thank you. I had no idea that IDs are user adjustable -- I always thought they are automatically set up depending on FS type...
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline