Skip to content

u/LinuxGeek747

In this archive from Jul 2018 to Feb 2021

12
posts
106
comments
6
media
640
score

Yeah I had to compile my own kernel for that device if I wanted to run debian on it. I wanted to run debian since I don't use that tablet often, and arch is too high-maintenance (like you have to run -Syu often to avoid your GPG keys getting out of sync with the remote).

But just the thing that you were able to get into grub command line is good. At this point, you should load up the kernel and initramfs. However, I won't be of much help in this, since I don't remember the location of the kernel and the initramfs in the Arch iso. So you will have to figure it out yourself. Basically just have a look at the syslinux config file and try to boot your iso like it.

Generally, you will have to run 3 commands in the grub command line:

linux <kernel> <options>

This command load the kernel into memory

initrd <initramfs+rootfs>

This command obviously loads the initramfs to the memory

boot

Do I have to explain this one too?

And that's it.

1 points

How are you generating the fstab? I thought it was possible only within the arch iso, otherwise you write it yourself. Also, all mounts are unmounted during shutdown, so if your mount is not specified in fstab, it is not going to be automatically mounted on boot.

1 points

Well, basically yes. In linux, you can mount anything anywhere. You can even mount the same filesystem twice, if you know what you're doing. For example, take Android. Android has it's root filesystem in RAM, and uses /system as a directory for the system files. There is an ext4 (usually) partition mounted on /system.

If vfat is just files, what’s the difference between it and ext4?

In Unix, everything is a file. You have probably already heard about it. As I said before, after you mount the file system, there is little difference between how you interact with it. In fact, file system is just a structure. It says how the bits and bytes should be organized on the partition so that it makes some meaningful structure - directories and files. There are many file systems, each with their own unique features. To answer your question, there are many differences between FAT32 and ext4. For example, FAT32 doesn't support file permissions and symbolic links, ext4 does.

So ultimately, it's just about what you want to do with a file sysetem that should decide where you will mount it. If you want to use a device as a root file system, mount it on / (but this has to be done in initramfs, and it's a way longer story). If you want a partition to be as your home partition, mount it on /home. You want to have your logs on a separate hard disk? No problem, mount it under /var/log. You just want to access your good ol' USB disk? Mount it under /mnt, /media/<you> or whatever directory you like.

1 points

the vfat goes...

To be absolutely correct, there is no such thing as "the vfat". VFAT (FAT32) is just a type of filesystem, just like ext4 or NTFS. Remember using "mkfs.ext4" during the install? Well, you just formatted a disk partition to ext4 using that command. You can have multiple partitions formatted as FAT32, and so there is no such thing as "the vfat". Also, there is no rule about what should be mounted where depending on the type of file system. You can mount any filesystem anywhere, and after they're mounted, there is usually very little difference between the way you interact with them.

1 points

I think that the partition is Partition 1 of the first NVMe disk on the first NVMe controller (I don't have much experience with nvme systems, I don't have that kind of money to buy such fancy toys :D).

Anyways, vfat is basically the linux way of calling FAT32/FAT16/FAT12. And the where part is the directory where you want to mount it. I don't really know if you understand what mounting is about, but I will assume you don't understand it yet, so I will try to explain it to you. I am sorry if you already understand it and I misjudged you.

So, simply put mounting is making a directory in linux display contents of a different file system. In your case, you want some directory to display the contents of your FAT32 partition on your NVMe disk. So let's assume you have a directory called disk on your desktop where you want to temporarily mount the disk. It's path would therefore be: "/home/<you>/Desktop/disk".

So, that directory is empty. You want the kernel to display the contents of that FAT32 on the NVMe disk. So you the *what* becomes your NVMe disk (/dev/nvme1n1p1). The *where* part becomes /home/<you>/Desktop/disk.

So, your command is as follows: sudo mount /dev/nvme1n1p1 /home/<you>/Desktop/disk

But the directory where you want to mount it can be literally anywhere on the system. There is a directory called mnt in the root of the filesystem (/mnt), which is commonly used for temporarily mounting file systems. You can use it instead of the directory on your desktop if you want: sudo mount /dev/nvme1n1p1 /mnt. Afterwards, the /mnt should display the contents of your FAT32 partition.

3 points

Yeah I think I know what you did wrong. The mount command is generally written like this:

mount <what> <where>

If you ommit the what or where part, the mount command tries to find the matching entry in fstab. Therefore, if you want to avoid it searching in fstab, specify both.

5 points

In fact, it is not really important whether he runs it before or after the kernel and initramfs have been removed from the efi partition. What matters is that he should run grub-mkconfig afterwards, which then creates the relevant config file for grub. Because grub on it's own doesn't care what resides where. The only thing it cares about is where it is installed and where it should search for the config file by default.

2 points

... but if you want to use mods I suggest using the Windows version in proton

I thought that the mods should be designed to work on all platforms the base game supports. Can you provide some list of mods that don't work properly on Linux?

I am asking because I am thinking of ditching Windows completely when I buy a new laptop. And I play KSP a lot.

2 points

GNU/Linux ofc!

Just joking. It's in my flair (Debian), but I am sure I can get it working on other distros than arch. Not saying that arch is bad, only that it's probably portable.

EDIT: Shit forgot which sub I'm at. (Forgive my inferiority arch chads if you will /s).

18 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.