unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#70808: Bootloader can't detect separate disk
@ 2024-05-07  2:04 Divya via Bug reports for GNU Guix
  2024-05-09  7:46 ` Divya via Bug reports for GNU Guix
  2024-06-19 21:33 ` Vincent Legoll
  0 siblings, 2 replies; 3+ messages in thread
From: Divya via Bug reports for GNU Guix @ 2024-05-07  2:04 UTC (permalink / raw)
  To: 70808

[-- Attachment #1: Type: text/plain, Size: 1570 bytes --]

Hello,

Here is my `bootloader` section of `config.scm`:

```
(bootloader (bootloader-configuration (bootloader grub-bootloader) (targets (list "/dev/sda")) 	 (menu-entries (list 			 (menu-entry 			 (label "Arch Linux") 			 (device (uuid "886fb01f-323f-40ab-9434-9f00feb96446" 'ext4)) 			 (linux "/boot/vmlinuz-linux-rt") 			 (linux-arguments '("root=UUID=886fb01f-323f-40ab-9434-9f00feb96446 rw quiet")) 			 (initrd "/boot/initramfs-linux-rt.img")))) 	 (default-entry 0) (keyboard-layout keyboard-layout)))
```

I am trying to dual boot Guix with Arch, the former resides in `/dev/sda8` and the latter at `/dev/sdb1`. But the aforementioned configuration doesn't load Arch's kernel resulting in a 'kernel not found error' on the GRUB screen.

I have tried to do some troubleshooting by changing the parameters, but nothing seems to be working. And importantly, when I checked at the GRUB cli by doing `ls`, I see `/dev/sdb1` to be `(hd1,msdos1)` but with `ls` it shows that no file system is detected on it, when it has the `ext4` filesystem that I can access by mounting it.

What could be causing this? I checked `/boot/grub/grub.cfg` and it is trying to search the appropriate disk using UUID but because of the filesystem error, it can't access it and thus the kernel doesn't boot.

I'd like some help on this, also `os-prober` correctly identifies the Arch distro. Can I use it with my `config.scm`? Probably not? Is it possible to integrate it? I have some familiarity with bootloaders, I'd like to see if I can contribute here.

Regards,

Divya

[-- Attachment #2: Type: text/html, Size: 1669 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#70808: Bootloader can't detect separate disk
  2024-05-07  2:04 bug#70808: Bootloader can't detect separate disk Divya via Bug reports for GNU Guix
@ 2024-05-09  7:46 ` Divya via Bug reports for GNU Guix
  2024-06-19 21:33 ` Vincent Legoll
  1 sibling, 0 replies; 3+ messages in thread
From: Divya via Bug reports for GNU Guix @ 2024-05-09  7:46 UTC (permalink / raw)
  To: 70808

[-- Attachment #1: Type: text/plain, Size: 1663 bytes --]

On 7 May 2024 02:04:44 GMT, Divya <divya@subvertising.org> wrote:
>Hello,
>
>Here is my `bootloader` section of `config.scm`:
>
>```
>(bootloader (bootloader-configuration (bootloader grub-bootloader) (targets (list "/dev/sda")) 	 (menu-entries (list 			 (menu-entry 			 (label "Arch Linux") 			 (device (uuid "886fb01f-323f-40ab-9434-9f00feb96446" 'ext4)) 			 (linux "/boot/vmlinuz-linux-rt") 			 (linux-arguments '("root=UUID=886fb01f-323f-40ab-9434-9f00feb96446 rw quiet")) 			 (initrd "/boot/initramfs-linux-rt.img")))) 	 (default-entry 0) (keyboard-layout keyboard-layout)))
>```
>
>I am trying to dual boot Guix with Arch, the former resides in `/dev/sda8` and the latter at `/dev/sdb1`. But the aforementioned configuration doesn't load Arch's kernel resulting in a 'kernel not found error' on the GRUB screen.
>
>I have tried to do some troubleshooting by changing the parameters, but nothing seems to be working. And importantly, when I checked at the GRUB cli by doing `ls`, I see `/dev/sdb1` to be `(hd1,msdos1)` but with `ls` it shows that no file system is detected on it, when it has the `ext4` filesystem that I can access by mounting it.
>
>What could be causing this? I checked `/boot/grub/grub.cfg` and it is trying to search the appropriate disk using UUID but because of the filesystem error, it can't access it and thus the kernel doesn't boot.
>
>I'd like some help on this, also `os-prober` correctly identifies the Arch distro. Can I use it with my `config.scm`? Probably not? Is it possible to integrate it? I have some familiarity with bootloaders, I'd like to see if I can contribute here.
>
>Regards,
>
>Divya
Pimg!

[-- Attachment #2: Type: text/html, Size: 1993 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#70808: Bootloader can't detect separate disk
  2024-05-07  2:04 bug#70808: Bootloader can't detect separate disk Divya via Bug reports for GNU Guix
  2024-05-09  7:46 ` Divya via Bug reports for GNU Guix
@ 2024-06-19 21:33 ` Vincent Legoll
  1 sibling, 0 replies; 3+ messages in thread
From: Vincent Legoll @ 2024-06-19 21:33 UTC (permalink / raw)
  To: 70808, Divya

Hello,

couldn't it be a partition type (GPT vs MBR) issue ?

-- 
Vincent Legoll




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-06-19 21:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-07  2:04 bug#70808: Bootloader can't detect separate disk Divya via Bug reports for GNU Guix
2024-05-09  7:46 ` Divya via Bug reports for GNU Guix
2024-06-19 21:33 ` Vincent Legoll

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).