Author Topic: Dead Ubuntu desktop - [RESOLVED]  (Read 6972 times)

0 Members and 1 Guest are viewing this topic.

Offline Keith

  • Hero Member
  • *****
  • Posts: 861
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Dead Ubuntu desktop - [RESOLVED]
« on: November 21, 2017, 03:21:26 pm »
Earlier this year I had a desktop built up by a local computer emporium for a friend.  In particular I specified an SSD primary drive and HDD secondary (to be used for backups), and I installed Ubuntu 16.04.  It worked very well and my friend was very pleased with the speed. 

Recently she complained that the PC was ailing and then became dead, as in no lights or fan – nothing – so I have just picked up the PC from Oxford and brought it back to Yorkshire.  I guessed a dead power supply so opened up the PC and discovered a batch of wires had come adrift; specifically those that run from the front panel to one end of the motherboard.  They were:
Start button, LED, HDLED, USB – which explained why the start button didn’t operate.  My guess is that my lady friend got someone to “have a look at it”, but I’m too  much of a gentleman to enquire! 
I connected them all up (thankfully they were labelled!) and pressed Go:  Lights on, fans whirring, POST then error:

error no such device: ec20bf64-f0e4-41ac-b17c-c52eed11994e
entering rescue mode …
grub rescue>


...and I couldn’t think of any likely commands except “start”, “quit”, etc., which weren’t recognised, so I checked the EUFI setup from which I extracted this:

UEFI Set up utility
i3-2120 cpu
8GB

Storage
SATA2_0   Toshiba THNSNF 128GCSS   (SSD)
SATA2_1   TSSCORP DVD-RW SH-216AB
SATA2_2   -not installed
SATA2_3   ST500DM002 – 1BD142   (HDD I guess)

Boot options
#1   PM:   Toshiba….   (SSD)
#2   SM:   TSST….   (DVD)

Boot BBS Priorities
Boot option 1   PM: SSD
Boot option 2   SM: ST500 (HDD)


I can't see anything obviously wrong, and at least the reference to "grub" is encouraging as it's found the right drive, but the "no such device" is worrying.   The "boot options" and "Boot BBS priorities" don't match, either. 
I would be very grateful for advice on how to find the cause of the problem - and then solve it, of course.
Thank you.


« Last Edit: November 26, 2017, 06:04:50 pm by Keith »

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17934
  • Karma: 461
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Dead Ubuntu desktop
« Reply #1 on: November 21, 2017, 04:17:44 pm »
Can you boot to a 16.04 LiveUSB/LiveDVD and post the output from:
Code: [Select]
sudo fdisk -l
and
Code: [Select]
sudo blkid
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Keith

  • Hero Member
  • *****
  • Posts: 861
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Dead Ubuntu desktop
« Reply #2 on: November 21, 2017, 06:06:19 pm »
Hi Mark.   Here are the data;

ubuntu@ubuntu:~$ fdisk -l

