Linux distro?

Yanosh · 480

aurabin

  • Newbie
  • *
    • Posts: 48
    • Karma: +2/-2
    • aurabin.net
Reply #15 on: October 12, 2020, 09:41:07 PM
I have managed to tripple boot Linux Mint Windows and AROS from AROS grub.. you must copy the grub entry wich starts Linux Mint  from Linux Mint grub.cfg to AROS grub.cfg. Maybe you have to add "linux" command to the Mint Start Line.. I don't remember so good!

I think you have to adapt this part to AROS Grub Syntax and add it to AROS Grub:
you have to change the quotes like this for AROS Grub
menuentry "Linux Mint 20 Cinnamon' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-a846e2a1-d887-4058-b2d5-8dfb4ec527f4" {
   set root=(HDX,x) (depending on the Hard Drive and Partition Linux Mint is)

recordfail (remove this line and all lines that cause Errors)
   load_video
   gfxmode $linux_gfx_mode
   insmod gzio
   if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
   insmod part_msdos
   insmod ext2
   set root='hd0,msdos1'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  070fdd4c-bda2-433d-9ceb-d9f344a36abe
   else
     search --no-floppy --fs-uuid --set=root 070fdd4c-bda2-433d-9ceb-d9f344a36abe
   fi
   linux   /vmlinuz-5.4.0-26-generic root=/dev/sda6 ro  quiet splash
}
« Last Edit: October 12, 2020, 09:50:33 PM by aurabin »



Yanosh

  • Junior Member
  • **
    • Posts: 92
    • Karma: +1/-0
Reply #16 on: October 12, 2020, 10:51:26 PM

I think you have to adapt this part to AROS Grub Syntax and add it to AROS Grub:

I've simply copied the menu entry from the linux's grub.cfg to the AROS' one and now, after Linux was reinstalled on the second hd, it works. Now it's hd1 instead of hd0.

Quote

recordfail (remove this line and all lines that cause Errors)
   load_video
   gfxmode $linux_gfx_mode

All these 3 commands cause errors. Are these commands required for launching Linux? It starts without apparent problems.



aGGreSSor

  • Junior Member
  • **
    • Posts: 54
    • Karma: +2/-0
    • russian transit
Reply #17 on: October 13, 2020, 02:02:20 AM
Quote from: Yanosh
I don't know what is is on the mbr. I think that before understanding how the Linux boot stages are, I need to install it in a working way.  ;D
No. This is magically possible, but not practical.
You don't taste milk in the store before you buy, do you? You are looking at the technical specification: expiration date. :)
salvo gave good advice: use usb boot among others.

Quote from: Yanosh
Linux mint is not so good at dual boot and it doesn't work if the hard disk is moved between sata connectors
Linux mint (and "grub" bootloader) not guilty that you change discs and do not tell him about it.
Bootloader "grub" knows only about what is written in its configuration file grub.cfg.
AROS grub has no differences in this regard.

Quote from: Yanosh
Asus IPIBL-LB
aka Benicia-GL8E (MicroATX), Intel G33 with ICH9R
Motherboard have Onboard RAID controller and 6 SATA (SATA-150 or SATA-300) connectors. This is typical for ASUS, but badly fake SATA. I had a similar board P4C800E with onboard RAID. In practice, this means that a disk on one connector will be defined as sda1 (for example), and on the connector next to as sda14. You need to be careful about device names, or will have to spend endless time busting.

Quote from: Yanosh
i can boot from it with the bios boot menu
BIOS configurable once so that it points to the disk where grub installed. Bootloader is used for everything and disks aren't dragged around.
if you need to change disks, then at least you don't need to change the disk where the bootloader is located.



Yanosh

  • Junior Member
  • **
    • Posts: 92
    • Karma: +1/-0
Reply #18 on: October 13, 2020, 09:46:13 PM
Bootloader "grub" knows only about what is written in its configuration file grub.cfg.
AROS grub has no differences in this regard.

So, why Linux mint overwrited AROS's grub? It booted directly Linux without a gui. It should have added the menu to AROS' grub to launch linux and not overwrite it.

Quote from: Yanosh
Asus IPIBL-LB
aka Benicia-GL8E (MicroATX), Intel G33 with ICH9R
Motherboard have Onboard RAID controller and 6 SATA (SATA-150 or SATA-300) connectors.
[/quote]

This one has only 4 connectors.

Quote
This is typical for ASUS, but badly fake SATA. I had a similar board P4C800E with onboard RAID.

I don't use raid.  :)



aGGreSSor

  • Junior Member
  • **
    • Posts: 54
    • Karma: +2/-0
    • russian transit
Reply #19 on: October 14, 2020, 01:37:33 AM
So, why Linux mint overwrited AROS's grub? It booted directly Linux without a gui. It should have added the menu to AROS' grub to launch linux and not overwrite it.
Grub is a very small bootloader (MBR sector size equal to only 512 byte!). Grub isn't engaged in destructive.
If the bootloader and/or config-files is overwritten, then one of the utilities serving grub was done. You can guess what it was: grub-install, grub2-install, grub-update, grub2-update, grub-mkconfig, grub2-mkconfig. Bootloader can be installed in many ways.

