["Operating System Not Found"] after installation
I have an old Sony that the would not boot Windows. So I did a complete overwrite of an installation of Ubuntu. The install process went seemlessly. At the end of the process it asked to reboot and ejected the CD. Upon rebooting, I got a blackscreen saying 'Operating System Not Found. The only thing that I am able to do is to F2 upon startup to get into the Bios, but all of that seems fine.
Any thoughts?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu grub2 Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Dan Gibbs
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Boot to live CD and reinstall grub2
Revision history for this message
|
#2 |
https:/
This link should help you.
Revision history for this message
|
#3 |
@actionparsnip
Do I have to burn 'live cd' at Ubuntu.com?
Forgive me, but what is grub?
Kindest,
Revision history for this message
|
#4 |
If you have a live cd then you can use that
Revision history for this message
|
#5 |
from the file browser, I found grub2, however, I'm trying to figure out to reinstall it.
Revision history for this message
|
#6 |
Grub is the boot loader, i.e. the program which allow you to load Ubuntu or Windows.
Revision history for this message
|
#7 |
Revision history for this message
|
#8 |
@delance I figured out how to do it via the terminal. Still a 'no go'. HOWEVER, one thing that I noted in the file that you shared with me. It showed an example after mounting it. In that example, the string contained a '/boot'. Mine did not. Should/can i configure the demand?
Revision history for this message
|
#9 |
2actionparsnip: Still a no-go. What I did was boot from Live, open terminal, 'mount | tail -1', then sudo installed that file. Notta. Out of curiousity, afterwards I typed 'grub' at the main prompt and it told me that it was not installed, although it clearly was.
Revision history for this message
|
#10 |
Grub2 has no runnable named grub. Instead you must type:
grub-install --version
If you have no "/boot" in your hard drive, it means Grub2 is not installed. When you boot on Live CD, it should appear in mounting point directory.
Can you boot on Live CD, and post result of command:
sudo parted -l
where "-l" is lower case "-L".
Revision history for this message
|
#11 |
ubuntu@ubuntu:~$ sudo grub-install --root-
/usr/sbin/
/usr/sbin/
/usr/sbin/
Revision history for this message
|
#12 |
ubuntu@ubuntu:~$ sudo grub-install --root-
/usr/sbin/
/usr/sbin/
/usr/sbin/
Revision history for this message
|
#13 |
ubuntu@ubuntu:~$ sudo grub-install --root-
/usr/sbin/
/usr/sbin/
/usr/sbin/
Revision history for this message
|
#15 |
@delance
I am completely reinstalling. Should I mount first before your last instructions?
You said: grub-install --version
Type 'version' the word or the version of ubuntu?
You said: sudo parted -l
After I type the previous?
Revision history for this message
|
#16 |
Type 'version' the word or the version of ubuntu? the word
After I type the previous? no importace
Revision history for this message
|
#17 |
ubuntu@ubuntu:~$ grub-intall --version
No command 'grub-install' found, did you mean:
Command 'grub-intall' from package 'grub-efi-amd64' (universe)
Command 'grub-install' from package 'lupin-support' (main)
Command 'grub-install' from package 'grub-efi-ia32' (universe)
Command 'grub-install' from package 'grub-coreboot' (universe)
Command 'grub-install' from package' 'grub-ieee1275' (universe)
Command 'grub-install' from package 'grub' (main)
Command 'grub-install' from package 'grub-pc' (main)
grub-install: command not found
Revision history for this message
|
#18 |
ubuntu@ubuntu:~$ sudo parted -1
Model: ATA IC25N030ATDA04-0 (scsi)
Disk /dev/sda: 30.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File System Flags
1 1049kb 28.7GB 28.78GB primary
2
3
Revision history for this message
|
#19 |
2 28.7GB 30.0GB 1283MB extended
5 28.7GB 30.0GB 1283MB Linus-swap(v1)
Warning:unable to open /dev/sr0 read-write (read-only file system). /dev/sro has been opened read-only.
Error: /dev/sr0: unrecognized disk label
Revision history for this message
|
#20 |
"sudo parted -l" and not " sudo parted -1"
delance@
grub-install (GNU GRUB 1.98-1ubuntu7)
Works on my computer!
type also
find /boot -name grub.cfg
and
find /boot -name menu.lst
Revision history for this message
|
#21 |
'find /boot -name grub.cfg' and 'find /boot -name menu.lst' just return to prompt with no message.
'sudo parted -l' shows my last message ending with 'Error: /dev/sro: unrecognized disk label'
Revision history for this message
|
#22 |
ubuntu@ubuntu:~$ sudo parted -1
Model: ATA IC25N030ATDA04-0 (scsi)
Disk /dev/sda: 30.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File System Flags
1 1049kb 28.7GB 28.78GB primary
2 28.7GB 30.0GB 1283MB extended
5 28.7GB 30.0GB 1283MB Linus-swap(v1)
Make no-sense. You have nothing on first partition. You need to reinstall from start.
Revision history for this message
|
#23 |
I just tried 'gurb install --version' again:
"the program 'gub' is currently not installed. You can install it by typing:sudo apt-get install grub"
I DID
"Reading package lists... Done
"Building dependency tree
"Reading state information... Done
"Suggested packages:
grub-legacy-doc mdadm
"the following packages will be REMOVED:
grub-pc
"0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
"Need t oget 406kb of archives.
"After this operation. 1,335kb disk space will be freed.
"Do you want to continue [Y/n]? Y
"Err http://
Could not resolve 'archive.
"Failed to fetch http://
"E: Unable to fetch some archives, maybe run apt-get update or try iwht --fix-missing?
<Prompt>
Revision history for this message
|
#24 |
@reinstall
I will again, however, this will be the fourth time.
Revision history for this message
|
#25 |
Perhaps I should ask this first and will wait for a reply:
I have no other OS on this computer. Step 4 of 7 asks if I would like to:
1) Intall them side by side
2) erase and use entire disk
3) specify partiions manually (advanced)
I have been choosing #2 since I have no other OS?
Revision history for this message
|
#26 |
I manually set the partion table at:
2G /boot
9G /
5G /Swap
and the rest as free space
Revision history for this message
|
#27 |
Okay, after partioning on a fresh install and typing 'sudo parted -l', here is what I get:
Model: XXX
Disk /dev/sda: GB
Sector size (logical/physical): 512B/512B
Partition table: msdos
Number - Start - End - Size - Type - File system - Flags
1 - 1049kb - 1000MB - 999mb - Primary - ext4 - boot
2 - 1001mb - 3linux-
5 - 1001mb - 10.0GB - 8999mb - logical - ext4
6 - 10.0GB - 15.0GB - 15.0GB - logical - linux-swap(v1)
7 - 15.0GB - 30.0GB - 15.0GB - logical - ext4
Warning: Unabable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
Error: /dev/sr0: unrecogniszed disk label.