View previous topic :: View next topic |
Author |
Message |
mayhew Tux's lil' helper
Joined: 25 Feb 2013 Posts: 77
|
Posted: Fri Oct 03, 2014 7:04 pm Post subject: awk is missing after stage4 clone |
|
|
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 |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Oct 03, 2014 7:11 pm Post subject: |
|
|
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 |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Fri Oct 03, 2014 7:27 pm Post subject: Re: awk is missing after stage4 clone |
|
|
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 |
|
|
creaker l33t
Joined: 14 Jul 2012 Posts: 651
|
Posted: Fri Oct 03, 2014 7:37 pm Post subject: |
|
|
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 |
|
|
kurly Apprentice
Joined: 02 Apr 2012 Posts: 260
|
Posted: Fri Oct 03, 2014 9:34 pm Post subject: |
|
|
And that was last updated in 2008. The Gentoo Wiki is at http://wiki.gentoo.org/ |
|
Back to top |
|
|
creaker l33t
Joined: 14 Jul 2012 Posts: 651
|
Posted: Fri Oct 03, 2014 10:36 pm Post subject: |
|
|
There just one command: tar. And tar works till now. |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Sat Oct 04, 2014 2:56 pm Post subject: |
|
|
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 |
|
|
|