Changeset 3098 in MondoRescue for branches/3.0/mindi
- Timestamp:
- Apr 26, 2013, 8:08:45 PM (11 years ago)
- Location:
- branches/3.0/mindi
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/mindi/README.pxe
r3036 r3098 11 11 label mondo 12 12 kernel vmlinuz-mondo 13 append initrd=initrd-mondo load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=131072 selinux=0 rw root=/dev/ram iso acpi=off apm=off devfs=nomount exec-shield=0 pxe [proto=nfs|sshfs ] [prefix=machine] [ipconf=(ipdev:ipadr:netmask:broadcast:gateway|ipdev:dhcp)] [hwaddr=M:A:C:A:D:R] [netfsmount=server:mountpoint] [netfsopt=-o option][netfspath=local_path] [ping=#] ...13 append initrd=initrd-mondo load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=131072 selinux=0 rw root=/dev/ram iso acpi=off apm=off devfs=nomount exec-shield=0 pxe [proto=nfs|sshfs|smbfs] [prefix=machine] [ipconf=(ipdev:ipadr:netmask:broadcast:gateway|ipdev:dhcp)] [hwaddr=M:A:C:A:D:R] [netfsmount=server:mountpoint] [netfsopt=-o option][netfspath=local_path] [ping=#] ... 14 14 15 15 ipdev is the device name (e.g. eth2) … … 20 20 dhcp is a keyword. Using it will provide all the previous 4 values to activate the LAN interface. 21 21 hwaddr is the MAC address of the device you want to use to restore through 22 proto is the protocol to use for mounting the remote share (default is NFS, sshfs isalso available)22 proto is the protocol to use for mounting the remote share (default is NFS, sshfs and smbfs are also available) 23 23 server is the ip addr of the Remote Network server 24 24 mountpoint is the mount point on the Remote Network server to use (if NFS, should be in /etc/exports of the NFS server) -
branches/3.0/mindi/rootfs/sbin/start-netfs
r2951 r3098 104 104 ln -sf /dev/console /dev/tty 105 105 sshfs -o ro,StrictHostKeyChecking=no $netfsopt $netfsmount /tmp/isodir 106 elif [ "$proto" = "smbfs" ]; then 107 LogIt "Mounting SMBFS share ($netfsmount) on /tmp/isodir..." 108 mount -t cifs $netfsopt $netfsmount /tmp/isodir -o ro 106 109 elif [ "$proto" != "" ]; then 107 110 if [ -x /sbin/rpcbind ]; then
Note:
See TracChangeset
for help on using the changeset viewer.