Linux Lite Forums

Full Version: my first try making a distro
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6
Yes it must be the case.


(02-10-2018, 04:29 AM)Moltke link Wrote: [ -> ]Hi [member=411]bitsnpcs[/member]

Quote:Built on an "Arch Linux Base", as I have already wrote

Antergos and Manjaro are both Arch based distros and grub says "Antergos" for Antergos and "Manjaro" for Manjaro. Not Arch Linux.

I will add a name for you. It will be my username for now. I'll probably start it on Tuesday.
Basically they download a tool and it is used to edit the grub name and other parameters.
For a throw away project it didn't seem a priority to look that up.
Pretty cool! 
The only "homemade" OS I ever tried, besides a Debian net-install where you add all your own stuff, was a Xubuntu-Core minimal iso with selected personal favorite stuff added and edited.  Bare bones on my ancient 32-bit desktop.  I suppose I might have made it a micro distrolet and named it "RandomLinux" or something, lol.  You have gone to a lot more trouble and built it from a totally different base!  Good luck with it!
(02-10-2018, 10:02 AM)bitsnpcs link Wrote: [ -> ][quote author=Moltke link=topic=5130.msg38763#msg38763 date=1518236964]
Hi [member=411]bitsnpcs[/member]

Quote:Built on an "Arch Linux Base", as I have already wrote

Antergos and Manjaro are both Arch based distros and grub says "Antergos" for Antergos and "Manjaro" for Manjaro. Not Arch Linux.

I will add a name for you. It will be my username for now. I'll probably start it on Tuesday.
Basically they download a tool and it is used to edit the grub name and other parameters.
For a throw away project it didn't seem a priority to look that up.
[/quote]

You don't need a tool like grub-customizer for that, all you need to do is to edit: /etc/default/grub

Code:
$ sudo nano /etc/default/grub
You'll see this at the top of the file

# GRUB boot loader configuration

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

Change waht this line GRUB_DISTRIBUTOR says and add the name you want to appear say "bitsnpcs"

Then run
Code:
$ sudo grub-mkconfig -o /boot/grub/grub.cfg
reboot and you'll see your own customized grub welcome screen.
Like this:

[Image: 2zfpbb7.jpg]

[Image: dono9j.jpg]

[Image: 2m6pe6g.jpg]

[Image: 15cg681.jpg]

Hope this helps! Smile
Smile
[member=411]bitsnpcs[/member]
Excellent, keep up the good work!
(02-10-2018, 03:16 PM)Scott link Wrote: [ -> ] Smile
[member=411]bitsnpcs[/member]
Excellent, keep up the good work!
[member=47]Scott[/member]  Smile  Thank You
(02-10-2018, 12:55 PM)Moltke link Wrote: [ -> ]Hope this helps! Smile

It may have, unsure as I've already done it.
As you wrote I don't need a tool for it, I was looking at the tool, and it says to build it and I was not sure how to build from the package as I have not done this and there are too many new commands in Arch, I need to learn a lot more.
Also at each grub update it needs to be rerun.

So all I done was login as root and using the preinstalled basic text editor, I edited the

Code:
/boot/grub/grub.cfg

Simply changing the text of 'Arch Linux' to my own text, and then saving the file. it takes about 5 seconds exactly to do it.

Also renamed the machines in VirtualBox to save any confusion.
Also installed Virtualbox guest additions and utils inside it, so as to be able to use it full screen and also use the keyboard  shortcuts.
I then show a short demo that it works now with video and sound.

Named grub screenshot -

[Image: grub_edit.png]


https://www.youtube.com/watch?v=C4_NrFQuoKY

Also started a, first try test machine v2, currently a clone, as I want to try some other things out.
Quote:So all I done was login as root and edit the

Code: [Select]
/boot/grub/grub.cfg

Simply changing the text and saving

Well done! Smile However, I noticed that the line for "Advanced options for..." still says "Arch Linux", that's because you edited "/boot/grub/grub.cfg" instead of "/etc/default/grub". grub-customizer is in the AUR repositories so an AUR helper should do the job of installing it https://wiki.archlinux.org/index.php/AUR_helpers I use pacaur in my Arch VM.
(02-10-2018, 12:09 PM)RandomBoy link Wrote: [ -> ]Pretty cool! 
The only "homemade" OS I ever tried, besides a Debian net-install where you add all your own stuff, was a Xubuntu-Core minimal iso with selected personal favorite stuff added and edited.  Bare bones on my ancient 32-bit desktop.  I suppose I might have made it a micro distrolet and named it "RandomLinux" or something, lol.  You have gone to a lot more trouble and built it from a totally different base!  Good luck with it!

[member=6925]RandomBoy[/member] Thank You Smile  it has been a lot of fun trying it out.
(02-10-2018, 05:39 PM)Moltke link Wrote: [ -> ]
Quote:So all I done was login as root and edit the

Code: [Select]
/boot/grub/grub.cfg

Simply changing the text and saving

Well done! Smile However, I noticed that the line for "Advanced options for..." still says "Arch Linux", that's because you edited "/boot/grub/grub.cfg" instead of "/etc/default/grub". grub-customizer is in the AUR repositories so an AUR helper should do the job of installing it https://wiki.archlinux.org/index.php/AUR_helpers I use pacaur in my Arch VM.

Yes I was editing the correct file, maybe it can be done from the other file too, I am not sure myself about this, if you have tried it that way then sure it can be done that way too. Smile
I didn't even look at it (second line of Grub)  I have this idea - "he wants me to change the name of the build in the grub" no other lines come to my mind at all, only to do that line.
I have Aspergers, it is a HFA (High Functioning Autism) when I get focused I focus too much, and above it is a good example of that.

Thank You [member=7109]Moltke[/member] for the help about the AUR helpers I will have to read the link about it.
I want to do some other things first. Smile

Where I edited, and its result

[Image: cfg1.png]

[Image: grub_edit2.png]
Pages: 1 2 3 4 5 6