fdisk: cannot open /dev/ram0: Permission denied
fdisk: cannot open /dev/ram1: Permission denied
fdisk: cannot open /dev/ram2: Permission denied
fdisk: cannot open /dev/ram3: Permission denied
fdisk: cannot open /dev/ram4: Permission denied
fdisk: cannot open /dev/ram5: Permission denied
fdisk: cannot open /dev/ram6: Permission denied
fdisk: cannot open /dev/ram7: Permission denied
fdisk: cannot open /dev/ram8: Permission denied
fdisk: cannot open /dev/ram9: Permission denied
fdisk: cannot open /dev/ram10: Permission denied
fdisk: cannot open /dev/ram11: Permission denied
fdisk: cannot open /dev/ram12: Permission denied
fdisk: cannot open /dev/ram13: Permission denied
fdisk: cannot open /dev/ram14: Permission denied
fdisk: cannot open /dev/ram15: Permission denied
fdisk: cannot open /dev/loop0: Permission denied
fdisk: cannot open /dev/sda: Permission denied
fdisk: cannot open /dev/sdb: Permission denied
fdisk: cannot open /dev/sdc: Permission denied
ubuntu@ubuntu:~$ blkid
/dev/sda1: UUID="C06E-B558" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="fa70981d-2426-4c8b-a115-53de1970ad3b"
/dev/sda2: UUID="2613c357-efdb-4e8f-8d0c-f0a11738a56e" TYPE="ext4" PARTUUID="76e924aa-ae89-4b5b-ae21-cd2936dd384f"
/dev/sdb1: LABEL="data" UUID="f8bc6354-bfa3-42a6-85cd-13a605046088" TYPE="ext4" PARTUUID="5fda8cfc-01"
/dev/sdc1: LABEL="USB21" UUID="6B6D-9F39" TYPE="vfat" PARTUUID="6b6d9f39-01"
ubuntu@ubuntu:~$

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17934
  • Karma: 461
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Dead Ubuntu desktop
« Reply #3 on: November 22, 2017, 03:08:25 am »
I'm going to need you to run those commands again but prefixed with "sudo" as in my last posting .. and post the output;)

can you also run:
Code: [Select]
sudo  mount /dev/sda2 /mnt
then post the contents of
Code: [Select]
gedit /mnt/boot/grub/grub.cfg
and
Code: [Select]
gedit /mnt/etc/fstab
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Keith

  • Hero Member
  • *****
  • Posts: 861
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Dead Ubuntu desktop
« Reply #4 on: November 22, 2017, 11:26:54 am »
My apologies, Mark - a senior moment.  I get a lot of those. 
I have done as requested.



Code: [Select]
sudo fdisk -l

Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 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 /dev/ram1: 64 MiB, 67108864 bytes, 131072 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 /dev/ram2: 64 MiB, 67108864 bytes, 131072 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 /dev/ram3: 64 MiB, 67108864 bytes, 131072 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 /dev/ram4: 64 MiB, 67108864 bytes, 131072 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 /dev/ram5: 64 MiB, 67108864 bytes, 131072 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 /dev/ram6: 64 MiB, 67108864 bytes, 131072 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 /dev/ram7: 64 MiB, 67108864 bytes, 131072 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 /dev/ram8: 64 MiB, 67108864 bytes, 131072 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 /dev/ram9: 64 MiB, 67108864 bytes, 131072 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 /dev/ram10: 64 MiB, 67108864 bytes, 131072 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 /dev/ram11: 64 MiB, 67108864 bytes, 131072 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 /dev/ram12: 64 MiB, 67108864 bytes, 131072 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 /dev/ram13: 64 MiB, 67108864 bytes, 131072 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 /dev/ram14: 64 MiB, 67108864 bytes, 131072 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 /dev/ram15: 64 MiB, 67108864 bytes, 131072 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 /dev/loop0: 1.4 GiB, 1459982336 bytes, 2851528 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 /dev/sda: 119.2 GiB, 128035676160 bytes, 250069680 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

Disklabel type: gpt
Disk identifier: 2F3D488C-2273-4AE4-87A4-FCAA2D153339

Device         Start       End   Sectors   Size Type
/dev/sda1       2048   1050623   1048576   512M EFI System
/dev/sda2    1050624 233365503 232314880 110.8G Linux filesystem
/dev/sda3  233365504 250068991  16703488     8G Linux swap

Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 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
Disklabel type: dos
Disk identifier: 0x5fda8cfc

Device     Boot Start       End   Sectors   Size Id Type
/dev/sdb1        2048 976773119 976771072 465.8G 83 Linux

Disk /dev/sdc: 28.9 GiB, 30998003712 bytes, 60542976 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
Disklabel type: dos
Disk identifier: 0x6b6d9f39
Device     Boot Start      End  Sectors  Size Id Type
/dev/sdc1  *     8064 60542975 60534912 28.9G  c W95 FAT32 (LBA)