Quote from: Yanosh
This one has only 4 connectors.
In the photo IPIBL-LB Asus I see six. If there are four of them, you may have a different motherboard.

I don't use raid.  :)
It doesn't matter. The main thing is that there is a FakeRAID on the IPIBL-LB motherboard from the ASUS company. :)
This means that with some BIOS settings, some of your connectors willn't work and no OS will boot from them.
I think you will agree, it would be strange to blame the bootloader in this case. Although this is just a guess.

Returning to the initial question of the topic: I understood what kind of Linux a beginner needs. Minimal image.
Debian or Ubuntu or CentOS and RTFM. ;)



Yanosh

  • Junior Member
  • **
    • Posts: 92
    • Karma: +1/-0
Reply #20 on: October 14, 2020, 06:51:04 PM
If the bootloader and/or config-files is overwritten, then one of the utilities serving grub was done. You can guess what it was: grub-install, grub2-install, grub-update, grub2-update, grub-mkconfig, grub2-mkconfig. Bootloader can be installed in many ways.

I don't know how to use them.

Quote from: Yanosh
This one has only 4 connectors.
In the photo IPIBL-LB Asus I see six. If there are four of them, you may have a different motherboard.
[/quote]

No, it's really an IPIBL-LB. 2 of them weren't mounted when it was built by Asus. Don't know why... maybe to reduce cost.

Returning to the initial question of the topic: I understood what kind of Linux a beginner needs. Minimal image.
Debian or Ubuntu or CentOS
[/quote]

Are these better than Linux mint?

[/quote]
and RTFM. ;)
[/quote]

I'll do it for sure.  ;D But I need one suited for a 5 years old with a lot of images, because I still haven't learnt how to read.  :D ;D

I'd like to install this...

http://www.boomerangsworld.de/cms/worker/

Which one I should download? And how should I install it?



aGGreSSor

  • Junior Member
  • **
    • Posts: 54
    • Karma: +2/-0
    • russian transit
Reply #21 on: October 15, 2020, 01:09:07 PM
You know how to stump with a question.
Quote from: Yanosh
I'd like to install this...
http://www.boomerangsworld.de/cms/worker/
Why? Standard def facto is Midnight Commander. It's console app.
Installations depend on packages system in Distributive.
Code: [Select]
# apt-get install mc
You can search for a suitable package here or your repo.
Code: [Select]
# apt-get search worker
# apt-get search mc
Learn dependicies at the same time.  :D
Read it:
Find out from which Debian was builded your Linux Mint and download the package for this Debian. For example:
Code: [Select]
# dpkg -ivh worker_4.4.0-1_amd64.deb
You should have satisfied all dependencies from the section "Requires"
The specified way is easier than compilation, but you need to learn how to read. :)
Quote from: Yanosh
maybe to reduce cost.
Exactly for this.
« Last Edit: October 15, 2020, 01:16:08 PM by aGGreSSor »



asymetrix

  • Newbie
  • *
    • Posts: 6
    • Karma: +0/-0
Reply #22 on: October 15, 2020, 08:53:42 PM
Maybe one should consider a better Linux distro, one which has a proper automated toolchain, bleeding edge and compiles to more Amiga friendly machines.
They even take port requests for a few $$$.


https://t2sde.org

Work on cross compile Rust, Firefox, LLVM is shown every day on 2 channels on youtube : Bits inside by René Rebe :  https://www.youtube.com/watch?v=qVkYRe4UBes



Yanosh

  • Junior Member
  • **
    • Posts: 92
    • Karma: +1/-0
Reply #23 on: October 16, 2020, 10:44:08 PM
@aGGreSSor

Thank you forall the info.  :) Now I only need to know what all the commands of Linux mint's grub.cfg are. AROS grub.cfg is much more simpler without all the if - else commands. Are all of them required to start Linux or I can safely use only the menuentry for a full working Linux? What are the commands recordfail, load_video, gfxmode $linux_gfx_mode for? Can I safely delete them? Why do they work with linux grub and not with aros grub?

@asymetrix

I'm fine with Mint for now. Maybe one day I'll try something better.



aGGreSSor

  • Junior Member
  • **
    • Posts: 54
    • Karma: +2/-0
    • russian transit
Reply #24 on: October 26, 2020, 07:14:22 AM
Are all of them required to start Linux or I can safely use only the menuentry for a full working Linux?
All these commands are not needed at all to start Linux.   :D
They only form configuration files and write the loader to the allocated disk area.
Without a bootloader and correct configuration, Linux will not boot.

What are the commands recordfail, load_video, gfxmode $linux_gfx_mode for? Can I safely delete them?
You need to read the documentation of your version grub.
Before any command, you can insert the command man.
Code: [Select]
$ man grub
$ man grub-install

Why do they work with linux grub and not with aros grub?
When the alternative version of the aros grub was created, that version linux grub didn't exist yet.
New versions of the linux grub add new features and change old.
Therefore, to speak specifically about your version, I need telepathy.
I can speak in general based on experience, and in particular you can read in the documentation and ask on the forums dedicated Linux Mint.