PDA

View Full Version : [ubuntu] Removing Windows and keeping Linux on dual boot system



petrafan007
May 2nd, 2008, 04:50 PM
Is it possible to remove a Windows Vista NTFS partition and have Linux take over the entire partition? I am looking to run virtual box for the select few programs I need that only work in Windows.

Thanks!

fmartinez
May 2nd, 2008, 04:56 PM
Be very careful when you do this; I've had my fair share of screw ups with this.
command line:
$sudo fdisk -l #list the partions on my disk
$sudo fdisk /dev/yourdevice #choose the device and reformat

REMEMBER TO BACK UP YOU GRUB.CONF FILE AND MENU.LST FILE; ALSO MAKE THE NECESSARY CHANGES IN YOU MENU.LST TO ENSURE YOU WILL BE TO BOOT BACK INTO UBUNTU.
**REMEMBER** BACK UP YOUR DATA PRIOR TO DOING THIS JUST IN CASE.

petrafan007
May 2nd, 2008, 05:29 PM
is there an in depth guide for this anywhere? i just want to make sure I don't screw up because I am a bit new to linux (1 week)

XemeX
May 2nd, 2008, 05:46 PM
Use GParted to make it simple.
For safety purposes, make a backup as noted above.

Bear in mind that you have to set the proper partition as active and remember that GRUB has to be present on that partition together with the boot folder.

Rallg
May 2nd, 2008, 06:40 PM
(1) If, when you are done, you try to re-boot and get the ominous BIOS message "No operating system," don't panic. Use GParted from the live CD, and be sure that the "boot" flag is set to the correct partition. That advice is already given, above; but it is easy to overlook.

(2) If you ever decide to re-install Windows, you may discover that your validation key is rejected. Don't panic. Under some circumstances, the Windows installer is suspicious if the install partition is not where it is expected. Just do what the installer tells you to do to solve the problem.