I want to boot Linux on my PC, but I am not allowed to create additional partitions on the disks, and booting from USB is slow. I have two disks, on the first one I installed Windows 10, and on the second one (which is formatted to NTFS filesystem) I stored files.
I tried to place the rootfs on the second disk. For this, I installed Arch Linux on the other disk and installed GRUB to the USB. I created a FAT partition on this USB and copied the kernel and ramdisk from the installed Arch Linux. Then, I created a file D:\ArchLinux\root.img, formatted it to ext4, and copied the root filesystem from the installed Arch Linux.
Then, I booted the USB, ran the GRUB command line, and wrote the following commands:
set root=(hd0,msdos1)
linux /vmlinuz-linux rootfstype=ntfs3 root=/dev/sda2 loop=ArchLinux/root.img loopfstype=ext4 rw
initrd /initramfs-linux.img
boot
(I found them in this answer: Can I make SYSLINUX load a root fs from an image file on an NTFS partition?)
During the boot process, I got an error:
mount: /new_root: unknown filesystem type 'ntfs3'.
dmesg(1): may have more information after failed mount system call.
ERROR: Failed to mount '/dev/sda2' on real root
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned off
[rootfs ~]#
Please help me solve it.