Greg Helledy on 10 Oct 2017 17:38:04 -0700


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

[PLUG] create a boot record without use of chroot?


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?

--
Greg Helledy
GRA, Incorporated
P:  +1 215-884-7500
F:  +1 215-884-1385
www.gra.aero
___________________________________________________________________________
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