Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-25-2010, 09:01 PM   #1
LQ Newbie
Registered: Jan 2010
Posts: 2

Rep: Reputation: 0
trying to uninstall debian5 or dual boot with windows7

Hi, I have a Toshiba Satellite L305-5921 laptop.
I have Debian5 on it but,would like to dual boot if possible; if not then I would like to know how to uninstall Debian5. My partition file reads:

/dev/sda1 ext3 / 146.52GiB 4.85GiB(used) 141.67GiB(unused)

/dev/sda2 extended 2.53GiB

/dev/sad5 linux-swap 2.53GiB

I am rather new at installing software and learning all the terms however, I'm not afraid to give it a try I just need a path to follow.

Thank You
Old 08-25-2010, 09:54 PM   #2
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint, FreeBSD
Posts: 9,853
Blog Entries: 6

Rep: Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952
You really can't uninstall an OS.

You pretty much have to reformat the disk and start over.

You might be able to use something like parted to change the partitions and make room for a Windows partition. I've never used it; someone else will have to help you there.
Old 08-26-2010, 04:08 PM   #3
Hidden Windshield
Registered: Jul 2010
Distribution: Fedora
Posts: 65

Rep: Reputation: 26
I'm assuming you're talking about dual-booting Windows, rather than another flavor of Linux, correct?

As frankbell said, you don't really uninstall an OS, you just reformat.
  1. You'll have to boot from either a LiveCD or a Linux-On-Flash-Drive to make these changes, because you can't resize a partition while it's in use.
  2. Resize /dev/sda1 so that it takes up half the disk (I've found some instructions here).
  3. Create a new partition in the free space you just created.
  4. Install Windows (or whatever you're trying to dual-boot) in that partition.
  5. The Windows install will clobber your MBR without asking, so you'll have to reinstall Grub to get Debian working again (either that, or use a boot disk whenever you want to run Debian).

Those are the basic steps, feel free to ask if you get stuck on any one step (except for the "Install Windows" step )


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
New windows7 netbook, how to set up dual boot? sls54 Linux - Newbie 16 08-10-2010 12:02 AM
dual boot problem: windows7 and ubuntu baxzius Linux - Newbie 2 02-03-2010 05:33 PM
Dual booting Ubuntu 8.10 & Windows7 Beta 1 (Build 7000) paragkalra Linux - Software 1 01-14-2009 04:21 PM
Uninstall Linux ( Not in dual boot) thegluups Linux - Hardware 7 08-31-2007 11:34 AM
Uninstall Redhat from Dual Boot? stuartmunro Linux - Software 4 03-11-2004 07:04 PM

All times are GMT -5. The time now is 01:43 PM.

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