On Fri, 2006-09-08 at 15:10 +0200, Nico Berndt wrote:
> Me again,
> 
> Argh, I don't get it together!
> - I don't have enough understanding of the booting process to understand 
> how I tell the system to uncompress the ramdisk and mount its content 
> into RAM as the /root filesystem.
> 
> I understand linuxrc should contain all the needed commands but I don't 
> know what steps exactly have to be done.
> 
> Also I don't understand what my /etc/fstab should look like.
> Is there anything else I forgot? Once /root is mounted it should not 
> matter, if the system runs on a harddisk or in RAM, right?
> 
> Maybe someone can point out these things for me?
> 
> Best regards,
> ../nico

Ah, your problem actualy is that you don't know how it works :-)
so the best you could probably do is a:
"less /usr/src/linux/Documentation/initrd.txt"

but may be you don't want to do that
which bootloader do you want to use? grub?
grub works fine with usb-flashdisks

you don't want to run your system on a flash-disk ... it would not last
long enough ...


hm your /boot/grub/menu.lst could look like this:
-----
default 1
timeout 50

title usb-ram-system
kernel (hd0,0)/boot/[your-kernel vga=6 rw \
  ramdisk=[size of uncompressed initrd image] prompt_ramdisk=0 \
  init=[your init] root=/dev/ram
initrd (hd0,0)/boot/[your initrd.gz]
-----


-- 
  H
CUH Rainer Peter Feller
  H

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to