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

Re: cannot boot into Debian after transferring hard drive to another desktop computer



On 3/5/21 7:12 AM, kaye n wrote:
Hello Friends!

Desktop Computer One has a hard drive that is multiboot:  Windows 7,
Debian, and another linux operating system which I will call linux-x.

It seems that the MOTHERBOARD of Desktop Computer One has finally given out
(wild guess only, as even a linux live USB can't function properly).  I
took out the multiboot hard drive and put it in another desktop computer
which I call Desktop Computer Two.

Now I can boot into linux-x just fine with Desktop Computer Two.  I'm using
linux-x to type and send this email.  I have not tried the windows 7 yet.

However I cannot boot into Debian (I believe it is Debian 10).  I get this
message:

-----------------
You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or "exit"
to boot into default mode.

Cannot open access to console, the root account is locked.
See sulogin(8) man page for more details.

Press Enter to continue.
-------------------

If I press enter, I reach the Debian logo with the circling animation but
after a while I get the above message again.

If it matters, the UUID of both / and /home partitions of the Debian system
remain the same; I compared the info provided by Gparted and the /etc/fstab
in the Debian system.

On 3/5/21 7:25 AM, kaye n wrote:
> I also cannot boot into Windows 7.  I get the start normally or safe
> mode window.


I attempted multi-boot years ago. Even when I got it working (and kept it working), I found that I wanted to use the multiple OS's at the same time. My solution was to get another computer, put drive racks in my computers, dedicate one drive to each OS, and then boot a given drive in an available computer. I now have a half dozen computers and a dozen OS drives. The key is to install each OS so that its boot loader finds the right partitions regardless of the BIOS device enumeration. This works great for FOSS OS's, but Windows is tied to the computer it was activated on.


I would use a power supply tester and test all of your power supplies.


Can you fix One (or do you want to?), such as by installing a new power supply or an identical motherboard?


Alternatively, install a blank drive in Two and install Debian. Put the salvaged HDD into a USB enclosure and back up the Debian stuff. Restore to the new Debian drive. Similarly, get two more drives and do install/ backup/ restore cycles for Windows 7 and linux-x.


David


Reply to: