Saturday, April 30, 2011

problems with ubuntu 11.04 do not upgrade!! before you read

 DO NOT USE THIS (unless you know what you are doing )

 if you are dual booting windows + ubunut and you upgrade you can lost all the booting data and all the driver and windows partitions can become unbootable


After upgrading to ubuntu 11.04 you can lose all access to your other partitions .And it looks like a lot of people are having the issue

http://ubuntuforums.org/showthread.php?t=1724345
sudo aptitude safe-upgrade' and 'sudo apt-get dist-upgrade'. It needed both. Now the system boots OK.

==============================
data from my terminal
 Resolving dependencies...              
The following NEW packages will be installed:
  gambas2-gb-db-sqlite2{a}
The following packages will be REMOVED:
  gambas2-gb-db-sqlite{u} gambas2-gb-v4l{u} ttf-lyx{u}
The following packages will be upgraded:
  gambas2
1 packages upgraded, 1 newly installed, 3 to remove and 0 not upgraded.
Need to get 40.7 kB of archives. After unpacking 434 kB will be freed.
Do you want to continue? [Y/n/?] y
Get:1 http://archive.ubuntu.com/ubuntu/ natty/universe gambas2-gb-db-sqlite2 i386 2.21.0-1ubuntu1 [37.2 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ natty/universe gambas2 i386 2.21.0-1ubuntu1 [3,532 B]
Fetched 40.7 kB in 2s (19.9 kB/s)
Selecting previously deselected package gambas2-gb-db-sqlite2.
(Reading database ... 199683 files and directories currently installed.)
Unpacking gambas2-gb-db-sqlite2 (from .../gambas2-gb-db-sqlite2_2.21.0-1ubuntu1_i386.deb) ...
Setting up gambas2-gb-db-sqlite2 (2.21.0-1ubuntu1) ...
(Reading database ... 199690 files and directories currently installed.)
Preparing to replace gambas2 2.19.0-2 (using .../gambas2_2.21.0-1ubuntu1_i386.deb) ...
Unpacking replacement gambas2 ...
(Reading database ... 199688 files and directories currently installed.)
Removing gambas2-gb-db-sqlite ...
Removing gambas2-gb-v4l ...
Removing ttf-lyx ...
Processing triggers for fontconfig ...
Setting up gambas2 (2.21.0-1ubuntu1) ...
                                       
Current status: 0 updates [-1].

still not rectified
======================
Trying solution from here
http://ubuntuforums.org/showthread.php?t=1744027
  1. Boot Ubuntu.
  2. Open a Terminal window.
  3. Type "sudo apt-get install gdisk" to install the gdisk package.
  4. Type "sudo gdisk -l /dev/sda". This will display the partition table using gdisk.
  5. Post the results.

It's possible you used to have a hybrid MBR, which would enable Windows to boot from such a disk. If so, you'll need to either restore a new hybrid MBR (which gdisk can do; you'd use the "h" option on the recovery & transformation menu, as described on the hybrid MBR page I just referenced) or convert the disk from GPT to MBR form (which you can do with gdisk using the "g" option on the recovery & transformation menu)

    sudo apt-get install gdisk
    [sudo] password for
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    The following NEW packages will be installed:
      gdisk
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 170 kB of archives.
    After this operation, 397 kB of additional disk space will be used.
    Get:1 http://archive.ubuntu.com/ubuntu/ natty/universe gdisk i386 0.6.14-1 [170 kB]
    Fetched 170 kB in 3s (52.7 kB/s)                    
    Selecting previously deselected package gdisk.
    (Reading database ... 199657 files and directories currently installed.)
    Unpacking gdisk (from .../gdisk_0.6.14-1_i386.deb) ...
    Processing triggers for man-db ...
    Setting up gdisk (0.6.14-1) ...
    ==========================================
    sudo gdisk -l /dev/sda
    GPT fdisk (gdisk) version 0.6.14



    Partition table scan:
      MBR: MBR only
      BSD: not present
      APM: not present
      GPT: not present


    ***************************************************************
    Found invalid GPT and valid MBR; converting MBR to GPT format.
    ***************************************************************
     ==================================================
    to repair your MBR into a  Hybrid MBR

    1)   sudo gdisk /dev/sda
    2) Command (? for help): r
    3)Recovery/transformation command (? for help): p


    command 1 :-  sudo gdisk /dev/sda
    GPT fdisk (gdisk) version 0.6.14

    Partition table scan:
      MBR: MBR only
      BSD: not present
      APM: not present
      GPT: not present


    ***************************************************************
    Found invalid GPT and valid MBR; converting MBR to GPT format.
    THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by typing 'q' if
    you don't want to convert your MBR partitions to GPT format!
    ***************************************************************


    Command (? for help):



    Command (? for help): r

    Recovery/transformation command (? for help): p

    No comments:

    Post a Comment