[SOLVED] Error During Update > Now No OS Found At Boot!

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
ArchiMark

[SOLVED] Error During Update > Now No OS Found At Boot!

Post by ArchiMark »

Hope someone can please advise....

Dual booting LM15 and Win7 on my little Fujitsu UH900 laptop....

Was working fine before today...

Booted up LM15 and then it checked for updates...

Started update process and got some error message, something about 2 repo's couldn't be found or get info from, something like that.

But did updating.....then when done, something happened and the items on the menu bar at bottom of display crashed, got error message it gave me option to reload them....

Did that, but still not working....

So, couldn't figure out how to access any programs, etc, so, finally, just decided to power down laptop and then reboot.

When I started up again, after the BIOS screen, I got message: 'Operating System not found'.

So, assume that LM15 install got really screwed up....as well as GRUB (?) or whatever program is used for selecting OS to boot at startup....

Have tried restarting several times, but alway get the no OS found message.

Anyway to fix this or do I need to start from scratch and reinstall Win7 and then LM?????

Thanks for any and all input!

:?
Mark
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
WharfRat

Re: Had Error During Update Software > Now No OS Found At Bo

Post by WharfRat »

Mark,

First try to determine what happened.

Boot the linux mint live dvd, open the terminal and paste back

Code: Select all

sudo blkid
ArchiMark

Re: Had Error During Update Software > Now No OS Found At Bo

Post by ArchiMark »

Thank you for your help!

Do not have my LM disk with me, but found another linux liveCD to us for now...

Here is what I see in terminal:

Code: Select all

sudo blkid
/dev/sda1: LABEL="System Reserved" UUID="14AE5585AE555FF2" TYPE="ntfs" 
/dev/sda2: UUID="9A5859E35859BEA7" TYPE="ntfs" 
/dev/sda5: UUID="61b75441-30bd-40f2-ab44-6eda2a236b3c" TYPE="ext4" 
/dev/sda6: UUID="3e4f3c8d-c3cf-43e8-937a-0ba05dd98682" TYPE="swap" 
/dev/sr0: UUID="2013-06-14-04-55-39-00" LABEL="ARCHBANG" TYPE="iso9660" PTTYPE="dos" 
/dev/loop0: TYPE="squashfs" 
/dev/loop1: UUID="c4365625-f7e6-4461-9a1e-4fbf5a70f9ae" TYPE="ext4" 
/dev/loop2: UUID="c4365625-f7e6-4461-9a1e-4fbf5a70f9ae" TYPE="ext4" 
/dev/mapper/arch_root-image: UUID="c4365625-f7e6-4461-9a1e-4fbf5a70f9ae" TYPE="ext4" 
Hope this info is useful....

Thanks!
WharfRat

Re: Had Error During Update Software > Now No OS Found At Bo

Post by WharfRat »

I'm taking a guess that this is your linux partition /dev/sda5: UUID="61b75441-30bd-40f2-ab44-6eda2a236b3c" TYPE="ext4"

In the terminal from that live media:

Code: Select all

sudo mount /dev/sda5 /mnt
paste back the next line

Code: Select all

sudo ls -lh /mnt/boot
ArchiMark

Re: Had Error During Update Software > Now No OS Found At Bo

Post by ArchiMark »

Thanks again.....

Meanwhile, had to reboot and when I did this time the OS select screen came up!

So, selected LM and let it try and boot it up....

Saw the LM logo on display but it never booted up to desktop, just stuck on the logo.....

So, rebooted, bujt this time got the no OS found mesage....

Here's info you requested:

Code: Select all

sudo ls -lh /mnt/boot
total 39M
-rw------- 1 root root 2.4M Apr 17  2013 System.map-3.8.0-19-generic
-rw-r--r-- 1 root root 904K Apr 17  2013 abi-3.8.0-19-generic
-rw-r--r-- 1 root root 158K Apr 17  2013 config-3.8.0-19-generic
drwxr-xr-x 5 root root 4.0K Sep  5 07:55 grub
-rw-r--r-- 1 root root  30M Sep  5 09:10 initrd.img-3.8.0-19-generic
-rw-r--r-- 1 root root 173K Dec  5  2012 memtest86+.bin
-rw-r--r-- 1 root root 175K Dec  5  2012 memtest86+_multiboot.bin
-rw-r--r-- 1 root root 5.2M May 24  2013 vmlinuz-3.8.0-19-generic
Thanks!
WharfRat

