Hi, I am trying to learn linux.I have following doubts: 1.In which files/directory we initialize bootlog.which files i have to change in order to modify boot log. how to make a process run as daemon process. 2.Also about linux boot sequence,help/tutorial on linux boot sequence. 3.Major steps in bringing up the new custom evm board. 4.Things to know in order to write the bootloader. Thanks and Regards, Mayank
Hi Mayank, On Mon, Nov 28, 2011 at 5:12 PM, Mayank Agarwal <mayank77fromindia@gmail.com> wrote: > Hi, > > I am trying to learn linux.I have following doubts: > > 1.In which files/directory we initialize bootlog.which files i have to > change in order to modify boot log. > how to make a process run as daemon process. Will you elobrate a bit. boot log is just message printing , it can be seen on screen/ or in log file based on your configuraion. > > 2.Also about linux boot sequence,help/tutorial on linux boot sequence. you can go through the code/ or lots of document available. > 3.Major steps in bringing up the new custom evm board. 1. Need to know Info about h/w 2. If some similar arch exists in arch/**/board* you can refer and modify. > 4.Things to know in order to write the bootloader. Why to reinvent the wheel, already uboot ( Free source availabe) > > Thanks and Regards, > Mayank > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > >
Hi, I have a very silly question. I was building a small hand made root filesystem (with busybox and such) just to show how the process would be done. Something pretty similar to free-electrons 'embedded linux from scratch' (http://free-electrons.com/docs/elfs/) but on a usb device (pen-drive). So, I put me kernel, busybox and stuff and installed lilo onto the mbr. The problem is when the kernels boots it can't find the usb partition (sdc1) to mount (i.e. the root device). I know the usual way to do this is using initrd or similar, but I don't want to get that into the equation since the whole project is just for educational purposes and I want to keep things as simple as possible. Ezequiel.
On Wed, Nov 30, 2011 at 12:23:39PM -0800, Ezequiel García wrote:
Hi,
I have a very silly question. I was building a small hand made root filesystem (with busybox and such) just to show how the process would be done.
Something pretty similar to free-electrons 'embedded linux from scratch' (http://free-electrons.com/docs/elfs/) but on a usb device (pen-drive). So, I put me kernel, busybox and stuff and installed lilo onto the mbr.
The problem is when the kernels boots it can't find the usb partition (sdc1) to mount (i.e. the root device).
I know the usual way to do this is using initrd or similar, but I don't want to get that into the equation since the whole project is just for educational purposes and I want to keep things as simple as possible.
Then just pass the command line option to sleep for a while before looking for the root device. I do that just fine on my tiny dns server that runs from a USB flash drive. Look in Documentation/kernel-parameters.txt for the rootdelay= option for more details as to what to do. Hope this helps, greg k-h
--- El mié 30-nov-11, Greg KH <greg@kroah.com> escribió:
Then just pass the command line option to sleep for a while before looking for the root device. I do that just fine on my tiny dns server that runs from a USB flash drive.
Look in Documentation/kernel-parameters.txt for the rootdelay= option for more details as to what to do.
It worked like a charm. Looking at kernel-parameters.txt, I also came across rootwait option. If someone reads this and is trying something similar (using lilo) you may find this useful: http://lkml.indiana.edu/hypermail/linux/kernel/1105.2/03866.html Thanks, Ezequiel.
participants (4)
-
Ezequiel García -
Greg KH -
Mayank Agarwal -
naveen yadav