mount.cifs is not included in initramfs, so netboot=cifs doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: initramfs-tools
This bug being reported and fixed in Debian over a year ago still exists in lucid lynx LTS 10.04.1 Daily (Aug 16, 2010):
http://<email address hidden>
Essentially, mount.cifs is missing from the initramfs, so it's impossible to use the netboot=cifs option on the kernel append parameters.
I'm currently looking for a solution to just insert the mount.cifs into the initramfs.
It would also be nice if there were actually some indicator as to what the problem is when it's encountered by the initramfs scripts.
Currently it displays:
nfsmount: need a server
nfsmount: need a server
nfsmount: need a server
nfsmount: need a server
nfsmount: need a server
...
Changed in initramfs-tools (Ubuntu): | |
status: | New → Confirmed |
It seems something more is needed in order to get it to work properly. Performing the following results in initramfs saying this when attempting to mount the root file system:
mount error: cifs filesystem not supported by the system
mount error(19): No such device
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
nfsmount: need a server
nfsmount: need a server
nfsmount: need a server
...
To get mount.cifs into the initrd, first you must have install mount.cifs
To do this run:
# sudo apt-get install smbfs
Found some instructions here: /help.ubuntu. com/community/ LiveCDCustomiza tion
https:/
# mkdir lztempdir filenames
# cd lztempdir
# lzma -dc -S .lz ../initrd.lz | cpio -imvd --no-absolute-
Then do:
# cp `which mount.cifs` sbin/mount.cifs
Then pack it back up:
# find . | cpio --quiet --dereference -o -H newc | lzma -7 > ../initrd.cifs.lz