LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Edited grub - cant boot LL
#16
Ok -- I wasn't sure whether leafpad would work or not while in chroot environment.  We'll just switch to using a terminal based text editor called nano.  (You don't have to install it -- it's already included in LL.)

Before doing anything, shutdown and reboot again into live LL so you start off fresh.  In last post it showed that when you went to mount the root partition it was already mounted.  So, to make sure all steps work as expected, shutdown/restart first.

NOTE:  If you still have same terminal open and your prompt still reads as "root@linux:/#", run following commands in the terminal before rebooting.
Code:
exit
for i in /sys /proc /dev/pts /dev; do sudo umount /mnt$i; done
sudo umount /mnt



Once rebooted fresh, open a terminal and do the first two steps in my last post exactly as shown before to mount the root partition and chroot into it.  Then, instead of doing the leafpad command to open the grub file, use this command:

Code:
nano /etc/default/grub

That will open the file in the terminal instead of trying to open a new graphical window like the leafpad command was doing.

You need to use your keyboard's arrow keys to position the cursor to where the change needs to be made.  Just delete the "0.0" and replace it with a "5" on the "GRUB_TIMEOUT=" line.

Then save the file by using the key combination of <CTRL>+O (the letter "O", not number "0").  In other words, hit <CTRL> key and the letter "O" key at the same time.

Then exit nano editor using key combination <CTRL>+X.

You should then be back at the terminal prompt.

Continue on with the last two steps above to update grub, exit chroot and unmount the partition.

Shutdown/Reboot without the LL dvd/usb and see if it worked.
Try Linux Beginner Search Engine for answers to Linux questions.
Reply


Messages In This Thread
Edited grub - cant boot LL - by thoughtinstinct - 08-27-2016, 04:18 PM
Re: Edited grub - cant boot LL - by torreydale - 08-27-2016, 05:03 PM
Re: Edited grub - cant boot LL - by trinidad - 08-27-2016, 06:12 PM
Re: Edited grub - cant boot LL - by gold_finger - 08-27-2016, 08:11 PM
Re: Edited grub - cant boot LL - by trinidad - 08-27-2016, 10:25 PM
Re: Edited grub - cant boot LL - by gold_finger - 08-28-2016, 06:58 AM
Re: Edited grub - cant boot LL - by trinidad - 08-28-2016, 02:13 PM
Re: Edited grub - cant boot LL - by gold_finger - 08-28-2016, 02:28 PM
Re: Edited grub - cant boot LL - by gold_finger - 08-28-2016, 02:51 PM
Re: Edited grub - cant boot LL - by gold_finger - 08-28-2016, 03:50 PM
Re: Edited grub - cant boot LL - by gold_finger - 08-28-2016, 05:36 PM
Re: Edited grub - cant boot LL - by gold_finger - 08-28-2016, 07:12 PM
Re: Edited grub - cant boot LL - by gold_finger - 08-29-2016, 03:46 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)