On Thu, Feb 07, 2013 at 11:26:54AM +0800, Wang Weber wrote:
> Hi,
> 
> In my case, when Linux boots up, the initrd is unpacked and mounted as the
> temporary root fs. The scripts in the initrd are called by init process.
> One of the script will read the command line options (/proc/cmdline) and
> get the string such as "root=???" and dose switch root to that partition.

  Thanks !
  
  A newbie question: Which address in RAM does grub pass its cmdline to ?  
  

> 
> 2013/2/6 horseriver <[email protected]>
> 
> > hi:)
> >
> >   In grub command line , there is a command which is "root =/dev/sda1".
> >
> >   May I ask ,what is the use of this command ?Does it set the root device
> >   in kernel ? and how does kernel use this set ?
> >
> >   the more detailed ,the better.
> >
> >
> > thanks!
> >
> >
> >
> >
> >
> > _______________________________________________
> > Help-grub mailing list
> > [email protected]
> > https://lists.gnu.org/mailman/listinfo/help-grub
> >

_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to