Wed Oct 22, 2014 3:58 pm
Wed Oct 22, 2014 4:21 pm
Wed Oct 22, 2014 4:53 pm
the config file, which normally goes into that directory I dare not name.
Thu Oct 23, 2014 12:34 am
[email protected] /home/user % ./refractainstaller
### WARNING: Not running from live-CD or live-USB ###
### or unsupported configuration. Be sure you know ###
### what you are doing. This may not work. ###
Press ENTER to proceed or ctrl-c to exit.
if ! [[ -d /lib/live/mount/medium ]] ; then
[email protected] /home/user % ls /lib/live
ls: cannot access /lib/live: No such file or directory
bin boot dev etc home lib lib64 livemnt media mnt opt proc root run sbin sys target tftpboot tmp usr var
Thu Oct 23, 2014 12:38 am
Disable auto-login?
(Y/n)
Y
Copying update-initramfs...
Creating etc/fstab...
Mounting tmpfs and proc...
Exit due to error: 1
See /var/log/refractainstaller_error.log for details.
[email protected] /home/user % cat /var/log/refractainstaller_error.log
262144+0 records in
262144+0 records out
268435456 bytes (268 MB) copied, 2.70438 s, 99.3 MB/s
sed: can't read /target etc/hostname: No such file or directory
Usage:
mount [-lhV]
mount -a [options]
mount [options] [--source] <source> | [--target] <directory>
mount [options] <source> <directory>
mount <operation> <mountpoint> [<target>]
Options:
-a, --all mount all filesystems mentioned in fstab
-c, --no-canonicalize don't canonicalize paths
-f, --fake dry run; skip the mount(2) syscall
-F, --fork fork off for each device (use with -a)
-T, --fstab <path> alternative file to etc/fstab
-h, --help display this help text and exit
-i, --internal-only don't call the mount.<type> helpers
-l, --show-labels lists all mounts with LABELs
-n, --no-mtab don't write to etc/mtab
-o, --options <list> comma-separated list of mount options
-O, --test-opts <list> limit the set of filesystems (use with -a)
-r, --read-only mount the filesystem read-only (same as -o ro)
-t, --types <list> limit the set of filesystem types
--source <src> explicitly specifies source (path, label, uuid)
--target <target> explicitly specifies mountpoint
-v, --verbose say what is being done
-V, --version display version information and exit
-w, --rw, --read-write mount the filesystem read-write (default)
-h, --help display this help and exit
-V, --version output version information and exit
Source:
-L, --label <label> synonym for LABEL=<label>
-U, --uuid <uuid> synonym for UUID=<uuid>
LABEL=<label> specifies device by filesystem label
UUID=<uuid> specifies device by filesystem UUID
PARTLABEL=<label> specifies device by partition label
PARTUUID=<uuid> specifies device by partition UUID
<device> specifies device by path
<directory> mountpoint for bind mounts (see --bind/rbind)
<file> regular file for loopdev setup
Operations:
-B, --bind mount a subtree somewhere else (same as -o bind)
-M, --move move a subtree to some other place
-R, --rbind mount a subtree and all submounts somewhere else
--make-shared mark a subtree as shared
--make-slave mark a subtree as slave
--make-private mark a subtree as private
--make-unbindable mark a subtree as unbindable
--make-rshared recursively mark a whole subtree as shared
--make-rslave recursively mark a whole subtree as slave
--make-rprivate recursively mark a whole subtree as private
--make-runbindable recursively mark a whole subtree as unbindable
For more details see mount(8).
Thu Oct 23, 2014 1:36 am
# mount stuff so grub will behave (so chroot will work)
echo -e "\n Mounting tmpfs and proc...\n"
mount -t tmpfs --bind /dev/ /target/dev/ ; check_exit
mount -t proc --bind /proc/ /target/proc/ ; check_exit
mount -t sysfs --bind /sys/ /target/sys/ ; check_exit
~$ tree -d -L 4 /lib/live/mount
├── medium
│ ├── isolinux
│ ├── live
│ └── pkglist_jessie_sysv.2-20141022_2114
├── overlay
└── rootfs
└── filesystem.squashfs
├── bin
├── boot
│ └── grub
├── dev
├── etc
│ ├── acpi
│ ├── alternatives
│ ├── apm
│ ├── apt
│ ├── bash_completion.d
│ ├── ca-certificates
│ ├── calendar
│ ├── chatscripts
│ ├── console
│ ├── console-setup
│ ├── cron.d
│ ├── cron.daily
│ ├── cron.hourly
│ ├── cron.monthly
│ ├── cron.weekly
│ ├── dbus-1
│ ├── default
│ ├── dhcp
│ ├── dictionaries-common
│ ├── discover.conf.d
│ ├── dkms
│ ├── dpkg
│ ├── emacs
│ ├── exim4
│ ├── fonts
│ ├── fstab.d
│ ├── gconf
│ ├── gftp
│ ├── ghostscript
│ ├── gimp
│ ├── groff
│ ├── grub.d
│ ├── gss
│ ├── gtk-2.0
│ ├── gtk-3.0
│ ├── iceweasel
│ ├── ifplugd
│ ├── init
│ ├── init.d
│ ├── initramfs-tools
│ ├── insserv
│ ├── insserv.conf.d
│ ├── iproute2
│ ├── kbd
│ ├── kernel
│ ├── ldap
│ ├── ld.so.conf.d
│ ├── libnl-3
│ ├── libpaper.d
│ ├── live
│ ├── logcheck
│ ├── logrotate.d
│ ├── lvm
│ ├── lynx-cur
│ ├── mc
│ ├── menu
│ ├── menu-methods
│ ├── modprobe.d
│ ├── Muttrc.d
│ ├── network
│ ├── newt
│ ├── opt
│ ├── pam.d
│ ├── perl
│ ├── pm
│ ├── ppp
│ ├── profile.d
│ ├── pulse
│ ├── python
│ ├── python2.6
│ ├── python2.7
│ ├── rc0.d
│ ├── rc1.d
│ ├── rc2.d
│ ├── rc3.d
│ ├── rc4.d
│ ├── rc5.d
│ ├── rc6.d
│ ├── rcS.d
│ ├── request-key.d
│ ├── rsyslog.d
│ ├── samba
│ ├── sane.d
│ ├── security
│ ├── selinux
│ ├── sensors.d
│ ├── sgml
│ ├── skel
│ ├── smartmontools
│ ├── ssh
│ ├── ssl
│ ├── sudoers.d
│ ├── sysctl.d
│ ├── systemd
│ ├── terminfo
│ ├── texmf
│ ├── tmpfiles.d
│ ├── udev
│ ├── ufw
│ ├── vim
│ ├── w3m
│ ├── wicd
│ ├── wireshark
│ ├── wpa_supplicant
│ ├── X11
│ ├── xdg
│ ├── xml
│ └── xpdf
├── home
│ └── user
├── lib
│ ├── cryptsetup
│ ├── discover
│ ├── firmware
│ ├── hdparm
│ ├── i386-linux-gnu
│ ├── ifupdown
│ ├── init
│ ├── live
│ ├── lsb
│ ├── modprobe.d
│ ├── modules
│ ├── modules-load.d
│ ├── security
│ ├── startpar
│ ├── systemd
│ ├── sysvinit
│ ├── terminfo
│ ├── udev
│ └── xtables
├── lost+found [error opening dir]
├── media
├── mnt
├── opt
├── proc
├── root [error opening dir]
├── run
├── sbin
├── srv
├── sys
├── tmp
├── usr
│ ├── bin
│ ├── games
│ ├── include
│ ├── lib
│ ├── local
│ ├── sbin
│ ├── share
│ └── src
└── var
├── backups
├── cache
├── lib
├── local
├── lock -> /run/lock
├── log
├── mail
├── opt
├── run -> /run
├── spool
└── tmp
178 directories
Thu Oct 23, 2014 1:05 pm
Thu Oct 23, 2014 1:59 pm
Thu Oct 23, 2014 4:50 pm
Thu Oct 23, 2014 4:53 pm