Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] How to save the state of the installation to pause
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Nepumuk
n00b
n00b


Joined: 14 Oct 2019
Posts: 3

PostPosted: Mon Oct 14, 2019 3:38 pm    Post subject: [solved] How to save the state of the installation to pause Reply with quote

I experienced the installation process of the system as quite lengthy. Can I (with little effort) save a current installation state and resume it at a later point in time?

Maybe it's also complicated because I'd like to install besides my daily working distro…


Last edited by Nepumuk on Mon Jan 20, 2020 8:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45383
Location: 56N 3W

PostPosted: Mon Oct 14, 2019 4:06 pm    Post subject: Reply with quote

Nepumuk,

Welcome to Gentoo.

You can do all that. That you are installing beside other operating systems is of no consequence.
Te get back to your install as it was when you left it follow the handbook again up to and including the chroot steps *except* the destructive steps.
Do not make partitions - you will remount your part installed partitions.
Do not make any filesystems - you want your Gentoo install back as was.
Do not install the stage3. - this would wipe out your partial install.

Once back inside the chroot, its just as you left it.

If you shut down with an emerge runnnig, portage will restart the package in progress from the beginning of the package when you continue the install.

The above process is just the same as you need to recover after you mess up your kernel and don't have a working one in reserve.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Nepumuk
n00b
n00b


Joined: 14 Oct 2019
Posts: 3

PostPosted: Sat Jan 18, 2020 4:33 pm    Post subject: Reply with quote

Thanks for the definite and fast answer.

Meanwhile, I'm stuck here.
Up to there, everything went well, but I'm not sure wether to unpack the *.ko.gz files…
Code:
(chroot) livecd /usr/src/linux # find /lib/modules/* -iname '*.*o*'
/lib/modules/4.19.86-gentoo
/lib/modules/4.19.86-gentoo/modules.softdep
/lib/modules/4.19.86-gentoo/modules.order
/lib/modules/4.19.86-gentoo/modules.symbols
/lib/modules/4.19.86-gentoo/modules.symbols.bin
/lib/modules/4.19.86-gentoo/kernel/drivers/firmware/efi/efi-pstore.ko.gz
/lib/modules/4.19.86-gentoo/kernel/drivers/firmware/efi/efivars.ko.gz
/lib/modules/4.19.86-gentoo/kernel/drivers/firmware/efi/efibc.ko.gz
/lib/modules/4.19.86-gentoo/kernel/crypto/tcrypt.ko.gz
/lib/modules/4.19.86-gentoo/kernel/net/ipv4/netfilter/nf_log_arp.ko.gz
/lib/modules/4.19.86-gentoo/kernel/net/ipv4/netfilter/ipt_MASQUERADE.ko.gz
/lib/modules/4.19.86-gentoo/kernel/net/ipv4/netfilter/nf_nat_ipv4.ko.gz
/lib/modules/4.19.86-gentoo/kernel/net/ipv4/netfilter/nf_log_ipv4.ko.gz
/lib/modules/4.19.86-gentoo/kernel/net/ipv4/netfilter/iptable_nat.ko.gz
/lib/modules/4.19.86-gentoo/kernel/net/netfilter/xt_LOG.ko.gz
/lib/modules/4.19.86-gentoo/kernel/net/netfilter/nf_nat_irc.ko.gz
/lib/modules/4.19.86-gentoo/kernel/net/netfilter/nf_nat_ftp.ko.gz
/lib/modules/4.19.86-gentoo/kernel/net/netfilter/xt_addrtype.ko.gz
/lib/modules/4.19.86-gentoo/kernel/net/netfilter/nf_log_common.ko.gz
/lib/modules/4.19.86-gentoo/kernel/net/netfilter/nf_nat_sip.ko.gz
/lib/modules/4.19.86-gentoo/kernel/net/netfilter/xt_nat.ko.gz
/lib/modules/4.19.86-gentoo/kernel/net/netfilter/nf_nat.ko.gz
/lib/modules/4.19.86-gentoo/kernel/net/netfilter/xt_mark.ko.gz
/lib/modules/4.19.86-gentoo/kernel/net/ipv6/netfilter/nf_log_ipv6.ko.gz
/lib/modules/4.19.86-gentoo/kernel/fs/nls/nls_iso8859-13.ko.gz
/lib/modules/4.19.86-gentoo/kernel/fs/nls/nls_iso8859-14.ko.gz
/lib/modules/4.19.86-gentoo/kernel/fs/nls/nls_iso8859-7.ko.gz
/lib/modules/4.19.86-gentoo/kernel/fs/nls/nls_cp869.ko.gz
/lib/modules/4.19.86-gentoo/kernel/fs/nls/nls_koi8-r.ko.gz
/lib/modules/4.19.86-gentoo/kernel/fs/nls/nls_ascii.ko.gz
/lib/modules/4.19.86-gentoo/kernel/fs/nls/nls_koi8-u.ko.gz
/lib/modules/4.19.86-gentoo/kernel/fs/nls/nls_koi8-ru.ko.gz
/lib/modules/4.19.86-gentoo/kernel/fs/nls/nls_iso8859-5.ko.gz
/lib/modules/4.19.86-gentoo/kernel/fs/nls/nls_cp1250.ko.gz
/lib/modules/4.19.86-gentoo/kernel/fs/nls/nls_cp855.ko.gz
/lib/modules/4.19.86-gentoo/kernel/fs/nls/nls_cp866.ko.gz
/lib/modules/4.19.86-gentoo/kernel/fs/nls/nls_cp737.ko.gz[/url]


