From: Alex Kost <alezost@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: Installing the system from another distro
Date: Wed, 26 Nov 2014 23:25:23 +0300 [thread overview]
Message-ID: <87k32hu2to.fsf@gmail.com> (raw)
In-Reply-To: <87r3wrfi9f.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 25 Nov 2014 15:48:44 +0100")
Ludovic Courtès (2014-11-25 17:48 +0300) wrote:
> Alex Kost <alezost@gmail.com> skribis:
[...]
>> I have another question. I used "--no-grub" option, so I don't have a
>> proper grub.cfg. I expected to see “/boot” directory with symlinks to
>> the linux and initram images but there is no such dir. Do I understand
>> it right that “/gnu/store/…-linux-libre-3.17.4/bzImage” and
>> “/gnu/store/…-base-initrd/initrd” are hardcoded in the "grub.cfg"?
>
> Yes, that’s correct.
>
> Actually, when passing --no-grub, ‘guix system’ doesn’t even bother
> generating grub.cfg (see ‘perform-action’ in (guix scripts system).)
>
> So if you really want to use --no-grub, you should retrieve the kernel
> and initrd file names, and manually add them to your bootloader’s
> config.
>
> One way to do that is to run:
>
> guix system build my-system-config.scm
>
> The returned directory name contains the initrd and kernel, among other
> things.
>
> Note that you’ll also need to pass --root= and --system= on the kernel
> command line (see the ‘operating-system-grub.cfg’ procedure.)
And --load= too :-)
> As you see, passing --no-grub is not an optimized use case. :-)
Thanks for the pointers! You helped to figure it out. And the system
is awesome!! The only big issue I've noticed so far is: the screen
resolution was 800x600 for me and xrandr didn't give any other option.
"/var/log/Xorg.0.log" told me that the module for my videocard ("sis")
wasn't loaded. I looked at (gnu services xorg) and found that not all
available "xf86-video-…" modules are placed at "xserver.conf". Is there
a reason for that?
Hm, perhaps I just need to install "xf86-video-sis" package (I should
have tried it before asking).
Also I have a question. I usually add some custom lines to "xorg.conf".
I suppose currently there is no other way to do it but to make my own
xorg (slim) service. Right?
--
Alex
next prev parent reply other threads:[~2014-11-26 20:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-24 13:43 Installing the system from another distro Alex Kost
2014-11-24 17:21 ` Ludovic Courtès
2014-11-25 12:57 ` Alex Kost
2014-11-25 14:48 ` Ludovic Courtès
2014-11-26 20:25 ` Alex Kost [this message]
2014-11-26 22:06 ` Ludovic Courtès
2014-11-29 21:00 ` Alex Kost
2014-11-29 21:18 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k32hu2to.fsf@gmail.com \
--to=alezost@gmail.com \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).