Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
awk is missing after stage4 clone
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
mayhew
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2013
Posts: 77

PostPosted: Fri Oct 03, 2014 7:04 pm    Post subject: awk is missing after stage4 clone Reply with quote

I made a stage 4 using this script ( http://blinkeye.ch/dokuwiki/doku.php/projects/mkstage4 ) and extracted it into an identical laptop, i than found that env-update was missing. to fix that i cleared the drive and started by extracting a stage3 than extracted the stage4 on top of it. now ive found that awk is missing.

so i have a few questions:
1: is there a better way to clone a os, i've tried clonezilla but it wasn't able to unpack on a different system (or is there a specific way to clonezilla a system for transfer to similar systems with different hdd's)?

2:can one emerge awk? i know there's the virtual/awk but that requires awk. which ebuild might have awk?
_________________
:)
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Oct 03, 2014 7:11 pm    Post subject: Reply with quote

Not familiar with that script. Alas, it's possible that other things are missing. Awk is provided by sys-apps/gawk, which is part of the @system set, which means your clone is borked. Emerge gawk --oneshot, like so (if it will):
Code:
emerge --oneshot gawk
However, it would probably be better use of your time to do a more correct clone.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Fri Oct 03, 2014 7:27 pm    Post subject: Re: awk is missing after stage4 clone Reply with quote

mayhew wrote:
1: is there a better way to clone a os, i've tried clonezilla but it wasn't able to unpack on a different system (or is there a specific way to clonezilla a system for transfer to similar systems with different hdd's)?

Yes, rsync or rsnapshot would be a much more elegant solution.

Your stage4 problems are quite puzzling. I've done a few of those myself, but I never experience anything like that. I would say that an emerge -e @system and possibly and emerge -e @world might be a reasonable precaution.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
creaker
l33t
l33t


Joined: 14 Jul 2012
Posts: 651

PostPosted: Fri Oct 03, 2014 7:37 pm    Post subject: Reply with quote

Seems your mkstage4 script abandoned (last update at 2005).
Why wouldn't to go a straightforward stage4 creation way:
http://www.gentoo-wiki.info/HOWTO_Custom_Stage4
it's pretty simple and clear.
Back to top
View user's profile Send private message
kurly
Apprentice
Apprentice


Joined: 02 Apr 2012
Posts: 260

PostPosted: Fri Oct 03, 2014 9:34 pm    Post subject: Reply with quote

creaker wrote:
Seems your mkstage4 script abandoned (last update at 2005).
Why wouldn't to go a straightforward stage4 creation way:
http://www.gentoo-wiki.info/HOWTO_Custom_Stage4
it's pretty simple and clear.

And that was last updated in 2008. The Gentoo Wiki is at http://wiki.gentoo.org/
Back to top
View user's profile Send private message
creaker
l33t
l33t


Joined: 14 Jul 2012
Posts: 651

PostPosted: Fri Oct 03, 2014 10:36 pm    Post subject: Reply with quote

kurly wrote:

And that was last updated in 2008. The Gentoo Wiki is at http://wiki.gentoo.org/


There just one command: tar. And tar works till now.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Sat Oct 04, 2014 2:56 pm    Post subject: Reply with quote

off topic: but they do not stayed on the old path that some directories should do what they were intended to do. you may run into problems. File system hiearchy standard or what it was called in teh old days.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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