Results 1 to 1 of 1
Hi!
As I told here , I am trying to install gentoo in an external USB hard drive
spencerf suggested a link where the problem seems to be fixed.
The ...
- 05-03-2005 #1Just Joined!
- Join Date
- May 2005
- Posts
- 3
[USB] Creating my own initrd (solved)
Hi!
As I told here, I am trying to install gentoo in an external USB hard drive
spencerf suggested a link where the problem seems to be fixed.
The problem now is that when I try to copy from the previous initrd mounted directory to the new one initrd it grows almost 13 times!
I do not know what can it be wrong. Does it have any relation with the block size? I am just copying from one directory to another.Code:# mount initrd.mdk -o loop /mnt/images # du /mnt/images ... 1699 /mnt/images/bin ... 2099 # cp -R /mnt/images/* /root/myInitrd # du /root/myInitrd ... 35264 /root/myInitrd/bin ... 35784
I am not creating the initrd.img with the params given because if I do, the files do not fit, so I just create I directory to see how big it was ... 35MiB!
Thanks in advance
-------------
Edit:
Although I have not solved the growing problem I have done what I wanted.
I have edited the linuxrc of the initrd and added a few lines:
* I have created the '/dev/sda*' manually with the mknod tool.
* I have added a sleep because the problem seems to be related with a delay in the detection progress: once I have created the /dev/sda5 device, this it not accesible, but after a while it is.
I hope no one has to deal with that problem but I left that here just in case.
Thanks to all


Reply With Quote
