lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.61.0612022253280.25553@yvahk01.tjqt.qr>
Date:	Sat, 2 Dec 2006 22:56:38 +0100 (MET)
From:	Jan Engelhardt <jengelh@...ux01.gwdg.de>
To:	Willy Tarreau <w@....eu>
cc:	William Estrada <MrUmunhum@...dial.com>,
	linux-kernel@...r.kernel.org
Subject: Re: Mounting NFS root FS


>> > I have been trying to make FC5's kernel do a boot with an NFS root file
>> > system.  I see
>> > the support is in the kernel(?).  I have tried this:
>> >
>> >> root=/dev/nfs nfsroot=10.1.1.12:/tftpboot/NFS/Root_FS
>> 
>> This feature is almost deprecated. One is supposed to use initramfs,
>> /sbin/ip or some DHCP client, and a mount program nowadays.
>
>But I think that there are plenty of light terminals still booting like
>this which will not be able to upgrade anymore then. Even right here,
>my web server (parisc) boot from the network that way. At least an
>initramfs would need to be able to cope with the same syntax,

No problem:

<<</init<<<
#!/bin/bash

for o in `cat /proc/cmdline`; do
    case "$o" in
        nfsroot=*)
            arg="${o##nfsroot=}";
            ;;
    esac;
done;

### further parse $arg
>>>

simplified example of how this can be accomplished. This is why
initrds/initramfs are so much more powerful than in-kernel software.


	-`J'
-- 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