Upgrade Snafu!

hambleto

Member
Jun 2, 2008
55
0
6
Followed the upgrade step by step on two nodes. Rebooted on of them and it came right back up. However the other rebooted into the grub> prompt and I can't get anywhere beyond this.

Only difference between the two nodes is one has a raid 5 system and the other has a raid 0 drive. Any help will be greatly appreciated.

Thank you,
Ben
 
maybe you need to change the boot order in the bios (if you have more than one disk).

or change the boot device on the grub console:

root (hd1,0)

then boot.

Does that help?

- Dietmar
 
Command: root (hd1,0)
Result: Error 21: Selected Disk does not exist

Tried this:
Command: root( hd0,0)
Result: Filesystem type is ext2fs partition type 0x83

Command: boot
Result: Error 8: Kernel must be loaded before rebooting

I am at a loss. I am hoping this is an easy fix.
Thank you again,
Ben
 
try to press escape after setting the root device - the boot menu should show up then.

You can also boot using our CD-ROM, just type 'pveboot' at the cd boot prompt.

- Dietmar
 
I am downloading the CD now.

When I hit escape after the root (hd0,0) all I get is the GNU Grub version, ram info, and such) then some text about minimal bash.

FYI I just did another node upgrade and I have the same exact error on it...
 
You followed the upgrade instructions step by step? And there was no error or warning?

- Dietmar
 
I was able to boot using the CD. I have no network access and a ton of errors during start up. When I run pveversion -v I get the following:

pve-manager: 1.0-2 (pve-manager/1.0/3399)
qemu-server: 1.0-1
pve-kernel: Not correctly Installed
pve-kvm: Not correctly Installed
pve-firmware: Not Correctly Installed
vncterm: 0.9-1
vzctl: 3.0.22-3pve3
vzdump: 1.1-1
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1dso1

Since I have no network access (VMB won't come up) I can't access the outside world. Please tell me there is a simply way to install the packages from the cd?

Thank you again,
Ben
 
I am downloading the CD now.

When I hit escape after the root (hd0,0) all I get is the GNU Grub version, ram info, and such) then some text about minimal bash.

FYI I just did another node upgrade and I have the same exact error on it...

Looks like you did not installed the Kernel? Pls follow exaclty the update instructions and if something fails you got prompted.

For the failed updates, follow the instruction from Dietmar with the CD-ROM and install the pve Kernel.
 
How do I install the kernel and other packages when I do not have access network access from the node? I do have the CD and used the pveboot to start each node.
Thank you,
Ben
 
mount the cdrom:

> mount /dev/cdrom /mnt

packages should be then in /mnt/proxmox/packages/*

And why did you reboot when kernel install fails?!

- Dietmar
 
How do I install the kernel and other packages when I do not have access network access from the node? I do have the CD and used the pveboot to start each node.
Thank you,
Ben

  1. First, boot from the CD via "pveboot"
    (the system should start using the Kernel from the CD)
  2. Login and mount manually the CD-ROM into your filesystem
    Code:
    mount /dev/cdrom /mnt
  3. Code:
    cd /mnt/proxmox/packages
  4. Install the Kernel and the other missing packages:
    Code:
    dpkg -i pve-kernel-2.6.24-1-pve_2.6.24-4_amd64.deb
    dpkg -i pve-firmware_1.0_all.deb
    dpkg -i pve-kvm_75-1_amd64.deb
  5. Code:
    update-grub
  6. Reboot and test
 
Last edited:
maybe you also need to update the grub menu with 'update-grub'

make sure you have all packages installed (pveversion -v)

- Dietmar
 
O.k. one node is running fine!

The other node.. not so much. the network is now up (pve-firmware). However the pve-kernel and pve-kvm are still Not correctly Installed. When I go to install the pve-kvm I get this error:

Code:
Unpacking pve-kvm (from .../pve-kvm_75-1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/pve-kvm_75-1_amd64.deb (--unpack):
 trying to overwrite `/usr/bin/qemu-nbd', which is also in package pve-kvm-2.6.24
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/pve-kvm_75-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

none of the containers are running on this node either. Any suggestions/ thoughts? I have tried apt-get -f install and I get the following:

Code:
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  pve-kvm
The following NEW packages will be installed:
  pve-kvm
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/1325kB of archives.
After unpacking 4264kB of additional disk space will be used.
Do you want to continue [Y/n]? 
(Reading database ... 26684 files and directories currently installed.)
Unpacking pve-kvm (from .../pve-kvm_75-1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/pve-kvm_75-1_amd64.deb (--unpack):
 trying to overwrite `/usr/bin/qemu-nbd', which is also in package pve-kvm-2.6.24
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/pve-kvm_75-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
please remove package pve-kvm-2.6.24

dpkg -r pve-kvm-2.6.24

and install pve-kvm_75-1_amd64.deb and the new kernel correctly.

- Dietmar
 
It worked! Thank you so much.

I believe you are correct that I was not running beta 2. I think.. Anyway I can check for you or is it too late?
 
I will test upgrade from beta1 tomorrow and then update the upgrade instructions - thanks.

- Dietmar
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!