Can not boot after upgrade

Asked by Jim Williams

I allowed Ubunto to upgrade my software and when it restarted I can no long start up Ubunto. I can still boot Windows but when I try to boot linux it comes up with a grub entry line.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Solved by:
Jim Williams
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

The OS is called UBUNTU (pronounce OO-BOON-TOO), not ubunto.

I suggest you boot to liveCD, chroot to the installed OS and run:

sudo update-grub

http://www.omgubuntu.co.uk/2011/09/live-usb-sticking-grub-2-video/

Revision history for this message
Jim Williams (jimwill12) said :
#2

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

ubuntu@ubuntu:~$ sudo fdisk

Usage:
 fdisk [options] <disk> change partition table
 fdisk [options] -l <disk> list partition table(s)
 fdisk -s <partition> give partition size(s) in blocks

Options:
 -b <size> sector size (512, 1024, 2048 or 4096)
 -c switch off DOS-compatible mode
 -h print help
 -u <size> give sizes in sectors instead of cylinders
 -v print version
 -C <number> specify the number of cylinders
 -H <number> specify the number of heads
 -S <number> specify the number of sectors per track

ubuntu@ubuntu:~$ sudo fdisk I

Unable to open I
ubuntu@ubuntu:~$ sudo fdisk -1
fdisk: invalid option -- '1'

Usage:
 fdisk [options] <disk> change partition table
 fdisk [options] -l <disk> list partition table(s)
 fdisk -s <partition> give partition size(s) in blocks

Options:
 -b <size> sector size (512, 1024, 2048 or 4096)
 -c switch off DOS-compatible mode
 -h print help
 -u <size> give sizes in sectors instead of cylinders
 -v print version
 -C <number> specify the number of cylinders
 -H <number> specify the number of heads
 -S <number> specify the number of sectors per track

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 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: 0xf77103c3

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 13 76397 613549920+ 7 HPFS/NTFS
Partition 2 does not end on cylinder boundary.
/dev/sda3 76397 77825 11475968 7 HPFS/NTFS

Disk /dev/sdc: 8000 MB, 8000110592 bytes
160 heads, 19 sectors/track, 5139 cylinders
Units = cylinders of 3040 * 512 = 1556480 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 * 1 5140 7812592 b W95 FAT32

Disk /dev/sde: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 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: 0x00095aa3

   Device Boot Start End Blocks Id System
/dev/sde1 1 30402 244197376 82 Linux swap / Solaris
ubuntu@ubuntu:~$ sudo mount /dev/sdc1/mnt
mount: can't find /dev/sdc1/mnt in /etc/fstab or /etc/mtab
ubuntu@ubuntu:~$ sudo mount /dev/sdc1 /mnt
ubuntu@ubuntu:~$ sudo mount /dev /mnt/dev
mount: mount point /mnt/dev does not exist
ubuntu@ubuntu:~$ sudo mount --bind /dev /mnt/dev
mount: mount point /mnt/dev does not exist
ubuntu@ubuntu:~$ sudo -bind/dev/mnt/dev
sudo: invalid option -- 'd'
usage: sudo -h | -K | -k | -L | -V
usage: sudo -v [-AknS] [-g groupname|#gid] [-p prompt] [-u user name|#uid]
usage: sudo -l[l] [-AknS] [-g groupname|#gid] [-p prompt] [-U user name] [-u
            user name|#uid] [-g groupname|#gid] [command]
usage: sudo [-AbEHknPS] [-C fd] [-g groupname|#gid] [-p prompt] [-u user
            name|#uid] [-g groupname|#gid] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-C fd] [-g groupname|#gid] [-p prompt] [-u user
            name|#uid] file ...
ubuntu@ubuntu:~$ sudo mount-bind/dev/mnt/dev
sudo: mount-bind/dev/mnt/dev: command not found
ubuntu@ubuntu:~$ /sudo-bind/dev/mnt/dev
bash: /sudo-bind/dev/mnt/dev: No such file or directory
ubuntu@ubuntu:~$ sudo mount-bind/proc/mnt/proc
sudo: mount-bind/proc/mnt/proc: command not found
ubuntu@ubuntu:~$ sudomount-bind/dev/mnt/dev
bash: sudomount-bind/dev/mnt/dev: No such file or directory
ubuntu@ubuntu:~$ sudomount-bind/proc/mnt/proc
bash: sudomount-bind/proc/mnt/proc: No such file or directory
ubuntu@ubuntu:~$

Revision history for this message
Jim Williams (jimwill12) said :
#3

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

ubuntu@ubuntu:~$ sudo fdisk

Usage:
 fdisk [options] <disk> change partition table
 fdisk [options] -l <disk> list partition table(s)
 fdisk -s <partition> give partition size(s) in blocks

Options:
 -b <size> sector size (512, 1024, 2048 or 4096)
 -c switch off DOS-compatible mode
 -h print help
 -u <size> give sizes in sectors instead of cylinders
 -v print version
 -C <number> specify the number of cylinders
 -H <number> specify the number of heads
 -S <number> specify the number of sectors per track

ubuntu@ubuntu:~$ sudo fdisk I

Unable to open I
ubuntu@ubuntu:~$ sudo fdisk -1
fdisk: invalid option -- '1'

Usage:
 fdisk [options] <disk> change partition table
 fdisk [options] -l <disk> list partition table(s)
 fdisk -s <partition> give partition size(s) in blocks

Options:
 -b <size> sector size (512, 1024, 2048 or 4096)
 -c switch off DOS-compatible mode
 -h print help
 -u <size> give sizes in sectors instead of cylinders
 -v print version
 -C <number> specify the number of cylinders
 -H <number> specify the number of heads
 -S <number> specify the number of sectors per track

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 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: 0xf77103c3

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 13 76397 613549920+ 7 HPFS/NTFS
Partition 2 does not end on cylinder boundary.
/dev/sda3 76397 77825 11475968 7 HPFS/NTFS

Disk /dev/sdc: 8000 MB, 8000110592 bytes
160 heads, 19 sectors/track, 5139 cylinders
Units = cylinders of 3040 * 512 = 1556480 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 * 1 5140 7812592 b W95 FAT32

Disk /dev/sde: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 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: 0x00095aa3

   Device Boot Start End Blocks Id System
/dev/sde1 1 30402 244197376 82 Linux swap / Solaris
ubuntu@ubuntu:~$ sudo mount /dev/sdc1/mnt
mount: can't find /dev/sdc1/mnt in /etc/fstab or /etc/mtab
ubuntu@ubuntu:~$ sudo mount /dev/sdc1 /mnt
ubuntu@ubuntu:~$ sudo mount /dev /mnt/dev
mount: mount point /mnt/dev does not exist
ubuntu@ubuntu:~$ sudo mount --bind /dev /mnt/dev
mount: mount point /mnt/dev does not exist
ubuntu@ubuntu:~$ sudo -bind/dev/mnt/dev
sudo: invalid option -- 'd'
usage: sudo -h | -K | -k | -L | -V
usage: sudo -v [-AknS] [-g groupname|#gid] [-p prompt] [-u user name|#uid]
usage: sudo -l[l] [-AknS] [-g groupname|#gid] [-p prompt] [-U user name] [-u
            user name|#uid] [-g groupname|#gid] [command]
usage: sudo [-AbEHknPS] [-C fd] [-g groupname|#gid] [-p prompt] [-u user
            name|#uid] [-g groupname|#gid] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-C fd] [-g groupname|#gid] [-p prompt] [-u user
            name|#uid] file ...
ubuntu@ubuntu:~$ sudo mount-bind/dev/mnt/dev
sudo: mount-bind/dev/mnt/dev: command not found
ubuntu@ubuntu:~$ /sudo-bind/dev/mnt/dev
bash: /sudo-bind/dev/mnt/dev: No such file or directory
ubuntu@ubuntu:~$ sudo mount-bind/proc/mnt/proc
sudo: mount-bind/proc/mnt/proc: command not found
ubuntu@ubuntu:~$ sudomount-bind/dev/mnt/dev
bash: sudomount-bind/dev/mnt/dev: No such file or directory
ubuntu@ubuntu:~$ sudomount-bind/proc/mnt/proc
bash: sudomount-bind/proc/mnt/proc: No such file or directory
ubuntu@ubuntu:~$

On Wed, Oct 5, 2011 at 10:50 PM, actionparsnip <
<email address hidden>> wrote:

> Your question #173372 on software-center in Ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/173372
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> The OS is called UBUNTU (pronounce OO-BOON-TOO), not ubunto.
>
> I suggest you boot to liveCD, chroot to the installed OS and run:
>
> sudo update-grub
>
> http://www.omgubuntu.co.uk/2011/09/live-usb-sticking-grub-2-video/
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/173372/+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/+source/software-center/+question/173372
>
> You received this question notification because you asked the question.
>

--

Nobody can make you feel inferior without your consent.

Revision history for this message
delance (olivier-delance) said :
#4

https://help.ubuntu.com/community/Grub2#Copy_LiveCD_Files
But I see any Linux partition. The "Linux Swap/Solaris" contain virtual memory, not system.
Please provide correct partition table: https://answers.launchpad.net/grub/+faqs

Revision history for this message
delance (olivier-delance) said :
#5

Did you installed with Wubi ?

Revision history for this message
Jim Williams (jimwill12) said :
#6

I reinstalled Linux and everything seems to work.