[SOLVED] SLES 11 SP3 IDE to VirtIO SCSI

m4ak

New Member
Mar 26, 2021
10
1
1
42
Run SLES 11 SP3 on Proxmox 6.3, now disk mode is IDE, want to change to Virtio SCSI

My information is as follows:

cat /etc/issue

Welcome to SUSE Linux Enterprise Server 11 SP3 (x86_64) - Kernel \r (\l).


lsmod | grep virtio
virtio_net 23032 0
virtio_balloon 13267 0
virtio_pci 17783 0
virtio_ring 16374 3 virtio_net,virtio_balloon,virtio_pci
virtio 14222 3 virtio_net,virtio_balloon,virtio_pci

Virtio_blk is not installed, I don't know if there is any impact.

cat /etc/fstab
/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part2 swap swap defaults 0 0
/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part1 / ext3 acl,user_xattr 1 1
/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part9 /archive ext3 acl,user_xattr 1 2
/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part3 /boot ext3 acl,user_xattr 1 2
/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part8 /home ext3 acl,user_xattr 1 2
/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part10 /opt ext3 acl,user_xattr 1 2
/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part7 /tmp ext3 acl,user_xattr 1 2
/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part5 /usr ext3 acl,user_xattr 1 2
/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part6 /var ext3 acl,user_xattr 1 2

cat /boot/grub/menu.lst
# Modified by YaST2. Last modification on Thu Jan 14 16:49:32 CST 2021
default 2
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,2)/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux Enterprise Server 11 SP3 - 3.0.101-0.47.106.8 (bigsmp)
root (hd0,2)
kernel /vmlinuz-3.0.101-0.47.106.8-bigsmp root=/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part1 Installation resume=/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part2 splash=silent crashkernel=256M-:128M showopts vga=0x384
initrd /initrd-3.0.101-0.47.106.8-bigsmp

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE Linux Enterprise Server 11 SP3 - 3.0.101-0.47.106.8 (bigsmp)
root (hd0,2)
kernel /vmlinuz-3.0.101-0.47.106.8-bigsmp root=/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part1 showopts ide=nodma apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x384
initrd /initrd-3.0.101-0.47.106.8-bigsmp

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux Enterprise Server 11 SP3 - 3.0.101-0.47.106.8 (default)
root (hd0,2)
kernel /vmlinuz-3.0.101-0.47.106.8-default root=/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part1 Installation resume=/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part2 splash=silent crashkernel=256M-:128M showopts vga=0x384
initrd /initrd-3.0.101-0.47.106.8-default

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE Linux Enterprise Server 11 SP3 - 3.0.101-0.47.106.8 (default)
root (hd0,2)
kernel /vmlinuz-3.0.101-0.47.106.8-default root=/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part1 showopts ide=nodma apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x384
initrd /initrd-3.0.101-0.47.106.8-default

###Don't change this comment - YaST2 identifier: Original name: linux###
title Ec2 -- SUSE Linux Enterprise Server 11 SP3 - 3.0.101-0.47.106.8
root (hd0,2)
kernel /vmlinuz-3.0.101-0.47.106.8-ec2 root=/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part1 Installation resume=/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part2 splash=silent crashkernel=256M-:128M showopts vga=0x384
initrd /initrd-3.0.101-0.47.106.8-ec2

###Don't change this comment - YaST2 identifier: Original name: linux###
title Trace -- SUSE Linux Enterprise Server 11 SP3 - 3.0.101-0.47.106.8
root (hd0,2)
kernel /vmlinuz-3.0.101-0.47.106.8-trace root=/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part1 Installation resume=/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part2 splash=silent crashkernel=256M-:128M showopts vga=0x384
initrd /initrd-3.0.101-0.47.106.8-trace

###Don't change this comment - YaST2 identifier: Original name: xen###
title Xen -- SUSE Linux Enterprise Server 11 SP3 - 3.0.101-0.47.106.8
root (hd0,2)
kernel /xen.gz vga=mode-0x384
module /vmlinuz-3.0.101-0.47.106.8-xen root=/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part1 Installation resume=/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part2 splash=silent showopts vga=0x384
module /initrd-3.0.101-0.47.106.8-xen

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux Enterprise Server 11 SP3 - 3.0.101-0.47.55
root (hd0,2)
kernel /vmlinuz-3.0.101-0.47.55-default root=/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part1 Installation resume=/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part2 splash=silent crashkernel=256M-:128M showopts vga=0x384
initrd /initrd-3.0.101-0.47.55-default

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE Linux Enterprise Server 11 SP3 - 3.0.101-0.47.55
root (hd0,2)
kernel /vmlinuz-3.0.101-0.47.55-default root=/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part1 showopts ide=nodma apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x384
initrd /initrd-3.0.101-0.47.55-default

cat /boot/grub/device.map
(hd0) /dev/disk/by-id/ata-QEMU_HARDDISK_QM00001

cat /etc/sysconfig/kernel | grep INITRD_MODULES
INITRD_MODULES="ata_piix ata_generic"
DOMU_INITRD_MODULES="xennet xenblk"



KCM guest SLES 11 SP2 only working with ide? no virtio possible? | Proxmox Support Forum

Refer to the solution here, is it possible to perform the following steps?

1、Modify FSTAB
2, modify /boot/grub/Menu.lst
3, modify /boot/grub/device.map
4, modify / etc / sysconfig / kernel
5, mkinitrd

I tried to change the FSTAB and MENU.LST to / dev / by-id / ata-qemu_harddisk_qm00001-part section, did not modify other operations, change the disk to Virtio SCSI in the virtual machine configuration file The system cannot be started. Restore the configuration in FSTAB and MENU.LST, and the virtual disk is changed back to IDE, and the system can start normally.

Ask for help, thank you very much.
 
  • Like
Reactions: DonKiszon

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!