Re: Had Error During Update Software > Now No OS Found At Bo

Post by WharfRat »

Well, you have a kernel and initrd so that's good. Check the apt log next for any clues

Code: Select all

sudo tail -n30 /mnt/var/log/dpkg.log
ArchiMark

Re: Had Error During Update Software > Now No OS Found At Bo

Post by ArchiMark »

WharfRat wrote:Well, you have a kernel and initrd so that's good. Check the apt log next for any clues

Code: Select all

sudo tail -n30 /mnt/var/log/dpkg.log
Hmmm.......

When I do the command as typed above, nothing happened.....waited a while.....but didn't get back to a command prompt....

So, did

Code: Select all

cat /mnt/var/log/dpkg.log
To see if I could see the log info that way, but got message 'No such file or directory'....

Is that perhaps, because it was looking for log in the live CD or ?
WharfRat

Re: Had Error During Update Software > Now No OS Found At Bo

Post by WharfRat »

If you have the live media running with /dev/sda5 mounted to /mnt then it should work otherwise if your in your installed system then leave out /mnt. The file should be there.

Code: Select all

bill@mint ~ $ tail -n3 /var/log/dpkg.log
2014-01-15 17:23:56 trigproc libc-bin:amd64 2.17-0ubuntu5.1 <none>
2014-01-15 17:23:56 status half-configured libc-bin:amd64 2.17-0ubuntu5.1
2014-01-15 17:23:56 status installed libc-bin:amd64 2.17-0ubuntu5.1
Just trying to get an idea of what happened.

Just to clarify did that error happen during an update of the repos or an upgrade of the installed packages - there's a big difference.
ArchiMark

Re: Had Error During Update Software > Now No OS Found At Bo

Post by ArchiMark »

WharfRat wrote:If you have the live media running with /dev/sda5 mounted to /mnt then it should work otherwise if your in your installed system then leave out /mnt. The file should be there.
As noted earlier, I don't have the LM disk with me at office.

So, using an Archbang liveCD I found here.....

I just tried this again, 2 ways.....

$ sudo tail -n3 /var/log/dpkg.log

and

$ sudo tail -n30 /mnt/var/log/dpkg.log

either way, I get error message:

No such file or directory

Code: Select all

bill@mint ~ $ tail -n3 /var/log/dpkg.log
2014-01-15 17:23:56 trigproc libc-bin:amd64 2.17-0ubuntu5.1 <none>
2014-01-15 17:23:56 status half-configured libc-bin:amd64 2.17-0ubuntu5.1
2014-01-15 17:23:56 status installed libc-bin:amd64 2.17-0ubuntu5.1
Just trying to get an idea of what happened.

Just to clarify did that error happen during an update of the repos or an upgrade of the installed packages - there's a big difference.
I was using the software manager program to update installed packages....but first it tried updating the repos list of packages and for some reason, it could not get updated list info from 2 of the repos....then it started updating packages....after that is when I noticed the odd bevavior with the menubar and items not working there...so, had to just power down the laptop and then tried to start up again and got the No OS found error......
WharfRat

Re: Had Error During Update Software > Now No OS Found At Bo

Post by WharfRat »

Hmmm,

This could be an indication of a bigger problem than I first thought. Is there anything in that directory :?:

Code: Select all

ls /mnt/var/log/
And just to be on the safe side check the mount status with

Code: Select all

mount|grep sda5
ArchiMark

Re: Had Error During Update Software > Now No OS Found At Bo

Post by ArchiMark »

Code: Select all