Code: [Select]
sudo blkid
/dev/sda1: UUID="C06E-B558" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="fa70981d-2426-4c8b-a115-53de1970ad3b"
/dev/sda2: UUID="2613c357-efdb-4e8f-8d0c-f0a11738a56e" TYPE="ext4" PARTUUID="76e924aa-ae89-4b5b-ae21-cd2936dd384f"
/dev/sdb1: LABEL="data" UUID="f8bc6354-bfa3-42a6-85cd-13a605046088" TYPE="ext4" PARTUUID="5fda8cfc-01"
/dev/sdc1: LABEL="USB21" UUID="6B6D-9F39" TYPE="vfat" PARTUUID="6b6d9f39-01"
/dev/loop0: TYPE="squashfs"
/dev/sda3: UUID="cd06134c-e91a-4f4f-a295-c8983658edab" TYPE="swap" PARTUUID="a11787c1-6d22-41ed-8935-7a4e2e383b2b"

Code: [Select]
gedit /mnt/boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  2613c357-efdb-4e8f-8d0c-f0a11738a56e
else
  search --no-floppy --fs-uuid --set=root 2613c357-efdb-4e8f-8d0c-f0a11738a56e
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=C
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-2613c357-efdb-4e8f-8d0c-f0a11738a56e' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  2613c357-efdb-4e8f-8d0c-f0a11738a56e
else
  search --no-floppy --fs-uuid --set=root 2613c357-efdb-4e8f-8d0c-f0a11738a56e
fi
        linux /boot/vmlinuz-4.4.0-93-generic root=UUID=2613c357-efdb-4e8f-8d0c-f0a11738a56e ro  quiet splash $vt_handoff
initrd /boot/initrd.img-4.4.0-93-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-2613c357-efdb-4e8f-8d0c-f0a11738a56e' {
menuentry 'Ubuntu, with Linux 4.4.0-93-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-93-generic-advanced-2613c357-efdb-4e8f-8d0c-f0a11738a56e' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  2613c357-efdb-4e8f-8d0c-f0a11738a56e
else
  search --no-floppy --fs-uuid --set=root 2613c357-efdb-4e8f-8d0c-f0a11738a56e
fi
echo 'Loading Linux 4.4.0-93-generic ...'
        linux /boot/vmlinuz-4.4.0-93-generic root=UUID=2613c357-efdb-4e8f-8d0c-f0a11738a56e ro  quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-93-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-93-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-93-generic-init-upstart-2613c357-efdb-4e8f-8d0c-f0a11738a56e' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  2613c357-efdb-4e8f-8d0c-f0a11738a56e
else
  search --no-floppy --fs-uuid --set=root 2613c357-efdb-4e8f-8d0c-f0a11738a56e
fi
echo 'Loading Linux 4.4.0-93-generic ...'
        linux /boot/vmlinuz-4.4.0-93-generic root=UUID=2613c357-efdb-4e8f-8d0c-f0a11738a56e ro  quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-93-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-93-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-93-generic-recovery-2613c357-efdb-4e8f-8d0c-f0a11738a56e' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  2613c357-efdb-4e8f-8d0c-f0a11738a56e
else
  search --no-floppy --fs-uuid --set=root 2613c357-efdb-4e8f-8d0c-f0a11738a56e
fi
echo 'Loading Linux 4.4.0-93-generic ...'
        linux /boot/vmlinuz-4.4.0-93-generic root=UUID=2613c357-efdb-4e8f-8d0c-f0a11738a56e ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-93-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-92-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-92-generic-advanced-2613c357-efdb-4e8f-8d0c-f0a11738a56e' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  2613c357-efdb-4e8f-8d0c-f0a11738a56e
else
  search --no-floppy --fs-uuid --set=root 2613c357-efdb-4e8f-8d0c-f0a11738a56e
fi
echo 'Loading Linux 4.4.0-92-generic ...'
linux /boot/vmlinuz-4.4.0-92-generic.efi.signed root=UUID=2613c357-efdb-4e8f-8d0c-f0a11738a56e ro  quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-92-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-92-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-92-generic-init-upstart-2613c357-efdb-4e8f-8d0c-f0a11738a56e' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  2613c357-efdb-4e8f-8d0c-f0a11738a56e
else
  search --no-floppy --fs-uuid --set=root 2613c357-efdb-4e8f-8d0c-f0a11738a56e
fi
echo 'Loading Linux 4.4.0-92-generic ...'
linux /boot/vmlinuz-4.4.0-92-generic.efi.signed root=UUID=2613c357-efdb-4e8f-8d0c-f0a11738a56e ro  quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-92-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-92-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-92-generic-recovery-2613c357-efdb-4e8f-8d0c-f0a11738a56e' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  2613c357-efdb-4e8f-8d0c-f0a11738a56e
else
  search --no-floppy --fs-uuid --set=root 2613c357-efdb-4e8f-8d0c-f0a11738a56e
fi
echo 'Loading Linux 4.4.0-92-generic ...'
linux /boot/vmlinuz-4.4.0-92-generic.efi.signed root=UUID=2613c357-efdb-4e8f-8d0c-f0a11738a56e ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-92-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-89-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-89-generic-advanced-2613c357-efdb-4e8f-8d0c-f0a11738a56e' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  2613c357-efdb-4e8f-8d0c-f0a11738a56e
else
  search --no-floppy --fs-uuid --set=root 2613c357-efdb-4e8f-8d0c-f0a11738a56e
fi
echo 'Loading Linux 4.4.0-89-generic ...'
linux /boot/vmlinuz-4.4.0-89-generic.efi.signed root=UUID=2613c357-efdb-4e8f-8d0c-f0a11738a56e ro  quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-89-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-89-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-89-generic-init-upstart-2613c357-efdb-4e8f-8d0c-f0a11738a56e' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  2613c357-efdb-4e8f-8d0c-f0a11738a56e
else
  search --no-floppy --fs-uuid --set=root 2613c357-efdb-4e8f-8d0c-f0a11738a56e
fi
echo 'Loading Linux 4.4.0-89-generic ...'
linux /boot/vmlinuz-4.4.0-89-generic.efi.signed root=UUID=2613c357-efdb-4e8f-8d0c-f0a11738a56e ro  quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-89-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-89-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-89-generic-recovery-2613c357-efdb-4e8f-8d0c-f0a11738a56e' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  2613c357-efdb-4e8f-8d0c-f0a11738a56e
else
  search --no-floppy --fs-uuid --set=root 2613c357-efdb-4e8f-8d0c-f0a11738a56e
fi
echo 'Loading Linux 4.4.0-89-generic ...'
linux /boot/vmlinuz-4.4.0-89-generic.efi.signed root=UUID=2613c357-efdb-4e8f-8d0c-f0a11738a56e ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-89-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-87-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-87-generic-advanced-2613c357-efdb-4e8f-8d0c-f0a11738a56e' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  2613c357-efdb-4e8f-8d0c-f0a11738a56e
else
  search --no-floppy --fs-uuid --set=root 2613c357-efdb-4e8f-8d0c-f0a11738a56e
fi
echo 'Loading Linux 4.4.0-87-generic ...'
linux /boot/vmlinuz-4.4.0-87-generic.efi.signed root=UUID=2613c357-efdb-4e8f-8d0c-f0a11738a56e ro  quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-87-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-87-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-87-generic-init-upstart-2613c357-efdb-4e8f-8d0c-f0a11738a56e' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  2613c357-efdb-4e8f-8d0c-f0a11738a56e
else
  search --no-floppy --fs-uuid --set=root 2613c357-efdb-4e8f-8d0c-f0a11738a56e
