Author Topic: Meltdown and Spectre (SOLVED)  (Read 5704 times)

0 Members and 1 Guest are viewing this topic.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17996
  • Karma: 465
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Meltdown and Spectre
« Reply #15 on: January 28, 2018, 06:10:00 pm »
Okay WITH ONLY THE 18.3 DRIVE ATTACHED, boot to the 18.3 LiveUSB/LiveDVD and run these commands in sequence:
Code: [Select]
sudo mount /dev/sda5 /mnt
then
Code: [Select]
sudo mount /dev/sda1 /mnt/boot
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

And reboot without the LiveUSB/LiveDVD

Did it boot ?
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Rich J

  • Sr. Member
  • ****
  • Posts: 440
  • Karma: 2
  • Gender: Male
  • A Linux Luvvie!
    • View Profile
    • Awards
Re: Meltdown and Spectre
« Reply #16 on: January 29, 2018, 05:06:33 pm »
Okay WITH ONLY THE 18.3 DRIVE ATTACHED, boot to the 18.3 LiveUSB/LiveDVD and run these commands in sequence:
Code: [Select]
sudo mount /dev/sda5 /mnt
then
Code: [Select]
sudo mount /dev/sda1 /mnt/boot
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

And reboot without the LiveUSB/LiveDVD

Did it boot ?

Sadly no.  Did as asked - Updated Grub sees both installed kernels (4.13.xx and 4.10.xx) but neither will boot.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17996
  • Karma: 465
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Meltdown and Spectre
« Reply #17 on: January 29, 2018, 08:39:49 pm »
Are you still seeing this message:-

not syncing: VFS unable to mount root fs on unknown-block (0,0)

?
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Rich J

  • Sr. Member
  • ****
  • Posts: 440
  • Karma: 2
  • Gender: Male
  • A Linux Luvvie!
    • View Profile
    • Awards
Re: Meltdown and Spectre
« Reply #18 on: January 29, 2018, 10:01:55 pm »
Are you still seeing this message:-

not syncing: VFS unable to mount root fs on unknown-block (0,0)

?

Yes, exactly the same.

EDIT:  This message repeats about 4 times or so down the page, as if it is in a loop almost and is trying to re-boot?
« Last Edit: January 29, 2018, 10:04:53 pm by Rich J »

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17996
  • Karma: 465
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Meltdown and Spectre
« Reply #19 on: January 30, 2018, 12:19:47 am »
Okay WITH ONLY THE 18.3 DRIVE ATTACHED, boot to the 18.3 LiveUSB/LiveDVD and run these commands in sequence:
Code: [Select]
sudo mount /dev/sda5 /mnt
then
Code: [Select]
sudo mount /dev/sda1 /mnt/boot
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]
update-initramfs -uk all
If you get any errors, write them down and let me know .. otherwise...

hit Ctrl+D to exit the chroot environment.

Reboot to test.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Rich J

  • Sr. Member
  • ****
  • Posts: 440
  • Karma: 2
  • Gender: Male
  • A Linux Luvvie!
    • View Profile
    • Awards
Re: Meltdown and Spectre
« Reply #20 on: January 30, 2018, 10:51:41 am »
Hi Mark!

Thank you so much!  That last set sorted the issue so I'll mark it as solved.  (The only 'error' reported was "No support for locale: en_GB.utf8, which appears all the time whichever Mint distro you're updating).

I have noticed one anomaly though, in GParted.  The first partition  (/dev/sda1- boot) lies outside of the second partition (/dev/sda2 - extended)  Should it?  Or should all partitions reside within the extended partition?  I'm wondering if this might be causing the issues I've had?

I can try for a screen shot if you can tell me where to post it?

Thanks again

Rich


Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17996
  • Karma: 465
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Meltdown and Spectre
« Reply #21 on: January 30, 2018, 03:01:55 pm »
In Linux it doesn't matter if the /boot partition is in an extended partition (or not), GRUB will be able to boot from it anyway .. Windows on the other hand MUST have it's bootloader in a primary partition.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Rich J

  • Sr. Member
  • ****
  • Posts: 440
  • Karma: 2
  • Gender: Male
  • A Linux Luvvie!
    • View Profile
    • Awards
Re: Meltdown and Spectre
« Reply #22 on: January 30, 2018, 03:30:21 pm »
In Linux it doesn't matter if the /boot partition is in an extended partition (or not), GRUB will be able to boot from it anyway .. Windows on the other hand MUST have it's bootloader in a primary partition.

Understood, thanks.  ;)

All seems ok with M18.3 booting and both user accounts are able to log in.  Kernel in use is  -
Code: [Select]
richard@richard-OEM ~ $ uname -a
Linux richard-OEM 4.13.0-32-generic #35~16.04.1-Ubuntu SMP Thu Jan 25 10:13:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
richard@richard-OEM ~ $

I've reconnected my 2nd Hdd but Grub now doesn't see it since the update.  I assume I 'sudo update-grub' from M18.3 to enable it?
« Last Edit: January 30, 2018, 03:34:23 pm by Rich J »

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17996
  • Karma: 465
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Meltdown and Spectre
« Reply #23 on: January 30, 2018, 05:16:48 pm »
Yeah run
Code: [Select]
sudo update-grub
from within 18.3 (if it's the primary boot device)
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Rich J

  • Sr. Member
  • ****
  • Posts: 440
  • Karma: 2
  • Gender: Male
  • A Linux Luvvie!
    • View Profile
    • Awards
Re: Meltdown and Spectre
« Reply #24 on: January 30, 2018, 07:55:57 pm »
Yeah run
Code: [Select]
sudo update-grub
from within 18.3 (if it's the primary boot device)

Ok - all done and dusted!  Thanks again!

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17996
  • Karma: 465
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Meltdown and Spectre (SOLVED)
« Reply #25 on: February 01, 2018, 01:39:19 am »
No problem Rich :)
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