Linux Lite Forums
Need help with Linux Lite boot issue please - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5)
+--- Forum: Installing Linux Lite (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=17)
+--- Thread: Need help with Linux Lite boot issue please (/showthread.php?tid=2456)

Pages: 1 2 3


Re: Need help with Linux Lite boot issue please - aviceda - 01-15-2016

Thx Truckerjay, I would if I could boot into LL  ???


Re: Need help with Linux Lite boot issue please - firenice03 - 01-15-2016

With what boot repair did you may need to do bit more..
But the sudo update grub as described above by gold-finger would need to be done with a LL live USB... It'll be the only option to get into LL... With grub repair writing to all boot disk may need additional configuration.

Not saying anything bad has occurred, I'm not familiar with repair, still new myself  8)


Re: Need help with Linux Lite boot issue please - aviceda - 01-15-2016

Cheers Firenice, no problem with the live-DVD (have that already) but would be nice to get some instructions on how to use it to repair LL though.  Any pointers?


Re: Need help with Linux Lite boot issue please - truckerjay - 01-15-2016

I am dual boot I did the sudo update grub from the system I could boot into.  I normally have at times 4 different linux systems on hard drive.  Currently dual boot LL 2.6 and 2.8 beta.


Re: Need help with Linux Lite boot issue please - avj - 01-15-2016

The best place to look while waiting for someone to answer would be the help manual under "Installation Issues":

https://www.freecinema2022.gq/manual/hardware.html#installissues

If you scroll past the first section you will see this:

"Dual Boot Install on Systems with More Than One Hard Drive?
When choosing to install Linux Lite alongside Windows on a computerwith more than one hard drive, the default action of the installer is to install the Linux boot loader to the MBR of the first hard drive. Since Windows is likely installed to the first drive, its boot loader will be replaced on the MBR with the Linux boot loader. The Linux boot loader will see the Windows installation and add it to the boot menu on start-up. This is how most people do the installation.
However, some people prefer to keep the Windows boot loader intact on its own drive and install the Linux boot loader to its own drive. (There are various reasons for doing that, the most common being that it makes booting Windows easier if they decide to remove the Linux installation.) After the installation completes, they then set the computer's BIOS to boot from the Linux drive. Even though the Linux boot loader is installed to a separate drive, it will see the Windows installation and add a boot choice for it. By booting from the Linux drive, you get the choice to boot either OS. If you later remove Linux, simply reset the BIOS to boot from the Windows drive and it will boot Windows as it did before your installation of Linux.
To accomplish this, you must choose the "Something else" option from the "Installation Type" screen during installation. On the following screen you will set-up your partitions and mount points manually. Then, near the bottom of the window, you need to set the "location for boot loader installation" to the MBR of the drive containing Linux Lite. For example, if you had two hard drives - /dev/sda (Windows) and /dev/sdb (Linux) - you would set the location to /dev/sdb (without any partition number at the end)."


Re: Need help with Linux Lite boot issue please - aviceda - 01-15-2016

Thanks AVJ, appreciate the advice,  I am currently attempting to repair Grub using the live-DVD but am a bit concerned about ownerships (root, chown etc) Just wonder if you are aware of any previous useful advice available out there? (....will do some 'searches'  ???)


Re: Need help with Linux Lite boot issue please - truckerjay - 01-15-2016

http://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd  this explains how to use live media to repair or reinstall grub.


Re: Need help with Linux Lite boot issue please - aviceda - 01-15-2016

Thanks truckerjay, the ubuntu advice didn't work for me, I get the following output (in red)when I try to apply the text in italics below.

linux@linux:~$ sudo mount /dev/sdc /mnt
mount: /dev/sdc already mounted or /mnt busy

linux@linux:~$ 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
mount: mount point /mnt/dev does not exist
linux@linux:~$


Mount the partition your Ubuntu Installation is on. If you are not sure which it is, launch GParted (included in the Live CD) and find out. It is usually a EXT4 Partition. Replace the XY with the drive letter, and partition number, for example: sudo mount /dev/sda1 /mnt.
sudo mount /dev/sdXY /mnt

Now bind the directories that grub needs access to to detect other operating systems, like so.
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

Now we jump into that using chroot.



Re: Need help with Linux Lite boot issue please - firenice03 - 01-15-2016

Sorry I was accessing from phone earlier...
Here's a LL link..
https://www.freecinema2022.gq/forums/installing-linux-lite/help!!!!-deleted-grub-by-mistake/msg14247/#msg14247




Re: Need help with Linux Lite boot issue please - aviceda - 01-15-2016

Thx gold_finger,

Just followed your advice but it 'fell-over' here, and I haven't got a clue what it means  Sad

linux@linux:~$ sudo grub-install --boot-directory=/mnt/boot /dev/sdc
Installing for i386-pc platform.
grub-install: error: failed to get canonical path of `/cow'.

Tom