Results 1 to 4 of 4

Thread: I've got more than 1 boot partition - oops!

  1. #1
    Join Date
    May 2006
    Location
    In a world without window
    Beans
    138
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    I've got more than 1 boot partition - oops!

    In the process of trying to fix/reinstall a corrupted Ubuntu 8.04.3 system I managed to mess up in the partioning part of the alternate cd. I have a dual boot system with Windows on one drive and Ubuntu on the second. On the Ubuntu drive I have a separate home partition.

    Now I have two bootable partitions, one on the Windows drive where I want it, and the other is the / partition on the Ubuntu drive. Here is the result of fdisk -l:
    Code:
    ubuntu@ubuntu:~$ sudo fdisk -l
    
    Disk /dev/sda: 200.0 GB, 200049647616 bytes
    255 heads, 63 sectors/track, 24321 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x00091d63
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1         973     7815591   83  Linux
    /dev/sda2             974       24321   187542810    5  Extended
    /dev/sda5           24134       24321     1510078+  82  Linux swap / Solaris
    /dev/sda6           23161       24133     7815591    b  W95 FAT32
    /dev/sda7             974       23159   178208982   83  Linux
    
    Partition table entries are not in disk order
    
    Disk /dev/sdb: 61.4 GB, 61492838400 bytes
    255 heads, 63 sectors/track, 7476 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x703e7a4e
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           1         914     7341673+   7  HPFS/NTFS
    /dev/sdb2             915        7475    52701232+   7  HPFS/NTFS
    ubuntu@ubuntu:~$
    sda1 is the Ubuntu drive which should not be bootable, and sdb1 is the Windows drive which should be bootable. It looks like I have messed up my Grub. Now I am leary of going in there and making it worse. At the moment I do not have access to either Ubuntu or Windows so everything will have to be done via the live cd.

    Can anyone help me out with step-by-step instructions so I can recover my system? Thanks

  2. #2
    Join Date
    Jul 2005
    Location
    England
    Beans
    Hidden!

    Re: I've got more than 1 boot partition - oops!

    Try the supergrub disk. With this you can reset the windows MBR, just for starters, then you can reinstall grub again.

  3. #3
    Join Date
    May 2006
    Location
    In a world without window
    Beans
    138
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: I've got more than 1 boot partition - oops!

    Ok, I have the SuperGrubDisk, but still having a problem.

    Part of the corruption on my system is that the screens when booting up and also the screens in the SGD are way off to the left. I have my monitor horizontal position set as far to the right as possible, but I still can't read enough to be sure of what I am doing. The weird thing is that screens produced from the Ubuntu live cd are centered normally. I can't figure out how to correct this -- there don't seem to be any settings in the bios that would control font size or screen position. After booting into an OS these things would be controlled from whatever is running (AFAIK).

    Any ideas about how to fix this? If I can get past this little roadblock then maybe I can figure out how to use SGD to remove the boot sector from one of my drives. Thanks.

  4. #4
    starcannon is offline Chocolate Ubuntu Mocha Blend
    Join Date
    Feb 2007
    Location
    U.S.A.
    Beans
    1,835
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: I've got more than 1 boot partition - oops!

    You can just use the ubuntu live CD to solve this little matter:
    http://ubuntuforums.org/archive/index.php/t-24113.html

    This link is for a different problem, but the same solution.
    https://help.ubuntu.com/community/Re...tallingWindows

    That should do it; just be sure to put grub where you want it, then just ignore the other boot partition, its such a small amount of space that I wouldn't spend to much time worrying about it (perhaps when you upgrade ubuntu you can absorb it into /root).

    GL and HF

Tags for this Thread

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
  •