[SOLVED] How to Transfer Files from Windows to Linux on a formerly Dual-Booting configured Machine?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
No luck with booting from bios. I don't have any efi boot option on the live usb if that's what you mean. I know that it is not sda6 because it is too large. with all the installations, there wasn't enough disk space to make a partition that large when I installed the last one.
The only other possible option would be sda5, but that seems small for a linux system. You could mount each partition from the live usb and see what is on them.
your fedora system is on sda6 inside the lvm. If you add up the the /dev/mappers/fedora-? sizes they equal your sda6 size. The /dev/sda5 is probably your /boot partition. You will need to mount the /dev/mapper/fedora-root to <some mount point> and then mount /dev/sda5 to <some mount point>/boot mount /dev/sda1 to <some mount point>/boot/efi then chroot and reinstall grub. I don't use lvm partitioning so can't give any real advice.
Last edited by colorpurple21859; 02-13-2019 at 06:15 AM.
I want to say thank you both for all the help. Your time and patience is greatly appreciated. I made a mount point called /mnt/test and it says that /mnt/test is not a block device.
It turns out I was mounting /mnt/test onto /dev/mapper/fedora-root instead of the other way around, but in my defence that was the way an article was saying to do it.
This is strange, the dnf encountered an error and /test disappeared.
Code:
[root@localhost-live bootinfoscript-master]# sudo mount /dev/sda5 /mnt/test/boot
[root@localhost-live bootinfoscript-master]# sudo mount /dev/sda1 /mnt/test/boot/efi
[root@localhost-live bootinfoscript-master]# sudo mount --bind /dev /mnt/test/dev
[root@localhost-live bootinfoscript-master]# sudo mount --bind /proc /mnt/test/proc
[root@localhost-live bootinfoscript-master]# sudo mount --bind /sys /mnt/test/sys
[root@localhost-live bootinfoscript-master]# chroot /mnt/test
[root@localhost-live /]# dnf reistall grub2-efi shim
No such command: reistall. Please use /usr/bin/dnf --help
It could be a DNF plugin command, try: "dnf install 'dnf-command(reistall)'"
[root@localhost-live /]# dnf reinstall grub2-efi shim
Fedora Modular 29 - x86_64 0.0 B/s | 0 B 00:01
Error: Failed to synchronize cache for repo 'fedora-modular'
[root@localhost-live /]# chroot /mnt/test
chroot: cannot change root directory to '/mnt/test': No such file or directory
[root@localhost-live /]# dnf reinstall grub2-efi shim
Fedora Modular 29 - x86_64 0.0 B/s | 0 B 00:00
Error: Failed to synchronize cache for repo 'fedora-modular'
[root@localhost-live /]# sudo mount /dev/mapper/fedora-root /mnt/test
mount: /mnt/test: mount point does not exist.
[root@localhost-live /]# ls
bin dev home lib64 media opt root sbin sys usr
boot etc lib lost+found mnt proc run srv tmp var
[root@localhost-live /]# ls home
[root@localhost-live /]# cd home
[root@localhost-live home]# ls
[root@localhost-live home]# cd /
[root@localhost-live /]# ls
bin dev home lib64 media opt root sbin sys usr
boot etc lib lost+found mnt proc run srv tmp var
[root@localhost-live /]# ls mnt
ntfs
Is that what chroot is supposed to do? Isolate the file in chroot jail?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.