[live@archbang ~]$ mount|grep sda5
/dev/sda5 on /mnt type ext4 (rw,relatime,data=ordered)
[live@archbang ~]$ ls /mnt/var/log/
ls: cannot access /mnt/var/log/: No such file or directory
[live@archbang ~]$ sudo ls /mnt/var/log/
ls: cannot access /mnt/var/log/: No such file or directory
[live@archbang ~]$ cd /mnt
[live@archbang mnt]$ ls
ls: cannot access dev: Input/output error
ls: cannot access media: Input/output error
ls: cannot access root: Input/output error
ls: cannot access etc: Input/output error
ls: cannot access proc: Input/output error
ls: cannot access home: Input/output error
ls: cannot access sys: Input/output error
ls: cannot access srv: Input/output error
ls: cannot access tmp: Input/output error
ls: cannot access lib: Input/output error
ls: cannot access bin: Input/output error
ls: cannot access usr: Input/output error
ls: cannot access mnt: Input/output error
bin   etc         initrd.img.old  media  opt   run      srv  usr
boot  home        lib             mint   proc  sbin     sys  var
dev   initrd.img  lost+found      mnt    root  selinux  tmp  vmlinuz
Thanks!
WharfRat

Re: Had Error During Update Software > Now No OS Found At Bo

Post by WharfRat »

WOW :shock:

I have to be honest with you and let you know I'm scratching my head here :?

ls: cannot access dev: Input/output error doesn't look promising.

I have to guess hardware failure. Will the first list you did work again :?:

Code: Select all

ls -lh /mnt/boot
ArchiMark

Re: Had Error During Update Software > Now No OS Found At Bo

Post by ArchiMark »

Code: Select all

$ ls -lh /mnt/boot
total 39M
-rw------- 1 root root 2.4M Apr 17  2013 System.map-3.8.0-19-generic
-rw-r--r-- 1 root root 904K Apr 17  2013 abi-3.8.0-19-generic
-rw-r--r-- 1 root root 158K Apr 17  2013 config-3.8.0-19-generic
drwxr-xr-x 5 root root 4.0K Sep  5 07:55 grub
-rw-r--r-- 1 root root  30M Sep  5 09:10 initrd.img-3.8.0-19-generic
-rw-r--r-- 1 root root 173K Dec  5  2012 memtest86+.bin
-rw-r--r-- 1 root root 175K Dec  5  2012 memtest86+_multiboot.bin
-rw-r--r-- 1 root root 5.2M May 24  2013 vmlinuz-3.8.0-19-generic
can you please clarify what you mean by hardware failure...physical failure of the laptop components or ?

Thanks!
WharfRat

Re: Had Error During Update Software > Now No OS Found At Bo

Post by WharfRat »

That might be the only one you can access - what about the others like home, etc, bin :?:
ArchiMark

Re: Had Error During Update Software > Now No OS Found At Bo

Post by ArchiMark »

Code: Select all

