unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Dual Boot GuixSd along side other preexisting distros
       [not found] <CACE+zkLriFZo56VxxBexo_HbVXTkVfB2YP38GDv7+oP=WeSoyQ@mail.gmail.com>
@ 2018-10-30 17:25 ` Nalin Ranjan
  2018-10-31 12:54   ` Tomáš Čech
  0 siblings, 1 reply; 6+ messages in thread
From: Nalin Ranjan @ 2018-10-30 17:25 UTC (permalink / raw)
  To: guix-devel@gnu.org

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


 Hi Guys,
Can you guys please help me with a bit of understanding?

I have a ThinkPad T410 on which I am trying to do this. Currently I have a dual boot configuration running Ubuntu and Windows 7. Could that grub install failure because of my /boot not being empty and formatted afresh for GuixSD? If so, can anyone of you please help me in figuring out how to install GuixSD alongside those existing ones(other distros plus special Mr. Windows)? Do I need to reformat my /boot to make it fresh so that Grub install from GuixSD installation could succeed(not sure if this is the reason for failure).  if a reformatting is imminent, what will you suggest to do on case I just need to recover my old stuff?

Thanks and Regards
Nalin Ranjan

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

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

* Re: Dual Boot GuixSd along side other preexisting distros
  2018-10-30 17:25 ` Dual Boot GuixSd along side other preexisting distros Nalin Ranjan
@ 2018-10-31 12:54   ` Tomáš Čech
  2018-10-31 14:18     ` Joshua Branson
  2018-12-02 22:13     ` Chris Marusich
  0 siblings, 2 replies; 6+ messages in thread
From: Tomáš Čech @ 2018-10-31 12:54 UTC (permalink / raw)
  To: guix-devel

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

Hi,

On Tue, Oct 30, 2018 at 10:55:50PM +0530, Nalin Ranjan wrote:
>    Hi Guys,
>   Can you guys please help me with a bit of understanding?
>
>   I have a ThinkPad T410 on which I am trying to do this. Currently I have a
>   dual boot configuration running Ubuntu and Windows 7. Could that grub
>   install failure because of my /boot not being empty and formatted afresh
>   for GuixSD? If so, can anyone of you please help me in figuring out how to
>   install GuixSD alongside those existing ones(other distros plus special
>   Mr. Windows)? Do I need to reformat my /boot to make it fresh so that Grub
>   install from GuixSD installation could succeed(not sure if this is the
>   reason for failure).  if a reformatting is imminent, what will you suggest
>   to do on case I just need to recover my old stuff?

I can share my solution. I am running dual boot with openSUSE and
GuixSD. GRUB is managed by openSUSE and it sourcing GuixSD
configuration from /boot on GuixSD partition. That brings Guix menu
entries to the GRUB.

In my system configuration I have this hack I found somewhere:

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

so it doesn't install bootloader at all.

My usecase is a bit special because I am using LUKS and unlock it on
bootloader level.

If you want your bootloader to be managed by GuixSD, just follow
corresponding part of Guix manual:

  https://www.gnu.org/software/guix/manual/en/html_node/Bootloader-Configuration.html


Best regards,

S_W

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: Dual Boot GuixSd along side other preexisting distros
  2018-10-31 14:18     ` Joshua Branson
@ 2018-10-31 14:13       ` Julien Lepiller
  0 siblings, 0 replies; 6+ messages in thread
From: Julien Lepiller @ 2018-10-31 14:13 UTC (permalink / raw)
  To: guix-devel

