Re: How do we want to handle configuring network boot devices?

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

 





Harald Hoyer wrote:
Ok, I updated
https://apps.sourceforge.net/trac/dracut/wiki/commandline
for the boot mechanism we should support in our first version. I removed the URI style root, because I misread the iscsi root path syntax the first time (no "//" involved).

Please correct/extend the list.

suggestions:

root=dhcp
< get IP from dhcp server, root-path option from dhcp specifies root location ---
get IP from dhcp server, root-path option from dhcp specifies root location, implies ip=dhcp

NFS
< root=[<server-ip>:]<root-dir>[,<nfs-options>]
< root=??? nfsroot=[<server-ip>:]<root-dir>[,<nfs-options>]
---
root=nfs:[<server-ip>:]<root-dir>[,<nfs-options>]
root=/dev/nfs nfsroot=[<server-ip>:]<root-dir>[,<nfs-options>]

or
< root=[<server-ip>:]<root-dir>[,<nfs-options>]
< root=??? nfsroot=[<server-ip>:]<root-dir>[,<nfs-options>]
---
root=nfs:[<server-ip>:]<root-dir>[,<nfs-options>]
root=[ignored] nfsroot=[<server-ip>:]<root-dir>[,<nfs-options>]

[ignored] applies to nbd, etc as well.


For e.g. password/user authentication, we have to inject conf files in the cpio archive, because /proc/cmdline is readable by everyone or use the dhcp root_path or other dhcp options.

I really suggest to ignore authenticated networks and -mounts for now. dracut v2 can handle that...

--
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