[PVE-User] proxmox initrd and "root=LABEL=/"

Dietmar Maurer dietmar at proxmox.com
Tue Dec 16 09:04:20 CET 2008


> 
> For my automated proxmox installs I prefer not having / on lvm, I
chose
> to have / (including /boot) on the first partition. I also prefer the
> following grub configuration
> 
>         root (hd0,0)
>         kernel /boot/vmlinuz-2.6.24-1-pve root=LABEL=/ ro
>         initrd /boot/initrd.img-2.6.24-1-pve
> 
> over the "root=/dev/something" parameter writing. However, the proxmox
> initrd doesn't like that:
> 
> 	/init: line 189: syntax error: 0xLABEL=/ & 255
> 	Kernel panic - not syncing: Attempting to kill init!
> 
> Any ideas of a workaround? or do you think the root=/dev/something is
> indispensable for some reason? (why?)

The initrd need a device (name or number). FS labels does not work.

> And one more question - does it have a special reason that / is on LVM
> by default? I can't think of a reason why I could benefit of LVM for /
> in comparison to having it on a dedicated partition, which aspect did
I
> forget? :-)

Management advantages. You can do many useful things with lvm (resize,
snapshot, migrate
data from one disk to another, ...). But it is not strictly needed.

- Dietmar




More information about the pve-user mailing list