Friday, May 31, 2024

Tuesday, May 28, 2024

VirtualBox USB enumeration error solved in fedora 40



When opening virtualbox first time in linux you might see a pop up message like

USB enumeration error




This fix will probably solve a lot of the problems you might have with VirtualBox 7.0. For your user to do a number of things with VirtualBox, it must be a member of the vboxusers group. Unfortunately, the installation of VirtualBox 7.0 doesn’t add your user to that group, so you have to do it manually.



Fortunately, this is simple. Open a terminal window and issue the command:

sudo usermod -aG vboxusers $USER

Log out of the desktop and log back in. Start VirtualBox 7.0, and you should see those errors have vanished.



Source:https://www.techrepublic.com/article/fix-virtualbox-usb-error/


Install gns3 using dnf in fedora40

 dnf search gns3


you will see tha packages gns3-server gns3-gui


sudo dnf install gns3-server gns3-gui

Search for VrtualBox and install using dnf in fedora 40

dnf search virtualbox


you will see VirtualBox package available 

 

sudo dnf install VirtualBox



Setting the fastest mirror on dnf on fedora 40



Setting the fastest mirror for DNF

sudo vi /etc/dnf/dnf.conf

then should add to this file the following line:

fastestmirror=true



save and exit



sudo dnf update

 

See the version of fedora you installed in terminal



type the following command: 

cat /etc/fedora-release 

and press Enter

 

 

Thursday, May 16, 2024

Diskpart - Can't delete a partition without the force protected parameter set solved





You need to add the override option: 

delete partition override

Source:https://superuser.com/questions/1077372/diskpart-cant-delete-a-partition-without-the-force-protected-parameter-set

Remove Ubuntu from duel boot configuration with windows 11

 go to recovery

restart windows and go to uefi

select windows boot manager and position it above ubuntu entry


restart

delete all ubuntu partitions using diskmgmt.msc

then

> diskpart  
> list disk       # select the primary disk
> select disk 0   # disk 0 is
> list partition   # a list of partition is opened

Note-> Check which is the system partition (example partition 1 is system partition)

> select partition 1  #select the system partition
> assign letter=x     #disk is now mounted in your explorer verify with (windows+E)
>exit    #exit from diskpart
>x:      # this would select this newly mounted disk x:
> dir  # displays content
> cd efi
>dir   #displays content

Note-> You can now see the OS check your Linux OS

>rd ubuntu /S    #if Linux os is Ubuntu
>y               #to confirm delete

 

 

Source:https://askubuntu.com/questions/921046/how-to-remove-ubuntu-from-boot-menu-after-deleting-ubuntu-partition-in-windows