-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/doc: improve install instructions #175128
Conversation
861df2a
to
0267f69
Compare
5fb71e2
to
bc07023
Compare
0bcc72b
to
fc77271
Compare
fc77271
to
977c29c
Compare
@samueldr thank you for the review! |
68c1a9f
to
02eb42c
Compare
I find it unlikely that this will get into the release in time since its a fairly new PR touching a lot of docs and I assume more people want to review it (release schedule is for tomorrow). |
02eb42c
to
4c38e39
Compare
i think that is a good reason to merge this big improvement before the release. two topics are not documented at all right now it might not be perfect, but i think the experience with this change would be better than without it do you see specific parts that can be controversial? (i will add system requirements in a separate PR) |
nixos/doc/manual/from_md/installation/installing-usb.section.xml
Outdated
Show resolved
Hide resolved
1b54f33
to
78b8779
Compare
42700a7
to
558577b
Compare
@Mic92 thanks for your review! I have incorporated all feedback. |
Why is this still not merged? Everyone is complaining that the documentation is outdated or incomplete and this PR would improve that, but now it's stalled for about 2 weeks. I had plans for further improvements once this is merged, but this contribution experience is very discouraging. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few nitpicks.
and wait (or press <kbd>Enter</kbd> to speed up). | ||
|
||
4. The graphical images will start their corresponding desktop environment | ||
and the graphical installer, which can take some time. The minimal images |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is also the fact that some people use awfully bad USB pendrives during installation, and this can make the boot time takes a few minutes.
Sorry, but commiters are also busy folks. And also we sometimes forget about PRs. A reminder to review/merge a PR is always welcome, but please avoid an aggressive tone when doing so. |
What's the status on this PR? It's been sitting for some time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does seem to be an improvement over what is currently in the manual. The instructions for Linux seem to be correct (which is the part I can currently verify). Seems fine to have this available in the manual already.
558577b
to
011ce03
Compare
@bobvanderlinden thank you very much! I rebased and built it again. Can we get another review and merge it? I don't want to miss another release. |
@davidak Can you fix the two missing |
@thiagokokada i don't think a list of bullet points need a period, but i can do it for consistency. some have them when there are multiple sentences |
Yeah, I was saying this mostly because only the first point on each was missing periods. But I already fixed anyway, going to merge once I got back home. |
- Update download URLs - Replace "USB stick"/"USB Drive" with "USB flash drive" as that seem more correct https://en.wikipedia.org/wiki/USB_flash_drive https://elementary.io/docs/installation#choose-operating-system - Don't mention CD as easiest option anymore, as all modern systems should be able to boot from USB, but many don't have a CD drive. Burning CDs is also usually wasteful as you can't burn them again. - Remove link to NixOS Wiki (Making_the_installation_media) as it is not needed - Add Etcher and USBImager as graphical tools to create install drive - Make dd command consistent and use block size of 4 MB for faster flashing - More consistent text - Add instructions for "Booting from the install medium" Inspired by https://github.com/elementary/website/blob/9a91b0f4956b059db02122fbc738c4c067e033a7/docs/installation.md#booting-from-the-install-drive-booting-from-the-installation-medium-clear-float-2 - Add instructions for "Graphical Installation" - Restructure headings and anchors for "Manual Installation" - Adding legacy anchors for "Manual Installation" to not break links Co-authored-by: j-k <dev@j-k.io> Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Co-authored-by: Robert Schütz <github@dotlambda.de> Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com> Co-authored-by: Thiago Kenji Okada <thiagokokada@gmail.com>
d966257
to
f701bd5
Compare
@thiagokokada sorry i did not get your point why that is useful. I squashed your commit and added you to co-authors. I like that this is such a collaborative effort with 6 authors! I also built it again, successfully. |
I meant, the problem for me was the inconsistency, not correctness. It was only the first point on two different sections that were missing periods, while the other points in the same section included them. You could either remove all of them or add the periods in the two places that I indicated, that was it. |
Let's merge this before 22.11 release cut, so folks have time to improve on it until the release is finished. |
Thanks @davidak and everyone else for the improvements. |
Backport failed for Please cherry-pick the changes locally. git fetch origin release-22.05
git worktree add -d .worktree/backport-175128-to-release-22.05 origin/release-22.05
cd .worktree/backport-175128-to-release-22.05
git checkout -b backport-175128-to-release-22.05
ancref=$(git merge-base b3c0c4979e3405f3b267e9fd1c81c4f82d8ba44d f701bd59860f4ea75ab0c20095fc8739b487875c)
git cherry-pick -x $ancref..f701bd59860f4ea75ab0c20095fc8739b487875c |
Backport failed for Please cherry-pick the changes locally. git fetch origin release-22.05
git worktree add -d .worktree/backport-175128-to-release-22.05 origin/release-22.05
cd .worktree/backport-175128-to-release-22.05
git checkout -b backport-175128-to-release-22.05
ancref=$(git merge-base b3c0c4979e3405f3b267e9fd1c81c4f82d8ba44d f701bd59860f4ea75ab0c20095fc8739b487875c)
git cherry-pick -x $ancref..f701bd59860f4ea75ab0c20095fc8739b487875c |
since support for kbd elements was added with explicit intent in NixOS#175128 it seems like a good idea to support this in nixos-render-docs instead of just dropping it in favor of `*F12*` etc. since it's a very rare thing in the manual and purely presentational it makes sense to use bracketed spans instead of a new myst role. the html-elements.lua plugin is now somewhat misnamed, but it'll go away very soon so we don't want to bother renaming it.
Description of changes
https://en.wikipedia.org/wiki/USB_flash_drive
https://elementary.io/docs/installation#choose-operating-system
as all modern systems should be able to boot from USB,
but many don't have a CD drive. Burning CDs is also usually wasteful as you
can't burn them again.
Inspired by https://github.com/elementary/website/blob/9a91b0f4956b059db02122fbc738c4c067e033a7/docs/installation.md#booting-from-the-install-drive-booting-from-the-installation-medium-clear-float-2
I have tested booting from install drive created with Etcher, USBImager and dd on linux. It would be great if someone can test the other options (macOS and Windows).
I hope to get this into the release.
cc @dasJ
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes