Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved?]Can I continue compiliation after reboot?
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
ferrumcccp
n00b
n00b


Joined: 11 Mar 2020
Posts: 2

PostPosted: Wed Mar 11, 2020 1:29 am    Post subject: [Solved?]Can I continue compiliation after reboot? Reply with quote

I was running
Code:
emerge --ask --verbose --update --deep --newuse @world
when I forgot it and shut down my machine.
When I rebooted it, I remounted the disk and ran these:
Code:

root #mount --types proc /proc /mnt/gentoo/proc
root #mount --rbind /sys /mnt/gentoo/sys
root #mount --make-rslave /mnt/gentoo/sys
root #mount --rbind /dev /mnt/gentoo/dev
root #mount --make-rslave /mnt/gentoo/dev

Then I chrooted and ran
Code:
emerge --ask --verbose --update --deep --newuse @world
again.
Is it OK to continue compiliation? If not, what should I do to fix it?
_________________
-- Gao Tiesuan


Last edited by ferrumcccp on Wed Mar 11, 2020 2:18 am; edited 1 time in total
Back to top
View user's profile Send private message
jfp
Guru
Guru


Joined: 08 Jul 2007
Posts: 319
Location: Virginia, USA

PostPosted: Wed Mar 11, 2020 2:09 am    Post subject: Reply with quote

You can't restart whatever was compiling at the time of the shutdown, However you can resume the
Quote:
Code:
emerge --ask --verbose --update --deep --newuse @world

by simply isuuing the same emerge command. Nothing that had completed compilation will get recompiled. That stuff is already done.

You can try
Code:
emerge --resume
as well, although whether that works depends on whether you have run other emerges.
Essentially, in this case both methods are equivalent.
_________________
jfp
Back to top
View user's profile Send private message
ferrumcccp
n00b
n00b


Joined: 11 Mar 2020
Posts: 2

PostPosted: Wed Mar 11, 2020 2:19 am    Post subject: Reply with quote

thx
_________________
-- Gao Tiesuan
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