]>
git.proxmox.com Git - pve-installer.git/blob - unconfigured.sh
8 for par
in $
(cat /proc
/cmdline
); do
21 getty
38400 tty1
-i -n -l /bin
/bash
28 /etc
/init.d
/networking stop
30 # stop udev (release file handles)
33 echo -n "Deactivating swap..."
34 swap
=$
(grep /dev
/proc
/swaps
);
35 if [ -n "$swap" ]; then
41 umount
-l -n /etc
/network
/run
44 umount
-l -n /dev
/.static
/dev
47 umount
-l -n /target
>/dev
/null
2>&1
52 umount
-l -n /var
/lib
/xkb
62 echo "\nInstallation aborted - unable to continue (type exit or CTRL-D to reboot)"
67 echo "Starting Proxmox installation"
69 PATH
=/sbin
:/bin
:/usr
/sbin
:/usr
/bin
:/usr
/X11R
6/bin
71 mount
-n -t proc proc
/proc
72 mount
-n -t tmpfs tmpfs
/tmp
73 mount
-n -t tmpfs tmpfs
/var
/tmp
74 mount
-n -t tmpfs tmpfs
/var
/log
75 mount
-n -t tmpfs tmpfs
/var
/run
76 mount
-n -t tmpfs tmpfs
/var
/lib
/xkb
77 mount
-n -t sysfs sysfs
/sys
81 # always load most common input drivers
82 modprobe
-q psmouse ||
/bin
/true
83 modprobe
-q sermouse ||
/bin
/true
84 modprobe
-q usbhid ||
/bin
/true
86 # load device mapper - used by lilo
87 modprobe
-q dm_mod ||
/bin
/true
89 echo "Installing additional hardware drivers"
92 /etc
/init.d
/udev start
94 # used by if up down scripts
95 mount
-t tmpfs none
/dev
/shm
96 mkdir
/dev
/shm
/network
97 mount
-t tmpfs tmpfs
/etc
/network
/run
105 # try to get ip config with dhcp
106 echo -n "Detecting network settings... "
107 /etc
/init.d
/networking start
>/dev
/tty2
2>&1
110 xinit
-- -dpi 96 >/dev
/tty2
2>&1
112 if [ $proxdebug -ne 0 ]; then
113 echo "Debugging mode (type exit or CTRL-D to reboot)"
117 echo "Installation done, rebooting... "
118 #mdadm -S /dev/md0 >/dev/tty2 2>&1