Manually select boot device every reboot after pcie sata controller passthrough

lxiosjao

Member
Mar 21, 2021
63
1
13
Hello,

Since I passthrough my sata controller to my ubuntu-server VM, I have to manually select OS disk in the console every reboot of the vm.
In the boot option (GUI proxmox) there is only the possibility to put the pci controller first (but not the disk).
Any idea how am I supposed to do it automatically ?

Thanks for your help
 
Last edited:
hey,

I have 2 satacontrollers on the MB.
- marvell
- intel

Why is it important ?
If you passing through the firstt sata controller, it's hard for your host if you cut is disk access... You need to be sure that (in mind....) you've passed through the nordbridge sata controller. The south bridge is used by default by Host.
 
If you passing through the firstt sata controller, it's hard for your host if you cut is disk access... You need to be sure that (in mind....) you've passed through the nordbridge sata controller. The south bridge is used by default by Host.
okey
Used for the host :
1. Sata controller Intel : proxmox

Used for the guest :
2. Sata controller Marvell (guest) --> passthrough : SSD with ubuntu-server + HDD disk (zfs)

How can I check if the Marvell is the northbridge sata controller ?
The intel is necessarily the southbridge, right?
 
Last edited:
okey
Used for the host :
1. Sata controller Intel : proxmox

Used for the guest :
2. Sata controller Marvell (guest) --> passthrough : SSD with ubuntu-server + HDD disk (zfs)

How can I check if the Marvell is the northbridge sata controller ?
The intel is necessarily the southbridge, right?
Is your Marvel controller PCI card? If yes or no,check that xD : https://forum.proxmox.com/threads/trying-to-pass-through-a-sata-controller-on-the-motherboard.99192/

You need to blacklist your Marvel controler for stop his use by the host

PS: don't recover my sata controller documenttation... ^^ Ask to google :)
 
Is your Marvel controller PCI card? If yes or no,check that xD : https://forum.proxmox.com/threads/trying-to-pass-through-a-sata-controller-on-the-motherboard.99192/

You need to blacklist your Marvel controler for stop his use by the host

PS: don't recover my sata controller documenttation... ^^ Ask to google :)
The Marvell controller is a chip on the motherboard.
I'm going to check that, thanks

edit : Can you help me to blacklist for stop his use by the host ?
 
Last edited:
I know how to make that for a GPU, but never done for another chipset type.

I drop you the how to for a GPU:
https://pve.proxmox.com/wiki/Pci_passthrough

I think theses points interrests you:
- "2." Check for your CPU model
- "4." Preventing bad shutdown caused by shutdown by a VM
- "6,7,8"

Other points are really specified for GPU passthrough ^^" But, you're not passtroughing a GPU card, blacklisting is'nt maybe necessary.

EDIT: after found this older post, it's seems you need to enable vfio modules ;) :
https://forum.proxmox.com/threads/sata-controller-passthrough.42695/

It's seems it's a complete topic, wich you can solve your problem :)
 
The passthrough seems to be ok from the vm.
Code:
06:00.0 SATA controller : Marvell Technology Group Ltd.  SATA 6Gb/s Controller  (rev 11)
    Subsystem: Computer Inc.  SATA 6Gb/s Controller ]
    Kernel driver in use: vfio-pci
    Kernel modules: ahci



Code:
SeaBIOS ( version .........)
Machine UUID ................
No bootable device. Retrying in 1 second.
Rebooting
But I still have to select the OS SSD in the console GUI when the VM reboot :-(
(press ESC for boot menu and press 1 to select the OS disk)
 
Last edited:
The passthrough seems to be ok from the vm.
Code:
06:00.0 SATA controller : Marvell Technology Group Ltd.  SATA 6Gb/s Controller  (rev 11)
    Subsystem: Computer Inc.  SATA 6Gb/s Controller ]
    Kernel driver in use: vfio-pci
    Kernel modules: ahci



Code:
SeaBIOS ( version .........)
Machine UUID ................
No bootable device. Retrying in 1 second.
Rebooting
But I still have to select the OS SSD in the console GUI when the VM reboot :-(
(press ESC for boot menu and press 1 to select the OS disk)
Can you share the tab Options of your VM ? And can you check how the VM boot ?
 

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!