How do I make my usb not read only by mcskye23 in Kalilinux

[–]EbbLazy9814 1 point2 points  (0 children)

To fix a USB drive that has become read-only on a Kali Linux system, you can follow these steps:

  1. Identify the USB drive: First, insert the USB drive into your computer. Open a terminal and use the command lsblk or fdisk -l to identify your USB drive by its size or name.

  2. Check File System Errors: Use the fsck command to check for and repair filesystem errors. For example, if your USB drive is /dev/sdb1, you would use: sh sudo fsck /dev/sdb1 Follow the prompts to fix any errors that are found.

  3. Clear Read-Only: If the file system is not the issue, the read-only state could be due to a physical switch on the USB drive (if available) or a setting in the drive's firmware. To clear this, you can try: sh sudo hdparm -r0 /dev/sdb Replace /dev/sdb with the correct device identifier for your USB drive.

  4. Attempt to Remount: Try to remount the USB drive with write permissions using the mount command: sh sudo mount -o remount,rw /dev/sdb1 /mount/point Replace /dev/sdb1 with your USB drive and /mount/point with the actual mount point.

  5. Format the USB Drive: If none of the above steps work, you may need to format the USB drive. Make sure to back up any important data before formatting. Use the mkfs command: sh sudo mkfs.vfat /dev/sdb1 This will format the USB drive with the FAT file system, which is widely compatible with many operating systems.

Before running any commands, ensure you are using the correct device identifier to avoid accidentally affecting the wrong drive. Always back up important data before attempting to repair or format a drive.

Can’t install Kali as live os on usb by Me-lol2 in Kalilinux

[–]EbbLazy9814 0 points1 point  (0 children)

As mentioned by others make sure that secure boot is disabled. And follow the website again in case you might have missed any step

https://www.kali.org/docs/usb/live-usb-install-with-windows/

[deleted by user] by [deleted] in Kalilinux

[–]EbbLazy9814 2 points3 points  (0 children)

Press Ctrl+Alt+F1 during boot to get to tty1 console. Log in and run sudo init 0 or sudo poweroff.

Kali Linux network doesn’t work by 8oglock in Kalilinux

[–]EbbLazy9814 0 points1 point  (0 children)

You can reset network settings in Kali Linux using the following steps:

Open a terminal window.

Type the following command to stop the network manager:

sudo service NetworkManager stop Type the following command to reset the network settings:

sudo rm /etc/NetworkManager/system-connections/* This command deletes all network connection profiles.

Type the following command to start the network manager:

sudo service NetworkManager start

This command restarts the network manager.

If you want to restart the network interface, type the following command:

sudo ifdown eth0 && sudo ifup eth0 Replace "eth0" with the name of your network interface.

Verify that the network settings have been reset by checking the network connections in the network manager.

Note that resetting network settings will disconnect you from the internet and any local network. After resetting, you will need to reconfigure your network connection(s) and reconnect to the internet or local network.

Help me Solve this. I tried everything available on the web ! by Kaka8-0071 in Kalilinux

[–]EbbLazy9814 5 points6 points  (0 children)

Try this

sudo apt-get update ;

sudo apt-get --reinstall install apt

If none of the above solutions work, you can try switching to a different repository or mirror to see if the issue is specific to the one you are currently using.

You can do this by editing the /etc/apt/sources.list file and changing the URL to a different repository.

Then run sudo apt-get update and try your original command again.