View previous topic :: View next topic |
Author |
Message |
0joshuaolson1 n00b
Joined: 25 Mar 2017 Posts: 28
|
Posted: Wed Aug 09, 2017 6:19 pm Post subject: |
|
|
And I'd love to learn Gentoo. But not starting with the install process.
Hence why I'm here, instead of tuning Arch or something. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10587 Location: Somewhere over Atlanta, Georgia
|
Posted: Wed Aug 09, 2017 6:29 pm Post subject: |
|
|
0joshuaolson1 wrote: | And I'd love to learn Gentoo. But not starting with the install process.
Hence why I'm here, instead of tuning Arch or something. | Alas, the install process requires you to learn a good bit about Gentoo. Trying to bypass that gets you in trouble sooner or later (mostly sooner, as you're finding out). Start here.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
0joshuaolson1 n00b
Joined: 25 Mar 2017 Posts: 28
|
Posted: Wed Aug 09, 2017 6:32 pm Post subject: |
|
|
By 'here' I mean Gentoo Studio, not Gentoo. |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
Posted: Wed Aug 09, 2017 8:44 pm Post subject: |
|
|
I'm afraid Gentoo Studio is still very much still a Gentoo system, just with a stage4 instead of a stage3.
John is right - learning Gentoo itself is learning the install process. Such is the MO of a source-based system. It's why I love it. I learned a lot about Linux this way.
I have long-term plans to make Gentoo Studio a "just install it and update it" distro with its own binhost, but that is a ways away. I'm just one guy, here.
Just keep posting for help, and we will keep trying to improve things. _________________ decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
Posted: Wed Aug 09, 2017 10:18 pm Post subject: |
|
|
0joshuaolson1,
I was looking through my "gentootricks" file, where I record helpful things for me to use, and came across this. Thought it might be helpful to you.
Code: |
UEFI:
System must be booted with UEFI (latest sysresccd will handle that).
Follow handbook, except:
1. mkfs.vfat /dev/sda2
2. GRUB_PLATFORMS="efi-64" in /etc/portage/make.conf
3. grub-install --efi-directory=/boot
|
Let me know if this is helpful to you.
EDIT: Updated for accuracy. _________________ decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Last edited by audiodef on Fri Aug 11, 2017 3:23 pm; edited 1 time in total |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Thu Aug 10, 2017 5:45 pm Post subject: |
|
|
0joshuaolson1 wrote: | And I'd love to learn Gentoo. But not starting with the install process. | As I think others indicated, the install process is precisely how you learn Gentoo.
That's also what I was trying to say, rather long-windedly.
So, given that you'd love to learn Gentoo: welcome :-) |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
0joshuaolson1 n00b
Joined: 25 Mar 2017 Posts: 28
|
Posted: Fri Aug 11, 2017 12:58 pm Post subject: |
|
|
audiodef wrote: | Code: |
UEFI:
System must be booted with UEFI (latest sysresccd will handle that).
Follow handbook, except:
1. mkfs.vfat /dev/sda2
2. GRUB_PLATFORMS="efi-64" in make.conf
3. grub2-install --efi-directory=/boot
4. genkernel --menuconfig --install all
|
|
Thanks. 1. is already in the instructions. Assuming make.conf is /etc/portage/make.conf and grub2-install is the same as grub-install.
When do I use genkernel? |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
Posted: Fri Aug 11, 2017 3:22 pm Post subject: |
|
|
0joshuaolson1,
For Gentoo Studio, you don't use genkernel for the initial install. The stage4 includes a genkernel-compiled kernel. You run genkernel only when there's an update to rt-sources. My bad - I included it in the tip above, but it doesn't actually apply. Sorry about that.
I'm hoping to roll out an updated gentoostudio.org and an open beta soon, and hopefully that will make it easier to have something to refer to, comment on, and improve via feedback. _________________ decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
0joshuaolson1 n00b
Joined: 25 Mar 2017 Posts: 28
|
Posted: Sat Aug 12, 2017 6:37 pm Post subject: |
|
|
I hope it works for others. The tips didn't work for me. Still can't boot. Was the tip supposed to say Code: | 3. grub-install --efi-directory=/boot /dev/sda | instead?
BTW, The instructions should say eix-update, not eix-sync. emerge --sync doesn't work behind some firewalls (unlike emerge-webrsync in the previous step). |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
0joshuaolson1 n00b
Joined: 25 Mar 2017 Posts: 28
|
Posted: Sat Aug 12, 2017 7:55 pm Post subject: |
|
|
I believe emerge --sync is redundant after the emerge-webrsync step, as well as everything else eix-sync does (see my link to its docs) except for eix-update
I used
Code: | grub-install --efi-directory=/boot (didn't include /dev/sda here) |
|
|
Back to top |
|
|
0joshuaolson1 n00b
Joined: 25 Mar 2017 Posts: 28
|
Posted: Sun Aug 13, 2017 12:48 am Post subject: |
|
|
I found a way again to boot the (EFI) bootloader, but I encountered the same block device error. (minimal tarball) |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
0joshuaolson1 n00b
Joined: 25 Mar 2017 Posts: 28
|
Posted: Sun Aug 13, 2017 6:43 pm Post subject: |
|
|
Quote: | I think you should try posting this issue to "Installing Gentoo," since I'm not sure I can help, and this actually is a general Gentoo installation issue. |
I'm trying to help you with feedback. YOUR installation instructions are incorrect for my machine, and grub or the stage 4 tarball are possible culprits. |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
Posted: Mon Aug 14, 2017 7:27 pm Post subject: |
|
|
Easy, there, I'm trying to help you, too. Please keep in mind that I am one guy and I don't know everything, but sometimes I know where to refer you for better help.
FWIW, I have an EFI machine that didn't work out exactly how the Gentoo handbook suggested it should, either. I had to hunt around to figure it out. It's nobody's fault. It just happens sometimes.
I'm wondering if anyone who has already installed Gentoo on an EFI machine subsequently has any trouble following the install steps for Gentoo Studio. That would give me a good start on trying to figure out what I should change in the installation process. _________________ decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN |
|
Back to top |
|
|
arnvidr l33t
Joined: 19 Aug 2004 Posts: 629 Location: Oslo, Norway
|
Posted: Tue Aug 15, 2017 12:32 pm Post subject: |
|
|
Do you mean on top of a working EFI install or from scratch?
I have a working EFI install on a NUC, although I don't intend to use that for anything audio, but I'm in the process of building a new box, so I might be able to try a full install in a bit (just waiting for the CPU to be delivered, and need to buy a SSD). _________________
|
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
arnvidr l33t
Joined: 19 Aug 2004 Posts: 629 Location: Oslo, Norway
|
Posted: Fri Aug 18, 2017 8:47 pm Post subject: |
|
|
audiodef wrote: | I apologize if I wasn't clear. | You probably were, I haven't been following this thread from the beginning
I'll be willing to try a few installs though, as long as I get a working kernel config it's not too much trouble anyway. So just to clarify what would be the most helpful:
1. Do a regular install, to make sure I have the EFI stuff going as it should
2. Follow your instructions for a new install from scratch and see if any problems crop up
Do I have that right? And are those install instructions on the first page of this thread? _________________
|
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3131
|
Posted: Mon Aug 21, 2017 7:42 pm Post subject: |
|
|
UX pro-tip: remove those '>' from commands in the installation manual.
You could copy-paste a handful of lines at the same time if you didn't have to fiddle with laboriously skipping the first two characters from every single line.
There is a bunch of lines that don't have to be carefully analysed when you paste them. Also, marking interactive parts with some colour or bold font would help you find out at the first glance where you should stop and focus for a minute (though it's not that much of a deal when you run through it once) |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21605
|
Posted: Thu Aug 24, 2017 1:39 am Post subject: |
|
|
You should be able to get the best of both worlds by moving the > into an element that is not copied on selection: Code: | <span><style scoped>div::before{content:"> "}</style><div>echo a</div><div>echo b</div></span> | This renders the leading > in the browser, but a select all+copy does not copy the > . The key part is to generate the > as a pseudo-element using ::before or ::after. All the other parts you can modify as needed. |
|
Back to top |
|
|
|