Le 2018-10-31 15:18, Joshua Branson a écrit :
> Tomáš Čech <sleep_walker@gnu.org> writes:
> 
>> Hi,
>> 
>> On Tue, Oct 30, 2018 at 10:55:50PM +0530, Nalin Ranjan wrote:
>>>    Hi Guys,
>>>   Can you guys please help me with a bit of understanding?
>>> 
>>>   I have a ThinkPad T410 on which I am trying to do this. Currently I 
>>> have a
>>>   dual boot configuration running Ubuntu and Windows 7. Could that 
>>> grub
>>>   install failure because of my /boot not being empty and formatted 
>>> afresh
>>>   for GuixSD? If so, can anyone of you please help me in figuring out 
>>> how to
>>>   install GuixSD alongside those existing ones(other distros plus 
>>> special
>>>   Mr. Windows)? Do I need to reformat my /boot to make it fresh so 
>>> that Grub
>>>   install from GuixSD installation could succeed(not sure if this is 
>>> the
>>>   reason for failure).  if a reformatting is imminent, what will you 
>>> suggest
>>>   to do on case I just need to recover my old stuff?
>> 
>> I can share my solution. I am running dual boot with openSUSE and
>> GuixSD. GRUB is managed by openSUSE and it sourcing GuixSD
>> configuration from /boot on GuixSD partition. That brings Guix menu
>> entries to the GRUB.
>> 
>> In my system configuration I have this hack I found somewhere:
>> 
>> (bootloader
>>  (bootloader-configuration
>>   (bootloader
>>    (bootloader
>>     (inherit grub-bootloader) (installer #~(const #t))))))
>> 
>> so it doesn't install bootloader at all.
>> 
>> My usecase is a bit special because I am using LUKS and unlock it on
>> bootloader level.
>> 
>> If you want your bootloader to be managed by GuixSD, just follow
>> corresponding part of Guix manual:
>> 
>>  
>> https://www.gnu.org/software/guix/manual/en/html_node/Bootloader-Configuration.html
> 
> I had a dual boot set up for a while, but I let guixSD take care of the
> grub generation.  With guix you can configure the bootloader to boot 
> two
> different OSs.

I don't think we can boot non-linux systems. If I'm wrong, I'd be very 
happy to know how.
Right now, I have to use the grub command-line and run "chainloader +1" 
to get in my
haiku system :/

> 
>> 
>> 
>> Best regards,
>> 
>> S_W

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

* Re: Dual Boot GuixSd along side other preexisting distros
  2018-10-31 12:54   ` Tomáš Čech
@ 2018-10-31 14:18     ` Joshua Branson
  2018-10-31 14:13       ` Julien Lepiller
  2018-12-02 22:13     ` Chris Marusich
  1 sibling, 1 reply; 6+ messages in thread
From: Joshua Branson @ 2018-10-31 14:18 UTC (permalink / raw)
  To: guix-devel

Tomáš Čech <sleep_walker@gnu.org> writes:

> Hi,
>
> On Tue, Oct 30, 2018 at 10:55:50PM +0530, Nalin Ranjan wrote:
>>    Hi Guys,
>>   Can you guys please help me with a bit of understanding?
>>
>>   I have a ThinkPad T410 on which I am trying to do this. Currently I have a
>>   dual boot configuration running Ubuntu and Windows 7. Could that grub
>>   install failure because of my /boot not being empty and formatted afresh
>>   for GuixSD? If so, can anyone of you please help me in figuring out how to
>>   install GuixSD alongside those existing ones(other distros plus special
>>   Mr. Windows)? Do I need to reformat my /boot to make it fresh so that Grub
>>   install from GuixSD installation could succeed(not sure if this is the
>>   reason for failure).  if a reformatting is imminent, what will you suggest
>>   to do on case I just need to recover my old stuff?
>
> I can share my solution. I am running dual boot with openSUSE and
> GuixSD. GRUB is managed by openSUSE and it sourcing GuixSD
> configuration from /boot on GuixSD partition. That brings Guix menu
> entries to the GRUB.
>
> In my system configuration I have this hack I found somewhere:
>
> (bootloader
>  (bootloader-configuration
>   (bootloader
>    (bootloader
>     (inherit grub-bootloader) (installer #~(const #t))))))
>
> so it doesn't install bootloader at all.
>
> My usecase is a bit special because I am using LUKS and unlock it on
> bootloader level.
>
> If you want your bootloader to be managed by GuixSD, just follow
> corresponding part of Guix manual:
>
>  https://www.gnu.org/software/guix/manual/en/html_node/Bootloader-Configuration.html

I had a dual boot set up for a while, but I let guixSD take care of the
grub generation.  With guix you can configure the bootloader to boot two
different OSs.

>
>
> Best regards,
>
> S_W

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

* Re: Dual Boot GuixSd along side other preexisting distros
  2018-10-31 12:54   ` Tomáš Čech
  2018-10-31 14:18     ` Joshua Branson
@ 2018-12-02 22:13     ` Chris Marusich
  2018-12-02 22:48       ` Joshua Branson
  1 sibling, 1 reply; 6+ messages in thread
From: Chris Marusich @ 2018-12-02 22:13 UTC (permalink / raw)
  To: guix-devel

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

Tomáš Čech <sleep_walker@gnu.org> writes:

> In my system configuration I have this hack I found somewhere:
>
> (bootloader
>  (bootloader-configuration
>   (bootloader
>    (bootloader
>     (inherit grub-bootloader) (installer #~(const #t))))))
>
> so it doesn't install bootloader at all.

FYI, the --no-bootloader option to "guix system" should prevent Guix
from installing a bootloader.  You might find that useful.

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* Re: Dual Boot GuixSd along side other preexisting distros
  2018-12-02 22:13     ` Chris Marusich
@ 2018-12-02 22:48       ` Joshua Branson
  0 siblings, 0 replies; 6+ messages in thread
From: Joshua Branson @ 2018-12-02 22:48 UTC (permalink / raw)
  To: guix-devel

Chris Marusich <cmmarusich@gmail.com> writes:

> Tomáš Čech <sleep_walker@gnu.org> writes:
>
>> In my system configuration I have this hack I found somewhere:
>>
>> (bootloader
>>  (bootloader-configuration
>>   (bootloader
>>    (bootloader
>>     (inherit grub-bootloader) (installer #~(const #t))))))
>>
>> so it doesn't install bootloader at all.
>
> FYI, the --no-bootloader option to "guix system" should prevent Guix
> from installing a bootloader.  You might find that useful.

I personally found it more useful to have GuixSD manage my grub.  And
code in my config the other boot option.  That way GuixSD generated the
grub booting for both GuixSD and the other distro.

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

end of thread, other threads:[~2018-12-02 22:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CACE+zkLriFZo56VxxBexo_HbVXTkVfB2YP38GDv7+oP=WeSoyQ@mail.gmail.com>
2018-10-30 17:25 ` Dual Boot GuixSd along side other preexisting distros Nalin Ranjan
2018-10-31 12:54   ` Tomáš Čech
2018-10-31 14:18     ` Joshua Branson
2018-10-31 14:13       ` Julien Lepiller
2018-12-02 22:13     ` Chris Marusich
2018-12-02 22:48       ` Joshua Branson

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