 |
25-09-2008, 01:41 PM
|
#1 (permalink)
|
|
In The Zone
Join Date: Feb 2007
Posts: 353
|
Time to remove suse 11....but how?
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?
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com
Last edited by Sridhar_Rao; 25-09-2008 at 01:48 PM.
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
25-09-2008, 06:46 PM
|
#2 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: Time to remove suse 11....but how?
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
http://www.funnestra.org/ubuntu/hardy/#backup-home
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
|
|
|
25-09-2008, 09:06 PM
|
#3 (permalink)
|
|
In The Zone
Join Date: Feb 2007
Posts: 353
|
Re: Time to remove suse 11....but how?
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.
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com
Last edited by Sridhar_Rao; 25-09-2008 at 09:13 PM.
|
|
|
25-09-2008, 09:57 PM
|
#4 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: Time to remove suse 11....but how?
Quote:
Originally Posted by Sridhar_Rao
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.
Quote:
Originally Posted by Sridhar_Rao
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
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
|
|
|
27-09-2008, 01:55 PM
|
#5 (permalink)
|
|
In The Zone
Join Date: Feb 2007
Posts: 353
|
Re: Time to remove suse 11....but how?
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.
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com
|
|
|
27-09-2008, 03:46 PM
|
#6 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: Time to remove suse 11....but how?
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.
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
|
|
|
28-09-2008, 11:27 AM
|
#7 (permalink)
|
|
Console Junkie
Join Date: Jun 2006
Location: USA
Posts: 991
|
Re: Time to remove suse 11....but how?
Hmm...  another SUSE user gone...
__________________
--- Console Junkie
|
|
|
28-09-2008, 07:00 PM
|
#8 (permalink)
|
|
In The Zone
Join Date: Feb 2007
Posts: 353
|
Re: Time to remove suse 11....but how?
Here is the output you asked for
Quote:
# 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
|
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com
|
|
|
28-09-2008, 09:00 PM
|
#9 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: Time to remove suse 11....but how?
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
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
|
|
|
29-09-2008, 06:43 AM
|
#10 (permalink)
|
|
In The Zone
Join Date: Feb 2007
Posts: 353
|
Re: Time to remove suse 11....but how?
Here it is
Quote:
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.
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com
|
|
|
29-09-2008, 07:40 AM
|
#11 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: Time to remove suse 11....but how?
Boot your Ubuntu Linux.
Download GAG from here
http://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
http://thinkdigit.com/forum/showthread.php?t=96132#23
from the first thumbnail in that post.
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
|
|
|
30-09-2008, 07:54 AM
|
#12 (permalink)
|
|
In The Zone
Join Date: Feb 2007
Posts: 353
|
Re: Time to remove suse 11....but how?
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.
Quote:
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
http://www.funnestra.org/ubuntu/hardy/#backup-home
|
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com
|
|
|
30-09-2008, 07:07 PM
|
#13 (permalink)
|
|
Wandering In Tecno Land
Join Date: Feb 2005
Location: 127.0.0.1
Posts: 724
|
Re: Time to remove suse 11....but how?
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
__________________
Born in Windows Die In Linux © 2009-10 All Rights Reserved.
Learn Linux : www.linoob.com (Official WebSite)
|
|
|
30-09-2008, 07:16 PM
|
#14 (permalink)
|
|
God of Mistakes...
Join Date: Dec 2005
Location: Pune, Maharashtra
Posts: 1,923
|
Re: Time to remove suse 11....but how?
I also facing very much problems with newer release of kernel in Ubuntu..
|
|
|
01-10-2008, 05:57 PM
|
#15 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: Time to remove suse 11....but how?
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.
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
|
|
|
02-10-2008, 12:11 PM
|
#16 (permalink)
|
|
Right Off the Assembly Line
Join Date: Feb 2008
Posts: 28
|
Re: Time to remove suse 11....but how?
SUSE 11 is stable system..never had any problem
|
|
|
02-10-2008, 12:24 PM
|
#17 (permalink)
|
|
EXIT: DATA Junkyard
Join Date: Aug 2008
Location: New Delhi
Posts: 5,019
|
Re: Time to remove suse 11....but how?
All I heard abt it is that i doesn't go along wid OLD systems tht's all
|
|
|
12-10-2008, 11:38 AM
|
#18 (permalink)
|
|
In The Zone
Join Date: Feb 2007
Posts: 353
|
Re: Time to remove suse 11....but how?
Quote:
At prompt type
sudo ./copy-file.sh
and press ENTER
|
command not found
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com
|
|
|
12-10-2008, 11:58 AM
|
#19 (permalink)
|
|
Wise Old Owl
Join Date: Dec 2006
Location: delhi
Posts: 1,429
|
Re: Time to remove suse 11....but how?
|
|
|
12-10-2008, 12:05 PM
|
#20 (permalink)
|
|
In The Zone
Join Date: Feb 2007
Posts: 353
|
Re: Time to remove suse 11....but how?
command not found
No such file or directory
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com
|
|
|
12-10-2008, 12:38 PM
|
#21 (permalink)
|
|
Wise Old Owl
Join Date: Dec 2006
Location: delhi
Posts: 1,429
|
Re: Time to remove suse 11....but how?
please tell me where the file copy-file.sh is located, and show me your ls -a output
|
|
|
15-10-2008, 08:06 AM
|
#22 (permalink)
|
|
In The Zone
Join Date: Feb 2007
Posts: 353
|
Re: Time to remove suse 11....but how?
I don't know, I was following these instructions:
Quote:
Boot your Ubuntu Linux.
Download GAG from here
http://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.
|
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com
|
|
|
15-10-2008, 03:25 PM
|
#23 (permalink)
|
|
Wise Old Owl
Join Date: Dec 2006
Location: delhi
Posts: 1,429
|
Re: Time to remove suse 11....but how?
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
|
|
|
18-10-2008, 08:24 PM
|
#24 (permalink)
|
|
In The Zone
Join Date: Feb 2007
Posts: 353
|
Re: Time to remove suse 11....but how?
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.
Quote:
/Documents/gag4.10/linux$
sudo ./copy-file.sh
|
I keep getting the same error
Quote:
|
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:
Quote:
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
Quote:
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.
Quote:
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 http://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 http://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?
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com
Last edited by Sridhar_Rao; 18-10-2008 at 09:18 PM.
|
|
|
18-10-2008, 10:00 PM
|
#25 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: Time to remove suse 11....but how?
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
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
|
|
|
19-10-2008, 12:02 AM
|
#26 (permalink)
|
|
GaurishSharma.com
Join Date: May 2005
Location: Jaipur
Posts: 4,116
|
Re: Time to remove suse 11....but how?
Why not simple format the Suse partition using tools like Gparted?
|
|
|
19-10-2008, 07:18 AM
|
#27 (permalink)
|
|
In The Zone
Join Date: Feb 2007
Posts: 353
|
Re: Time to remove suse 11....but how?
Yes! Done 
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.
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com
|
|
|
19-10-2008, 02:21 PM
|
#28 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: Time to remove suse 11....but how?
What boot from disk 1? The button with the floppy sign? That's to boot from a floppy disk.
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|