DIGIT-ARC read-only archive · snapshot: July 23, 2026

Time to remove suse 11....but how?

28 posts · originally from https://geek.digit.in/community/threads/time-to-remove-suse-11-but-how.98394/

Sridhar_Rao
Sridhar_Rao Original post #1
Sep 25, 2008 at 1:41 PM
Well...with your help I got to partition the disk and install Ubuntu as well as Suse. The latter is buggy and I keep getting internal errors. I found it no superior than ubuntu with the little experience that I have. Nonetheless, I want to get rid of it.

I have three partitions on my 40 GB (~37 GB) hard disk, 28 for XP, 9 for ubuntu, 9 for suse and remaining for swap. After installing suse, there have been changes in boot loader. I had installed XP, ubuntu and Suse...in that order.

On booting, I get a menu with boot options for suse, ubuntu and windows. If I select ubuntu, i get another menu, three for ubuntu and one for xp.

Now, I want to "uninstall" suse and merge that 9 GB with partition where ubutu is installed. How can I do that without damaging the boot loader and the ubuntu installaiton?
NucleusKore
Sep 25, 2008 at 6:46 PM
The problem is with the bootloader. It's a big headache which I do not know how to solve directly.
My experience tells me:
1. Boot into Ubuntu
2. Insert Ubuntu CD
3. Install boot loader using grub-install (see my tutorial) to the root partition (Ubuntu)
4. Install and save (people forget to save it to the MBR, the last step) GAG to the MBR and point it to the Ubuntu root partition and windows (first) partition; save settings.
5. Boot and check whether you can boot Ubuntu and Windows.

Now you can merge the two partitions with GParted, or make the 9 GB SUSE a /home partiiton for Ubuntu (incase you already haven't assigned a separate /home). In case you have made your Ubuntu home in the / partition, and wish to migrate it to the 9GB partition use this tutorial
*www.funnestra.org/ubuntu/hardy/#backup-home
Sridhar_Rao
Sep 25, 2008 at 9:06 PM
Here is another solution suggested by forestpixie, what do you think of this? Which of the two is easier and less risky to follow? Please provide the link to your tutorial that you mentioned in your post.

It is likely that suse installed it's bootloader so removing the partition will cause a boot problem. That can easily be dealt with using the livecd

You can also use the livecd to accomplish the partition resize, so in order

Use the partition editor on the livecd - system >admin menu to delete the suse partition, then you should be able to resize the ubuntu partition. Before you do that turn off the swap otherwise you will not be able to work on the partitions

Code:
sudo swapoff -a
Once you have resized the ubuntu partition, use the above link to reinstall grub for ubuntu.
NucleusKore
Sep 25, 2008 at 9:57 PM
Here is another solution suggested by forestpixie, what do you think of this? Which of the two is easier and less risky to follow? Please provide the link to your tutorial that you mentioned in your post.

The dual boot install tutorial. See FAQ in Open Source section.

It is likely that suse installed it's bootloader so removing the partition will cause a boot problem. That can easily be dealt with using the livecd

You can also use the livecd to accomplish the partition resize, so in order

Use the partition editor on the livecd - system >admin menu to delete the suse partition, then you should be able to resize the ubuntu partition. Before you do that turn off the swap otherwise you will not be able to work on the partitions

Code:
sudo swapoff -a
Once you have resized the ubuntu partition, use the above link to reinstall grub for ubuntu.

Is this EASY !!! No comments !!!!
Stick to my suggestion :)
Sridhar_Rao
Sep 27, 2008 at 1:55 PM
Thanks, but I am sorry...I don't understand how to go about it. Could you kindly give me a step by instruction? I'd be very thankful to you.
NucleusKore
Sep 27, 2008 at 3:46 PM
Do you know your Ubuntu root partition number, meaning /dev/sda?

If not, in Ubuntu, open a terminal and type

sudo cat /boot/grub/menu.lst

and press ENTER.

Paste the output here for me to see.
aditya.shevade
Sep 28, 2008 at 11:27 AM
Hmm... :( another SUSE user gone...
Sridhar_Rao
Sep 28, 2008 at 7:00 PM
Here is the output you asked for

# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$g098U0/$aW78kHK88ioyt3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=2081d296-3a8c-42a7-8588-1c1792c1a6ca ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,4)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title Ubuntu 8.04.1, kernel 2.6.24-19-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=2081d296-3a8c-42a7-8588-1c1792c1a6ca ro quiet splash
initrd /boot/initrd.img-2.6.24-19-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=2081d296-3a8c-42a7-8588-1c1792c1a6ca ro single
initrd /boot/initrd.img-2.6.24-19-generic

title Ubuntu 8.04.1, memtest86+
root (hd0,4)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Home Edition
root (hd0,0)
savedefault
makeactive
chainloader +1
NucleusKore
Sep 28, 2008 at 9:00 PM
Your root is hd(0,4) or /dev/sda5
Now give me the output of sudo fdisk -l
I assume that when you say,"28 for XP, 9 for ubuntu, 9 for suse and remaining for swap", you are mentioning them in order, anyway just want to check
Sridhar_Rao
Sep 29, 2008 at 6:43 AM
Here it is
Disk /dev/sda: 40.0 GB, 40060403712 bytes
255 heads, 63 sectors/track, 4870 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x10191018

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1044 8385898+ 7 HPFS/NTFS
/dev/sda2 2351 4870 20241900 5 Extended
/dev/sda3 1045 2350 10490445 7 HPFS/NTFS
/dev/sda5 2351 3525 9438156 83 Linux
/dev/sda6 3526 4700 9438156 83 Linux
/dev/sda7 4701 4870 1365493+ 82 Linux swap / Solaris

Partition table entries are not in disk order

Also remember there is two tier of boot menu, in fact both bearing open suse logo. The second one is the same that was installed with ubuntu but with suse looks.
NucleusKore
Sep 29, 2008 at 7:40 AM
Boot your Ubuntu Linux.

Download GAG from here

*www.mediafire.com/?q1hhft5azyi

Right click on the file and select Extract here. Open a terminal and browse to the folder using the cd command. In that folder enter the linux folder using the cd command. If you are using KDE just go to the linux subfolder by single/double clicking on it and once your in it press the F4 key to open a terminal in the current folder location.

At prompt type

sudo ./copy-file.sh

and press ENTER

Then type

sudo ./gag-install /dev/sda

and press ENTER.

At each of the above steps note if you get any error messages. If you get errors stop and come back here.

After the last command you will be reminded to install GRUB to your linux root partition. Now put the Ubuntu install cd into your drive. In a terminal type

sudo grub-install /dev/sda5

as sda5 is your linux root. After it installs close the terminal.

Restart your PC, and follow the GAG configuration steps here
*thinkdigit.com/forum/showthread.php?t=96132#23
from the first thumbnail in that post.
Sridhar_Rao
Sep 30, 2008 at 7:54 AM
So, I follow these steps:

1. Download gag4.10 and extract to a folder
2. Burn the iso to a CD and keep it ready (*read below)
3. Navigate to this folder in terminal using cd commands and type
sudo ./copy-file.sh and press ENTER
Then type
sudo ./gag-install /dev/sda and press ENTER
4. After these I insert Ubuntu install cd into the drive and type in the terminal:
sudo grub-install /dev/sda5
5. Close the terminal, restart the PC and follow instructions as suggested by you.

*I think since the first two commands install the GAG, there is no need to write the ISO to a CD. Am I right?
You have described to overwrite the boot record, but what about the partition? Would you suggest that once the boot records are modified to display only Windows and Ubunutu, I could then use GParted to delete the Suse partition?
From the partition structure I provided, how would you NOW recommend me to do it.
Now you can merge the two partitions with GParted, or make the 9 GB SUSE a /home partiiton for Ubuntu (incase you already haven't assigned a separate /home). In case you have made your Ubuntu home in the / partition, and wish to migrate it to the 9GB partition use this tutorial
*www.funnestra.org/ubuntu/hardy/#backup-home
Ecko
Ecko #13
Sep 30, 2008 at 7:07 PM
Never Got any problem with Suse
Ubuntu 8 was a headache as they changed it so much
Even installation was crappy
I still feel the partitioner of Ubuntu is excellent but rest is poor
Even for Suse I expect less of Linux terminologies & more ease of use
Garbage
Garbage #14
Sep 30, 2008 at 7:16 PM
I also facing very much problems with newer release of kernel in Ubuntu.. :(
NucleusKore
Oct 1, 2008 at 5:57 PM
Sridhar_Rao there is no need to burn the iso
Just install gag and grub as I have outlined above. We'll see about the SUSE partition after you successfully accomplish that.
C
Oct 2, 2008 at 12:11 PM
SUSE 11 is stable system..never had any problem
comp@ddict
Oct 2, 2008 at 12:24 PM
All I heard abt it is that i doesn't go along wid OLD systems tht's all
hullap
hullap #19
Oct 12, 2008 at 11:58 AM
do this
Code:
sudo su
and
Code:
./copy-file.sh


OR
Code:
sudo copy-file.sh
hullap
hullap #21
Oct 12, 2008 at 12:38 PM
please tell me where the file copy-file.sh is located, and show me your ls -a output
Sridhar_Rao
Oct 15, 2008 at 8:06 AM
I don't know, I was following these instructions:
Boot your Ubuntu Linux.

Download GAG from here

*www.mediafire.com/?q1hhft5azyi

Right click on the file and select Extract here. Open a terminal and browse to the folder using the cd command. In that folder enter the linux folder using the cd command. If you are using KDE just go to the linux subfolder by single/double clicking on it and once your in it press the F4 key to open a terminal in the current folder location.

At prompt type

sudo ./copy-file.sh

and press ENTER

Then type

sudo ./gag-install /dev/sda

and press ENTER.
hullap
hullap #23
Oct 15, 2008 at 3:25 PM
ok
so i assume that you downloaded the file on the desktop
do this now
open the terminal

cd Desktop/

unzip gag4_10.zip

cd gag4.10/linux/

sudo ./copy-file.sh

sudo ./gag-install /dev/sda

it should work now
Sridhar_Rao
Oct 18, 2008 at 8:24 PM
That's the problem, I already mentioned that it is not working. I have unzipped in Documents and all the files and folders are there.

/Documents/gag4.10/linux$
sudo ./copy-file.sh
I keep getting the same error
sudo: ./copy-file.sh: command not found
Believe me, I have no idea what these commands are and what do they do. I am blindly following instructions given by Nucleuskore.
However, I just noticed that there is file name copy-files.sh in the linux folder. I will try typing this and get back.

Ok..this worked a bit. Here is the message:
mkdir: cannot create directory `/boot': File exists
GAG files copied to the hard disk. Now you can install it
using gag-install as root
OK..I typed this
sudo ./gag-install /dev/sda
and got this message
GAG installer, v4.9
Language: ENGLISH
Keyboard type: QWERTY
Will install GAG on device /dev/sda
GAG successfully installed in /dev/sda
Don't forget to install GRUB in the superblock of your root partition using
grub-install
So far so good... Now I inserted the Ubuntu installation CD and typed
sudo grub-install /dev/sda5
Here is the result,it appears all went well.
Searching for GRUB installation directory ... found: /boot/grub
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(hd0) /dev/sda

So far good. Now following instructions given at *thinkdigit.com/forum/showthread.php?t=96132#23...
Following all instructions faithfully...
added windows...
added linux....
saved to hard disk...
got a new boot menu with exactly same picture *img329.imageshack.us/my.php?image=xp63gf9.png
Booted in ubuntu and XP separately with no trace of Open suse 11..

Hoorah.... I did it! Task accomplished..
Thanks to NucleusKore and others who helped me out. By the what is the "boot from disk 1"? It is returning an invalid error?

But the job is not fully done yet. There is still 8 GB or so out there on the hard disk containing Suse. I must merge it with the partition containing Ubuntu, how do I go about doing that from here?
Nucleukore, are you listening?
NucleusKore
Oct 18, 2008 at 10:00 PM
Back up your data in the Ubuntu partition.

Boot with a GParted live cd and do the following
1. Delete /dev/sda6
2. Resize/Move the end of /dev/sda5
3. Click Apply
gary4gar
gary4gar #26
Oct 19, 2008 at 12:02 AM
Why not simple format the Suse partition using tools like Gparted?
Sridhar_Rao
Oct 19, 2008 at 7:18 AM
Yes! Done:D
By the what is the "boot from disk 1"? Why is it returning an invalid error?
Thanks so much, this thread may now be closed.
NucleusKore
Oct 19, 2008 at 2:21 PM
What boot from disk 1? The button with the floppy sign? That's to boot from a floppy disk.