Debugging Installation

From Proxmox VE
Revision as of 17:04, 1 April 2011 by Martin (talk | contribs) (added maxroot and swapsize)
Jump to navigation Jump to search

Debugging Proxmox VE Install on some Mainboards

Boot typing debug at the boot prompt - this will give you a shell a various places - simple press Ctrl-D to continue the installer. After the installer shows the error, press abort to get a console.

Then check if the HD device is detected and how it is named:

# ls /sys/block/

What is the content of

# cat /sys/block/sd<X>/removable

Maybe it is marked as removable drive?

For Example:

#ls /sys/block
hdc  ram0  ram10  ram12  ram14  ram2  ram4  ram6  ram8
ram1  ram11  ram13  ram15  ram3  ram5  ram7  ram9  sda  sdb
#cat /sys/block/sd[ab]/removable
1
1

Limit the size of root and swap (maxroot and swapsize)

The installer creates LVM volumes for the root file-system and swap, based on the total disk size. If you want to limit these volumes (make it smaller), just type on the boot prompt of the installation ISO.

Example for 10 GB root file-system and 4 GB swap:

linux maxroot=10 swapsize=4    

Other Cheat Codes

During the initial boot while installing ProxMox from the CD, for some Mainboards, it might be necessary to use one or more of the following cheat codes (boot parameters):

vga=normal
noapic
noacpi
mem=512M

To use these codes, you would type something like:

debug mem=512M

At the installation boot prompt.