I also get an error message I can't handle (yet). I'm supposed to "update config files" when trying the next (sub-)step: Installing firmware. # man 5 emerge didn't help me out here…

Code:
(chroot) livecd /etc/portage # emerge --ask sys-kernel/linux-firmware

 * IMPORTANT: 6 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] sys-kernel/linux-firmware-20191215  USE="redistributable -initramfs -savedconfig (-unknown-license)"

The following license changes are necessary to proceed:
 (see "package.license" in the portage(5) man page for more details)
# required by sys-kernel/linux-firmware (argument)
=sys-kernel/linux-firmware-20191215 linux-fw-redistributable no-source-code

Would you like to add these changes to your config files? [Yes/No] y

Autounmask changes successfully written.

 * IMPORTANT: 7 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7405

PostPosted: Sat Jan 18, 2020 5:30 pm    Post subject: Reply with quote

Nepumuk wrote:
I also get an error message I can't handle (yet). I'm supposed to "update config files" when trying the next (sub-)step: Installing firmware. # man 5 emerge didn't help me out here…

man 5 portage is not man 5 emerge :)
read https://wiki.gentoo.org/wiki//etc/portage/package.license and you will see the light
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 15294

PostPosted: Sat Jan 18, 2020 5:31 pm    Post subject: Reply with quote

Use etc-update or dispatch-conf to process the pending configuration updates. etc-update is very simple to use. dispatch-conf is more featureful, but more complicated. For a new system and new user, I'd suggest etc-update for now. Once you have complicated customizations you want to keep, you may want the greater power of dispatch-conf.
Back to top
View user's profile Send private message
Goverp
l33t
l33t


Joined: 07 Mar 2007
Posts: 835

PostPosted: Sun Jan 19, 2020 11:08 am    Post subject: Reply with quote

(and by the time you have a full graphics desktop, you might enjoy "etc-proposals")
_________________
Greybeard
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45383
Location: 56N 3W

PostPosted: Sun Jan 19, 2020 11:31 am    Post subject: Reply with quote

Nepumuk,

There is no need to unpack the *.ko.gz
They are compressed kernel modules and the kernel should be happy to load them that way.

sys-kernel/linux-firmware is subject to the linux-fw-redistributable and no-source-code licences, which are not accepted for you by default.

As you are using autounmask, portage writes a file for you to use to change your configuration.
Thats one of the
Code:
IMPORTANT: 7 config files in '/etc/portage' need updating.
files.

Others have already indicated how you do that.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum