You are not logged in.
Pages: 1
**SOLVED** User was an idiot.
I have a chromebook that recently died. I suspected that the m.2 SSD had failed and needed to test it outside of the chromebook. I have a desktop PC with Arch installed on an SSD and /home on a separate HDD.
I physically removed both the SSD and HDD, taking care to remember which sata port each was plugged in to, then inserted the m.2 from the chromebook along with a USB loaded with the latest Arch iso so that I could debug the broken drive. I took these precautions to ensure that the faulty m.2 would not affect my desktop installation. It turns out that the m.2 is completely dead so I removed it and the bootable USB, and replaced my SSD and HDD.
Now when I boot I get the live boot menu and not my installed OS setup. From the boot menu I can select UEFI OS instead, which leads me to "Arch Linux archiso x86_64 UEFI CD" but selecting this option reboots the machine.
Where did my Arch installation go?
Last edited by monkeypants (2016-06-18 14:29:15)
Offline
In HDT my SSD shows just two partitions. Partition 1 is 744mb, the same size as the Arch iso and Partition 2 is 40mb EFI. This is not the partition scheme I set up when I installed Arch.
Offline
I booted into the live environment option to have a look around. I see .zshrc and .zsh_history in /root and echo $ SHELL prints /usr/bin/zsh. I had installed zsh but other things such as my /media directory are missing. I would not expect to see it but I am surprised to see zsh. Is it normal for Arch to have zsh in the live environment? I would have assumed that it would be /bin/bash
Offline
I'm confused on what you're doing here. You appear to be booting the install disk.
Offline
I would not expect to see it but I am surprised to see zsh. Is it normal for Arch to have zsh in the live environment? I would have assumed that it would be /bin/bash
Yes. This is explicitly mentioned (with the reasons why) in the beginners' guide, boot the installation medium
Offline
I'm confused on what you're doing here. You appear to be booting the install disk.
I too am confused.
1: I had my desktop set up running Arch linux, been using it for about a fortnight, playing games on steam etc. When I turn on my PC I get a login screen, I log into my user 'codemonkey' who is a sudoer, I manually run startx to get into my i3 desktop. It's just a fairly typical Arch desktop setup, nothing fancy, and it works fine.
2: I needed a computer to test a faulty device. I physically removed my drives from the computer for the duration that I was testing the faulty device.
3: After faulty device testing was complete I put my drives back into the PC.
And now I'm booting into a live environment. I feel like I'm going mad, but I can send you photos to show that the bootable USB is not in the computer, nor is the m.2 device that I was testing. Somehow the drive where Arch was installed on my working desktop environment has become a bootable live environment, the same as you would get if you dd'ed the iso onto a USB and booted off that. I don't know how much I can stress that I physically removed my drives before letting a bootable USB or the faulty m.2 near the computer, and I only replaced them after I had removed the fault m.2 and bootable USB.
Am I just going insane?
Offline
Please post the full output of:
efibootmgr -v
EDIT: typo
Last edited by Head_on_a_Stick (2016-06-18 14:21:01)
Offline
Please post the full output of:
efibootmgr -v
EDIT: typo
EFI variables are not supported on this system.
Offline
Had you installed a UEFI system?
What was the exact nature of the debugging tests that you carried out on the dead drive?
Offline
I mounted my home partition that was on a seperate drive and checked my .zsh_history. The last two lines are
sudo dd if=archlinux-2016.06.01-dual.iso of=/dev/sdb bs=4M; sync
shutdown now
Yeah... I fking dd'ed the Arch ISO onto my main drive, and not sdc (the USB). The reason I didn't realise after reboot is because the USB already had that ISO dd'ed on from when I installed.
I'm going to weep in a corner for a bit then get on with reinstalling.
Offline
Was the live USB used in these tests just created for these tests? Are you sure you didn't dd the iso to the wrong device? Doing so would explain all of your symptoms.
EDIT: apparently I cross posted this with the above. But hey, I was right
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Online
Pages: 1