]>
git.proxmox.com Git - pve-installer.git/blob - unconfigured.sh
8 for par
in $
(cat /proc
/cmdline
); do
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 /dev
/.static
/dev
44 umount
-l -n /target
>/dev
/null
2>&1
49 umount
-l -n /var
/lib
/xkb
59 echo "\nInstallation aborted - unable to continue (type exit or CTRL-D to reboot)"
64 echo "Starting Proxmox installation"
66 PATH
=/sbin
:/bin
:/usr
/sbin
:/usr
/bin
:/usr
/X11R
6/bin
68 mount
-n -t proc proc
/proc
69 mount
-n -t tmpfs tmpfs
/tmp
70 mount
-n -t tmpfs tmpfs
/var
/tmp
71 mount
-n -t tmpfs tmpfs
/var
/log
72 mount
-n -t tmpfs tmpfs
/var
/run
73 mount
-n -t tmpfs tmpfs
/var
/lib
/xkb
74 mount
-n -t sysfs sysfs
/sys
78 # always load most common input drivers
79 modprobe
-q psmouse ||
/bin
/true
80 modprobe
-q sermouse ||
/bin
/true
81 modprobe
-q usbhid ||
/bin
/true
83 # load device mapper - used by lilo
84 modprobe
-q dm_mod ||
/bin
/true
86 echo "Installing additional hardware drivers"
89 /etc
/init.d
/udev start
94 # try to get ip config with dhcp
95 echo -n "Detecting network settings... "
96 /etc
/init.d
/networking start
>/dev
/tty2
2>&1
99 xinit
-- -dpi 96 >/dev
/tty2
2>&1
101 if [ $proxdebug -ne 0 ]; then
102 echo "Debugging mode (type exit or CTRL-D to reboot)"
106 echo "Installation done, rebooting... "
107 #mdadm -S /dev/md0 >/dev/tty2 2>&1