Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Grub/Partition Help

  1. #1
    Join Date
    Oct 2007
    Location
    North Central Arkansas
    Beans
    266
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Grub/Partition Help

    When upgrading from 8.10 to 9.04 I caused myself alot of problems.

    How do I take a screen shot of GRUB?

    Second: How can I repair the "Partition table entries are not in disk order"?

    Third, don't believe I need all the "Partitions(?) under /dev/sda2; and have a complaint that indicates only part of sda5, 6, 7, 8, and 9 are in SDA2 (huh)?

    Really getting confused so I'll quit and hope someone can help. Thank you.

    Bob


    file:///home/bob/Desktop/72009.png

    bob@bob-desktop:~$ sudo fdisk -l
    [sudo] password for bob:

    Disk /dev/sda: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xedb1edb1

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 1107 8891946 83 Linux
    /dev/sda2 1693 14593 103627282+ 5 Extended
    /dev/sda3 1108 1692 4699012+ 83 Linux
    /dev/sda5 6930 6954 200812+ 83 Linux
    /dev/sda6 6955 13004 48596593+ 83 Linux
    /dev/sda7 13005 13126 979933+ 82 Linux swap / Solaris
    /dev/sda8 1693 6929 42066139+ 83 Linux
    /dev/sda9 13127 13434 2473978+ 83 Linux

    Partition table entries are not in disk order

  2. #2
    Join Date
    Oct 2007
    Location
    North Central Arkansas
    Beans
    266
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Grub/Partition Help

    Here is my GParted file.
    Attached Images Attached Images

  3. #3
    Join Date
    May 2009
    Beans
    236

    Re: Grub/Partition Help

    Not sure I understand the problem.

    You have a bunch of partitions, most of which are too small to be of any use, who made them and what are they for?

  4. #4
    Join Date
    Jul 2005
    Location
    Ohio, USA
    Beans
    665
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Grub/Partition Help

    How many times did you reinstall Ubuntu?

  5. #5
    Join Date
    Jul 2007
    Location
    Virginia, US
    Beans
    Hidden!

    Re: Grub/Partition Help

    Quote Originally Posted by Bobrm2 View Post
    Here is my GParted file.
    To get GRUB post your menu.lst file

    In the terminal type
    Code:
    gedit /boot/grub/menu.lst
    Since thats gonna be a long file, use pastebin.com
    Registered Linux User: 453202 Registered Ubuntu User:17339
    WARNING: Don't take code or candy from strangers.

  6. #6
    Join Date
    Jul 2005
    Location
    England
    Beans
    13,530

    Re: Grub/Partition Help

    How did you upgrade? I suspect what you did is another install without overwriting the original, but I may be wrong. However, as dimarti says, you have far more partitions than you need and it will probably be better to backup and start again, but before that, can you tell us, if you know, where all your own docs and music and videos etc etc are on the file system? Perhaps you have a separate /home partition, which in theory makes life easier when you upgrade from distro to distro, or version to version.

    With ubuntu running as you always have it and making certain all your files are where you expect in /home, run the command
    Code:
    mount -l -t ext3
    This will show which partitions are in use and needed for your current properly working (I assume so at any rate) ubuntu install. We can then mount the others and check what is in them and if necessary delete them, and then add the free space to other partitions.

    For your grub menu.lst file just copy the bottom part of the text file (/boot/grub/menu.lst) where the menu itself starts and copy it here. We don't need all the general configuration from the top.
    Last edited by ajgreeny; July 20th, 2009 at 05:49 PM.

  7. #7
    Join Date
    Oct 2007
    Location
    North Central Arkansas
    Beans
    266
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Grub/Partition Help

    Exacty, and I don't how to see just what they contain. As, to how many times I reinstalled JJ 9.04 I will try to remember the sequence, it's been a while.

    First I attempted to download directly over 8.10 that failed.
    Then, with a slow burn ISO downloaded and installed to sda1, it's the one I am currently on and is confirmed by:

    ob@bob-desktop:~$ mount -l -t ext3
    /dev/sda1 on / type ext3 (rw,relatime,errors=remount-ro) [Ubuntu 9.04]
    bob@bob-desktop:~

    Lastly I had XP on it's own partition and I replaced it with JJ 9.04 (I don't know why) and in grub it's there in top position, but gparted doesn't indicate in what partition.

  8. #8
    Join Date
    Oct 2007
    Location
    North Central Arkansas
    Beans
    266
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Grub/Partition Help

    Say, pastebin is ok,

    http://pastebin.com/m3781f1b8

    Thank you all for chiming in.

    Bob

  9. #9
    Join Date
    Jul 2007
    Location
    Virginia, US
    Beans
    Hidden!

    Re: Grub/Partition Help

    Okay looking at your GRUB and your Partition table, it looks like you have two OS's installed Ubuntu 9.04 in sda1, and Ubuntu 8.10 in sda8, which is part of the Logical partition sda2. You have a SWAP partiton @ sda7, and a data partion of some sort on sda6.

    As for the errors that you described in the OP, when are you getting those?
    Registered Linux User: 453202 Registered Ubuntu User:17339
    WARNING: Don't take code or candy from strangers.

  10. #10
    Join Date
    Jul 2005
    Location
    England
    Beans
    13,530

    Re: Grub/Partition Help

    OK, so sda1 is your root partition for your new install of 9.04, but it looks as if you are not able at the moment, with what is mounted according to "mount", to access the 21GB of files in sda8, presumably the filesystem and /home folder files from 8.10. If this is correct you will need to make sure any of your own files from that partition (sda8) are backed up so you can restore them to your eventual new home. There is also a partition sda6 with a smaller amount of files and we need to find out what they are.

    Open the places menu and mount all the partitions showing, one by one and you will be able to see what is in each, and copy the files you want to keep (docs, music etc etc, but not hidden config files) into a temporary folder you should make in sda6 in order to consolidate them, as you don't have enough space in your current install partition, sda1. You can do this for all the existing partitions, just copying files from the /home/username folder in each, if there is one, to sda6.

    When you have done that, unmount all the partitions you have mounted, and delete them with gparted, except for your OS partition, of course, swap, and the now fairly full sda6. You should now just have those three partitions left, and a big unallocated space next to sda1, which you can add to your sda1 using the ubuntu live CD's gparted. Now copy all the files in sda6 to your /home/username folder to get all your old documents back, and either leave the sda6 as a data partition, or add that also to sda1 to make a large root partition. You can also enlarge the swap a bit if you want and perhaps move it to the end of the drive and then add the 8.8GB unallocated space to sda6, if you kept it separate, or your root partition if you didn't.

    I hope that all makes sense. It sounds a bit complicated, but it is simply moving files to free space, then removing partitions to enlarge your root and the copying files back again to the newly enlarged root, and generally cleaning up your partition system. The numbering will still be out of order, perhaps, but with UUIDs that does not really matter too much.

    Of course, if you have an external usb drive to backup everything from your /homes in the various partitions, you may decide simply to wipe the lot and start again. It is probably what I would do, as it is so quick to install the system, particulary if using the whole disk, as you appear to be, with no dual boot to confuse things.

    Good luck! I'm sure you will get it sorted one way or the other.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •