You are not logged in.
Hey folks!
Sorry if that was covered somewhere else, I wasn't able to find it.
I ran into an issue with my boot partition, deleting the partition, making a new one and setting up grub went fine until I tried to
mkinitcpio -p linuxFor whatever reason, even though I made the boot partition as 500M in fdisk lsblk shows it at 2M and mkinitcpio fails so I need to do a full format. No big deal...
However, I would like to recover an .odt file though as it's all my notes from the various arch wiki's.
If I boot into the Arch ISO
mount /dev/nvme0n1p3 /mntarch-chroot /mntI am able to find the file I want to copy to another USB drive. Where I am struggling is mounting the additional USB into /mnt/nvme0n1p3/mnt or /mnt/nvme0n1p3/media
Is this even possible?
For now I am going to attempt to see if I can get it remotely via ssh.
Last edited by live4thamuzik (2024-10-08 12:43:55)
Offline
I think the issue you're having is that there's no such dir as /mnt/nvme0n1p3/, and of course there shouldn't be. Why are you trying to mount there?
Offline
I am trying to recover a file before doing a full wipe.
If I am in the live installer ISO I am able to mount the filesystem from my nvme drive with a failed boot partition to /mnt and then arch-chroot into that file system where I can find the file I aim to recover.
Because I did a chroot into a filesystem on the nvme from the live installer the working directory is /mnt/nvme0n1p3
Similar to when installing arch, everything is installed on /mnt prior finishing your install
The thought was to then mount yet another device where I could
cp /home/%username%/Documents/notes.odt %path-of-usb%Offline
You're missing the point. You mounted the filesystem on nvme0n1p3 to /mnt. That is not /mnt/nvme0n1p3/, it's /mnt/.
Offline
Ahh! Sorry amatuer hour! :lol
So what I should be doing after mount the old filesystem is
mount /dev/sdb /mntThen copy file
Offline
If you've already chrooted, that would work fine. That would be /mnt/mnt outside the chroot.
Offline
Solved, Thank you @Scimmia!
Sometimes I just need to be told I'm an ID10T.... *smh*
Offline
There's also no need to chroot at all - that just seems to be complicating the situation.
Just mount nvme0n1p3 and the usb device to different mountpoints and mv/cp the relevant file over.
Sometimes I just need to be told I'm an ID10T...
Well then, you've certainly come to the right place. That's our specialty.
Last edited by Trilby (2024-02-28 02:38:59)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
There's also no need to chroot at all - that just seems to be complicating the situation.
Just mount nvme0n1p3 and the usb device to different mountpoints and mv/cp the relevant file over.
live4thamuzik wrote:Sometimes I just need to be told I'm an ID10T...
Well then, you've certainly come to the right place. That's our specialty.
To your point, that's what confused me to begin with. I was treating a chrooted env. as a sub directory without stopping to think logically about what I was doing.
LOL - I'm sure I'll be back for another brow-beating
until then.. cheers!
Offline