fi
echo 'Loading Linux 4.4.0-87-generic ...'
linux /boot/vmlinuz-4.4.0-87-generic.efi.signed root=UUID=2613c357-efdb-4e8f-8d0c-f0a11738a56e ro  quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-87-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-87-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-87-generic-recovery-2613c357-efdb-4e8f-8d0c-f0a11738a56e' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  2613c357-efdb-4e8f-8d0c-f0a11738a56e
else
  search --no-floppy --fs-uuid --set=root 2613c357-efdb-4e8f-8d0c-f0a11738a56e
fi
echo 'Loading Linux 4.4.0-87-generic ...'
linux /boot/vmlinuz-4.4.0-87-generic.efi.signed root=UUID=2613c357-efdb-4e8f-8d0c-f0a11738a56e ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-87-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-83-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-83-generic-advanced-2613c357-efdb-4e8f-8d0c-f0a11738a56e' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  2613c357-efdb-4e8f-8d0c-f0a11738a56e
else
  search --no-floppy --fs-uuid --set=root 2613c357-efdb-4e8f-8d0c-f0a11738a56e
fi
echo 'Loading Linux 4.4.0-83-generic ...'
linux /boot/vmlinuz-4.4.0-83-generic.efi.signed root=UUID=2613c357-efdb-4e8f-8d0c-f0a11738a56e ro  quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-83-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-83-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-83-generic-init-upstart-2613c357-efdb-4e8f-8d0c-f0a11738a56e' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  2613c357-efdb-4e8f-8d0c-f0a11738a56e
else
  search --no-floppy --fs-uuid --set=root 2613c357-efdb-4e8f-8d0c-f0a11738a56e
fi
echo 'Loading Linux 4.4.0-83-generic ...'
linux /boot/vmlinuz-4.4.0-83-generic.efi.signed root=UUID=2613c357-efdb-4e8f-8d0c-f0a11738a56e ro  quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-83-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-83-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-83-generic-recovery-2613c357-efdb-4e8f-8d0c-f0a11738a56e' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  2613c357-efdb-4e8f-8d0c-f0a11738a56e
else
  search --no-floppy --fs-uuid --set=root 2613c357-efdb-4e8f-8d0c-f0a11738a56e
fi
echo 'Loading Linux 4.4.0-83-generic ...'
linux /boot/vmlinuz-4.4.0-83-generic.efi.signed root=UUID=2613c357-efdb-4e8f-8d0c-f0a11738a56e ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-83-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-81-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-81-generic-advanced-2613c357-efdb-4e8f-8d0c-f0a11738a56e' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  2613c357-efdb-4e8f-8d0c-f0a11738a56e
else
  search --no-floppy --fs-uuid --set=root 2613c357-efdb-4e8f-8d0c-f0a11738a56e
fi
echo 'Loading Linux 4.4.0-81-generic ...'
linux /boot/vmlinuz-4.4.0-81-generic.efi.signed root=UUID=2613c357-efdb-4e8f-8d0c-f0a11738a56e ro  quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-81-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-81-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-81-generic-init-upstart-2613c357-efdb-4e8f-8d0c-f0a11738a56e' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  2613c357-efdb-4e8f-8d0c-f0a11738a56e
else
  search --no-floppy --fs-uuid --set=root 2613c357-efdb-4e8f-8d0c-f0a11738a56e
fi
echo 'Loading Linux 4.4.0-81-generic ...'
linux /boot/vmlinuz-4.4.0-81-generic.efi.signed root=UUID=2613c357-efdb-4e8f-8d0c-f0a11738a56e ro  quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-81-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-81-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-81-generic-recovery-2613c357-efdb-4e8f-8d0c-f0a11738a56e' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  2613c357-efdb-4e8f-8d0c-f0a11738a56e
else
  search --no-floppy --fs-uuid --set=root 2613c357-efdb-4e8f-8d0c-f0a11738a56e
