Announcement

Collapse
No announcement yet.

Removing ubuntu 7.10 partition

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Removing ubuntu 7.10 partition

    i have ubuntu 7.10 and kubuntu 7.10 installed on my laptop and have decided to only keep kubuntu. i need some help on how to uninstall ubuntu. i was gonna try but decided i should ask and not screw things up

    #2
    Re: Removing ubuntu 7.10 partition

    So we know how you have things set up, open console shell and type:
    cat /etc/fstab & df -h -T
    Copy and paste the results for review.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: Removing ubuntu 7.10 partition

      [1] 7775
      # /etc/fstab: static file system information.
      #
      # <file system> <mount point> <type> <options> <dump> <pass>
      proc /proc proc defaults 0 0
      # /dev/sda1
      UUID=b49f3af6-7480-47aa-94b8-20a3457d8f12 / ext3 defaults,errors=remount-ro 0 1
      # /dev/sda5
      UUID=70972872-1c9d-418e-b11a-61b52e9f5c06 none swap sw 0 0
      /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
      Filesystem Type Size Used Avail Use% Mounted on
      /dev/sda1 ext3 19G 3.0G 15G 17% /
      varrun tmpfs 248M 148K 248M 1% /var/run
      varlock tmpfs 248M 0 248M 0% /var/lock
      udev tmpfs 248M 84K 248M 1% /dev
      devshm tmpfs 248M 0 248M 0% /dev/shm
      lrm tmpfs 248M 34M 214M 14% /lib/modules/2.6.22-14-generic/volatile
      [1]+ Done cat /etc/fstab

      Comment


        #4
        Re: Removing ubuntu 7.10 partition

        From what your fstab shows, and the output of df -h -T, you have a single HD (sda) and it has only two partitions on it: /dev/sda1 for root ( / ) and /dev/sda5 for swap. Are you sure you have both, Ubuntu and Kubuntu installed?? Which one did you install last?

        Open a console shell and type:
        Code:
        cat /boot/grub/menu.lst & lsb_release -a
        Copy and paste the results.
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Re: Removing ubuntu 7.10 partition

          [1] 10645
          # 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 3

          ## 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$gLhU0/$aW78kHK1QfV3P2b2znUoe/
          # 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=b49f3af6-7480-47aa-94b8-20a3457d8f12 ro

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

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

          ## 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 7.10, kernel 2.6.22-14-generic
          root (hd0,0)
          kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=b49f3af6-7480-47aa-94b8-20a3457d8f12 ro quiet splash
          initrd /boot/initrd.img-2.6.22-14-generic
          quiet

          title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
          root (hd0,0)
          kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=b49f3af6-7480-47aa-94b8-20a3457d8f12 ro single
          initrd /boot/initrd.img-2.6.22-14-generic

          title Ubuntu 7.10, memtest86+
          root (hd0,0)
          kernel /boot/memtest86+.bin
          quiet

          ### END DEBIAN AUTOMAGIC KERNELS LIST
          No LSB modules are available.
          Distributor ID: Ubuntu
          Description: Ubuntu 7.10
          Release: 7.10
          Codename: gutsy
          [1]+ Done cat /boot/grub/menu.lst

          Comment


            #6
            Re: Removing ubuntu 7.10 partition

            oh and i had kubuntu installed first

            Comment


              #7
              Re: Removing ubuntu 7.10 partition

              WELL, your /boot/grub/menu.lst says you only have Ubuntu 7.10 installed now. I'm assuming that you have only just been trying each one out, and that you don't have any data that you 'must keep' installed at this time. If that is true, then simply repeat the reinstallation of Kubuntu 7.10 and you should be set.
              Windows no longer obstructs my view.
              Using Kubuntu Linux since March 23, 2007.
              "It is a capital mistake to theorize before one has data." - Sherlock Holmes

              Comment


                #8
                Re: Removing ubuntu 7.10 partition

                is there no way to do it from kubuntu because i really dont want to have to re install all of the programs and everything on my kubuntu. i know that when i installed ubuntu i did a guided partition of 18.5 gigs.

                Comment


                  #9
                  Re: Removing ubuntu 7.10 partition

                  I'm not doubting you in the least. But what I've seen from the information requested, you have only one installation on your HD. One thing that I noticed though, is that several 'expected' partitions on sda aren't represented in the output of df -h -T, namely, sda2, sda3, and sda4.

                  I'm going to suggest that you wait until Qqmike has a chance to look at this thread. He's known by some of us as the Grub Guru and has a fair amount of experience. He may be able to direct you in providing more information about your system. He's on the Forum a lot, and I'll contact him and ask that he look this over.
                  Windows no longer obstructs my view.
                  Using Kubuntu Linux since March 23, 2007.
                  "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                  Comment


                    #10
                    Re: Removing ubuntu 7.10 partition

                    Looks like just one Linux OS to me, on (hd0,0). That's what the menu.lst shows, too, and the other output.

                    Another Konsole command is
                    sudo fdisk -lu
                    ("l" as in "list")

                    Also, try
                    sudo grub
                    to get a GRUB prompt, grub>.
                    Then, at that prompt do
                    grub> geometry (hd0)
                    # Note the space after geometry

                    Another thing is GParted: K-menu > System > Gnome Partition Editor
                    Make sure (upper right) that your hard drive sda is selected.
                    Then have a look at your partitions.

                    You have skipped--and not used--some partitions, though, sda2 & sda3. sda4 is probably your extended partition (GParted will show that). Then sda5 is your swap, a Logical partition, contained within your extended partition.

                    Show us the output from those commands. In GParted, you needn't do a screen capture unless you want to, just write down what you see in the list of partitions, sda1, sda2, etc.

                    An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                    Comment


                      #11
                      Re: Removing ubuntu 7.10 partition

                      Bear in mind that Kubuntu is Ubuntu, but with KDE instead of Gnome... they share the same repositories and packages, but with a different default set installed for each. Installing the package "kubuntu-desktop" on a Ubuntu install will give you Kubuntu, and vice versa.

                      If I'm interpolating right, you used this method to install both Kubuntu and Ubuntu?

                      Comment

                      Working...
                      X