[live@archbang mnt]$ ls -lh /mnt/home
ls: cannot access /mnt/home: Input/output error
[live@archbang mnt]$ ls -lh /etc
total 1.1M
drwxr-xr-x 5 root root   4.0K Jun  7  2013 NetworkManager
drwxr-xr-x 4 root root   4.0K Feb 13  2012 X11
-rw-r--r-- 1 root root     44 Jun 14  2013 adjtime
-rw-r--r-- 1 root root    541 May 16  2013 anacrontab
-rw-r--r-- 1 root root      0 May 31  2013 arch-release
drwxr-xr-x 2 root root   4.0K Mar 25  2013 at-spi2
-rw-r----- 1 root daemon  144 May 12  2013 at.deny
drwxr-xr-x 3 root root   4.0K May 15  2013 avahi
-rw-r--r-- 1 root root     28 May 31  2013 bash.bash_logout
-rw-r--r-- 1 root root    657 May 31  2013 bash.bashrc
drwxr-xr-x 2 root root   4.0K May 30  2013 binfmt.d
drwxr-xr-x 3 root root   4.0K May 12  2013 ca-certificates
-rw-r--r-- 1 root root   6.6K May 12  2013 ca-certificates.conf
-rw-r--r-- 1 root root   1.4K May 13  2013 colord.conf
drwxr-xr-x 2 root root   4.0K Jun 14  2013 conf.d
drwxr-xr-x 2 root root   4.0K May 16  2013 cron.d
drwxr-xr-x 2 root root   4.0K Jun 14  2013 cron.daily
-rw-r--r-- 1 root root     74 May 16  2013 cron.deny
drwxr-xr-x 2 root root   4.0K May 16  2013 cron.hourly
drwxr-xr-x 2 root root   4.0K May 16  2013 cron.monthly
drwxr-xr-x 2 root root   4.0K May 16  2013 cron.weekly
-rw------- 1 root root    762 May 31  2013 crypttab
drwxr-xr-x 2 root root   4.0K May 18  2013 cups
drwxr-xr-x 4 root root   4.0K Apr 27  2013 dbus-1
drwxr-xr-x 2 root root   4.0K Jun 14  2013 default
drwxr-xr-x 2 root root   4.0K May 30  2013 depmod.d
-rw-r--r-- 1 root root    840 Jun  2  2013 dhcpcd.conf
-rw-r--r-- 1 root root   1.5K May 24  2013 drirc
-rw-r--r-- 1 root root     97 May 19  2013 environment
drwxr-xr-x 4 root root   4.0K May 20  2013 fonts
-rw-r--r-- 1 root root    103 May 31  2013 fstab
-rw-r--r-- 1 root root    216 May 30  2013 fuse.conf
-rw-r--r-- 1 root root   2.6K May 30  2013 gai.conf
drwxr-xr-x 6 root root   4.0K May 30  2013 gconf
-rw-r--r-- 1 root root    575 Jun 14  2013 group
-rw------- 1 root root    531 Jun 14  2013 group-
drwxr-xr-x 2 root root   4.0K May 21  2013 grub.d
-rw------- 1 root root    479 Jun 14  2013 gshadow
-rw------- 1 root root    435 Jun 14  2013 gshadow-
-rw-r--r-- 1 root root    918 Aug 23  2012 gssapi_mech.conf
drwxr-xr-x 2 root root   4.0K Jun 14  2013 gtk-2.0
drwxr-xr-x 2 root root   4.0K May 13  2013 gtk-3.0
-rw-r--r-- 1 root root     63 May 31  2013 host.conf
-rw-r--r-- 1 root root      9 Sep 23  2012 hostname
-rw-r--r-- 1 root root    229 Sep 23  2012 hosts
-rw-r--r-- 1 root root   1.8K Nov  2  2011 idn.conf
-rw-r--r-- 1 root root    207 Nov  2  2011 idnalias.conf
drwxr-xr-x 2 root root   4.0K May 21  2013 ifplugd
-rw-r--r-- 1 root root    714 Jul 19  2012 inputrc
drwxr-xr-x 2 root root   4.0K May 30  2013 iproute2
drwxr-xr-x 2 root root   4.0K Jun  1  2013 iptables
-rw-r--r-- 1 root root     20 May 31  2013 issue
drwxr-xr-x 3 root root   4.0K May 30  2013 kernel
-rw-r--r-- 1 root root    546 Apr 12  2013 krb5.conf
-rw-r--r-- 1 root root    74K Jun 14  2013 ld.so.cache
-rw-r--r-- 1 root root     71 May 31  2013 ld.so.conf
drwxr-xr-x 2 root root   4.0K May 31  2013 ld.so.conf.d
drwxr-xr-x 2 root root   4.0K Mar  7  2013 libnl
-rw-r--r-- 1 root root     30 Sep 27  2012 locale.conf
-rw-r--r-- 1 root root   9.1K Jun 14  2013 locale.gen
lrwxrwxrwx 1 root root     36 Jun 14  2013 localtime -> /usr/share/zoneinfo/America/Montreal
-rw-r--r-- 1 root root   5.4K May 30  2013 login.defs
-rw-r--r-- 1 root root    683 May 12  2013 logrotate.conf
drwxr-xr-x 2 root root   4.0K May 12  2013 logrotate.d
drwxr-xr-x 4 root root   4.0K May 30  2013 lvm
-r--r--r-- 1 root root     33 Jun 14  2013 machine-id
-rw-r--r-- 1 root root   1.9K Nov  4  2011 mail.rc
-rw-r--r-- 1 root root   5.6K May  6  2013 makepkg.conf
-rw-r--r-- 1 root root   5.1K May 20  2013 man_db.conf
-rw-r--r-- 1 root root   2.3K May 17  2013 mdadm.conf
-rw-r--r-- 1 root root    45K Aug  3  2011 mime.types
-rw-r--r-- 1 root root    956 May 30  2013 mke2fs.conf
-rw-r--r-- 1 root root     95 Jun 14  2013 mkinitcpio-archiso.conf
-rw-r--r-- 1 root root   2.5K May  1  2013 mkinitcpio.conf
drwxr-xr-x 2 root root   4.0K Jun 14  2013 mkinitcpio.d
drwxr-xr-x 2 root root   4.0K Feb 13  2012 modprobe.d
drwxr-xr-x 2 root root   4.0K May 30  2013 modules-load.d
-rw-r--r-- 1 root root      0 May 31  2013 motd
lrwxrwxrwx 1 root root     17 May 31  2013 mtab -> /proc/self/mounts
-rw-r--r-- 1 root root   8.6K Nov  2  2011 nanorc
drwxr-xr-x 2 root root   4.0K May 16  2013 nbd-server
-rw-r--r-- 1 root root    767 Feb 13  2013 netconfig
drwxr-xr-x 5 root root   4.0K May 21  2013 netctl
-rw-r--r-- 1 root root   2.4K May 30  2013 nscd.conf
-rw-r--r-- 1 root root    234 May 31  2013 nsswitch.conf
drwxr-xr-x 2 root root   4.0K May 20  2013 openldap
-rw-r--r-- 1 root root    198 Feb  9  2013 os-release
-rw-r--r-- 1 root root   2.7K Jun 14  2013 pacman.conf
drwxr-xr-x 3 root root   4.0K Jan 17 07:57 pacman.d
drwxr-xr-x 2 root root   4.0K Jun 14  2013 pam.d
drwxr-xr-x 2 root root   4.0K Jun 14  2013 pango
-rw-r--r-- 1 root root    478 Jun 14  2013 passwd
-rw------- 1 root root    440 Jun 14  2013 passwd-
drwxr-xr-x 2 root root   4.0K May 12  2013 pcmcia
drwxr-xr-x 2 root root   4.0K May 28  2013 pkcs11
drwxr-xr-x 3 root root   4.0K May 26  2013 pm
drwxr-xr-x 3 root root   4.0K Apr  2  2013 polkit-1
drwxr-xr-x 7 root root   4.0K Jun  6  2013 ppp
-rw-r--r-- 1 root root    541 May 31  2013 profile
drwxr-xr-x 2 root root   4.0K Jun 14  2013 profile.d
-rw-r--r-- 1 root root   3.2K Jul 22  2012 protocols
drwxr-xr-x 2 root root   4.0K Jun  7  2013 pulse
drwxr-xr-x 2 root root   4.0K May 30  2013 rc_keymaps
-rw-r--r-- 1 root root   6.0K May 30  2013 rc_maps.cfg
-rw-r--r-- 1 root root   1.8K May 28  2013 request-key.conf
drwxr-xr-x 2 root root   4.0K May 28  2013 request-key.d
-rw-r--r-- 1 root root     98 Jan 17 07:58 resolv.conf
-rw-r--r-- 1 root root    254 May 29  2013 resolvconf.conf
-rw-r--r-- 1 root root   1.6K May 30  2013 rpc
-rw-r--r-- 1 root root    172 May 12  2013 rsyncd.conf
-rw-r--r-- 1 root root     86 May 31  2013 securetty
drwxr-xr-x 3 root root   4.0K Jun 14  2013 security
-rw-r--r-- 1 root root   280K Jul 22  2012 services
-rw------- 1 root root    265 Jun 14  2013 shadow
-rw------- 1 root root    240 Jun 14  2013 shadow-
-rw-r--r-- 1 root root     52 May 31  2013 shells
drwxr-xr-x 5 root root   4.0K Feb 17  2013 ssl
-r--r----- 1 root root   2.8K Jun 14  2013 sudoers
drwxr-x--- 2 root root   4.0K May 12  2013 sudoers.d
-rw-r--r-- 1 root root   1.2K May 28  2013 sysctl.conf
drwxr-xr-x 2 root root   4.0K May 30  2013 sysctl.d
drwxr-xr-x 5 root root   4.0K Oct 15  2012 systemd
drwxr-xr-x 2 root root   4.0K May 30  2013 tmpfiles.d
-rw-r--r-- 1 root root    376 Mar 19  2013 trusted-key.key
drwxr-xr-x 4 root root   4.0K Jun 14  2013 udev
drwxr-xr-x 2 root root   4.0K Mar 19  2013 udevil
-rw-r--r-- 1 root root    888 May 24  2013 usb_modeswitch.conf
drwxr-xr-x 2 root root   4.0K May 24  2013 usb_modeswitch.d
-rw-r--r-- 1 root root    74K May 24  2013 usb_modeswitch.setup
-rw-r--r-- 1 root root     16 Sep 23  2012 vconsole.conf
-rw-r--r-- 1 root root     51 Feb  2  2013 vdpau_wrapper.cfg
drwxr-xr-x 2 root root   4.0K May 30  2013 wpa_supplicant
drwxr-xr-x 6 root root   4.0K Jun 14  2013 xdg
drwxr-xr-x 2 root root   4.0K Jun 14  2013 xinetd.d
drwxr-xr-x 2 root root   4.0K Jun 14  2013 xml
drwxr-xr-x 2 root root   4.0K Jun  1  2013 xtables
[live@archbang mnt]$ ls -lh /mnt/bin
ls: cannot access /mnt/bin: Input/output error
[live@archbang mnt]$ 
Thanks!
WharfRat