fi
echo 'Loading Linux 4.4.0-81-generic ...'
linux /boot/vmlinuz-4.4.0-81-generic.efi.signed root=UUID=2613c357-efdb-4e8f-8d0c-f0a11738a56e ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-81-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-79-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-79-generic-advanced-2613c357-efdb-4e8f-8d0c-f0a11738a56e' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  2613c357-efdb-4e8f-8d0c-f0a11738a56e
else
  search --no-floppy --fs-uuid --set=root 2613c357-efdb-4e8f-8d0c-f0a11738a56e
fi
echo 'Loading Linux 4.4.0-79-generic ...'
linux /boot/vmlinuz-4.4.0-79-generic.efi.signed root=UUID=2613c357-efdb-4e8f-8d0c-f0a11738a56e ro  quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-79-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-79-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-79-generic-init-upstart-2613c357-efdb-4e8f-8d0c-f0a11738a56e' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  2613c357-efdb-4e8f-8d0c-f0a11738a56e
else
  search --no-floppy --fs-uuid --set=root 2613c357-efdb-4e8f-8d0c-f0a11738a56e
fi
echo 'Loading Linux 4.4.0-79-generic ...'
linux /boot/vmlinuz-4.4.0-79-generic.efi.signed root=UUID=2613c357-efdb-4e8f-8d0c-f0a11738a56e ro  quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-79-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-79-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-79-generic-recovery-2613c357-efdb-4e8f-8d0c-f0a11738a56e' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  2613c357-efdb-4e8f-8d0c-f0a11738a56e
else
  search --no-floppy --fs-uuid --set=root 2613c357-efdb-4e8f-8d0c-f0a11738a56e
fi
echo 'Loading Linux 4.4.0-79-generic ...'
linux /boot/vmlinuz-4.4.0-79-generic.efi.signed root=UUID=2613c357-efdb-4e8f-8d0c-f0a11738a56e ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-79-generic
}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

Code: [Select]
gedit /mnt/etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=2613c357-efdb-4e8f-8d0c-f0a11738a56e /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=C06E-B558  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/sda3 during installation
UUID=cd06134c-e91a-4f4f-a295-c8983658edab none            swap    sw              0       0
« Last Edit: November 22, 2017, 02:33:55 pm by Mark Greaves (PCNetSpec) »

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17934
  • Karma: 461
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Dead Ubuntu desktop
« Reply #5 on: November 22, 2017, 02:24:43 pm »
Okay let's try reinstalling GRUB .. boot to a LiveUSB/LiveDVD and run these commands in sequence
Code: [Select]
sudo mount /dev/sda2 /mnt
then
Code: [Select]
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
then
Code: [Select]
sudo chroot /mnt
then
Code: [Select]
grub-install /dev/sda
then
Code: [Select]
update-grub
then hit Ctrl+D to exit the chroot environment.

Now shut down the PC .. remove the LiveUSB/LiveDVD .. and see if it will boot normally
« Last Edit: November 22, 2017, 02:31:57 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Keith

  • Hero Member
  • *****
  • Posts: 861
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Dead Ubuntu desktop
« Reply #6 on: November 22, 2017, 02:33:24 pm »
No, Mark - I get the same error. 

As the Live USB can access files on both the SSD and the HDD, does this indicate that I could simply re-install Ubuntu?  After all the previous owner no longer wants the PC. 

« Last Edit: November 22, 2017, 02:37:41 pm by Keith »

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17934
  • Karma: 461
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Dead Ubuntu desktop
« Reply #7 on: November 22, 2017, 02:55:35 pm »
Well you could yes.

Or we could try to fix the UEFI bootloader

That said a reinstall may be a better way forward because you'll only have to clean her stuff off if we fix it
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Keith

  • Hero Member
  • *****
  • Posts: 861
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Dead Ubuntu desktop
« Reply #8 on: November 22, 2017, 03:52:22 pm »
If you think any of our readers might be interested in how one might fix the UEFI bootloader then I'm game;  but it's a lot of effort for you.
Based on the info that we have, do you reckon that a re-install is likely to be trouble free?     .....    and will that fix the bootloader as well? 

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17934
  • Karma: 461
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Dead Ubuntu desktop
« Reply #9 on: November 22, 2017, 05:15:51 pm »
Yeah I can see no reason why a reinstall wouldn't work so you as well just go ahead and do it Keith :)

