VirtualTam's bookmarks
-
2018-05-18 -
Here are the steps I used to migrate a CentOS 7 VM from (presumably?) an ESXi server, to a local VirtualBox environment.
The LVM volumes were not detected at boot, and after the boot timeout, the OS fell back to the Dracut emergency shell.
- get a CentOS minimal installation CD
- check the VM's resources and peripherals:
- ensure there are no floppy drives (!)
- setup CPU and RAM resources
- check virtual drives
- add an SCSI optical drive if needed
- optional: convert the virtual drive images from VMDK to VDI
- mount the CentOS installation disc
- boot on the installation disc:
- select "Troubleshooting", then "Rescue"
- let the rescue utility detect filesystems and mountpoints
$ chroot
to the detected environment- backup files:
/etc/fstab
/boot/grub/grub.cfg
- under /boot, backup the initrd and initramfs for the current configuration (these will be overwritten)
- compare the current
/etc/fstab
with the output of$ lsblk
and$ blkid
- if needed, manually edit /etc/fstab to use the appropriate block device UUIDs, identifiers and mountpoints
- regenerate GRUB configuration:
$ grub2-mkconfig -o /boot/grub2/grub.cfg
- if needed, reinstall GRUB:
$ grub-install /dev/sda
- rebuild initrd:
$ mkinitrd --force /boot/<initrd_image> <kernel_version>
- rebuild initramfs:
$ dracut --force <kernel_version>
- exit the chroot
- unmount the installation disc
- reboot
- optional but highly recommended: cross your fingers
- ...
- profit!
-
2018-04-03 -
https://superuser.com/questions/145933/how-to-add-usbnet-driver-to-the-linux-kernel#145944
-
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/usb/usbnet.c
-
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/usb/cdc_ether.c
-
https://raspberrypi.stackexchange.com/questions/9636/usb-to-usb-mimicking-ethernet
-
https://www.raspberrypi.org/forums/viewtopic.php?f=36&t=131042
-
https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=130810
-
https://www.raspberrypi.org/forums/viewtopic.php?p=865905#p865905
-
https://raspberrypi.stackexchange.com/questions/13917/raspberry-pi-communication-over-usb
-
https://developer.ridgerun.com/wiki/index.php/How_to_use_USB_device_networking
-
http://www.ev3dev.org/docs/tutorials/connecting-to-the-internet-via-usb/
-
2018-01-09 -
2018-01-05 - https://superuser.com/questions/510485/how-to-tell-which-physical-disks-have-bootable-mbr
- https://neosmart.net/wiki/fix-mbr/
- https://neosmart.net/wiki/reboot-and-select-proper-boot-device/
- https://askubuntu.com/questions/859685/how-to-delete-the-bootable-flag-of-a-partition
- https://superuser.com/questions/596919/how-to-set-boot-disk-flag-with-diskpart
-
2017-11-13 -
2017-08-24 -
2017-08-22 -
2017-03-30 -
2016-11-02 -
- https://wiki.linaro.org/LAVA
- https://wiki.debian.org/LAVA
- https://lava.debian.net/
- https://lava.debian.net/static/docs/v2/index.html
- https://validation.linaro.org/static/docs/v2/first-installation.html
- https://validation.linaro.org/static/docs/v2/pipeline-admin.html
- https://validation.linaro.org/static/docs/v2/development-intro.html
- https://www.linaro.org/blog/lava-blog/lava-fundamentals/
- https://git.linaro.org/?s=lava%2Flava
-
2016-01-29 -
2015-01-12 # /etc/modprobe.d/snd_usb_audio.conf options snd_usb_audio vid=<vid1>,<vid2> pid=<pid1>,<pid2> index=<index1>,<index2> enable=1,1
example:
# 5: M-Audio Fast Track Pro # 6: Focusrite Scarlett 6i6 options snd_usb_audio vid=0x763,0x1235 pid=0x2012,0x8012 index=5,6 enable=1,1
See also: http://alsa.opensrc.org/MultipleCards
-
2015-01-08 # list USB devices $ lsusb # list cards detected by ALSA $ cat /proc/asound/cards # list cards supported by PulseAudio $ pacmd list-cards | grep name: