Ubuntu 12.04 startup

Asked by Xiaoping Jin on 2012-10-01

I installed Ubuntu 10.04 on my desktop and run good for two years. But two days ago, I upgraded it to Ubuntu 12.04 LTS through system upgrading manager program. It was successful at first, but I had problems to shut down my computer after use, so I had to unplug the power cord a few times. The Ubuntu 12.04 has crashed because my computer can not be started up. I got error message, such as "can not connect to Bus", " BIOS setting not correct", etc., Now I have the disaster that I am unable to access to the data stored on the 2 TB hard drive, for which I have spent almost two years to generate. I have already installed Ubuntu 10.04 side by side. I am waiting for help to recovery my data.

Thank you so much.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Last query:
2012-10-04
Last reply:
2012-10-04
Warren Hill (warren-hill) said : #1

Do you have good backups? if so a fresh install may be the answer.

if not

The first thing we need to know that we can see all the drives and where they are mounted in the system to do this open a terminal CTRL+ALT+T and enter the following commands.

sudo fdisk -l; mount | grep ^'/dev'

You should get an output similar to this
~$ sudo fdisk -l; mount | grep ^'/dev'

Disk /dev/sda: 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 / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0006d954

   Device Boot Start End Blocks Id System
/dev/sda1 * 2048 616957951 308477952 83 Linux
/dev/sda2 616959998 625141759 4090881 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5 616960000 625141759 4090880 82 Linux swap / Solaris

Disk /dev/sdc: 8004 MB, 8004304896 bytes
35 heads, 21 sectors/track, 21269 cylinders, total 15633408 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: 0x00000000

   Device Boot Start End Blocks Id System
/dev/sdc1 32 15633407 7816688 b W95 FAT32
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
/dev/sdc1 on /media/C70D-45B5 type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks)

you can then use mount to mount and partitions that are not mounted

Once done you can use the file manager to access your data,

Note: you may need to be root for this in which case the command is

gksu nautilus

either from the run box (ALT-F2) or in a terminal

If you run the command in a terminal do not close the terminal window until you have finished in the file manager.

Move your data to somewhere safe such as a external hard drive. You can then try a fresh install. If you still have problems it may suggest your hardware is about to fail. But at least you wont lose any data

Xiaoping Jin (jinxp928) said : #2

Hi, Warren Hill:

I followed your instruction, but I still need your help.

When I run the command, sudo fdisk -l; mount | grep ^'/dev', I got this:

sudo fdisk -l; mount | grep ^'/dev'

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot Start End Blocks Id System
/dev/sda1 1 243202 1953514583+ ee GPT
mount: only root can do that

But I do not know how to use mount command to mount the disk.

Thank you so much for your help.

Xiaoping Jin (jinxp928) said : #3

Hi, Warren Hill:
I followed your instruction, but I still need your help.
When I run the command, sudo fdisk -l; mount | grep ^'/dev', I got this:
sudo fdisk -l; mount | grep ^'/dev'
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util
fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
    Device Boot Start End Blocks Id System
/dev/sda1 1 243202 1953514583+ ee GPT
mount: only root can do that
But I do not know how to use mount command to mount the disk.
Thank you so much for your help.

Xiaoping Jin
On Oct 1, 2012, at 2:25 PM, Warren Hill wrote:

> Your question #210090 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/210090
>
> Status: Open => Answered
>
> Warren Hill proposed the following answer:
> Do you have good backups? if so a fresh install may be the answer.
>
> if not
>
> The first thing we need to know that we can see all the drives and
> where
> they are mounted in the system to do this open a terminal CTRL+ALT+T
> and
> enter the following commands.
>
> sudo fdisk -l; mount | grep ^'/dev'
>
> You should get an output similar to this
> ~$ sudo fdisk -l; mount | grep ^'/dev'
>
> Disk /dev/sda: 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 / 4096 bytes
> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
> Disk identifier: 0x0006d954
>
> Device Boot Start End Blocks Id System
> /dev/sda1 * 2048 616957951 308477952 83 Linux
> /dev/sda2 616959998 625141759 4090881 5 Extended
> Partition 2 does not start on physical sector boundary.
> /dev/sda5 616960000 625141759 4090880 82 Linux swap / Solaris
>
> Disk /dev/sdc: 8004 MB, 8004304896 bytes
> 35 heads, 21 sectors/track, 21269 cylinders, total 15633408 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: 0x00000000
>
> Device Boot Start End Blocks Id System
> /dev/sdc1 32 15633407 7816688 b W95 FAT32
> /dev/sda1 on / type ext4 (rw,errors=remount-ro)
> /dev/sdc1 on /media/C70D-45B5 type vfat
> (rw
> ,nosuid
> ,nodev
> ,uid
> =
> 1000
> ,gid
> =1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks)
>
> you can then use mount to mount and partitions that are not mounted
>
> Once done you can use the file manager to access your data,
>
> Note: you may need to be root for this in which case the command is
>
> gksu nautilus
>
> either from the run box (ALT-F2) or in a terminal
>
> If you run the command in a terminal do not close the terminal window
> until you have finished in the file manager.
>
> Move your data to somewhere safe such as a external hard drive. You
> can
> then try a fresh install. If you still have problems it may suggest
> your hardware is about to fail. But at least you wont lose any data
>
> --
> If this answers your question, please go to the following page to
> let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/210090/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/210090
>
> You received this question notification because you asked the
> question.

Xiaoping Jin (jinxp928) said : #4

Hi, Macro Braidal:
I followed your instruction, but I still need your help.
When I run the command, sudo fdisk -l; mount | grep ^'/dev', I got this:
sudo fdisk -l; mount | grep ^'/dev'
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util
fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
    Device Boot Start End Blocks Id System
/dev/sda1 1 243202 1953514583+ ee GPT
mount: only root can do that
But I do not know how to use mount command to mount the disk.
Thank you so much for your help.
Xiaoping Jin

On Oct 3, 2012, at 5:41 PM, marcobra (Marco Braida) wrote:

> Your question #210090 on util-linux in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/util-linux/+question/210090
>
> Project: Ubuntu => util-linux in Ubuntu
>
> --
> You received this question notification because you asked the
> question.

Warren Hill (warren-hill) said : #5

Sorry for not getting back sooner

I suggest you open a new question. I have never seen

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util
fdisk doesn't support GPT. Use GNU Parted.

before

Include in your question the output

sudo fdisk -l; mount | grep ^'/dev'
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util
fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
    Device Boot Start End Blocks Id System
/dev/sda1 1 243202 1953514583+ ee GPT
mount: only root can do that

Perhaps someone else here can help

Can you help with this problem?

Provide an answer of your own, or ask Xiaoping Jin for more information if necessary.

To post a message you must log in.