Ovo je procedura sa linux opensuse.org sajta:
SuSE Linux Portal
How to Uninstall Linux
Applies to: SUSE LINUX 4.4
Concern
You want to uninstall Linux entirely.
Procedure
First, make a backup of all your important data! In case DOS or Windows 3.x/95/98/ME is also installed on your machine, create a system boot floppy for this operating system.
Note: If you do not have a functional SUSE LINUX installation, skip the following sections and proceed with the instructions below under Generic Method.
From SUSE LINUX 9.0
1. Start the YaST2 Control Center and select
* Hardware (from SuSE 9.1 on choose: System)-->
* Partitioning
2. Delete all Linux partitions including the Linux swap partition. The extended partition "Win95 Ext'd (LBA)" can also be deleted, provided it no longer contains any logical drives.
3. Partitions of another operating system that were resized during the installation can be restored to the original size in order to make use of the entire hard disk space. Select the partition whose size you want to increase, click Resize, and select the new size with the slider. Confirm with OK.
4. Complete all changes in the partitioning dialog with Next and confirm the subsequent security query with Yes. The changes will be applied.
5. To remove LILO or GRUB (if it is installed in the MBR), the original boot code that was in the MBR prior to the installation of SUSE LINUX can be restored. To do this, change to the following YaST module:
* Boot Loader Setup ->
* Reset (bottom right) ->
* Restore MBR of Hard Disk
After a security query, the boot code in the MBR is rewritten. The partition table remains unmodified. If another operating system is installed on your machine, it should boot automatically the next time the machine is powered on.
Generic Method
1. Boot the rescue system (e.g., from the first SUSE LINUX CD). Log in to the rescue system as root (no password is required). The Linux partitions can be deleted with fdisk.
2. First, get an overview of the partitions by entering:
fdisk -l
The output might look as follows:
rescue:~ # fdisk -l
Disk /dev/hda: 255 heads, 63 sectors, 1655 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 18 144553+ 82 Linux swap
/dev/hda2 19 1655 13149202+ f Win95 Ext'd (LBA)
/dev/hda5 19 22 32098+ 83 Linux
/dev/hda6 23 1655 13117041 83 Linux
3. Start fdisk in interactive mode by entering the device name of the hard disk as a parameter. For example, if the hard disk to edit is connected as primary master (as in the above example), enter the following command:
fdisk /dev/hda
4. fdisk supports the following options:
m list the available commands
p list the partitions
d delete a partition
q quit the program WITHOUT saving changes
w save the changes and exit fdisk
These commands can be used to delete the Linux partitions (ID 83) and the Linux swap partition (ID 82). To delete a partition, press "d" and then ENTER. The system will ask you which partition to delete. To delete the last partition (/dev/hda6) in the example above, enter "6" and press ENTER. The extended partition "Win95 Ext'd (LBA)" can also be deleted, provided it no longer contains any logical drives. To save the information, press "w" and then ENTER.
5. To remove LILO or GRUB (if it is installed in the MBR), the MBR must be rewritten. This can be done with the fdisk utility of your alternative operating system. If you use DOS or Windows 3.x/95/98/ME, boot the machine with a DOS rescue disk and start fdisk with:
fdisk /mbr
The command for OS/2 reads
fdisk /newmbr
If you use Windows 2000/XP, uninstall LILO or GRUB as described in the article Uninstalling the Boot Manager LILO from the MBR (
http://portal.suse.com//sdb/en...08/fhassel_deinstall_lilo.html ) (
http://sdb.suse.de/en/sdb/html/fhassel_deinstall_lilo.html).
6. Subsequently, you can boot your operating system without LILO or GRUB and repartition the free space according to your needs.
Sa sajta:
www.sdb.suse.com/en/sdb/html/tg_deinstall.html
n