4 ms·
Why does that give it a free pass to write to places on the disk that are "reserved" or unallocated? Grub may not operating within an OS sandbox, but it is req
by __david__ 16y ago
Why does that give it a free pass to write to places on the disk that are "reserved" or unallocated?
Grub may not operating within an OS sandbox, but it is required to play nicely with the OSes it is booting. The way to do that is to wrap your data in a partition or a file.
- jacquesm 16y agoIt doesn't give it a free pass but there is no 'supervisor' to stop it.
- __david__ 16y agoWell, you're right that grub-the-bootloader doesn't have a supervisor to stop it from writing to random places on the disk (since it's not running under an OS), but grub-the-bootloader doesn't actually write to those sectors, so I'm not sure what your point is. grub-the-comman-line-utility writes to those sectors but it runs in linux userspace so it's really in the same position as the windows programs that also write to the reserved space...
- jacquesm 16y agoIt runs in user space, indeed. As root.