|brent timothy saner on 10 Oct 2017 17:52:15 -0700|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|Re: [PLUG] create a boot record without use of chroot?|
On 10/10/2017 08:38 PM, Greg Helledy wrote: > So my rsync backup onto non-LVM, non-RAID partitions seems to have gone > ok but I need to put a bootloader onto the drive. > > I have a swap partition as /dev/sda1, /boot as /dev/sda2 and / as /dev/sda5 > > for some reason I can't chroot into the /dev/sda5 partition on my rescue > cd. > > If the mount point of /dev/sda5 is /root/newroot on my rescue cd, if I'm > in /root and I do chroot newroot I get: > chroot: failed to run command /bin/zsh: no such file or directory > > (System Rescue CD may use zsh while ClearOS uses bash. Both the rescue > CD and my OS are 64-bit). > > Is there any way around this, or any way to create a boot record by > entering information about the partitions? > first things first, have you tried: chroot /mnt/newroot /bin/bash ? secondly, is it BIOS/MBR, BIOS/GPT, or UEFI/GPT?
Description: OpenPGP digital signature
___________________________________________________________________________ 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