[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: root device
From: |
horseriver |
Subject: |
Re: root device |
Date: |
Thu, 7 Feb 2013 05:27:38 +0800 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
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 <address@hidden>
>
> > 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
> > address@hidden
> > https://lists.gnu.org/mailman/listinfo/help-grub
> >
- root device, horseriver, 2013/02/06
- Message not available
- Re: root device,
horseriver <=