Re: How to find the root partition with root=dhcp root-path=iscsi:::...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2009-06-18 at 19:01 +0200, Harald Hoyer wrote:
> On 06/18/2009 06:06 PM, Warren Togami wrote:
> > On 06/18/2009 10:30 AM, Harald Hoyer wrote:
> >> If we have root=dhcp and root-path from dhcp with "iscsi::... " nothing
> >> is know about the partition where root lives in.
> >>
> >> RFC:
> >> provide a pre-mount fallback, which tries to mount
> >>
> >> /dev/disk/by-label/\x2f (LABEL=/)
> >> /dev/disk/by-label/ROOT (LABEL=ROOT)
> >
> > I think this was the intent of netroot=dhcp for remote block device
> > protocols, then you can define something else in root=. Whether it is
> > implemented yet I don't know.
> >
> > Warren
> 
> Well, but the root-path does not specify the root partition!
> Either we extend the iscsi:::: spec with a root partition or we make 
> requirements like I did above.

The RFC only says we need to boot off the LUN specified, 0 if none
listed. That's your default partition.

It's workable, as these can be virtual disks anyways, but as Warren
mentions, we can extend the RFC.

Also, you can specify root=LABEL=ROOT or root=/dev/sda1 etc and it
should work, or at least it used to with the netroot= code. I haven't
tested it this week -- vacation.
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux