[SLE] converting FAT16 to ext2
I would like to convert /dev/hdb1 into an ext2 primary partition. All the other partitions and the swap were created using Partition Magic 4.0. I read that if you use PM to create partitions you cannot use linux fdisk. Could I use yast to reformat /dev/hdb1 as an ext2 partition? Should I continue to use PM? Would you have to delete /dev/hdb1? If you delete /dev/hdb1 would that mess up the numbering of your cylinders? Please advise the best way to do this. Below is my partition Table: Disk /dev/hdb: 64 heads, 63 sectors, 1023 cylinders Units = cylinders of 4032 * 512 bytes Device Boot Start End Blocks Id System /dev/hdb1 1 132 266080+ 6 FAT16 /dev/hdb2 203 1023 1655136 5 Extended /dev/hdb3 133 202 141120 83 Linux /dev/hdb5 203 235 66496+ 82 Linux swap /dev/hdb6 236 660 856768+ 83 Linux /dev/hdb7 661 996 677344+ 83 Linux /dev/hdb8 997 1003 14080+ 83 Linux /dev/hdb9 1004 1023 40288+ 83 Linux Thank in advance, jozien -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
"Example user SuSE Linux 6.3" wrote:
I would like to convert /dev/hdb1 into an ext2 primary partition. All the other partitions and the swap were created using Partition Magic 4.0. I read that if you use PM to create partitions you cannot use linux fdisk. Could I use yast to reformat /dev/hdb1 as an ext2 partition? Should I continue to use PM? Would you have to delete /dev/hdb1? If you delete /dev/hdb1 would that mess up the numbering of your cylinders? Please advise the best way to do this.
Below is my partition Table:
Disk /dev/hdb: 64 heads, 63 sectors, 1023 cylinders Units = cylinders of 4032 * 512 bytes
Device Boot Start End Blocks Id System /dev/hdb1 1 132 266080+ 6 FAT16 /dev/hdb2 203 1023 1655136 5 Extended /dev/hdb3 133 202 141120 83 Linux /dev/hdb5 203 235 66496+ 82 Linux swap /dev/hdb6 236 660 856768+ 83 Linux /dev/hdb7 661 996 677344+ 83 Linux /dev/hdb8 997 1003 14080+ 83 Linux /dev/hdb9 1004 1023 40288+ 83 Linux
Are you worried about keeping the data on the partition, or do you just want to format it as ext2 and lose all of the data? (Sorry, I just want to be clear before getting you to destroy everything ;-)) Awaiting your command... Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
"Example user SuSE Linux 6.3" wrote:
I would like to convert /dev/hdb1 into an ext2 primary partition.
Did you try: # mkfs.ext2 /dev/hdb1 ? That will destroy your data in hdb1 so backup first! -- System info: 1:59am up 3:16, 6 users, load average: 0.09, 0.21, 0.15 -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Nicholas wrote:
I would like to convert /dev/hdb1 into an ext2 primary partition.
Did you try:
# mkfs.ext2 /dev/hdb1
That will destroy your data in hdb1 so backup first!
I don't know whether mkfs will do this automatically or not - you may have to manually change the partition type of /dev/hdb1 in fdsik. Since you aren't creating/deleting any partitions with linux fdisk, it shouldn't be a problem using it. Just type (as root) 'fdisk /dev/hdb'. Then you can type p to list the partition and then find the partition number for /dev/hdb1 (probably 1, but it may not be). Next you need to type 't', then the partition number you just found, and then enter '83' as the type. mkfs may do this automatically - I don't know. But remember what Nicholas said: backup first if you have any important data. Hope that helps, Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (3)
-
chris.reeves@iname.com
-
jozien@cybercomm.net
-
liquidox@NigHtRaIN.itacs.to