LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   trying to uninstall debian5 or dual boot with windows7 (https://www.linuxquestions.org/questions/linux-software-2/trying-to-uninstall-debian5-or-dual-boot-with-windows7-828497/)

one2know 08-25-2010 08:01 PM

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

frankbell 08-25-2010 08:54 PM

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.

Hidden Windshield 08-26-2010 03:08 PM

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 :D )


All times are GMT -5. The time now is 03:48 AM.