cancel
Showing results for 
Search instead for 
Did you mean: 

How to format Linux?

friend_1
Occasional Advisor

How to format Linux?

Hi,

i have installes windows and linux on my laptop. now i want to format Linux partition. can i do that? kindly do the needful.

Thanks,
5 REPLIES
Michal Kapalka (mikap)
Honored Contributor

Re: How to format Linux?

hi,

if you like to remove linux from your PC/notebook, you can format and delete the linux partition, but if you do it the the boot manager lilo/grub will be corrupted, so before you are deleting or formating linux partition use utilyties for fixing MBR ( master boot record )

http://pcsupport.about.com/od/termsf/p/fixmbr.htm

mikap
Steven E. Protter
Exalted Contributor

Re: How to format Linux?

Shalom,

No format required.

What you need is a divided hard disk.

Some forms of Linux can actually reduce the size of the windows partition, thereby leaving space for a Linux partition.

Creating a dual boot computer XP and Ubuntu (applies to Vista)
http://oreilly.com/linux/archive/dual-boot-laptop.html

From Red Hat.
http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/install-guide/ch-x86-dualboot.html

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Court Campbell
Honored Contributor

Re: How to format Linux?

GO into disk manager, delete the partition, recreate it and format it.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Kranti Mahmud
Honored Contributor

Re: How to format Linux?

Hi friend,

1. First boot the PC from Windows.
2. Then, from My Computer > go to Manage > Disk Management.
3. Delete the Linux partition.

Rgds-Kranti
Dont look BACK as U will miss something INFRONT!
Steven E. Protter
Exalted Contributor

Re: How to format Linux?

Shalom,

fdisk -l

fdisk

fdisk /dev/sda

Use the menus to delete everything. w to save.

Note however, this is can be reversed.

It would be trivial for the NSA to totally rebuild your system.

If you really want to make sure the disk is unrecoverable, physically destroy it.

Or:

dd if=/dev/random of=/dev/sda bs=1024 count=#####

Set the count high enough that the entire disk is written to.

Run it a lot of times or again you system will be recoverable to high tech genius such as the people who do this sort of thing at the National Security Agency. I mention this as an example, not due to any specific knowledge.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com