Re: Dual booting

2022-10-12 Thread Gary Johnson
July 28, 2022 10:04 AM, "Paul Jewell via"  wrote:

> Could anyone please share a working configuration for dual booting windows 
> and guix? I have to use
> windows for work, but use Linux for everything else. I want to put guix on my 
> work laptop so I can
> stick with Linux when travelling (I am self employed, so there are no IT 
> restrictions on my
> system). I have the necessary skills to put another Linux distribution on, 
> but I want to use my
> spare time in the evenings when travelling to work on guix. Looking at the 
> bootloader information
> in the documentation, it seems that chainloader is not available as an option.

DISCLAIMER: I don't personally use any Windows software, nor do I mean
to advocate for its use on this mailing list. However, the
following recommendations should be sufficiently generic to
apply to any hosted OS that a user wants to install.

Have you considered just installing Guix System as your main OS and then
running Windows in a virtual machine? That way you don't need to reboot
your computer to run non-Linux applications, and you don't have to ever
let Windows out of its little sandbox.

Guix provides numerous options when it comes to setting up virtual
machines. Here are some of the main contenders:

- virt-manager (uses libvirt-service-type)
- qemu
- ganeti
- xen
- bochs

Have fun and happy hacking!
 ~Gary

-- 
GPG Key ID: 7BC158ED
Use `gpg --search-keys lambdatronic' to find me
Protect yourself from surveillance: https://emailselfdefense.fsf.org
===
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Why is HTML email a security nightmare? See https://useplaintext.email/

Please avoid sending me MS-Office attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html



Re: Dual booting

2022-10-11 Thread kiasoc5
July 28, 2022 10:04 AM, "Paul Jewell via"  wrote:

> Looking at the
> bootloader information in the documentation, it seems that
> chainloader is not available as an option.

Grub supports chainloading as of commit
1fc20e4c86697e9d112b9fed8079334c818dd78e

You can probably add a menu entry to chainload
/EFI/Microsoft/Boot/bootmgfw.efi or wherever the bootloader might be.



Re: Dual booting

2022-10-11 Thread jbranso
July 28, 2022 10:04 AM, "Paul Jewell via"  wrote:

> Good afternoon,
> 
> Could anyone please share a working configuration for dual booting windows 
> and guix? I have to use
> windows for work, but use Linux for everything else. I want to put guix on my 
> work laptop so I can
> stick with Linux when travelling (I am self employed, so there are no IT 
> restrictions on my
> system). I have the necessary skills to put another Linux distribution on, 
> but I want to use my
> spare time in the evenings when travelling to work on guix. Looking at the 
> bootloader information
> in the documentation, it seems that chainloader is not available as an option.
> 
> Many thanks!

I wish I could help...but I've got no idea.  :(



Dual booting

2022-07-28 Thread Paul Jewell via

Good afternoon,

Could anyone please share a working configuration for dual booting 
windows and guix? I have to use windows for work, but use Linux for 
everything else. I want to put guix on my work laptop so I can stick 
with Linux when travelling (I am self employed, so there are no IT 
restrictions on my system). I have the necessary skills to put another 
Linux distribution on, but I want to use my spare time in the evenings 
when travelling to work on guix. Looking at the bootloader information 
in the documentation, it seems that chainloader is not available as an 
option.


Many thanks!





Re: Dual-booting solution with only one actual Grub installation

2018-03-13 Thread Thorsten Wilms

On 13.03.2018 14:23, Martin Castillo wrote:

I mentioned it in [0], and I think I got the idea from some other post
in guix-devel or help-guix.

Martin

[0]:https://lists.gnu.org/archive/html/guix-devel/2017-12/msg00134.html


I think I even came across that threat, but forgot about it, as it 
didn't lead to me to a complete solution.


Regarding the discussion about adding cases to --no-bootloader, I think 
this belongs into the configuration, not an option given to `guix system 
reconfigure`, which one might forget to pass all too easily.



--
Thorsten Wilms

thorwil's design for free software:
http://thorwil.wordpress.com/



Re: Dual-booting solution with only one actual Grub installation

2018-03-13 Thread Martin Castillo
Hi,

On 12.03.2018 19:43, Thorsten Wilms wrote:
> There's a convenient dual-booting solution that I think hasn't been
> mentioned in these circles. You can let Grub2 offer an item that will
> load another grub.cfg.

I mentioned it in [0], and I think I got the idea from some other post
in guix-devel or help-guix.

Martin

[0]: https://lists.gnu.org/archive/html/guix-devel/2017-12/msg00134.html
-- 
GPG: 7FDE 7190 2F73 2C50 236E  403D CC13 48F1 E644 08EC



signature.asc
Description: OpenPGP digital signature


Re: Dual-booting solution with only one actual Grub installation

2018-03-12 Thread Tomáš Čech

On Mon, Mar 12, 2018 at 07:43:39PM +0100, Thorsten Wilms wrote:

Hi once again,

There's a convenient dual-booting solution that I think hasn't been 
mentioned in these circles. You can let Grub2 offer an item that will 
load another grub.cfg.


In my case, that's a Grub installed from Ubuntu, with a menu that will 
be updated in sync with kernel installation/removal, plus one "Guix 
SD" item that will lead to the known Guix SD menu, also always 
up-to-date, without an actual second Grub installation.


No manual updating, no chain-loading of one or the other from an 
independent third Grub.


Guix SD: /etc/config.scm, in operating-system:

(bootloader (bootloader-configuration (bootloader (bootloader (inherit 
grub-bootloader) (installer #~(const #t))




Very nice indeed! Thanks for sharing.

S_@


signature.asc
Description: Digital signature


Dual-booting solution with only one actual Grub installation

2018-03-12 Thread Thorsten Wilms

Hi once again,

There's a convenient dual-booting solution that I think hasn't been 
mentioned in these circles. You can let Grub2 offer an item that will 
load another grub.cfg.


In my case, that's a Grub installed from Ubuntu, with a menu that will 
be updated in sync with kernel installation/removal, plus one "Guix SD" 
item that will lead to the known Guix SD menu, also always up-to-date, 
without an actual second Grub installation.


No manual updating, no chain-loading of one or the other from an 
independent third Grub.


Guix SD: /etc/config.scm, in operating-system:

(bootloader (bootloader-configuration (bootloader (bootloader (inherit 
grub-bootloader) (installer #~(const #t))



Thanks to snape in #guix. With this, /boot/grub/grub.cfg will be 
generated, but Grub won't actually be installed.



Other system with Grub in MBR, addition to: /etc/grub.d/40_custom:

menuentry 'GuixSD' {
  search --fs-uuid --set=root a3a97a6f-a4c9-4569-98a3-4306f4db9ff8
  configfile /boot/grub/grub.cfg
}

Don't forget `sudo update-grub`.

--
Thorsten Wilms

thorwil's design for free software:
http://thorwil.wordpress.com/