View Single Post
Old 05-13-2021, 07:28 AM  
ZTT
Confirmed User
 
ZTT's Avatar
 
Industry Role:
Join Date: Apr 2019
Posts: 657
Quote:
Originally Posted by Applebite Media View Post
Is there a way to back up the entire Linux system... everything... make an exact duplicate of the drive and restore it on the other system?
I can't understand the first part of your post, but why not just plug the drives back in the way they were when they worked?

That aside, assuming you're talking about Windows and Linux being on different drives, it just sounds like a boot issue.

It's more than ten years since I used Windows so I'd say if you have a Windows CD, just put that in. Otherwise find a grub for Windows or, if you get Linux working (as below) make a LiveCD/USB with boot repair (help.ubuntu.com/community/Boot-Repair) to fix the boot on the Windows drive.

Assuming for the Linux drive you have a grub error, ie, a screen that says:

grub rescue>

Type:

ls (lowercase LS, to be clear)

That will give you a list of partitions in the format:

(hd0) (hd0,msdos1)

hd0 is your drive, msdosX is the partition. One of them will be the boot partition. If there are several and you don't know which one, just try them one by one.

So in the above result for ls, type:

set prefix=(hd0,msdos1)/boot/grub

Then type:

insmod normal

Then type:

normal

This should boot Linux, and if so run update-grub (or whatever command your Linux uses to update grub).
__________________
__________________

Last edited by ZTT; 05-13-2021 at 07:36 AM.. Reason: Clarity and a typo
ZTT is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote