On Wed, Aug 24, 2016 at 09:12:28PM +1000, Philip Rhoades wrote: > I would like > a Fedora Rescue CD that will do everything that SystemRescueCd does: > > http://www.system-rescue-cd.org/Download > > which is based on Gentoo and is only 480MB - when I build a base Fedora iso > from the Kickstarter file it is over 800MB ! > > I wondered if it was actually possible to produce a Fedora rescue CD like > SystemRescueCd - and so I started looking and found LFS. Now I am wondering > if I could "kill two birds with one stone" ie learn more about how Linux is > installed onto a HD and then gradually develop that OS to the stage where I > can continue to use DNF in the usual way? > I've never tried to build my own x86 rescue CD, I just use systemrescuecd. For my skylake I have to use an older version (latest worked fine on the basic machine, but then failed to complete its loading after I'd installed an add-on SATA card).
In principal it ought to support recovering fedora. For chrooting to LFS I often forget I need to use 'SHELL=/bin/bash chroot ...' (systemrescue uses zsh). Nothing wrong with building your own tool(s), but I don't quite understand your "continue to use DNF" - if the fedora system lets you login, I guess you can use DNF. For me, rescue means one of: (i) I screwed something up (unbalanced grub.cfg is the main one these days - I nest the multiple systems in their own submenus) and cannot boot. (ii.) I changed something re the disk, /etc/fstab on each system now needs to be changed to match. (iii.) For distros, something I thought would be a trivial change stopped it booting (I've done that with both fedora and OpenSuSe earlier this year - sometimes I fixed it, sometimes I wrote them off because they were only there to try building LFS from them). ĸen -- `I shall take my mountains', said Lu-Tze. `The climate will be good for them.' -- Small Gods -- http://lists.linuxfromscratch.org/listinfo/lfs-chat FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