If on the other hand you want to try fixing it .. boot to the LiveUSB IN UEFI MODE then post the output from:
Code: [Select]
efibootmgr -v
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Keith

  • Hero Member
  • *****
  • Posts: 861
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Dead Ubuntu desktop
« Reply #10 on: November 22, 2017, 06:24:10 pm »
Screwed that up......just trying again..

Offline Keith

  • Hero Member
  • *****
  • Posts: 861
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Dead Ubuntu desktop
« Reply #11 on: November 22, 2017, 06:31:11 pm »
Code: [Select]
ubuntu@ubuntu:~$[b] efibootmgr -v[/b]
BootCurrent: 0004
Timeout: 5 seconds
BootOrder: 0001,0002,0003,0004
Boot0001* Hard Drive BBS(HD,,0x0)AMGOAMNO........m.T.O.S.H.I.B.A. .T.H.N.S.N.F.1.2.8.G.C.S.S....................A.........................>..Gd-.;.A..MQ..L. . . . . . . . .3.1.S.D.0.1.D.9.5.T.Y.I......AMBOAMNO........m.S.T.5.0.0.D.M.0.0.2.-.1.B.D.1.4.2....................A.........................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .2.W.D.A.D.4.W.N......AMBO
Boot0002* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO........m.T.S.S.T.c.o.r.p. .D.V.D.-.R.W. .S.H.-.2.1.6.A.B....................A.........................>..Gd-.;.A..MQ..L.8.R.5.E.8.6.C.D.0.4.H.0.V.2. . . . . . ......AMBO
Boot0003* USB BBS(USB,,0x0)AMGOAMNO........m. .U.S.B. .D.I.S.K. .2...0. .P.M.A.P....................A.............................:..Gd-.;.A..MQ..L. .U.S.B. .D.I.S.K. .2...0. .P.M.A.P......AMBO
Boot0004* UEFI:  USB DISK 2.0 PMAP PciRoot(0x0)/Pci(0x1d,0x0)/USB(1,0)/USB(3,0)/HD(1,MBR,0x57,0x1f80,0x39bb080)AMBO
ubuntu@ubuntu:~$
« Last Edit: November 23, 2017, 12:10:16 am by Mark Greaves (PCNetSpec) »

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17934
  • Karma: 461
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Dead Ubuntu desktop
« Reply #12 on: November 23, 2017, 12:51:06 am »
I can't for the life of me see where the UUID ec20bf64-f0e4-41ac-b17c-c52eed11994e is coming from...

Has the hard drive ever had a Linux distro on it ?

What happens of you disconnect the HDD but leave the SSD attached .. then try to boot, selecting the SSD from the EFI boot menu ?
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Keith

  • Hero Member
  • *****
  • Posts: 861
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Dead Ubuntu desktop
« Reply #13 on: November 23, 2017, 12:40:14 pm »
No;  the system had Windows 10 on the SSD when I bought it just to demonstrate that the system worked.  I installed Ubuntu 16.04 on the SSD then had to then delete the HDD partitions to get rid of whatever Windows had put on it  (& formatted in Ext4) and named the volume "Data" for backups etc.  It all worked fine for weeks then died. 

I have disconnected the HDD but when pressing F11 at the UEFI screen to select boot device, the system went straight to a black screen with the following text:
"Reboot and select proper boot device or insert Boot media in selected Boot device and press any key"


Swapping the HDD lead to the SSD gave the same result, but that it didn't go to the boot order screen when pressing F11 is significant, I feel. 
This is beginning to look difficult. 
« Last Edit: November 23, 2017, 12:42:57 pm by Keith »

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17934
  • Karma: 461
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Dead Ubuntu desktop
« Reply #14 on: November 23, 2017, 05:49:23 pm »
Probably simplest to just reinstall at this point Keith
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal