* Grub Bios Boot filesystem description
@ 2019-05-26 12:27 znavko
2019-05-26 12:31 ` znavko
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: znavko @ 2019-05-26 12:27 UTC (permalink / raw)
To: help-guix
Hello! If I want to part my disk and to use 3 partitions:
1) Bios Grub,
2) Linux filesystem, and
3) Linux Swap
should I describe my Bios Grub filesystem in '(operating-system (file-systems (list ...)))' or just only in '(operating-system (bootloader ...))' section?
If I need to describe grub file system, so which type should I specify?
If I do not need, how grub will know to boot from my root partition Linux filesystem on /dev/sdb2 ?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Grub Bios Boot filesystem description
2019-05-26 12:27 Grub Bios Boot filesystem description znavko
@ 2019-05-26 12:31 ` znavko
2019-05-26 14:22 ` Raghav Gururajan
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: znavko @ 2019-05-26 12:31 UTC (permalink / raw)
To: help-guix
This is my config, that does not contain item for /dev/sdb1 file system that is for bios grub: https://termbin.com/t2pr
Will it work fine?
May 26, 2019 12:27 PM, znavko@disroot.org wrote:
> Hello! If I want to part my disk and to use 3 partitions:
> 1) Bios Grub,
> 2) Linux filesystem, and
> 3) Linux Swap
> should I describe my Bios Grub filesystem in '(operating-system (file-systems (list ...)))' or just
> only in '(operating-system (bootloader ...))' section?
>
> If I need to describe grub file system, so which type should I specify?
>
> If I do not need, how grub will know to boot from my root partition Linux filesystem on /dev/sdb2 ?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Grub Bios Boot filesystem description
2019-05-26 12:27 Grub Bios Boot filesystem description znavko
2019-05-26 12:31 ` znavko
@ 2019-05-26 14:22 ` Raghav Gururajan
2019-05-26 14:27 ` Raghav Gururajan
2019-05-26 14:29 ` Tobias Geerinckx-Rice
3 siblings, 0 replies; 5+ messages in thread
From: Raghav Gururajan @ 2019-05-26 14:22 UTC (permalink / raw)
To: znavko, help-guix
> should I describe my Bios Grub filesystem in '(operating-system (file-systems (list ...)))' or just
> only in '(operating-system (bootloader ...))' section?
You do not need to mention grub in "file-system" section of config. You have to mention just the device "sdX" NOT with the partition "sdXY", in the "boot-loader" section of the config. Assuming the device is formatted as GPT, you should have either "BIOS Boot Partition" (for BIOS systems) or "EFI Boot Partition" (for UEFI systems) on the device. In the "boot-loader" section of config; if you use "grub-bootloader", it will detect the BIOS Boot Partition and install grub on it (or) if you use "grub-efi-bootloader", it will detect the EFI Boot Partition and install grub on it.
> If I need to describe grub file system, so which type should I specify?
No need. See the above.
> If I do not need, how grub will know to boot from my root partition Linux filesystem on /dev/sdb2 ?
The grub uses file-system drivers to detect file-systems and look for grub.cfg. As the grub.cfg (in /boot/grub of /dev/sdX2) was generated by guix based on the config file, it has information where to look for kernel.
Regards,
RG.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Grub Bios Boot filesystem description
2019-05-26 12:27 Grub Bios Boot filesystem description znavko
2019-05-26 12:31 ` znavko
2019-05-26 14:22 ` Raghav Gururajan
@ 2019-05-26 14:27 ` Raghav Gururajan
2019-05-26 14:29 ` Tobias Geerinckx-Rice
3 siblings, 0 replies; 5+ messages in thread
From: Raghav Gururajan @ 2019-05-26 14:27 UTC (permalink / raw)
To: znavko, help-guix
> This is my config, that does not contain item for /dev/sdb1 file system that is for bios grub:
> https://termbin.com/t2pr
> Will it work fine?
It appears you are using "grub-bootloader". Assuming you used GPT, just make sure the partition sdb1 was created/formatted as "BIOS Boot Partition".
Regards,
RG.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Grub Bios Boot filesystem description
2019-05-26 12:27 Grub Bios Boot filesystem description znavko
` (2 preceding siblings ...)
2019-05-26 14:27 ` Raghav Gururajan
@ 2019-05-26 14:29 ` Tobias Geerinckx-Rice
3 siblings, 0 replies; 5+ messages in thread
From: Tobias Geerinckx-Rice @ 2019-05-26 14:29 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 399 bytes --]
znavko@disroot.org wrote:
> Hello! If I want to part my disk and to use 3 partitions:
> 1) Bios Grub,
> 2) Linux filesystem, and
> 3) Linux Swap
> should I describe my Bios Grub filesystem
Nitpick: it's not a file system, just some reserved raw sectors
for GRUB. GNU/Linux (ergo Guix) can't read from (or do anything
else with) it, so you don't need to tell them about it.
Kind regards,
T G-R
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-05-26 14:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-26 12:27 Grub Bios Boot filesystem description znavko
2019-05-26 12:31 ` znavko
2019-05-26 14:22 ` Raghav Gururajan
2019-05-26 14:27 ` Raghav Gururajan
2019-05-26 14:29 ` Tobias Geerinckx-Rice
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).