Let's get to it!
1. BIOS update - add supervisor password to change boot modes, reboot
2. BIOS update - change UEFI to Legacy, disable secure boot, reboot
3. BIOS update - change boot priority to start with USB drive
4. Mint17.2 LiveUSB - boot, change to COMPATIBILITY mode
5. Install
6. Reboot
Grub installation works, but config fails.
7. GRUB - in grub try:
ls -l / — to get your system drive
set root=(hd0,1) —- drive 0, partition 1
linux /boot/vmlinuz……. [parameters] noapic
initrd /boot/init……
boot
Booting From grub>
This is how to set the boot files and boot the system from the
1
grub>
prompt. We know from running the
1
ls
command that there is a Linux root filesystem on
1
(hd0,1)
, and you can keep searching until you verify where
1
/boot/grub
is. Then run these commands, using your own root partition, kernel, and initrd image:
grub> set root=(hd0,1)
grub> linux /boot/vmlinuz-3.13.0-29-generic root=/dev/sda1
grub> initrd /boot/initrd.img-3.13.0-29-generic
grub> boot
The first line sets the partition that the root filesystem is on. The second line tells GRUB the location of the kernel you want to use. Start typing
1
/boot/vmli
, and then use tab-completion to fill in the rest. Type
1
root=/dev/sd<i>X</i>
to set the location of the root filesystem. Yes, this seems redundant, but if you leave this out you'll get a kernel panic. How do you know the correct partition? hd0,1 = /dev/sda1. hd1,1 = /dev/sdb1. hd3,2 = /dev/sdd2. I think you can extrapolate the rest.
The third line sets the
1
initrd
file, which must be the same version number as the kernel.
The fourth line boots your system.
————-
If Kernel panic, try adding "root=/dev/sda1" to parameters
8. Chroot update / reinstall of GRUB2
8.1 boot from liveUSB, safemode
8.2 terminal
Start with a livecd, open a a terminal
1 2 3 4 5 6 7
sudo fdisk -l
sudo mount /dev/sdax /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /dev/pts /mnt/dev/pts
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
and now you can make update-initramfs and update-grub without errors
1 2
update-initramfs -u -k 2.6.38-8-generic (or your version)
update-grub2
in terminal
1
sudo nano /etc/default/grub
save file and:
1
sudo update-grub
And reboot your system
9. Blank screen - add parameters into grub using procedure in #8 above
******************************************************************************
UPDATES:
******************************************************************************
- Kernel 4.08 - looses touch screen ability