Re: Had Error During Update Software > Now No OS Found At Bo

Post by WharfRat »

You might have a corrupted partition/disk or metadata.

You can try to fsck the partition, but sometimes things get worse rather than better.

The easiest way is to create the file, if you can

Code: Select all

touch /mnt/forcefsck 
then reboot.

Or unmount the partition first and try

Code: Select all

fsck -fvC /dev/sda5
Either way, prepare for the worst :(
ArchiMark

Re: Had Error During Update Software > Now No OS Found At Bo

Post by ArchiMark »

Code: Select all

[live@archbang ~]$ sudo fsck -fvc /dev/sda5
fsck from util-linux 2.23.1
e2fsck 1.42.7 (21-Jan-2013)
/dev/sda5: recovering journal
Checking for bad blocks (read-only test): done                                                 
/dev/sda5: Updating bad block inode.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

/dev/sda5: ***** FILE SYSTEM WAS MODIFIED *****

      180721 inodes used (26.79%, out of 674624)
         104 non-contiguous files (0.1%)
         159 non-contiguous directories (0.1%)
             # of inodes with ind/dind/tind blocks: 0/0/0
             Extent depth histogram: 144172/16
     1156816 blocks used (42.93%, out of 2694656)
           0 bad blocks
           1 large file

      125846 regular files
       16914 directories
          57 character device files
          25 block device files
           1 fifo
           0 links
       37859 symbolic links (36432 fast symbolic links)
          10 sockets
------------
      180712 files
Will reboot now and report back if OK now or not....

Figured best to post results of fsck now....due to use of live CD...

Thanks!
ArchiMark

Re: Had Error During Update Software > Now No OS Found At Bo

Post by ArchiMark »

Good news.....

That did it!

Can now boot up LM and run LM normally!!!!

T H A N K Y O U for all your great help today!!!!!

Now, the question is whether to install LM 16 or stay with LM 15...... :D
WharfRat

Re: Had Error During Update Software > Now No OS Found At Bo

Post by WharfRat »

Before you do anything else, check your partition's Maximum mount count - make sure it's not -1

Code: Select all

sudo tune2fs -l /dev/sda5 | grep "state\|behavior\|Mount\ \count\|OS\|Maximum"
ArchiMark

Re: Had Error During Update Software > Now No OS Found At Bo

Post by ArchiMark »

WharfRat wrote:Before you do anything else, check your partition's Maximum mount count - make sure it's not -1

Code: Select all

sudo tune2fs -l /dev/sda5 | grep "state\|behavior\|Mount\ \count\|OS\|Maximum"
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Mount count: 1
Maximum mount count: -1


So, this is not good, right?

If so, how to fix???

Thanks!
Locked

Return to “Beginner Questions”