Before archrooting?

|
smol_mazunki 2022-07-10 10:36:00
Kueppo 2022-07-10 03:11:41
Maybe

mount –bind /dev /mnt/dev/
mount –bind /sys /mnt/sys/
mount –bind /proc /mnt/proc/
before archrooting?

What is /dev/sda1 really used for? I’ve legacy BIOS and I install grub via chroot all the time and I don’t remember doing so, just that idk the function of each partitions.

sda is just short for storage device a

smol_mazunki 2022-07-10 10:36:29
oh nvm
smol_mazunki 2022-07-10 10:36:36
i just woke up ðŸĪŠ
Kueppo 2022-07-10 11:38:13
wviana 2022-07-10 05:35:02
Sda1 is a btrfs boot partition.

ah I see just that I dont usually have a separate partition for the boot.

smol_mazunki 2022-07-10 11:38:25
Kueppo 2022-07-10 11:38:13
ah I see just that I dont usually have a separate partition for the boot.

you should

Kueppo 2022-07-10 11:38:39
yeah, true, i agree
smol_mazunki 2022-07-10 11:38:43
most bioses only support FAT (usually only fat32)
smol_mazunki 2022-07-10 11:39:08
so at the very least you should have a FAT32 partition with your initram and vmlinuz (the kernel)
Kueppo 2022-07-10 11:40:48
smol_mazunki 2022-07-10 11:39:08
so at the very least you should have a FAT32 partition with your initram and vmlinuz (the kernel)

That’s always the case for UEFI not for legacy BIOS irrc.

smol_mazunki 2022-07-10 11:41:04
Kueppo 2022-07-10 11:40:48
That’s always the case for UEFI not for legacy BIOS irrc.

per specification, yes

smol_mazunki 2022-07-10 11:41:22
there’s no reason support for more filesystems is illegal
smol_mazunki 2022-07-10 11:41:29
but at the very least fat32 should be supported
smol_mazunki 2022-07-10 11:41:47
in practice i’ve usually seen FAT be supported entirely
thecatvoid 2022-07-10 11:41:50
smol_mazunki 2022-07-10 10:36:00
sda is just short for storage device a

scsi disk a?

smol_mazunki 2022-07-10 11:42:03
but on some systems only fat32 is supported (and sometimes even required to be on the first partition!)
smol_mazunki 2022-07-10 11:42:21
smol_mazunki 2022-07-10 11:42:03
but on some systems only fat32 is supported (and sometimes even required to be on the first partition!)

the (…) is against specification, but you know vendors love to ignore standards xd

smol_mazunki 2022-07-10 11:43:22
thecatvoid 2022-07-10 11:41:50
scsi disk a?

correct

smol_mazunki 2022-07-10 11:43:32
i always forget it’s SCSI, not storage
Kueppo 2022-07-10 11:46:35
smol_mazunki 2022-07-10 11:41:04
per specification, yes

what I mean is that with legacy BIOS you don’t even need a partition to loading kernel, it just requires MBR for the first-stage boot and GRUB (for the second boot stage), unless you want a GPT partition table.

smol_mazunki 2022-07-10 11:47:12
yeah, mbr/legacy works a bit different
smol_mazunki 2022-07-10 11:47:25
i can’t say i’m too familiar with MBR, i never really used it
Kueppo 2022-07-10 11:47:43
but I’ve a boot bios partition since I’ve GPT not MBR.
Kueppo 2022-07-10 11:47:48
it requires that.
smol_mazunki 2022-07-10 11:48:54
yeah
Kueppo 2022-07-10 11:49:09
smol_mazunki 2022-07-10 11:47:25
i can’t say i’m too familiar with MBR, i never really used it

some ppl say it more secure than UEFI, with ESP partition you can modify UEFI paramters on OS.

Kueppo 2022-07-10 11:49:23
systemd permits that.
Kueppo 2022-07-10 11:49:28
systemd is hell 🙂
smol_mazunki 2022-07-10 11:49:29
can you encrypt MBR?
smol_mazunki 2022-07-10 11:49:42
Kueppo 2022-07-10 11:49:28
systemd is hell 🙂

imagine using systemd though

Kueppo 2022-07-10 11:49:45
smol_mazunki 2022-07-10 11:49:29
can you encrypt MBR?

humm, idk

Kueppo 2022-07-10 11:50:10
Kueppo 2022-07-10 11:49:09
some ppl say it more secure than UEFI, with ESP partition you can modify UEFI paramters on OS.

like wiping stuffs.

smol_mazunki 2022-07-10 11:50:17
supporting TPM is more important if one cares about security, imo
Kueppo 2022-07-10 11:50:32
humm
Kueppo 2022-07-10 11:50:39
TPM can be bad
smol_mazunki 2022-07-10 11:50:43
can it
|