View previous topic :: View next topic |
Author |
Message |
Fitzcarraldo Advocate
Joined: 30 Aug 2008 Posts: 2034 Location: United Kingdom
|
Posted: Sat Oct 05, 2019 6:37 pm Post subject: |
|
|
sitquietly wrote: |
Thanks for this -- I might use it for a Gentoo Studio install. |
sitquietly,
You would be better off getting the latest version from the repository of the Live Recovery System developer (sabayonino) -- see the link in his signature in his latest post post just before yours: https://forums.gentoo.org/viewtopic-p-8347228.html#8347228 _________________ Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.
Fitzcarraldo's blog |
|
Back to top |
|
|
Amity88 Apprentice
Joined: 03 Jul 2010 Posts: 260 Location: Third planet from the Sun
|
Posted: Wed Oct 09, 2019 5:40 pm Post subject: |
|
|
Thanks @Sabayonino for forking it off and giving us the LRS. I'll grab the torrent and try to seed it for as long as I can.
Also, thank you @NeddySeagoon for hosting it !
edit1: I think we also should have a wiki entry or some other way to inform others of the LRS. New users may not be aware of this thread. _________________
Ant P. wrote: | The enterprise distros sell their binaries. Canonical sells their users. |
Also... Be ignorant... Be happy! |
|
Back to top |
|
|
behd Apprentice
Joined: 11 Feb 2003 Posts: 155
|
Posted: Thu Oct 10, 2019 10:04 am Post subject: |
|
|
As project LRS seems backuped by many (also admin and mod) and we all miss Gentoo driven systemrescuecd.
Do you think that it would be possible to host it officially in the download section of the Gentoo website ?
That would be great and easier !
Would also help people googling for it
Best,
-behd |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Thu Oct 10, 2019 2:23 pm Post subject: |
|
|
behd wrote: | As project LRS seems backuped by many (also admin and mod) and we all miss Gentoo driven systemrescuecd.
Do you think that it would be possible to host it officially in the download section of the Gentoo website ? |
Second that motion. If cost is involved would be willing to contribute via GoFundMe. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54244 Location: 56N 3W
|
Posted: Thu Oct 10, 2019 5:08 pm Post subject: |
|
|
Tony0945,
It won't happen because hosting LRS inside Gentoo namespace implies Gentoo endorsement and possibly Gentoo security updates.
Neither of those will happen.
What gentoo developers do on their own servers is up to them. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Thu Oct 10, 2019 6:04 pm Post subject: |
|
|
Perhaps Sabayonino can post it on github or Sourceforge.net?
EDIT:
I did download some note pages from system-rescue-cd.org but haven't done anything with them yet.
it seems a daunting task. Ultimately an ebuild would be good. In an overlay of course. |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Fri Oct 11, 2019 1:38 am Post subject: |
|
|
mrbassie wrote: | sabayonino wrote: | I've jut created a "LiveRecoverySystem" torrent (a 5.3.2 SRCD updated).
see my repo shared.
I removed most of the SystemRescueCD links/references where no longer needed.
Looking forward to the future official developments, I will release updated ISOs in the toolchain and applications. |
NIce one for doing this.
Is there any chance of zfs support in the future? |
++
zfsonlinux really needed
either master (I'm running master so biased in that direction ) or latest stable build
thanks to sabayonino for being a huge help _________________ https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa
Hardcore Gentoo Linux user since 2004 |
|
Back to top |
|
|
Elleni Veteran
Joined: 23 May 2006 Posts: 1270
|
Posted: Thu Oct 24, 2019 8:02 pm Post subject: |
|
|
Thank you for making this possible, Sabayonino
I am trying to make this iso directly bootable from grub2, but I need some help. Maybe someone of you sees my error(s).
I downloaded the iso file and placed it on a partition created as /dev/sda4 (formated with ext4) which is mounted at /lrs.
I then modified /etc/grub.d/40_conf to the following:
Code: | #!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Linux Recovery System" {
set isofile="/lrs/LiveRecoverySystem-201908-13.iso"
loopback loop (hd0,msdos4)$isofile
linux (loop)/isolinux/rescue64 setkmap=de isoloop=/lrs/LiveRecoverySystem-201908-13.iso
initrd (loop)/isolinux/initram.igz
} |
But when I issue grub-mkconfig -o /boot/grub/grub.cfg it does not create a menuentry, so I suspect something wrong with my 40_custom file. |
|
Back to top |
|
|
proteusx Guru
Joined: 21 Jan 2008 Posts: 338
|
Posted: Thu Oct 24, 2019 10:18 pm Post subject: |
|
|
I edit my /boot/grub/grub.cfg by hand.
If it is of any help, here is my grub.cfg entry for LiveRecoverySystem CD.
Code: |
menuentry "SystemRescueCD " {
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
set isofile=/usr/local/share/systemrescuecd/LiveRecoverySystem-201907-19.iso
loopback loop ${isofile}
linux (loop)/isolinux/rescue64 isoloop=${isofile}
initrd (loop)/isolinux/initram.igz
}
|
I have just put LiveRecoverySystem.iso where systemrescuecd used to live.
Edit: Typos
Last edited by proteusx on Wed Oct 30, 2019 2:05 am; edited 1 time in total |
|
Back to top |
|
|
Elleni Veteran
Joined: 23 May 2006 Posts: 1270
|
Posted: Tue Oct 29, 2019 7:47 pm Post subject: |
|
|
It works now, after I had to do little additions/corrections like adding the two insmode lines and set root=
I also removed /lrs in set isofile. Thanks proteusx |
|
Back to top |
|
|
redblade7 Tux's lil' helper
Joined: 11 Jan 2018 Posts: 104
|
Posted: Sat Dec 14, 2019 12:46 am Post subject: |
|
|
Hey, thanks for keeping Gentoo SystemRescueCD going as LiveRecoverySystem! It's great for partitioning and formatting disks (unless you're creating encrypted disks and need rngd, for that I use a Kubuntu install disc) and putting smiles on the faces of Mom's friends who thought for sure they lost pictures of their grandkids forever
Not happy that it still has to be larger than a CD-ROM, but no big deal, times have changed.
I have the torrent for LRS-201908-13, along with the Linuxtracker.org torrent of SRCD v5.3.2, running on a VPS.
Announce new versions of LRS on this thread and I'll join in with the new torrent.
Thank you!
EDIT: Just a suggestion, one of the important packages that SystemRescueCD always lacked was rng-tools. If you want to create encrypted partitions, you need entropy provided via rngd, and for that reason I often used the Kubuntu install CD in addition to, or instead of, SRCD when initially setting up a disk for Linux. Now that we have LRS and it's no longer capped at 700 MB, you might want to add sys-apps/rng-tools, with rngd disabled at boot, so that people can create encrypted partitions using LRS. |
|
Back to top |
|
|
redblade7 Tux's lil' helper
Joined: 11 Jan 2018 Posts: 104
|
Posted: Fri Dec 27, 2019 5:49 pm Post subject: |
|
|
redblade7 wrote: | Hey, thanks for keeping Gentoo SystemRescueCD going as LiveRecoverySystem! It's great for partitioning and formatting disks (unless you're creating encrypted disks and need rngd, for that I use a Kubuntu install disc) and putting smiles on the faces of Mom's friends who thought for sure they lost pictures of their grandkids forever
Not happy that it still has to be larger than a CD-ROM, but no big deal, times have changed.
I have the torrent for LRS-201908-13, along with the Linuxtracker.org torrent of SRCD v5.3.2, running on a VPS.
Announce new versions of LRS on this thread and I'll join in with the new torrent.
Thank you!
EDIT: Just a suggestion, one of the important packages that SystemRescueCD always lacked was rng-tools. If you want to create encrypted partitions, you need entropy provided via rngd, and for that reason I often used the Kubuntu install CD in addition to, or instead of, SRCD when initially setting up a disk for Linux. Now that we have LRS and it's no longer capped at 700 MB, you might want to add sys-apps/rng-tools, with rngd disabled at boot, so that people can create encrypted partitions using LRS. |
Hey, why were the ISOs and torrents all deleted from Dropbox? Is there a new place the project is being hosted? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54244 Location: 56N 3W
|
Posted: Fri Dec 27, 2019 5:53 pm Post subject: |
|
|
redblade7,
20191224-LRS.vdi.zst is still on dropbox its 1.2 G and fairly newish too. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
redblade7 Tux's lil' helper
Joined: 11 Jan 2018 Posts: 104
|
Posted: Fri Dec 27, 2019 8:13 pm Post subject: |
|
|
NeddySeagoon wrote: | redblade7,
20191224-LRS.vdi.zst is still on dropbox its 1.2 G and fairly newish too. |
Can you install VDI on a jump drive or do you need VirtualBox for that? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54244 Location: 56N 3W
|
Posted: Fri Dec 27, 2019 8:17 pm Post subject: |
|
|
redblade7,
You can convert all the virtual drive formats among themselves.
The physical media does not matter. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
sabayonino Veteran
Joined: 03 Jan 2012 Posts: 1014
|
Posted: Sat Dec 28, 2019 12:30 pm Post subject: |
|
|
Hi guys !
As testing RAW image available on my dropbox (Shared link) . It works on my PC and others that I've tested. (mostly Intel Chipsets and some AMD Ryzen , thanks Xdarma for testing )
*.img is a raw image you can put on USB/SDD/SATA harddrive using :
Rosa image builder
app-cdr/isoimagewriter
Or BalenaEtcher
Or simply decompress .zst file to device target (see LRS.info)
FSA (fsarchiver) and VDI (VirtualBox drive) files are also available , please configure the 3 partitions before using Fsarchiver as explained on LRS.info file.
It can boot from grub2 on hybrid BIOS+UEFI boot. (only UEFI if restored by FSA file archive)
Image can be updated and you'll have a pure Gentoo system on your USBstick/Hdd
Please keep in mind that performances can be different from USB chipsets and controller. But should be works fine with low I/O .
Memo for Nvidia+Intel Video cards : If the system won't boot try to disable ACPI and choose VESA video driver.
Root has a XFS filesystem 'cause it can grow the filesystem on a running and mounted partition. RAW image has 7.7Gb data size (~4.4 GB files size). It can be put on >=8GB drive and it can use all the free space .
Just for fun !
Happy new 2020 !
USB Performance
PS : I've tested *.img file on different USB devices.
Lexar Media, Inc. JumpDrive Tough S75 3.0 128GB : Works but very low performance on write
Lexar Media, Inc. JumpDrive Tough ?? Model 3.0 32GB : Works fine with few write operations . High I/O go to freeze
Kingston Technology DataTraveler 100 G3/G4/SE9 G2 : Freeze at boot
SanDisk Corp. Ultra ??? 2.0 : works but very slow
SanDisk SD8SNAT1 (SSD 256GB) via USB adapter : Works fine.
SanDisk SD8SNAT1 (SSD 256GB on SATA controller) : Works fine
Other USB 2.0 devices : Works with very slow performances
Other USB 3.0 devices : Some USB works with low I/O , others are very slow with partial freeze.
PPS : No more free space on my dropbox to keep old ISOs .. I'm looking for other free cloud/share solutions , I'm trying to boot LRS on ISO9960 running Isolinux and keep all the tools that i've installed (DVD will be needed). _________________ LRS i586 on G.Drive
LRS x86-64 EFI on MEGA |
|
Back to top |
|
|
sabayonino Veteran
Joined: 03 Jan 2012 Posts: 1014
|
|
Back to top |
|
|
redblade7 Tux's lil' helper
Joined: 11 Jan 2018 Posts: 104
|
Posted: Mon Dec 30, 2019 6:32 pm Post subject: |
|
|
Are you going to continue to make available the ISO and torrent? |
|
Back to top |
|
|
Elleni Veteran
Joined: 23 May 2006 Posts: 1270
|
Posted: Mon Dec 30, 2019 9:05 pm Post subject: |
|
|
I have a question, but did not want to mess this thread with support, so asked in a separate thread. Maybe someone sees my probably obvious error? |
|
Back to top |
|
|
sabayonino Veteran
Joined: 03 Jan 2012 Posts: 1014
|
Posted: Mon Dec 30, 2019 9:22 pm Post subject: |
|
|
redblade7 wrote: |
Are you going to continue to make available the ISO and torrent? |
I can try to share latest torrents as soon as possible if you need the ISO
As I wrote , I'll try to build an updated DVD-ISO _________________ LRS i586 on G.Drive
LRS x86-64 EFI on MEGA |
|
Back to top |
|
|
Elleni Veteran
Joined: 23 May 2006 Posts: 1270
|
Posted: Tue Dec 31, 2019 2:05 am Post subject: |
|
|
I have two questions, while updating I got ccache error indicating portage could not create temporary file. Is this a known issue? Then I have no sound, with hd-audio. I thought I should report, as its a quite common device. For now, I have removed ccache from features to do an initial world update, and I'll look into the sound issue once system is up to date. A general question as I don't quite understand usermanagement on these livesystems; where can I configure a login with restricted user with mandatory password for login? I am asking, as an usb stick can be forgot or lost. And the normal setup seems to be that there is an autologin, with an account without password, where I can change to root by just typing su and hitting enter without password. How can this be changed towards a behaviour of a normal setup? I tried to passwd from within root, but that does not seem to persist. I also tried to create a user, but that doesn't seem usefull when a reboot & a startx followed by su gets me admin rights. On the other side, when I install something, or change some settings, those seem to persist, so it is aparently not a read only system. I would be grateful if someone could enlighten me. Thanks a lot for your great work. |
|
Back to top |
|
|
sabayonino Veteran
Joined: 03 Jan 2012 Posts: 1014
|
Posted: Tue Dec 31, 2019 1:12 pm Post subject: |
|
|
Elleni wrote: | I have two questions, while updating I got ccache error indicating portage could not create temporary file. Is this a known issue? Then I have no sound, with hd-audio. I thought I should report, as its a quite common device. For now, I have removed ccache from features to do an initial world update, and I'll look into the sound issue once system is up to date. A general question as I don't quite understand usermanagement on these livesystems; where can I configure a login with restricted user with mandatory password for login? I am asking, as an usb stick can be forgot or lost. And the normal setup seems to be that there is an autologin, with an account without password, where I can change to root by just typing su and hitting enter without password. How can this be changed towards a behaviour of a normal setup? I tried to passwd from within root, but that does not seem to persist. I also tried to create a user, but that doesn't seem usefull when a reboot & a startx followed by su gets me admin rights. On the other side, when I install something, or change some settings, those seem to persist, so it is aparently not a read only system. I would be grateful if someone could enlighten me. Thanks a lot for your great work. |
you can find your answers here.
CCACHE :
/var/ccache directory must be exists ! (I'll remove this directory and its contents to save image size but I kept to build LRS system in my chroot environment )
Code: | # mkdir -p /var/ccache && chown portage:portage -R /var/ccache |
AUDIO : All audio supprt should be disable to kernel config and no "alsa" or "pulseaudio" flag is/are enable to make.conf.
For LRS purposes no audio (or printer and others) support is enabled _________________ LRS i586 on G.Drive
LRS x86-64 EFI on MEGA |
|
Back to top |
|
|
Maitreya Guru
Joined: 11 Jan 2006 Posts: 441
|
Posted: Tue Dec 31, 2019 3:52 pm Post subject: |
|
|
Is there any way for us to share in the build process? |
|
Back to top |
|
|
sabayonino Veteran
Joined: 03 Jan 2012 Posts: 1014
|
Posted: Tue Dec 31, 2019 5:30 pm Post subject: |
|
|
There isn't any repository (like GIT,CVS ...) .
No code to share.
SImply I play in chroot environment on a loop device of a RAW image and I build the system just like gentoo chroot installation.
See LRS.info file
Quote: | ╦ ┬┬ ┬┌─┐╦═╗┌─┐┌─┐┌─┐┬ ┬┌─┐┬─┐┬ ┬╔═╗┬ ┬┌─┐┌┬┐┌─┐┌┬┐
║ │└┐┌┘├┤ ╠╦╝├┤ │ │ │└┐┌┘├┤ ├┬┘└┬┘╚═╗└┬┘└─┐ │ ├┤ │││
╩═╝┴ └┘ └─┘╩╚═└─┘└─┘└─┘ └┘ └─┘┴└─ ┴ ╚═╝ ┴ └─┘ ┴ └─┘┴ ┴
Author : sabayonino
Contact : sabayonino@gmail.com
URL : https://www.gentoo.org
Forum profile : https://forums.gentoo.org/profile.php?mode=viewprofile&u=272470
=======================================================
=== INTRO ===
This is my own project to replace SystemRescucecd ISO image. Just for fun.
Anyone can do this.
LRS raw image is bootable on BIOS/UEFI systems running Grub2
It is based on Gentoo AMD64 no-multilib. It was build from stage3
LRS raw image can be install on any USB/HDD device
USB/HDD Min size : >=8 GB (8GB should be tiny , depends on USB chipset)
After install LRS on device , you can update and manage the OS just like a real installation.
Raw ZSTD compressed image to USB/HDD device (replace /dev/sd<?>: according your preferences)
#1
zstd -d -c -v LRS.img.zst -o /dev/sd<?>
#2
zstd -d -v -c LRS.img.zst | dd of=/dev/sd<?> bs=4M conv=sync,noerror
#3 Uncompress zstd running using mutiple CPU thread (-T# )
zstd -d -v -k -T4 LRS.img.zst
You'll have a raw image LRS.img
You can "burn" LRS.img running your favourite tools like DD/DCFLDD , Rosa image writer , Balena Etcher etc..
#4
cat LRS.img > /dev/sd<?>
=== Manage the raw file ===
You can mount LRS raw image and update the image :
Example /dev/loop0 is considered and you may have different:
# losetup --find --show LRS.img
/dev/loop0
# partprobe /dev/loop0
# fdsik -l /dev/loop0
Disk /dev/loop0: 7,5 GiB, 8074035200 bytes, 15769600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 700981BF-1069-491E-B47C-B3CA35C35A5C
Device Start End Sectors Size Type
/dev/loop0p1 2048 4095 2048 1M BIOS boot
/dev/loop0p2 4096 208895 204800 100M EFI System
/dev/loop0p3 208896 15769566 15560671 7,4G Linux filesystem
Mount the /dev/loop0p3 (the root filesystem) /dev (and /dev/shm) /proc /sys filesystem according on https://wiki.gentoo.org/wiki/Chroot
chroot in /dev/loop0p3.
Do anything.
Exit and umount all filesystems
losetup -d /dev/loop0
==== FSArchiver image as partition(s) backup ====
# fsarchiver archinfo LRS.fsa
====================== archive information ======================
Archive type: filesystems
Filesystems count: 2
Archive id: 5e017c41
Archive file format: FsArCh_002
Archive created with: 0.8.5
Archive creation date: 2019-12-24_22-56-11
Archive label: 20191224-LRS Backup
Minimum fsarchiver version: 0.6.4.0
Compression level: 15 (zstd level 15)
Encryption algorithm: none
===================== filesystem information ====================
Filesystem id in archive: 0
Filesystem format: vfat
Filesystem label: NO NAME
Filesystem uuid: <none>
Original device: /dev/loop0p2
Original filesystem size: 98.45 MB (103227392 bytes)
Space used in filesystem: 122.00 KB (124928 bytes)
===================== filesystem information ====================
Filesystem id in archive: 1
Filesystem format: xfs
Filesystem label: LRS Filesyst
Filesystem uuid: 2fbc173a-ee88-43f3-a4f2-889224b05631
Original device: /dev/loop0p3
Original filesystem size: 7.41 GB (7956574208 bytes)
Space used in filesystem: 4.18 GB (4489015296 bytes)
=== You can rewrite LRS.fsa as backup (/dev/loop0p2 and /dev/loop0p3 must be probered) ====
# fsarchiver savefs LRS.fsa /dev/loop0p2 /dev/loop0p3 -Z14 -J6 -L"LRS Label if needed" --exclude=/usr/portage -v
==== Create your own RAW sparse image with fixed size (Example 15 GB) ====
# truncate -s 15G MyImage.img
Partitioning your image (GPT , BIOS/UEFI boot)
# sgdisk --clear \
--new 1::+1M --typecode=1:ef02 --change-name=1:'BIOS boot partition' \
--new 2::+100M --typecode=2:ef00 --change-name=2:'EFI System' \
--new 3::-0 --typecode=3:8300 --change-name=3:'LRS filesystem' \
MyImage.img
Keep in mind : You must install and configure your favourite bootloader just like GRUB2
Have a fun !
|
_________________ LRS i586 on G.Drive
LRS x86-64 EFI on MEGA |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Thu Jan 02, 2020 5:46 pm Post subject: |
|
|
I'm just trying to update the last Gentoo based Sysrescuecd per the instructions on the CD. Besides the copy not working (error messages), I found that only the 32 bit apps were copied. Am I correct that sysrescuecd boots either a 32 bit or 64 bit kernel, but even if booting a 64-bit kernel, all the applications are 32-bit?
Trying to feel my way through the process.
I found it neccesary to turn off pam (as I have on all of my machines). Why would a rescue CD have multiple seats? |
|
Back to top |
|
|
|