LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-21-2007, 12:40 PM   #1
parenteeng
LQ Newbie
 
Registered: Jul 2007
Posts: 2

Rep: Reputation: 0
Removing Linux from a dual boot environment


I have a laptop running Windows 2003 server and Red Hat Linux (7.2) in a dual boot environment. I am thinking of removing Linux and then possibly installing a different distribution of Linux (maybe ubuntu). I need some help in how to proceed. Thanks.
 
Old 07-21-2007, 01:27 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
When you install the new Linux, you will be able to simply tell the installer to use the existing Linux partition. No need to delete RedHat first.
 
Old 07-21-2007, 01:30 PM   #3
mhm
Member
 
Registered: Oct 2006
Distribution: RHEL, FC
Posts: 58

Rep: Reputation: 15
do fdisk -l
then use the command dd if=/dev/zero of=/dev/hda5 bs=1024 count 1
assuming that /dev/hda5 is /boot, do it for other partitions, and google for dd command.

Regards
Mhm
 
Old 07-21-2007, 05:22 PM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
You can simply overwrite the original Linux partition(s) with newer wants. If you want the disk cleared first, you can simply format from windows or from a liveCD; you will also need the windows isntall CD to remove GRUB from the MBR, though, or you won't be able to get into windows anymore.
 
Old 07-21-2007, 06:37 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by mhm
do fdisk -l
then use the command dd if=/dev/zero of=/dev/hda5 bs=1024 count 1
assuming that /dev/hda5 is /boot, do it for other partitions, and google for dd command.

Regards
Mhm
First of all, this is unnecessary. As we have already stated, you simply overwrite the existing Linux partition when you do the new install.

If you do use dd to erase a partition, the above command would only erase 1024 bytes. You have to set count in accord with the size of the partition.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Dual boot AIX and Linux in a Clustering Environment LXer Syndicated Linux News 0 06-20-2006 08:54 AM
Removing linux from dual boot with win xp purva Linux - Newbie 3 10-12-2005 01:33 PM
Removing linux from dual boot with win xp purva SUSE / openSUSE 2 10-12-2005 01:27 PM
Un-Installing/Removing linux from a dual boot machine PraxZeus Linux - General 6 07-26-2003 12:37 PM
Removing linux partition on dual boot machine newbie2002 Linux - General 4 01-12-2003 11:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration