View previous topic :: View next topic |
Author |
Message |
midnite Guru
Joined: 09 Apr 2006 Posts: 449 Location: Hong Kong
|
Posted: Sun Jan 21, 2024 3:59 pm Post subject: Gentoo Minimal CD vs Gentoo Admin CD vs SystemRescueCd 5.3.2 |
|
|
Recently I am comparing between different Installation Media that can be used to install my another Gentoo machine. And I am surprised that both the Gentoo Minimal Installation CD and the Gentoo Admin CD lack the man and emerge programs. Meanwhile the previous version of the SystemRescueCd v5.3.2 is having both man and emerge.
(In addition, app-cdr/dvd+rw-tools is also available in SystemRescueCd v5.3.2 which comes handy. This is not available in both Gentoo Minimal CD and Admin CD.)
I am aware that Gentoo has rolled out the Gentoo LiveGUI DVD ISO. It is my bad that my USB sticks are either 2GB or 32GB+. It is also my bad that when I was trying to burn the Gentoo LiveGUI ISO into DVD discs, two triads failed. I am still not sure if my DVD drive is faulty, or my DVD discs are faulty. Anyway, using USB sticks is preferable over DVD discs as it is more environmental friendly. I believe the Gentoo LiveGUI DVD will consist all the programs I need. But at the moment I cannot experience it yet.
I am raising this topic because i think man and emerge are quite fundamental tools. It affects user experiences a lot, especial to new users.
To me, the old SysRescCD v5.3.2 is good enough but it lacks ZFS. Gentoo Admin CD has ZFS but it lacks fundamental tools.
Code: | | Gentoo Minimal CD | Gentoo Admin CD | SysRescCD v5.3.2 | Gentoo LiveGUI DVD
--------------------+---------------------+-------------------+--------------------+----------------------------------
ISO Size (approx.) | 466 MB | 668 MB | 558MB | 3,566 MB
--------------------+---------------------+-------------------+--------------------+----------------------------------
man program | N/A | N/A | available | available
--------------------+---------------------+-------------------+--------------------+----------------------------------
emerge program | N/A | N/A | available | available
--------------------+---------------------+-------------------+--------------------+----------------------------------
zfs program | N/A | available | N/A | available
--------------------+---------------------+-------------------+--------------------+----------------------------------
dvd+rw-tools | N/A | N/A | available | available
|
Previously, I was using my working Gentoo OS, which I have emerged ZFS, to install a new Gentoo into another hard disk. But this approach is not as handy as a bootable USB stick. I am interested in how to build a bootable minimal Gentoo, so I can select my favourite tools. On the other hand, I am also interested in how to add ZFS into the old SysRescCD v5.3.2. Afterall it is too old. I think the Gentoo Admin CD should normally add the man and emerge programs. _________________ - midnite.
Last edited by midnite on Mon Jan 22, 2024 7:56 pm; edited 1 time in total |
|
Back to top |
|
|
eeckwrk99 Apprentice
Joined: 14 Mar 2021 Posts: 232 Location: Gentoo forums
|
Posted: Sun Jan 21, 2024 4:19 pm Post subject: |
|
|
Have you ever tried Ventoy? Very convenient tool. I've been using it with an external HDD for a few years and I really like it. |
|
Back to top |
|
|
midnite Guru
Joined: 09 Apr 2006 Posts: 449 Location: Hong Kong
|
Posted: Mon Jan 22, 2024 8:45 pm Post subject: |
|
|
@eeckwrk99, Thank you. Let me try it later.
Updated the table in the first post. Gentoo LiveGUI is really marvelous. There are two minor problems with it:
- Even I chose "cache all into ram" while boot, the bootable USB is not possible to be unmounted:
Code: | livecd ~ # umount -v /mnt/cdrom
umount: /mnt/cdrom: target is busy.
livecd ~ # lsof +f -- /mnt/cdrom
lsof: WARNING: can't stat() fuse.portal file system /home/gentoo/.cache/doc
Output information may be incomplete. |
It seems it is not possible to shutdown without pressing the power button for 4 seconds (force shutdown).
It would be nice to note that use sudo su - to gain root privilege, while su - does not work. (For previous years I only used su - but almost never used sudo.) _________________ - midnite. |
|
Back to top |
|
|
eeckwrk99 Apprentice
Joined: 14 Mar 2021 Posts: 232 Location: Gentoo forums
|
Posted: Mon Jan 22, 2024 9:00 pm Post subject: |
|
|
midnite wrote: | It would be nice to note that use sudo su - to gain root privilege, while su - does not work. (For previous years I only used su - but almost never used sudo.) |
Can confirm doesn't work either on my end (livegui-amd64-20240107T170309Z.iso). If this post from Neddy from 2008 is still true, then it's by design. |
|
Back to top |
|
|
midnite Guru
Joined: 09 Apr 2006 Posts: 449 Location: Hong Kong
|
Posted: Wed Jan 24, 2024 5:40 am Post subject: |
|
|
I would like to say the not able to umount problem is really an issue. The LiveGUI not only makes the booting USB not able to be unounted, but the other USB drives connected later are also not able to be unmounted, with the same error message.
Code: | livecd ~ # umount -v /mnt/another_usb
umount: /mnt/another_usb: target is busy.
livecd ~ # lsof +f -- /mnt/another_usb
lsof: WARNING: can't stat() fuse.portal file system /home/gentoo/.cache/doc
Output information may be incomplete. |
I guess it might be the Plasma search function is caching the drive. But it does not help after I switched off the plasma searches.
Another minor drawback of the LiveGUI is that I cannot switch to the six non-gui consoles with Alt+F1 or Ctrl+Alt+F1. Are they missing, or what is the key combination to switch? _________________ - midnite. |
|
Back to top |
|
|
eeckwrk99 Apprentice
Joined: 14 Mar 2021 Posts: 232 Location: Gentoo forums
|
Posted: Wed Jan 24, 2024 10:24 am Post subject: |
|
|
midnite wrote: | I would like to say the not able to umount problem is really an issue. The LiveGUI not only makes the booting USB not able to be unounted, but the other USB drives connected later are also not able to be unmounted, with the same error message.
Code: | livecd ~ # umount -v /mnt/another_usb
umount: /mnt/another_usb: target is busy.
livecd ~ # lsof +f -- /mnt/another_usb
lsof: WARNING: can't stat() fuse.portal file system /home/gentoo/.cache/doc
Output information may be incomplete. |
I guess it might be the Plasma search function is caching the drive. But it does not help after I switched off the plasma searches. |
Did you try any mount options such as -f, --force / -l, --lazy / -R, --recursive?
combination usually helps when getting "target is busy." error as far as I'm concerned. |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3709 Location: Rasi, Finland
|
Posted: Wed Jan 24, 2024 10:57 am Post subject: |
|
|
midnite wrote: |
- Even I chose "cache all into ram" while boot, the bootable USB is not possible to be unmounted
| I noticed this too while tinkering with my Asus Chromebox CN60.
Powering off the system did work from power button just fine (one short press), but doing it from KDE menu it varied. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
midnite Guru
Joined: 09 Apr 2006 Posts: 449 Location: Hong Kong
|
Posted: Wed Jan 24, 2024 5:03 pm Post subject: |
|
|
eeckwrk99 wrote: | Did you try any mount options such as -f, --force / -l, --lazy / -R, --recursive?
combination usually helps when getting "target is busy." error as far as I'm concerned. |
Brilliant! umount --lazy /mnt/cdrom does successfully. Thank you!
I am new to umount --lazy. I just read the answer below. It seems that lazy umount is not really solving the problem that certain process is biting the device. I just tried that I can really read or write to the device after lazy umount.
https://unix.stackexchange.com/questions/390056/why-is-lazy-mnt-detach-or-umount-l-unsafe-dangerous _________________ - midnite. |
|
Back to top |
|
|
midnite Guru
Joined: 09 Apr 2006 Posts: 449 Location: Hong Kong
|
Posted: Wed Jan 24, 2024 5:44 pm Post subject: |
|
|
Zucca wrote: | Powering off the system did work from power button just fine (one short press), but doing it from KDE menu it varied. |
I confirm short press on the power button, and also shutdown -h now in Konsole, do power off successfully. KDE menu shutdown fails on my laptop and PC also. I wonder if the user gentoo does not get the privilege to shutdown. _________________ - midnite. |
|
Back to top |
|
|
sabayonino Veteran
Joined: 03 Jan 2012 Posts: 1038
|
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3709 Location: Rasi, Finland
|
Posted: Wed Jan 24, 2024 9:56 pm Post subject: |
|
|
sabayonino, we're discussing a possible bug on live cd. While it could be fixed, the problem would still be there after reboot. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
midnite Guru
Joined: 09 Apr 2006 Posts: 449 Location: Hong Kong
|
Posted: Tue Jun 18, 2024 12:16 pm Post subject: |
|
|
It is so nice that I find the latest Gentoo Live GUI installation media with those two bugs fixed.
https://distfiles.gentoo.org/releases/amd64/autobuilds/20240526T163557Z/livegui-amd64-20240526T163557Z.iso
1) The media was not able to umount even with "cache to ram" is chosen at startup. Now it is fixed. It umounts successfully.
2) The shutdown button in the desktop GUI works properly. In previous versions, we need to issue the shutdown command in the Konsole.
But another problem arises (to me). The new version does not include ZFS, which is essential to me.
May I ask what is the latest version of Gentoo Live GUI which includes ZFS?
Thank you! _________________ - midnite. |
|
Back to top |
|
|
midnite Guru
Joined: 09 Apr 2006 Posts: 449 Location: Hong Kong
|
|
Back to top |
|
|
|