jeffv via plug on 27 Jun 2020 18:03:26 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Grub



On June 27, 2020 8:55:39 PM EDT, "Keith C. Perry via plug" <plug@lists.phillylinux.org> wrote:
>Jeff,
>
>To fix boot issues, the best thing to do is to boot from a live cd or usb.  From there you can mount the file system and chroot so you can fix it, for example...
>
>(Apologies...  I'm doing this from memory since I can't find the last time I posted this on PLUG but this should get you started)
>
>This assumes, sda is the drive in question.  Depending on how the live system boots it could be something else so do an "lsblk" or "blkid" to find the right disk...
>
>mount /dev/sda1 /mnt
>for dir in proc sys dev; do mount --bind /$dir /mnt/$dir; done
>chroot /mnt
>update-grub
>grub-install /dev/sda (I forget the exact parameter there for EFI but I've done this with DOS and EFI disk maps)

Will give it a shot, thanks. 
No EFI either.



-- 
Sent by my dog
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug