]>
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 /target
>/dev
/null
2>&1
51 echo "\nInstallation aborted - unable to continue (type exit or CTRL-D to reboot)"
56 echo "Starting Proxmox installation"
58 PATH
=/sbin
:/bin
:/usr
/sbin
:/usr
/bin
:/usr
/X11R
6/bin
60 mount
-n -t proc proc
/proc
61 mount
-n -t sysfs sysfs
/sys
65 # always load most common input drivers
66 modprobe
-q psmouse ||
/bin
/true
67 modprobe
-q sermouse ||
/bin
/true
68 modprobe
-q usbhid ||
/bin
/true
70 # load device mapper - used by lilo
71 modprobe
-q dm_mod ||
/bin
/true
73 echo "Installing additional hardware drivers"
76 /etc
/init.d
/udev start
81 # try to get ip config with dhcp
82 echo -n "Detecting network settings... "
83 /etc
/init.d
/networking start
>/dev
/tty2
2>&1
86 xinit
-- -dpi 96 >/dev
/tty2
2>&1
88 # just to be sure everything is on disk
91 if [ $proxdebug -ne 0 ]; then
92 echo "Debugging mode (type exit or CTRL-D to reboot)"
96 echo "Installation done, rebooting... "
97 #mdadm -S /dev/md0 >/dev/tty2 2>&1