Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Too many Ubuntus
#1
Without much rhyme or reason, I decided to try out Ubuntu. I got the ISO, burnt it to a CD, installed it, played with stuff, and all was merry. Then I tried installing Java. After 4 or so hours of failure, I installed Ubuntu again without uninstalling the old one. The Ubuntu I'm currently on works fine and I do not want to uninstall this one. When I start up my computer offers me a few options to choose from.
Code:
Ubuntu, with Linux 2.6.32-24-generic
Ubuntu, with Linux 2.6.32-24-genertic(recovery mode)
memory test (memtest86+)
memory test (memtest86+, serial console 115200
Windows 7 (loader) (on /dev/sda1)
Ubuntu, with Linux 2.6.32-25-generic (on /dev/sda5)
Ubuntu, with Linux 2.6.32-25-generic (recovery mode)(on /dev/sda5)
Ubuntu, with Linux 2.6.32-24-generic (on /dev/sda5)
Ubuntu, with Linux 2.6.32-24-generic (recovery mode)(on /dev/sda5)
This seems a little redundant and I would like to fix it, but have no idea how or even what to Google for. How can I fix this?
Reply
#2
Command line -> sudo gedit /boot/GRUB/menu.lst -> look at the bottom of the file (you're looking for this http://apcmag.com/images/howto/dualboot_...rub_01.png) until you see those entries. Delete the ones that have their location (Last 4ish) and nothing else. You can move the windows 7 line to first or second if you want. If you don't know what you're doing, don't do it.
Reply
#3
Open up gparted. What does it look like?
Reply
#4
Takebacker Wrote:sudo gedit /boot/GRUB/menu.lst

This opened a blank document that asked me if I wanted to save changes when I closed it. I couldn't find the file when I tried manually.

Russt Wrote:Open up gparted. What does it look like?
[Image: NpVIK.png]
Reply
#5
You... don't have an Ubuntu partition?
Reply
#6
I popped in the disk and installed. I thought it made a partition, but I didn't manually make one.
Reply
#7
Ubuntu doesn't have its own dedicated partition. So...

Did you install Ubuntu with this: http://wubi-installer.org/screenshots.php#wubishots ?
If you did, then the FAQ on the website has directions for uninstallation.

If not, then you're probably better off asking for next steps in Ubuntu's forums.
Reply
#8
Did you boot from CD, or "install within windows" from CD?

What does Add/Remove Programs look like?
Reply
#9
I downloaded an ISO file from the download page on the Ubuntu site. I burned that to a CD and had my computer boot from it. It brought up a red / pink / purple ish screen and I chose "full installation". It had me set a few options, asked if I wanted to A) Replace Windows, B) install side by side or C) manually set the partition(?). I chose B, entered a few more settings, and let it install. I did this twice.
Reply
#10
Hazzy Wrote:I downloaded an ISO file from the download page on the Ubuntu site. I burned that to a CD and had my computer boot from it. It brought up a red / pink / purple ish screen and I chose "full installation". It had me set a few options, asked if I wanted to A) Replace Windows, B) install side by side or C) manually set the partition(?). I chose B, entered a few more settings, and let it install. I did this twice.
And you correctly set the slider at the bottom to give space to Ubuntu? For example, you can see a slider in these images:
http://i1-news.softpedia-static.com/imag...e_007a.jpg
https://help.ubuntu.com/community/Graphi...step4b.png

(I'm assuming Ubuntu doesn't have its own partition until there's proof otherwise.)
Also, I'd like to see the output of:
>> df
and
>> sudo fdisk -lu
to help confirm/refute what gparted is telling us.
Reply
#11
I didn't touch the sliders. Like TakeBacker said, I went by "If I do not know what it does I am not going to touch it."

Code:
chris@Box-O-Fail:~$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sdb7             52330060   5072036  44599772  11% /
none                   4088648       368   4088280   1% /dev
none                   4093160      2640   4090520   1% /dev/shm
none                   4093160        88   4093072   1% /var/run
none                   4093160         0   4093160   0% /var/lock
none                   4093160         0   4093160   0% /lib/init/rw
chris@Box-O-Fail:~$ sudo fdisk -lu

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x916be406

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      206847      102400    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2          206848   976771071   488282112    7  HPFS/NTFS
Partition 2 does not end on cylinder boundary.

Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x916be41e

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048   292282202   146140077+   7  HPFS/NTFS
/dev/sdb2       292282366   625141759   166429697    5  Extended
/dev/sdb5       403238912   616034303   106397696   83  Linux
/dev/sdb6       616036352   625141759     4552704   82  Linux swap / Solaris
/dev/sdb7       292282368   398612479    53165056   83  Linux
/dev/sdb8       398614528   403230719     2308096   82  Linux swap / Solaris

Partition table entries are not in disk order
chris@Box-O-Fail:~$
Reply
#12
It seems to me like you have to increase the size of your partitions or reorder them in some way.
Reply
#13
Okay yeah... you have two separate Ubuntu partitions. You'll want to remove one of them.

First, back up any files you want to keep, in case something goes wrong.

Then go to GParted and in the upper right where the dropdown says "/dev/sda", choose "/dev/sdb". That's the disk where your Ubuntu partitions are. Delete the one you don't want anymore (whichever one isn't mounted; I would guess it's the larger one, /dev/sdb5) and the corresponding swap partition.

Then run "sudo update-grub" which will regenerate the boot menu to reflect the change.

After this everything should work, but unless you want to leave a blank unused space on your disk, you'll want to grow your current one to fill up the space. You can't make changes to a partition you're currently mounted to, so pop in your Ubuntu CD and run GParted from the trial. Then you'll be able to resize the partition to fill up the empty space.
Reply
#14
When you choose /dev/sdb, make sure that it is *298GiB* or *320GB* -- just in case your drive labels get reordered.

The rest of Russt's directions should be perfect.
Reply
#15
/dev/sdb7 has 5.65 GB used and 45.05GB unused; /dev/sdb5 has 5.45 GB used and 96.02 GB unused. Between Russt's venture and your recommendation of deleting sdb5, I went ahead and hit the delete button on sdb5. It was unable to delete /dev/sdb5. and it wants me to 'unmount any logical partitions having a number high than 5'.

Does that mean I have to do this from Windows?
Reply
#16
The partition has to be unmounted (i.e., unloaded/inactive). Maybe right click the partition(?) in gparted to bring up a menu or check Device/Partition in the Toolbar.

Or just simply run from a terminal/command-line:
>> sudo umount /dev/sdb5
Reply
#17
/dev/sdb5 is not mounted. sdb7 is. I think sdb7 has the Ubuntu I'm running right now, so unmounting it means getting off of Ubuntu.

I have no idea how to play with partitions in Windows 7. I can Google about it, but I am still wary of touching things I do not know about.
Reply
#18
EASEUS partition master should do the trick.
Reply
#19
Also you could do all of this from the Ubuntu CD.
Reply
#20
Russt Wrote:Also you could do all of this from the Ubuntu CD.

Just because he can doesn't mean he'll have an easier time doing it. :/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)