Author |
Message |
sunburnt

Joined: 08 Jun 2005 Posts: 5087 Location: Arizona, U.S.A.
|
Posted: Sun 11 Oct 2009, 03:34 Post subject:
Made initrd.gz cpio file, but it won`t boot... [Solved] |
|
Here`s the command I used to make the initrd.gz file:
Code: | find $DIR -print | cpio -o | gzip -9 > initrd.gz_NEW |
I get the error: Can`t mount root file system on unknown block .............
Any ideas anyone?
Last edited by sunburnt on Mon 12 Oct 2009, 00:01; edited 1 time in total
|
Back to top
|
|
 |
Patriot

Joined: 15 Jan 2009 Posts: 734
|
Posted: Sun 11 Oct 2009, 06:00 Post subject:
Re: Made initrd.gz cpio file, but it won`t boot... |
|
Hmmm .....
Code: | find $DIR -print | cpio -o | gzip -9 > initrd.gz_NEW |
That will borks the directory structure ... You need to go into the $DIR first :
Code: | cd $DIR
find . | cpio -o -H newc | gzip -9 > ../initrd.gz.new |
That's close enough to what my own script does ....
Rgds
Fixed: format used
._.
Last edited by Patriot on Sun 11 Oct 2009, 08:36; edited 1 time in total
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 5087 Location: Arizona, U.S.A.
|
Posted: Sun 11 Oct 2009, 06:09 Post subject:
|
|
Thanks Patriot, I`ll give it a go...
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 5087 Location: Arizona, U.S.A.
|
Posted: Sun 11 Oct 2009, 06:25 Post subject:
|
|
Nope... Sorry to say it still has the same error!
Kernel panic, can`t mount root file system on unknown block..........
I tried it on Pup400 that I`m experimenting with,
and MediaPup I`m code hacking so it won`t copy the SFS to ram (256MB).
|
Back to top
|
|
 |
Patriot

Joined: 15 Jan 2009 Posts: 734
|
Posted: Sun 11 Oct 2009, 08:38 Post subject:
|
|
Hmm .....
Bummer ... this copy/cut-n-paste thing sure makes for easy typo errs ... I normally specify the format too ...
Rgds
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 5087 Location: Arizona, U.S.A.
|
Posted: Sun 11 Oct 2009, 13:38 Post subject:
|
|
Sorry again Patriot, I did as you suggested and checked my command line.
Yep... It`s wrong!
I`m writing this from MediaPup, my Hack: "don`t load SFS to 256MB ram" worked!
Many thanks for your help... Terry
|
Back to top
|
|
 |
|