Proxmox installation onto a usb hard drive

D4ftpunk

New Member
May 21, 2009
3
0
1
Hello, i have a maxtor basics portable usb hard drive, when trying proxmox on this device, the installation runs smoothly, however upon booting into the system, it fails to mount pve onto /mnt, tries 5 times and then there is a kernel panic (i think the drive wasn't syncing), any ideas if this is a known issue with external usb devices?
 
Hello, i have a maxtor basics portable usb hard drive, when trying proxmox on this device, the installation runs smoothly, however upon booting into the system, it fails to mount pve onto /mnt, tries 5 times and then there is a kernel panic (i think the drive wasn't syncing), any ideas if this is a known issue with external usb devices?

I never tested this.
 
I have exactly the same problem when I installed to a 500GB external USB drive. Doesn't find its root partition via the parameter /dev/mapper/pve-root.

Is there some other way to tell it (in Grub's menu.lst) which device is root?

The USB drive is /dev/sdb.

Unfortunately, it also re-wrote the mbr on /dev/sda, which is my dual-boot Windows and Ubuntu (Wubi) install, so now I have to find out how to restore a decent boot block there. Any hints on that would be appreciated.
 
I fixed my /dev/sda MBR, so all is well on that front.

As for the PVE on the external USB, here is the approach I am trying:

i booted the notebook into Ubuntu, installed lvm and kpvm, and mounted pve-root and pve-data under /mnt/pve-root and /mnt/pve-data, respectively.

Mounted another external drive under /mnt/extra, and then tarred up pve-root as pve-root.tar and pve-data as pve-data.tar.

Unmounted the pve fs, and removed the LVM partition from the drive.
Created separate partitions for root, data, and swap matching the size of the LVM fs set up by the pve install, created ext3 filesystems.

Mounted them as /mnt/pve-root and /mnt/pve-data, now restoring the tar files.

Then I will adjust the Grub menu.lst to use /dev/sdb2 ( hd(1,1) ) as the root device, and will adjust /etc/fstab to mount the right partitions, as well.

Then we shall see :)

This may not be advisable for a production machine, but then I would not run a production machine off an external USB drive, anyway. For testing and playing around with various appliances it should do, at least until I can afford to buy another 2.5" SATA disk for this notebook so I can install it directly.

UPDATE: It seems to work, I had create grub entries in the /boot/grub/menu.lst file of my Ubuntu install on the first hard disk, since there is no mbr on the USB disk. Gave me some error messages while booting but in the end it mounted everything and seems to work.
 
Last edited:

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!